lib/services/mediaServicesManagement/lib/models/streamingLocator.js
/**
   * Defines the metadata of StreamingLocator
   *
   * @returns {object} metadata of StreamingLocator
   *
   */
Defines the metadata of StreamingLocator
@returns {object} metadata of StreamingLocator
Defines the metadata of StreamingLocator @returns { object } metadata of StreamingLocator
mapper() {
    return {
      required: false,
      serializedName: 'StreamingLocator',
      type: {
        name: 'Composite',
        className: 'StreamingLocator',
        modelProperties: {
          id: {
            required: false,
            readOnly: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          name: {
            required: false,
            readOnly: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          type: {
            required: false,
            readOnly: true,
            serializedName: 'type',
            type: {
              name: 'String'
            }
          },
          assetName: {
            required: true,
            serializedName: 'properties.assetName',
            type: {
              name: 'String'
            }
          },
          created: {
            required: false,
            nullable: false,
            readOnly: true,
            serializedName: 'properties.created',
            type: {
              name: 'DateTime'
            }
          },
          startTime: {
            required: false,
            serializedName: 'properties.startTime',
            type: {
              name: 'DateTime'
            }
          },
          endTime: {
            required: false,
            serializedName: 'properties.endTime',
            type: {
              name: 'DateTime'
            }
          },
          streamingLocatorId: {
            required: false,
            serializedName: 'properties.streamingLocatorId',
            type: {
              name: 'String'
            }
          },
          streamingPolicyName: {
            required: true,
            serializedName: 'properties.streamingPolicyName',
            type: {
              name: 'String'
            }
          },
          defaultContentKeyPolicyName: {
            required: false,
            serializedName: 'properties.defaultContentKeyPolicyName',
            type: {
              name: 'String'
            }
          },
          contentKeys: {
            required: false,
            serializedName: 'properties.contentKeys',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StreamingLocatorContentKeyElementType',
                  type: {
                    name: 'Composite',
                    className: 'StreamingLocatorContentKey'
                  }
              }
            }
          },
          alternativeMediaId: {
            required: false,
            serializedName: 'properties.alternativeMediaId',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'StreamingLocator' , type : { name : 'Composite' , className : 'StreamingLocator' , modelProperties : { id : { required : false , readOnly : true , serializedName : 'id' , type : { name : 'String' } } , name : { required : false , readOnly : true , serializedName : 'name' , type : { name : 'String' } } , type : { required : false , readOnly : true , serializedName : 'type' , type : { name : 'String' } } , assetName : { required : true , serializedName : 'properties.assetName' , type : { name : 'String' } } , created : { required : false , nullable : false , readOnly : true , serializedName : 'properties.created' , type : { name : 'DateTime' } } , startTime : { required : false , serializedName : 'properties.startTime' , type : { name : 'DateTime' } } , endTime : { required : false , serializedName : 'properties.endTime' , type : { name : 'DateTime' } } , streamingLocatorId : { required : false , serializedName : 'properties.streamingLocatorId' , type : { name : 'String' } } , streamingPolicyName : { required : true , serializedName : 'properties.streamingPolicyName' , type : { name : 'String' } } , defaultContentKeyPolicyName : { required : false , serializedName : 'properties.defaultContentKeyPolicyName' , type : { name : 'String' } } , contentKeys : { required : false , serializedName : 'properties.contentKeys' , type : { name : 'Sequence' , element : { required : false , serializedName : 'StreamingLocatorContentKeyElementType' , type : { name : 'Composite' , className : 'StreamingLocatorContentKey' } } } } , alternativeMediaId : { required : false , serializedName : 'properties.alternativeMediaId' , type : { name : 'String' } } } } } ; }
Defines the metadata of StreamingLocator
 @returns {object} metadata of StreamingLocator
Defines the metadata of StreamingLocator @returns { object } metadata of StreamingLocator