lib/services/customVision/training/lib/models/imageRegion.js
/**
   * Defines the metadata of ImageRegion
   *
   * @returns {object} metadata of ImageRegion
   *
   */
Defines the metadata of ImageRegion
@returns {object} metadata of ImageRegion
Defines the metadata of ImageRegion @returns { object } metadata of ImageRegion
mapper() {
    return {
      required: false,
      serializedName: 'ImageRegion',
      type: {
        name: 'Composite',
        className: 'ImageRegion',
        modelProperties: {
          regionId: {
            required: false,
            readOnly: true,
            serializedName: 'regionId',
            type: {
              name: 'String'
            }
          },
          tagName: {
            required: false,
            readOnly: true,
            serializedName: 'tagName',
            type: {
              name: 'String'
            }
          },
          created: {
            required: false,
            readOnly: true,
            serializedName: 'created',
            type: {
              name: 'DateTime'
            }
          },
          tagId: {
            required: false,
            serializedName: 'tagId',
            type: {
              name: 'String'
            }
          },
          left: {
            required: false,
            serializedName: 'left',
            type: {
              name: 'Number'
            }
          },
          top: {
            required: false,
            serializedName: 'top',
            type: {
              name: 'Number'
            }
          },
          width: {
            required: false,
            serializedName: 'width',
            type: {
              name: 'Number'
            }
          },
          height: {
            required: false,
            serializedName: 'height',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ImageRegion' , type : { name : 'Composite' , className : 'ImageRegion' , modelProperties : { regionId : { required : false , readOnly : true , serializedName : 'regionId' , type : { name : 'String' } } , tagName : { required : false , readOnly : true , serializedName : 'tagName' , type : { name : 'String' } } , created : { required : false , readOnly : true , serializedName : 'created' , type : { name : 'DateTime' } } , tagId : { required : false , serializedName : 'tagId' , type : { name : 'String' } } , left : { required : false , serializedName : 'left' , type : { name : 'Number' } } , top : { required : false , serializedName : 'top' , type : { name : 'Number' } } , width : { required : false , serializedName : 'width' , type : { name : 'Number' } } , height : { required : false , serializedName : 'height' , type : { name : 'Number' } } } } } ; }
Defines the metadata of ImageRegion
 @returns {object} metadata of ImageRegion
Defines the metadata of ImageRegion @returns { object } metadata of ImageRegion