lib/services/customVision/training/lib/models/image.js
/**
   * Defines the metadata of Image
   *
   * @returns {object} metadata of Image
   *
   */
Defines the metadata of Image
@returns {object} metadata of Image
Defines the metadata of Image @returns { object } metadata of Image
mapper() {
    return {
      required: false,
      serializedName: 'Image',
      type: {
        name: 'Composite',
        className: 'Image',
        modelProperties: {
          id: {
            required: false,
            readOnly: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          created: {
            required: false,
            readOnly: true,
            serializedName: 'created',
            type: {
              name: 'DateTime'
            }
          },
          width: {
            required: false,
            readOnly: true,
            serializedName: 'width',
            type: {
              name: 'Number'
            }
          },
          height: {
            required: false,
            readOnly: true,
            serializedName: 'height',
            type: {
              name: 'Number'
            }
          },
          imageUri: {
            required: false,
            readOnly: true,
            serializedName: 'imageUri',
            type: {
              name: 'String'
            }
          },
          thumbnailUri: {
            required: false,
            readOnly: true,
            serializedName: 'thumbnailUri',
            type: {
              name: 'String'
            }
          },
          tags: {
            required: false,
            readOnly: true,
            serializedName: 'tags',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ImageTagElementType',
                  type: {
                    name: 'Composite',
                    className: 'ImageTag'
                  }
              }
            }
          },
          regions: {
            required: false,
            readOnly: true,
            serializedName: 'regions',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ImageRegionElementType',
                  type: {
                    name: 'Composite',
                    className: 'ImageRegion'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'Image' , type : { name : 'Composite' , className : 'Image' , modelProperties : { id : { required : false , readOnly : true , serializedName : 'id' , type : { name : 'String' } } , created : { required : false , readOnly : true , serializedName : 'created' , type : { name : 'DateTime' } } , width : { required : false , readOnly : true , serializedName : 'width' , type : { name : 'Number' } } , height : { required : false , readOnly : true , serializedName : 'height' , type : { name : 'Number' } } , imageUri : { required : false , readOnly : true , serializedName : 'imageUri' , type : { name : 'String' } } , thumbnailUri : { required : false , readOnly : true , serializedName : 'thumbnailUri' , type : { name : 'String' } } , tags : { required : false , readOnly : true , serializedName : 'tags' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ImageTagElementType' , type : { name : 'Composite' , className : 'ImageTag' } } } } , regions : { required : false , readOnly : true , serializedName : 'regions' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ImageRegionElementType' , type : { name : 'Composite' , className : 'ImageRegion' } } } } } } } ; }
Defines the metadata of Image
 @returns {object} metadata of Image
Defines the metadata of Image @returns { object } metadata of Image