lib/services/visualSearch/lib/models/imageShoppingSourcesAction.js
/**
   * Defines the metadata of ImageShoppingSourcesAction
   *
   * @returns {object} metadata of ImageShoppingSourcesAction
   *
   */
Defines the metadata of ImageShoppingSourcesAction
@returns {object} metadata of ImageShoppingSourcesAction
Defines the metadata of ImageShoppingSourcesAction @returns { object } metadata of ImageShoppingSourcesAction
mapper() {
    return {
      required: false,
      serializedName: 'ImageShoppingSourcesAction',
      type: {
        name: 'Composite',
        polymorphicDiscriminator: {
          serializedName: '_type',
          clientName: '_type'
        },
        uberParent: 'ResponseBase',
        className: 'ImageShoppingSourcesAction',
        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'
            }
          },
          name: {
            required: false,
            readOnly: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          url: {
            required: false,
            readOnly: true,
            serializedName: 'url',
            type: {
              name: 'String'
            }
          },
          image: {
            required: false,
            readOnly: true,
            serializedName: 'image',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: '_type',
                clientName: '_type'
              },
              uberParent: 'ResponseBase',
              className: 'ImageObject'
            }
          },
          description: {
            required: false,
            readOnly: true,
            serializedName: 'description',
            type: {
              name: 'String'
            }
          },
          alternateName: {
            required: false,
            readOnly: true,
            serializedName: 'alternateName',
            type: {
              name: 'String'
            }
          },
          bingId: {
            required: false,
            readOnly: true,
            serializedName: 'bingId',
            type: {
              name: 'String'
            }
          },
          thumbnailUrl: {
            required: false,
            readOnly: true,
            serializedName: 'thumbnailUrl',
            type: {
              name: 'String'
            }
          },
          provider: {
            required: false,
            readOnly: true,
            serializedName: 'provider',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ThingElementType',
                  type: {
                    name: 'Composite',
                    polymorphicDiscriminator: {
                      serializedName: '_type',
                      clientName: '_type'
                    },
                    uberParent: 'ResponseBase',
                    className: 'Thing'
                  }
              }
            }
          },
          datePublished: {
            required: false,
            readOnly: true,
            serializedName: 'datePublished',
            type: {
              name: 'String'
            }
          },
          text: {
            required: false,
            readOnly: true,
            serializedName: 'text',
            type: {
              name: 'String'
            }
          },
          result: {
            required: false,
            readOnly: true,
            serializedName: 'result',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ThingElementType',
                  type: {
                    name: 'Composite',
                    polymorphicDiscriminator: {
                      serializedName: '_type',
                      clientName: '_type'
                    },
                    uberParent: 'ResponseBase',
                    className: 'Thing'
                  }
              }
            }
          },
          displayName: {
            required: false,
            readOnly: true,
            serializedName: 'displayName',
            type: {
              name: 'String'
            }
          },
          isTopAction: {
            required: false,
            readOnly: true,
            serializedName: 'isTopAction',
            type: {
              name: 'Boolean'
            }
          },
          serviceUrl: {
            required: false,
            readOnly: true,
            serializedName: 'serviceUrl',
            type: {
              name: 'String'
            }
          },
          actionType: {
            required: false,
            readOnly: true,
            serializedName: 'actionType',
            type: {
              name: 'String'
            }
          },
          data: {
            required: false,
            readOnly: true,
            serializedName: 'data',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: '_type',
                clientName: '_type'
              },
              uberParent: 'ResponseBase',
              className: 'AggregateOffer'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ImageShoppingSourcesAction' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'ImageShoppingSourcesAction' , 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' } } , name : { required : false , readOnly : true , serializedName : 'name' , type : { name : 'String' } } , url : { required : false , readOnly : true , serializedName : 'url' , type : { name : 'String' } } , image : { required : false , readOnly : true , serializedName : 'image' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'ImageObject' } } , description : { required : false , readOnly : true , serializedName : 'description' , type : { name : 'String' } } , alternateName : { required : false , readOnly : true , serializedName : 'alternateName' , type : { name : 'String' } } , bingId : { required : false , readOnly : true , serializedName : 'bingId' , type : { name : 'String' } } , thumbnailUrl : { required : false , readOnly : true , serializedName : 'thumbnailUrl' , type : { name : 'String' } } , provider : { required : false , readOnly : true , serializedName : 'provider' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ThingElementType' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'Thing' } } } } , datePublished : { required : false , readOnly : true , serializedName : 'datePublished' , type : { name : 'String' } } , text : { required : false , readOnly : true , serializedName : 'text' , type : { name : 'String' } } , result : { required : false , readOnly : true , serializedName : 'result' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ThingElementType' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'Thing' } } } } , displayName : { required : false , readOnly : true , serializedName : 'displayName' , type : { name : 'String' } } , isTopAction : { required : false , readOnly : true , serializedName : 'isTopAction' , type : { name : 'Boolean' } } , serviceUrl : { required : false , readOnly : true , serializedName : 'serviceUrl' , type : { name : 'String' } } , actionType : { required : false , readOnly : true , serializedName : 'actionType' , type : { name : 'String' } } , data : { required : false , readOnly : true , serializedName : 'data' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '_type' , clientName : '_type' } , uberParent : 'ResponseBase' , className : 'AggregateOffer' } } } } } ; }
Defines the metadata of ImageShoppingSourcesAction
 @returns {object} metadata of ImageShoppingSourcesAction
Defines the metadata of ImageShoppingSourcesAction @returns { object } metadata of ImageShoppingSourcesAction