lib/services/storagesyncManagement/lib/models/registeredServer.js
/**
   * Defines the metadata of RegisteredServer
   *
   * @returns {object} metadata of RegisteredServer
   *
   */
Defines the metadata of RegisteredServer
@returns {object} metadata of RegisteredServer
Defines the metadata of RegisteredServer @returns { object } metadata of RegisteredServer
mapper() {
    return {
      required: false,
      serializedName: 'RegisteredServer',
      type: {
        name: 'Composite',
        className: 'RegisteredServer',
        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'
            }
          },
          serverCertificate: {
            required: false,
            serializedName: 'properties.serverCertificate',
            type: {
              name: 'String'
            }
          },
          agentVersion: {
            required: false,
            serializedName: 'properties.agentVersion',
            type: {
              name: 'String'
            }
          },
          serverOSVersion: {
            required: false,
            serializedName: 'properties.serverOSVersion',
            type: {
              name: 'String'
            }
          },
          serverManagementtErrorCode: {
            required: false,
            serializedName: 'properties.serverManagementtErrorCode',
            type: {
              name: 'Number'
            }
          },
          lastHeartBeat: {
            required: false,
            serializedName: 'properties.lastHeartBeat',
            type: {
              name: 'String'
            }
          },
          provisioningState: {
            required: false,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          serverRole: {
            required: false,
            serializedName: 'properties.serverRole',
            type: {
              name: 'String'
            }
          },
          clusterId: {
            required: false,
            serializedName: 'properties.clusterId',
            type: {
              name: 'String'
            }
          },
          clusterName: {
            required: false,
            serializedName: 'properties.clusterName',
            type: {
              name: 'String'
            }
          },
          serverId: {
            required: false,
            serializedName: 'properties.serverId',
            type: {
              name: 'String'
            }
          },
          storageSyncServiceUid: {
            required: false,
            serializedName: 'properties.storageSyncServiceUid',
            type: {
              name: 'String'
            }
          },
          lastWorkflowId: {
            required: false,
            serializedName: 'properties.lastWorkflowId',
            type: {
              name: 'String'
            }
          },
          lastOperationName: {
            required: false,
            serializedName: 'properties.lastOperationName',
            type: {
              name: 'String'
            }
          },
          discoveryEndpointUri: {
            required: false,
            serializedName: 'properties.discoveryEndpointUri',
            type: {
              name: 'String'
            }
          },
          resourceLocation: {
            required: false,
            serializedName: 'properties.resourceLocation',
            type: {
              name: 'String'
            }
          },
          serviceLocation: {
            required: false,
            serializedName: 'properties.serviceLocation',
            type: {
              name: 'String'
            }
          },
          friendlyName: {
            required: false,
            serializedName: 'properties.friendlyName',
            type: {
              name: 'String'
            }
          },
          managementEndpointUri: {
            required: false,
            serializedName: 'properties.managementEndpointUri',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'RegisteredServer' , type : { name : 'Composite' , className : 'RegisteredServer' , 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' } } , serverCertificate : { required : false , serializedName : 'properties.serverCertificate' , type : { name : 'String' } } , agentVersion : { required : false , serializedName : 'properties.agentVersion' , type : { name : 'String' } } , serverOSVersion : { required : false , serializedName : 'properties.serverOSVersion' , type : { name : 'String' } } , serverManagementtErrorCode : { required : false , serializedName : 'properties.serverManagementtErrorCode' , type : { name : 'Number' } } , lastHeartBeat : { required : false , serializedName : 'properties.lastHeartBeat' , type : { name : 'String' } } , provisioningState : { required : false , serializedName : 'properties.provisioningState' , type : { name : 'String' } } , serverRole : { required : false , serializedName : 'properties.serverRole' , type : { name : 'String' } } , clusterId : { required : false , serializedName : 'properties.clusterId' , type : { name : 'String' } } , clusterName : { required : false , serializedName : 'properties.clusterName' , type : { name : 'String' } } , serverId : { required : false , serializedName : 'properties.serverId' , type : { name : 'String' } } , storageSyncServiceUid : { required : false , serializedName : 'properties.storageSyncServiceUid' , type : { name : 'String' } } , lastWorkflowId : { required : false , serializedName : 'properties.lastWorkflowId' , type : { name : 'String' } } , lastOperationName : { required : false , serializedName : 'properties.lastOperationName' , type : { name : 'String' } } , discoveryEndpointUri : { required : false , serializedName : 'properties.discoveryEndpointUri' , type : { name : 'String' } } , resourceLocation : { required : false , serializedName : 'properties.resourceLocation' , type : { name : 'String' } } , serviceLocation : { required : false , serializedName : 'properties.serviceLocation' , type : { name : 'String' } } , friendlyName : { required : false , serializedName : 'properties.friendlyName' , type : { name : 'String' } } , managementEndpointUri : { required : false , serializedName : 'properties.managementEndpointUri' , type : { name : 'String' } } } } } ; }
Defines the metadata of RegisteredServer
 @returns {object} metadata of RegisteredServer
Defines the metadata of RegisteredServer @returns { object } metadata of RegisteredServer