// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. package operations import ( "net/http" ) type Device struct { ID *float64 `json:"id,omitempty"` Name *string `json:"name,omitempty"` Platform *string `json:"platform,omitempty"` ClientIdentifier *string `json:"clientIdentifier,omitempty"` CreatedAt *float64 `json:"createdAt,omitempty"` } func (d *Device) GetID() *float64 { if d == nil { return nil } return d.ID } func (d *Device) GetName() *string { if d == nil { return nil } return d.Name } func (d *Device) GetPlatform() *string { if d == nil { return nil } return d.Platform } func (d *Device) GetClientIdentifier() *string { if d == nil { return nil } return d.ClientIdentifier } func (d *Device) GetCreatedAt() *float64 { if d == nil { return nil } return d.CreatedAt } type GetDevicesMediaContainer struct { Size *float64 `json:"size,omitempty"` Identifier *string `json:"identifier,omitempty"` Device []Device `json:"Device,omitempty"` } func (g *GetDevicesMediaContainer) GetSize() *float64 { if g == nil { return nil } return g.Size } func (g *GetDevicesMediaContainer) GetIdentifier() *string { if g == nil { return nil } return g.Identifier } func (g *GetDevicesMediaContainer) GetDevice() []Device { if g == nil { return nil } return g.Device } // GetDevicesResponseBody - Devices type GetDevicesResponseBody struct { MediaContainer *GetDevicesMediaContainer `json:"MediaContainer,omitempty"` } func (g *GetDevicesResponseBody) GetMediaContainer() *GetDevicesMediaContainer { if g == nil { return nil } return g.MediaContainer } type GetDevicesResponse 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 // Devices Object *GetDevicesResponseBody } func (g *GetDevicesResponse) GetContentType() string { if g == nil { return "" } return g.ContentType } func (g *GetDevicesResponse) GetStatusCode() int { if g == nil { return 0 } return g.StatusCode } func (g *GetDevicesResponse) GetRawResponse() *http.Response { if g == nil { return nil } return g.RawResponse } func (g *GetDevicesResponse) GetObject() *GetDevicesResponseBody { if g == nil { return nil } return g.Object }