// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. package operations import ( "net/http" ) type GetServerListServer struct { Name *string `json:"name,omitempty"` Host *string `json:"host,omitempty"` Address *string `json:"address,omitempty"` Port *float64 `json:"port,omitempty"` MachineIdentifier *string `json:"machineIdentifier,omitempty"` Version *string `json:"version,omitempty"` } func (o *GetServerListServer) GetName() *string { if o == nil { return nil } return o.Name } func (o *GetServerListServer) GetHost() *string { if o == nil { return nil } return o.Host } func (o *GetServerListServer) GetAddress() *string { if o == nil { return nil } return o.Address } func (o *GetServerListServer) GetPort() *float64 { if o == nil { return nil } return o.Port } func (o *GetServerListServer) GetMachineIdentifier() *string { if o == nil { return nil } return o.MachineIdentifier } func (o *GetServerListServer) GetVersion() *string { if o == nil { return nil } return o.Version } type GetServerListMediaContainer struct { Size *float64 `json:"size,omitempty"` Server []GetServerListServer `json:"Server,omitempty"` } func (o *GetServerListMediaContainer) GetSize() *float64 { if o == nil { return nil } return o.Size } func (o *GetServerListMediaContainer) GetServer() []GetServerListServer { if o == nil { return nil } return o.Server } // GetServerListResponseBody - List of Servers type GetServerListResponseBody struct { MediaContainer *GetServerListMediaContainer `json:"MediaContainer,omitempty"` } func (o *GetServerListResponseBody) GetMediaContainer() *GetServerListMediaContainer { if o == nil { return nil } return o.MediaContainer } type GetServerListResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // List of Servers Object *GetServerListResponseBody } func (o *GetServerListResponse) GetContentType() string { if o == nil { return "" } return o.ContentType } func (o *GetServerListResponse) GetStatusCode() int { if o == nil { return 0 } return o.StatusCode } func (o *GetServerListResponse) GetRawResponse() *http.Response { if o == nil { return nil } return o.RawResponse } func (o *GetServerListResponse) GetObject() *GetServerListResponseBody { if o == nil { return nil } return o.Object }