lib/services/apimanagement/lib/models/apiUpdateContract.js
/**
   * Defines the metadata of ApiUpdateContract
   *
   * @returns {object} metadata of ApiUpdateContract
   *
   */
Defines the metadata of ApiUpdateContract
@returns {object} metadata of ApiUpdateContract
Defines the metadata of ApiUpdateContract @returns { object } metadata of ApiUpdateContract
mapper() {
    return {
      required: false,
      serializedName: 'ApiUpdateContract',
      type: {
        name: 'Composite',
        className: 'ApiUpdateContract',
        modelProperties: {
          description: {
            required: false,
            serializedName: 'properties.description',
            type: {
              name: 'String'
            }
          },
          authenticationSettings: {
            required: false,
            serializedName: 'properties.authenticationSettings',
            type: {
              name: 'Composite',
              className: 'AuthenticationSettingsContract'
            }
          },
          subscriptionKeyParameterNames: {
            required: false,
            serializedName: 'properties.subscriptionKeyParameterNames',
            type: {
              name: 'Composite',
              className: 'SubscriptionKeyParameterNamesContract'
            }
          },
          apiType: {
            required: false,
            serializedName: 'properties.type',
            type: {
              name: 'String'
            }
          },
          apiRevision: {
            required: false,
            serializedName: 'properties.apiRevision',
            constraints: {
              MaxLength: 100,
              MinLength: 1
            },
            type: {
              name: 'String'
            }
          },
          apiVersion: {
            required: false,
            serializedName: 'properties.apiVersion',
            constraints: {
              MaxLength: 100
            },
            type: {
              name: 'String'
            }
          },
          isCurrent: {
            required: false,
            readOnly: true,
            serializedName: 'properties.isCurrent',
            type: {
              name: 'Boolean'
            }
          },
          isOnline: {
            required: false,
            readOnly: true,
            serializedName: 'properties.isOnline',
            type: {
              name: 'Boolean'
            }
          },
          apiRevisionDescription: {
            required: false,
            serializedName: 'properties.apiRevisionDescription',
            constraints: {
              MaxLength: 256
            },
            type: {
              name: 'String'
            }
          },
          apiVersionDescription: {
            required: false,
            serializedName: 'properties.apiVersionDescription',
            constraints: {
              MaxLength: 256
            },
            type: {
              name: 'String'
            }
          },
          apiVersionSetId: {
            required: false,
            serializedName: 'properties.apiVersionSetId',
            type: {
              name: 'String'
            }
          },
          displayName: {
            required: false,
            serializedName: 'properties.displayName',
            constraints: {
              MaxLength: 300,
              MinLength: 1
            },
            type: {
              name: 'String'
            }
          },
          serviceUrl: {
            required: false,
            serializedName: 'properties.serviceUrl',
            constraints: {
              MaxLength: 2000,
              MinLength: 1
            },
            type: {
              name: 'String'
            }
          },
          path: {
            required: false,
            serializedName: 'properties.path',
            constraints: {
              MaxLength: 400,
              MinLength: 0
            },
            type: {
              name: 'String'
            }
          },
          protocols: {
            required: false,
            serializedName: 'properties.protocols',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ProtocolElementType',
                  type: {
                    name: 'Enum',
                    allowedValues: [ 'http', 'https' ]
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ApiUpdateContract' , type : { name : 'Composite' , className : 'ApiUpdateContract' , modelProperties : { description : { required : false , serializedName : 'properties.description' , type : { name : 'String' } } , authenticationSettings : { required : false , serializedName : 'properties.authenticationSettings' , type : { name : 'Composite' , className : 'AuthenticationSettingsContract' } } , subscriptionKeyParameterNames : { required : false , serializedName : 'properties.subscriptionKeyParameterNames' , type : { name : 'Composite' , className : 'SubscriptionKeyParameterNamesContract' } } , apiType : { required : false , serializedName : 'properties.type' , type : { name : 'String' } } , apiRevision : { required : false , serializedName : 'properties.apiRevision' , constraints : { MaxLength : 100 , MinLength : 1 } , type : { name : 'String' } } , apiVersion : { required : false , serializedName : 'properties.apiVersion' , constraints : { MaxLength : 100 } , type : { name : 'String' } } , isCurrent : { required : false , readOnly : true , serializedName : 'properties.isCurrent' , type : { name : 'Boolean' } } , isOnline : { required : false , readOnly : true , serializedName : 'properties.isOnline' , type : { name : 'Boolean' } } , apiRevisionDescription : { required : false , serializedName : 'properties.apiRevisionDescription' , constraints : { MaxLength : 256 } , type : { name : 'String' } } , apiVersionDescription : { required : false , serializedName : 'properties.apiVersionDescription' , constraints : { MaxLength : 256 } , type : { name : 'String' } } , apiVersionSetId : { required : false , serializedName : 'properties.apiVersionSetId' , type : { name : 'String' } } , displayName : { required : false , serializedName : 'properties.displayName' , constraints : { MaxLength : 300 , MinLength : 1 } , type : { name : 'String' } } , serviceUrl : { required : false , serializedName : 'properties.serviceUrl' , constraints : { MaxLength : 2000 , MinLength : 1 } , type : { name : 'String' } } , path : { required : false , serializedName : 'properties.path' , constraints : { MaxLength : 400 , MinLength : 0 } , type : { name : 'String' } } , protocols : { required : false , serializedName : 'properties.protocols' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ProtocolElementType' , type : { name : 'Enum' , allowedValues : [ 'http' , 'https' ] } } } } } } } ; }
Defines the metadata of ApiUpdateContract
 @returns {object} metadata of ApiUpdateContract
Defines the metadata of ApiUpdateContract @returns { object } metadata of ApiUpdateContract