lib/services/cognitiveServicesContentModerator/lib/models/bodyModel.js
/**
   * Defines the metadata of BodyModel
   *
   * @returns {object} metadata of BodyModel
   *
   */
Defines the metadata of BodyModel
@returns {object} metadata of BodyModel
Defines the metadata of BodyModel @returns { object } metadata of BodyModel
mapper() {
    return {
      required: false,
      serializedName: 'body',
      type: {
        name: 'Composite',
        className: 'BodyModel',
        modelProperties: {
          dataRepresentation: {
            required: false,
            serializedName: 'DataRepresentation',
            defaultValue: 'URL',
            type: {
              name: 'String'
            }
          },
          value: {
            required: false,
            serializedName: 'Value',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'body' , type : { name : 'Composite' , className : 'BodyModel' , modelProperties : { dataRepresentation : { required : false , serializedName : 'DataRepresentation' , defaultValue : 'URL' , type : { name : 'String' } } , value : { required : false , serializedName : 'Value' , type : { name : 'String' } } } } } ; }
Defines the metadata of BodyModel
 @returns {object} metadata of BodyModel
Defines the metadata of BodyModel @returns { object } metadata of BodyModel