lib/services/cognitiveServicesAutoSuggest/lib/models/thing.js
/**
   * Defines the metadata of Thing
   *
   * @returns {object} metadata of Thing
   *
   */
Defines the metadata of Thing
@returns {object} metadata of Thing
Defines the metadata of Thing @returns { object } metadata of Thing
mapper() {
    return {
      required: false,
      serializedName: 'Thing',
      type: {
        name: 'Composite',
        polymorphicDiscriminator: {
          serializedName: '_type',
          clientName: '_type'
        },
        uberParent: 'ResponseBase',
        className: 'Thing',
        modelProperties: {
          _type: {
            required: true,
            serializedName: '_type',
            isPolymorphicDiscriminator: true,
            type: {
              name: 'String'
            }
          },
          id: {
            required: false,
            readOnly: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          readLink: {
            required: false,
            readOnly: true,
            serializedName: 'readLink',
            type: {
              name: 'String'
            }
          },
          webSearchUrl: {
            required: false,
            readOnly: true,
            serializedName: 'webSearchUrl',
            type: {
              name: 'String'
            }
          },
          potentialAction: {
            required: false,
            readOnly: true,
            serializedName: 'potentialAction',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ActionElementType',
                  type: {
                    name: 'Composite',
                    polymorphicDiscriminator: {
                      serializedName: '_type',
                      clientName: '_type'
                    },
                    uberParent: 'ResponseBase',
                    className: 'Action'
                  }
              }
            }
          },
          immediateAction: {
            required: false,
            readOnly: true,
            serializedName: 'immediateAction',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ActionElementType',
                  type: {
                    name: 'Composite',
                    polymorphicDiscriminator: {
                      serializedName: '_type',
                      clientName: '_type'
                    },
                    uberParent: 'ResponseBase',
                    className: 'Action'
                  }
              }
            }
          },
          preferredClickthroughUrl: {
            required: false,
            readOnly: true,
            serializedName: 'preferredClickthroughUrl',
            type: {
              name: 'String'
            }
          },
          adaptiveCard: {
            required: false,
            readOnly: true,
            serializedName: 'adaptiveCard',
            type: {
              name: 'String'
            }
          },
          url: {
            required: false,
            readOnly: true,
            serializedName: 'url',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'Thing' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'Thing' , modelProperties : { _type : { required : true , serializedName : '_type' , isPolymorphicDiscriminator : true , type : { name : 'String' } } , id : { required : false , readOnly : true , serializedName : 'id' , type : { name : 'String' } } , readLink : { required : false , readOnly : true , serializedName : 'readLink' , type : { name : 'String' } } , webSearchUrl : { required : false , readOnly : true , serializedName : 'webSearchUrl' , type : { name : 'String' } } , potentialAction : { required : false , readOnly : true , serializedName : 'potentialAction' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ActionElementType' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'Action' } } } } , immediateAction : { required : false , readOnly : true , serializedName : 'immediateAction' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ActionElementType' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'Action' } } } } , preferredClickthroughUrl : { required : false , readOnly : true , serializedName : 'preferredClickthroughUrl' , type : { name : 'String' } } , adaptiveCard : { required : false , readOnly : true , serializedName : 'adaptiveCard' , type : { name : 'String' } } , url : { required : false , readOnly : true , serializedName : 'url' , type : { name : 'String' } } } } } ; }
Defines the metadata of Thing
 @returns {object} metadata of Thing
Defines the metadata of Thing @returns { object } metadata of Thing