lib/services/graphManagement/lib/models/servicePrincipalCreateParameters.js
/**
   * Defines the metadata of ServicePrincipalCreateParameters
   *
   * @returns {object} metadata of ServicePrincipalCreateParameters
   *
   */
Defines the metadata of ServicePrincipalCreateParameters
@returns {object} metadata of ServicePrincipalCreateParameters
Defines the metadata of ServicePrincipalCreateParameters @returns { object } metadata of ServicePrincipalCreateParameters
mapper() {
    return {
      required: false,
      serializedName: 'ServicePrincipalCreateParameters',
      type: {
        name: 'Composite',
        additionalProperties: {
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serializedName: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        className: 'ServicePrincipalCreateParameters',
        modelProperties: {
          appId: {
            required: true,
            serializedName: 'appId',
            type: {
              name: 'String'
            }
          },
          accountEnabled: {
            required: true,
            serializedName: 'accountEnabled',
            type: {
              name: 'Boolean'
            }
          },
          keyCredentials: {
            required: false,
            serializedName: 'keyCredentials',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'KeyCredentialElementType',
                  type: {
                    name: 'Composite',
                    additionalProperties: {
                      type: {
                        name: 'Dictionary',
                        value: {
                            required: false,
                            serializedName: 'ObjectElementType',
                            type: {
                              name: 'Object'
                            }
                        }
                      }
                    },
                    className: 'KeyCredential'
                  }
              }
            }
          },
          passwordCredentials: {
            required: false,
            serializedName: 'passwordCredentials',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'PasswordCredentialElementType',
                  type: {
                    name: 'Composite',
                    additionalProperties: {
                      type: {
                        name: 'Dictionary',
                        value: {
                            required: false,
                            serializedName: 'ObjectElementType',
                            type: {
                              name: 'Object'
                            }
                        }
                      }
                    },
                    className: 'PasswordCredential'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ServicePrincipalCreateParameters' , type : { name : 'Composite' , additionalProperties : { type : { name : 'Dictionary' , value : { required : false , serializedName : 'ObjectElementType' , type : { name : 'Object' } } } } , className : 'ServicePrincipalCreateParameters' , modelProperties : { appId : { required : true , serializedName : 'appId' , type : { name : 'String' } } , accountEnabled : { required : true , serializedName : 'accountEnabled' , type : { name : 'Boolean' } } , keyCredentials : { required : false , serializedName : 'keyCredentials' , type : { name : 'Sequence' , element : { required : false , serializedName : 'KeyCredentialElementType' , type : { name : 'Composite' , additionalProperties : { type : { name : 'Dictionary' , value : { required : false , serializedName : 'ObjectElementType' , type : { name : 'Object' } } } } , className : 'KeyCredential' } } } } , passwordCredentials : { required : false , serializedName : 'passwordCredentials' , type : { name : 'Sequence' , element : { required : false , serializedName : 'PasswordCredentialElementType' , type : { name : 'Composite' , additionalProperties : { type : { name : 'Dictionary' , value : { required : false , serializedName : 'ObjectElementType' , type : { name : 'Object' } } } } , className : 'PasswordCredential' } } } } } } } ; }
Defines the metadata of ServicePrincipalCreateParameters
 @returns {object} metadata of ServicePrincipalCreateParameters
Defines the metadata of ServicePrincipalCreateParameters @returns { object } metadata of ServicePrincipalCreateParameters