Documentation
¶
Index ¶
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type ApiPageInfo
- func (o *ApiPageInfo) GetOffset() int32
- func (o *ApiPageInfo) GetOffsetOk() (*int32, bool)
- func (o *ApiPageInfo) GetPageToken() string
- func (o *ApiPageInfo) GetPageTokenOk() (*string, bool)
- func (o *ApiPageInfo) GetSize() int32
- func (o *ApiPageInfo) GetSizeOk() (*int32, bool)
- func (o *ApiPageInfo) HasOffset() bool
- func (o *ApiPageInfo) HasPageToken() bool
- func (o *ApiPageInfo) HasSize() bool
- func (o ApiPageInfo) MarshalJSON() ([]byte, error)
- func (o *ApiPageInfo) SetOffset(v int32)
- func (o *ApiPageInfo) SetPageToken(v string)
- func (o *ApiPageInfo) SetSize(v int32)
- func (o ApiPageInfo) ToMap() (map[string]interface{}, error)
- func (o *ApiPageInfo) UnmarshalJSON(data []byte) (err error)
- type Applications
- func (o *Applications) GetApplications() []string
- func (o *Applications) GetApplicationsOk() ([]string, bool)
- func (o *Applications) HasApplications() bool
- func (o Applications) MarshalJSON() ([]byte, error)
- func (o *Applications) SetApplications(v []string)
- func (o Applications) ToMap() (map[string]interface{}, error)
- func (o *Applications) UnmarshalJSON(data []byte) (err error)
- type ApplicationsResponse
- func (o *ApplicationsResponse) GetResults() Applications
- func (o *ApplicationsResponse) GetResultsOk() (*Applications, bool)
- func (o *ApplicationsResponse) HasResults() bool
- func (o ApplicationsResponse) MarshalJSON() ([]byte, error)
- func (o *ApplicationsResponse) SetResults(v Applications)
- func (o ApplicationsResponse) ToMap() (map[string]interface{}, error)
- func (o *ApplicationsResponse) UnmarshalJSON(data []byte) (err error)
- type AssignTagsRequest
- func (o *AssignTagsRequest) GetIds() []string
- func (o *AssignTagsRequest) GetIdsOk() ([]string, bool)
- func (o *AssignTagsRequest) GetOverride() bool
- func (o *AssignTagsRequest) GetOverrideOk() (*bool, bool)
- func (o *AssignTagsRequest) GetTags() map[string]interface{}
- func (o *AssignTagsRequest) GetTagsOk() (map[string]interface{}, bool)
- func (o *AssignTagsRequest) HasIds() bool
- func (o *AssignTagsRequest) HasOverride() bool
- func (o *AssignTagsRequest) HasTags() bool
- func (o AssignTagsRequest) MarshalJSON() ([]byte, error)
- func (o *AssignTagsRequest) SetIds(v []string)
- func (o *AssignTagsRequest) SetOverride(v bool)
- func (o *AssignTagsRequest) SetTags(v map[string]interface{})
- func (o AssignTagsRequest) ToMap() (map[string]interface{}, error)
- func (o *AssignTagsRequest) UnmarshalJSON(data []byte) (err error)
- type CreateHostResponse
- func (o *CreateHostResponse) GetResult() Host
- func (o *CreateHostResponse) GetResultOk() (*Host, bool)
- func (o *CreateHostResponse) HasResult() bool
- func (o CreateHostResponse) MarshalJSON() ([]byte, error)
- func (o *CreateHostResponse) SetResult(v Host)
- func (o CreateHostResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateHostResponse) UnmarshalJSON(data []byte) (err error)
- type CreateServiceResponse
- func (o *CreateServiceResponse) GetResult() Service
- func (o *CreateServiceResponse) GetResultOk() (*Service, bool)
- func (o *CreateServiceResponse) HasResult() bool
- func (o CreateServiceResponse) MarshalJSON() ([]byte, error)
- func (o *CreateServiceResponse) SetResult(v Service)
- func (o CreateServiceResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateServiceResponse) UnmarshalJSON(data []byte) (err error)
- type DetailAPI
- type DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) Execute() (*ListDetailHostsResponse, *http.Response, error)
- func (r DetailAPIHostsListRequest) Fields(fields string) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) Filter(filter string) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) Limit(limit int32) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) Offset(offset int32) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) OrderBy(orderBy string) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) PageToken(pageToken string) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) Tfilter(tfilter string) DetailAPIHostsListRequest
- func (r DetailAPIHostsListRequest) TorderBy(torderBy string) DetailAPIHostsListRequest
- type DetailAPIService
- func (a *DetailAPIService) HostsList(ctx context.Context) DetailAPIHostsListRequest
- func (a *DetailAPIService) HostsListExecute(r DetailAPIHostsListRequest) (*ListDetailHostsResponse, *http.Response, error)
- func (a *DetailAPIService) ServicesList(ctx context.Context) DetailAPIServicesListRequest
- func (a *DetailAPIService) ServicesListExecute(r DetailAPIServicesListRequest) (*ListDetailServicesResponse, *http.Response, error)
- type DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) Execute() (*ListDetailServicesResponse, *http.Response, error)
- func (r DetailAPIServicesListRequest) Fields(fields string) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) Filter(filter string) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) Limit(limit int32) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) Offset(offset int32) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) OrderBy(orderBy string) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) PageToken(pageToken string) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) Tfilter(tfilter string) DetailAPIServicesListRequest
- func (r DetailAPIServicesListRequest) TorderBy(torderBy string) DetailAPIServicesListRequest
- type DetailHost
- func (o *DetailHost) GetCompositeStatus() string
- func (o *DetailHost) GetCompositeStatusOk() (*string, bool)
- func (o *DetailHost) GetConfigs() []DetailHostServiceConfig
- func (o *DetailHost) GetConfigsOk() ([]DetailHostServiceConfig, bool)
- func (o *DetailHost) GetConnectivityMonitor() map[string]interface{}
- func (o *DetailHost) GetConnectivityMonitorOk() (map[string]interface{}, bool)
- func (o *DetailHost) GetCreatedAt() time.Time
- func (o *DetailHost) GetCreatedAtOk() (*time.Time, bool)
- func (o *DetailHost) GetDescription() string
- func (o *DetailHost) GetDescriptionOk() (*string, bool)
- func (o *DetailHost) GetDisplayName() string
- func (o *DetailHost) GetDisplayNameOk() (*string, bool)
- func (o *DetailHost) GetHostSubtype() string
- func (o *DetailHost) GetHostSubtypeOk() (*string, bool)
- func (o *DetailHost) GetHostType() string
- func (o *DetailHost) GetHostTypeOk() (*string, bool)
- func (o *DetailHost) GetHostVersion() string
- func (o *DetailHost) GetHostVersionOk() (*string, bool)
- func (o *DetailHost) GetId() string
- func (o *DetailHost) GetIdOk() (*string, bool)
- func (o *DetailHost) GetIpAddress() string
- func (o *DetailHost) GetIpAddressOk() (*string, bool)
- func (o *DetailHost) GetIpSpace() string
- func (o *DetailHost) GetIpSpaceOk() (*string, bool)
- func (o *DetailHost) GetLegacyId() string
- func (o *DetailHost) GetLegacyIdOk() (*string, bool)
- func (o *DetailHost) GetLocation() DetailLocation
- func (o *DetailHost) GetLocationOk() (*DetailLocation, bool)
- func (o *DetailHost) GetMacAddress() string
- func (o *DetailHost) GetMacAddressOk() (*string, bool)
- func (o *DetailHost) GetMaintenanceMode() string
- func (o *DetailHost) GetMaintenanceModeOk() (*string, bool)
- func (o *DetailHost) GetNatIp() string
- func (o *DetailHost) GetNatIpOk() (*string, bool)
- func (o *DetailHost) GetOphid() string
- func (o *DetailHost) GetOphidOk() (*string, bool)
- func (o *DetailHost) GetPool() PoolInfo
- func (o *DetailHost) GetPoolOk() (*PoolInfo, bool)
- func (o *DetailHost) GetSerialNumber() string
- func (o *DetailHost) GetSerialNumberOk() (*string, bool)
- func (o *DetailHost) GetServices() []DetailHostServiceConfig
- func (o *DetailHost) GetServicesOk() ([]DetailHostServiceConfig, bool)
- func (o *DetailHost) GetSiteId() string
- func (o *DetailHost) GetSiteIdOk() (*string, bool)
- func (o *DetailHost) GetTags() map[string]interface{}
- func (o *DetailHost) GetTagsOk() (map[string]interface{}, bool)
- func (o *DetailHost) GetTimezone() string
- func (o *DetailHost) GetTimezoneOk() (*string, bool)
- func (o *DetailHost) GetUpdatedAt() time.Time
- func (o *DetailHost) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DetailHost) HasCompositeStatus() bool
- func (o *DetailHost) HasConfigs() bool
- func (o *DetailHost) HasConnectivityMonitor() bool
- func (o *DetailHost) HasCreatedAt() bool
- func (o *DetailHost) HasDescription() bool
- func (o *DetailHost) HasDisplayName() bool
- func (o *DetailHost) HasHostSubtype() bool
- func (o *DetailHost) HasHostType() bool
- func (o *DetailHost) HasHostVersion() bool
- func (o *DetailHost) HasId() bool
- func (o *DetailHost) HasIpAddress() bool
- func (o *DetailHost) HasIpSpace() bool
- func (o *DetailHost) HasLegacyId() bool
- func (o *DetailHost) HasLocation() bool
- func (o *DetailHost) HasMacAddress() bool
- func (o *DetailHost) HasMaintenanceMode() bool
- func (o *DetailHost) HasNatIp() bool
- func (o *DetailHost) HasOphid() bool
- func (o *DetailHost) HasPool() bool
- func (o *DetailHost) HasSerialNumber() bool
- func (o *DetailHost) HasServices() bool
- func (o *DetailHost) HasSiteId() bool
- func (o *DetailHost) HasTags() bool
- func (o *DetailHost) HasTimezone() bool
- func (o *DetailHost) HasUpdatedAt() bool
- func (o DetailHost) MarshalJSON() ([]byte, error)
- func (o *DetailHost) SetCompositeStatus(v string)
- func (o *DetailHost) SetConfigs(v []DetailHostServiceConfig)
- func (o *DetailHost) SetConnectivityMonitor(v map[string]interface{})
- func (o *DetailHost) SetCreatedAt(v time.Time)
- func (o *DetailHost) SetDescription(v string)
- func (o *DetailHost) SetDisplayName(v string)
- func (o *DetailHost) SetHostSubtype(v string)
- func (o *DetailHost) SetHostType(v string)
- func (o *DetailHost) SetHostVersion(v string)
- func (o *DetailHost) SetId(v string)
- func (o *DetailHost) SetIpAddress(v string)
- func (o *DetailHost) SetIpSpace(v string)
- func (o *DetailHost) SetLegacyId(v string)
- func (o *DetailHost) SetLocation(v DetailLocation)
- func (o *DetailHost) SetMacAddress(v string)
- func (o *DetailHost) SetMaintenanceMode(v string)
- func (o *DetailHost) SetNatIp(v string)
- func (o *DetailHost) SetOphid(v string)
- func (o *DetailHost) SetPool(v PoolInfo)
- func (o *DetailHost) SetSerialNumber(v string)
- func (o *DetailHost) SetServices(v []DetailHostServiceConfig)
- func (o *DetailHost) SetSiteId(v string)
- func (o *DetailHost) SetTags(v map[string]interface{})
- func (o *DetailHost) SetTimezone(v string)
- func (o *DetailHost) SetUpdatedAt(v time.Time)
- func (o DetailHost) ToMap() (map[string]interface{}, error)
- func (o *DetailHost) UnmarshalJSON(data []byte) (err error)
- type DetailHostServiceConfig
- func (o *DetailHostServiceConfig) GetCurrentVersion() string
- func (o *DetailHostServiceConfig) GetCurrentVersionOk() (*string, bool)
- func (o *DetailHostServiceConfig) GetServiceId() string
- func (o *DetailHostServiceConfig) GetServiceIdOk() (*string, bool)
- func (o *DetailHostServiceConfig) GetServiceName() string
- func (o *DetailHostServiceConfig) GetServiceNameOk() (*string, bool)
- func (o *DetailHostServiceConfig) GetServiceType() string
- func (o *DetailHostServiceConfig) GetServiceTypeOk() (*string, bool)
- func (o *DetailHostServiceConfig) GetStatus() ShortServiceStatus
- func (o *DetailHostServiceConfig) GetStatusOk() (*ShortServiceStatus, bool)
- func (o *DetailHostServiceConfig) GetUpgradedAt() time.Time
- func (o *DetailHostServiceConfig) GetUpgradedAtOk() (*time.Time, bool)
- func (o *DetailHostServiceConfig) HasCurrentVersion() bool
- func (o *DetailHostServiceConfig) HasServiceId() bool
- func (o *DetailHostServiceConfig) HasServiceName() bool
- func (o *DetailHostServiceConfig) HasServiceType() bool
- func (o *DetailHostServiceConfig) HasStatus() bool
- func (o *DetailHostServiceConfig) HasUpgradedAt() bool
- func (o DetailHostServiceConfig) MarshalJSON() ([]byte, error)
- func (o *DetailHostServiceConfig) SetCurrentVersion(v string)
- func (o *DetailHostServiceConfig) SetServiceId(v string)
- func (o *DetailHostServiceConfig) SetServiceName(v string)
- func (o *DetailHostServiceConfig) SetServiceType(v string)
- func (o *DetailHostServiceConfig) SetStatus(v ShortServiceStatus)
- func (o *DetailHostServiceConfig) SetUpgradedAt(v time.Time)
- func (o DetailHostServiceConfig) ToMap() (map[string]interface{}, error)
- func (o *DetailHostServiceConfig) UnmarshalJSON(data []byte) (err error)
- type DetailLocation
- func (o *DetailLocation) GetAddress() map[string]interface{}
- func (o *DetailLocation) GetAddressOk() (map[string]interface{}, bool)
- func (o *DetailLocation) GetId() string
- func (o *DetailLocation) GetIdOk() (*string, bool)
- func (o *DetailLocation) GetLatitude() float64
- func (o *DetailLocation) GetLatitudeOk() (*float64, bool)
- func (o *DetailLocation) GetLongitude() float64
- func (o *DetailLocation) GetLongitudeOk() (*float64, bool)
- func (o *DetailLocation) GetMetadata() map[string]interface{}
- func (o *DetailLocation) GetMetadataOk() (map[string]interface{}, bool)
- func (o *DetailLocation) HasAddress() bool
- func (o *DetailLocation) HasId() bool
- func (o *DetailLocation) HasLatitude() bool
- func (o *DetailLocation) HasLongitude() bool
- func (o *DetailLocation) HasMetadata() bool
- func (o DetailLocation) MarshalJSON() ([]byte, error)
- func (o *DetailLocation) SetAddress(v map[string]interface{})
- func (o *DetailLocation) SetId(v string)
- func (o *DetailLocation) SetLatitude(v float64)
- func (o *DetailLocation) SetLongitude(v float64)
- func (o *DetailLocation) SetMetadata(v map[string]interface{})
- func (o DetailLocation) ToMap() (map[string]interface{}, error)
- func (o *DetailLocation) UnmarshalJSON(data []byte) (err error)
- type DetailService
- func (o *DetailService) GetCompositeState() string
- func (o *DetailService) GetCompositeStateOk() (*string, bool)
- func (o *DetailService) GetCompositeStatus() string
- func (o *DetailService) GetCompositeStatusOk() (*string, bool)
- func (o *DetailService) GetCreatedAt() time.Time
- func (o *DetailService) GetCreatedAtOk() (*time.Time, bool)
- func (o *DetailService) GetCurrentVersion() string
- func (o *DetailService) GetCurrentVersionOk() (*string, bool)
- func (o *DetailService) GetDescription() string
- func (o *DetailService) GetDescriptionOk() (*string, bool)
- func (o *DetailService) GetDesiredState() string
- func (o *DetailService) GetDesiredStateOk() (*string, bool)
- func (o *DetailService) GetDesiredVersion() string
- func (o *DetailService) GetDesiredVersionOk() (*string, bool)
- func (o *DetailService) GetHosts() []DetailServiceHost
- func (o *DetailService) GetHostsOk() ([]DetailServiceHost, bool)
- func (o *DetailService) GetId() string
- func (o *DetailService) GetIdOk() (*string, bool)
- func (o *DetailService) GetInterfaceLabels() []string
- func (o *DetailService) GetInterfaceLabelsOk() ([]string, bool)
- func (o *DetailService) GetLocation() DetailLocation
- func (o *DetailService) GetLocationOk() (*DetailLocation, bool)
- func (o *DetailService) GetName() string
- func (o *DetailService) GetNameOk() (*string, bool)
- func (o *DetailService) GetPool() PoolInfo
- func (o *DetailService) GetPoolOk() (*PoolInfo, bool)
- func (o *DetailService) GetServiceType() string
- func (o *DetailService) GetServiceTypeOk() (*string, bool)
- func (o *DetailService) GetTags() map[string]interface{}
- func (o *DetailService) GetTagsOk() (map[string]interface{}, bool)
- func (o *DetailService) GetUpdatedAt() time.Time
- func (o *DetailService) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DetailService) HasCompositeState() bool
- func (o *DetailService) HasCompositeStatus() bool
- func (o *DetailService) HasCreatedAt() bool
- func (o *DetailService) HasCurrentVersion() bool
- func (o *DetailService) HasDescription() bool
- func (o *DetailService) HasDesiredState() bool
- func (o *DetailService) HasDesiredVersion() bool
- func (o *DetailService) HasHosts() bool
- func (o *DetailService) HasId() bool
- func (o *DetailService) HasInterfaceLabels() bool
- func (o *DetailService) HasLocation() bool
- func (o *DetailService) HasName() bool
- func (o *DetailService) HasPool() bool
- func (o *DetailService) HasServiceType() bool
- func (o *DetailService) HasTags() bool
- func (o *DetailService) HasUpdatedAt() bool
- func (o DetailService) MarshalJSON() ([]byte, error)
- func (o *DetailService) SetCompositeState(v string)
- func (o *DetailService) SetCompositeStatus(v string)
- func (o *DetailService) SetCreatedAt(v time.Time)
- func (o *DetailService) SetCurrentVersion(v string)
- func (o *DetailService) SetDescription(v string)
- func (o *DetailService) SetDesiredState(v string)
- func (o *DetailService) SetDesiredVersion(v string)
- func (o *DetailService) SetHosts(v []DetailServiceHost)
- func (o *DetailService) SetId(v string)
- func (o *DetailService) SetInterfaceLabels(v []string)
- func (o *DetailService) SetLocation(v DetailLocation)
- func (o *DetailService) SetName(v string)
- func (o *DetailService) SetPool(v PoolInfo)
- func (o *DetailService) SetServiceType(v string)
- func (o *DetailService) SetTags(v map[string]interface{})
- func (o *DetailService) SetUpdatedAt(v time.Time)
- func (o DetailService) ToMap() (map[string]interface{}, error)
- func (o *DetailService) UnmarshalJSON(data []byte) (err error)
- type DetailServiceHost
- func (o *DetailServiceHost) GetCompositeStatus() string
- func (o *DetailServiceHost) GetCompositeStatusOk() (*string, bool)
- func (o *DetailServiceHost) GetConfig() DetailServiceHostConfig
- func (o *DetailServiceHost) GetConfigOk() (*DetailServiceHostConfig, bool)
- func (o *DetailServiceHost) GetDisplayName() string
- func (o *DetailServiceHost) GetDisplayNameOk() (*string, bool)
- func (o *DetailServiceHost) GetId() string
- func (o *DetailServiceHost) GetIdOk() (*string, bool)
- func (o *DetailServiceHost) GetIpAddress() string
- func (o *DetailServiceHost) GetIpAddressOk() (*string, bool)
- func (o *DetailServiceHost) GetLegacyId() string
- func (o *DetailServiceHost) GetLegacyIdOk() (*string, bool)
- func (o *DetailServiceHost) GetMaintenanceMode() string
- func (o *DetailServiceHost) GetMaintenanceModeOk() (*string, bool)
- func (o *DetailServiceHost) GetOphid() string
- func (o *DetailServiceHost) GetOphidOk() (*string, bool)
- func (o *DetailServiceHost) HasCompositeStatus() bool
- func (o *DetailServiceHost) HasConfig() bool
- func (o *DetailServiceHost) HasDisplayName() bool
- func (o *DetailServiceHost) HasId() bool
- func (o *DetailServiceHost) HasIpAddress() bool
- func (o *DetailServiceHost) HasLegacyId() bool
- func (o *DetailServiceHost) HasMaintenanceMode() bool
- func (o *DetailServiceHost) HasOphid() bool
- func (o DetailServiceHost) MarshalJSON() ([]byte, error)
- func (o *DetailServiceHost) SetCompositeStatus(v string)
- func (o *DetailServiceHost) SetConfig(v DetailServiceHostConfig)
- func (o *DetailServiceHost) SetDisplayName(v string)
- func (o *DetailServiceHost) SetId(v string)
- func (o *DetailServiceHost) SetIpAddress(v string)
- func (o *DetailServiceHost) SetLegacyId(v string)
- func (o *DetailServiceHost) SetMaintenanceMode(v string)
- func (o *DetailServiceHost) SetOphid(v string)
- func (o DetailServiceHost) ToMap() (map[string]interface{}, error)
- func (o *DetailServiceHost) UnmarshalJSON(data []byte) (err error)
- type DetailServiceHostConfig
- func (o *DetailServiceHostConfig) GetCurrentVersion() string
- func (o *DetailServiceHostConfig) GetCurrentVersionOk() (*string, bool)
- func (o *DetailServiceHostConfig) GetStatus() ShortServiceStatus
- func (o *DetailServiceHostConfig) GetStatusOk() (*ShortServiceStatus, bool)
- func (o *DetailServiceHostConfig) GetUpgradedAt() time.Time
- func (o *DetailServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)
- func (o *DetailServiceHostConfig) HasCurrentVersion() bool
- func (o *DetailServiceHostConfig) HasStatus() bool
- func (o *DetailServiceHostConfig) HasUpgradedAt() bool
- func (o DetailServiceHostConfig) MarshalJSON() ([]byte, error)
- func (o *DetailServiceHostConfig) SetCurrentVersion(v string)
- func (o *DetailServiceHostConfig) SetStatus(v ShortServiceStatus)
- func (o *DetailServiceHostConfig) SetUpgradedAt(v time.Time)
- func (o DetailServiceHostConfig) ToMap() (map[string]interface{}, error)
- func (o *DetailServiceHostConfig) UnmarshalJSON(data []byte) (err error)
- type DisconnectRequest
- func (o *DisconnectRequest) GetId() string
- func (o *DisconnectRequest) GetIdOk() (*string, bool)
- func (o *DisconnectRequest) HasId() bool
- func (o DisconnectRequest) MarshalJSON() ([]byte, error)
- func (o *DisconnectRequest) SetId(v string)
- func (o DisconnectRequest) ToMap() (map[string]interface{}, error)
- func (o *DisconnectRequest) UnmarshalJSON(data []byte) (err error)
- type GetHostResponse
- func (o *GetHostResponse) GetResult() Host
- func (o *GetHostResponse) GetResultOk() (*Host, bool)
- func (o *GetHostResponse) HasResult() bool
- func (o GetHostResponse) MarshalJSON() ([]byte, error)
- func (o *GetHostResponse) SetResult(v Host)
- func (o GetHostResponse) ToMap() (map[string]interface{}, error)
- func (o *GetHostResponse) UnmarshalJSON(data []byte) (err error)
- type GetServiceResponse
- func (o *GetServiceResponse) GetResult() Service
- func (o *GetServiceResponse) GetResultOk() (*Service, bool)
- func (o *GetServiceResponse) HasResult() bool
- func (o GetServiceResponse) MarshalJSON() ([]byte, error)
- func (o *GetServiceResponse) SetResult(v Service)
- func (o GetServiceResponse) ToMap() (map[string]interface{}, error)
- func (o *GetServiceResponse) UnmarshalJSON(data []byte) (err error)
- type Host
- func (o *Host) GetConfigs() []ServiceHostConfig
- func (o *Host) GetConfigsOk() ([]ServiceHostConfig, bool)
- func (o *Host) GetConnectivityMonitor() map[string]interface{}
- func (o *Host) GetConnectivityMonitorOk() (map[string]interface{}, bool)
- func (o *Host) GetCreatedAt() time.Time
- func (o *Host) GetCreatedAtOk() (*time.Time, bool)
- func (o *Host) GetCreatedBy() string
- func (o *Host) GetCreatedByOk() (*string, bool)
- func (o *Host) GetDescription() string
- func (o *Host) GetDescriptionOk() (*string, bool)
- func (o *Host) GetDisplayName() string
- func (o *Host) GetDisplayNameOk() (*string, bool)
- func (o *Host) GetHostSubtype() string
- func (o *Host) GetHostSubtypeOk() (*string, bool)
- func (o *Host) GetHostType() string
- func (o *Host) GetHostTypeOk() (*string, bool)
- func (o *Host) GetHostVersion() string
- func (o *Host) GetHostVersionOk() (*string, bool)
- func (o *Host) GetId() string
- func (o *Host) GetIdOk() (*string, bool)
- func (o *Host) GetIpAddress() string
- func (o *Host) GetIpAddressOk() (*string, bool)
- func (o *Host) GetIpSpace() string
- func (o *Host) GetIpSpaceOk() (*string, bool)
- func (o *Host) GetLegacyId() string
- func (o *Host) GetLegacyIdOk() (*string, bool)
- func (o *Host) GetLocationId() string
- func (o *Host) GetLocationIdOk() (*string, bool)
- func (o *Host) GetMacAddress() string
- func (o *Host) GetMacAddressOk() (*string, bool)
- func (o *Host) GetMaintenanceMode() string
- func (o *Host) GetMaintenanceModeOk() (*string, bool)
- func (o *Host) GetNatIp() string
- func (o *Host) GetNatIpOk() (*string, bool)
- func (o *Host) GetNoaCluster() string
- func (o *Host) GetNoaClusterOk() (*string, bool)
- func (o *Host) GetOphid() string
- func (o *Host) GetOphidOk() (*string, bool)
- func (o *Host) GetPoolId() string
- func (o *Host) GetPoolIdOk() (*string, bool)
- func (o *Host) GetSerialNumber() string
- func (o *Host) GetSerialNumberOk() (*string, bool)
- func (o *Host) GetTags() map[string]interface{}
- func (o *Host) GetTagsOk() (map[string]interface{}, bool)
- func (o *Host) GetTimezone() string
- func (o *Host) GetTimezoneOk() (*string, bool)
- func (o *Host) GetUpdatedAt() time.Time
- func (o *Host) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Host) HasConfigs() bool
- func (o *Host) HasConnectivityMonitor() bool
- func (o *Host) HasCreatedAt() bool
- func (o *Host) HasCreatedBy() bool
- func (o *Host) HasDescription() bool
- func (o *Host) HasHostSubtype() bool
- func (o *Host) HasHostType() bool
- func (o *Host) HasHostVersion() bool
- func (o *Host) HasId() bool
- func (o *Host) HasIpAddress() bool
- func (o *Host) HasIpSpace() bool
- func (o *Host) HasLegacyId() bool
- func (o *Host) HasLocationId() bool
- func (o *Host) HasMacAddress() bool
- func (o *Host) HasMaintenanceMode() bool
- func (o *Host) HasNatIp() bool
- func (o *Host) HasNoaCluster() bool
- func (o *Host) HasOphid() bool
- func (o *Host) HasPoolId() bool
- func (o *Host) HasSerialNumber() bool
- func (o *Host) HasTags() bool
- func (o *Host) HasTimezone() bool
- func (o *Host) HasUpdatedAt() bool
- func (o Host) MarshalJSON() ([]byte, error)
- func (o *Host) SetConfigs(v []ServiceHostConfig)
- func (o *Host) SetConnectivityMonitor(v map[string]interface{})
- func (o *Host) SetCreatedAt(v time.Time)
- func (o *Host) SetCreatedBy(v string)
- func (o *Host) SetDescription(v string)
- func (o *Host) SetDisplayName(v string)
- func (o *Host) SetHostSubtype(v string)
- func (o *Host) SetHostType(v string)
- func (o *Host) SetHostVersion(v string)
- func (o *Host) SetId(v string)
- func (o *Host) SetIpAddress(v string)
- func (o *Host) SetIpSpace(v string)
- func (o *Host) SetLegacyId(v string)
- func (o *Host) SetLocationId(v string)
- func (o *Host) SetMacAddress(v string)
- func (o *Host) SetMaintenanceMode(v string)
- func (o *Host) SetNatIp(v string)
- func (o *Host) SetNoaCluster(v string)
- func (o *Host) SetOphid(v string)
- func (o *Host) SetPoolId(v string)
- func (o *Host) SetSerialNumber(v string)
- func (o *Host) SetTags(v map[string]interface{})
- func (o *Host) SetTimezone(v string)
- func (o *Host) SetUpdatedAt(v time.Time)
- func (o Host) ToMap() (map[string]interface{}, error)
- func (o *Host) UnmarshalJSON(data []byte) (err error)
- type HostsAPI
- type HostsAPIAssignTagsRequest
- type HostsAPICreateRequest
- type HostsAPIDeleteRequest
- type HostsAPIDisconnectRequest
- type HostsAPIListRequest
- func (r HostsAPIListRequest) Execute() (*ListHostResponse, *http.Response, error)
- func (r HostsAPIListRequest) Fields(fields string) HostsAPIListRequest
- func (r HostsAPIListRequest) Filter(filter string) HostsAPIListRequest
- func (r HostsAPIListRequest) Limit(limit int32) HostsAPIListRequest
- func (r HostsAPIListRequest) Offset(offset int32) HostsAPIListRequest
- func (r HostsAPIListRequest) OrderBy(orderBy string) HostsAPIListRequest
- func (r HostsAPIListRequest) PageToken(pageToken string) HostsAPIListRequest
- func (r HostsAPIListRequest) Tfilter(tfilter string) HostsAPIListRequest
- func (r HostsAPIListRequest) TorderBy(torderBy string) HostsAPIListRequest
- type HostsAPIReadRequest
- type HostsAPIReplaceRequest
- type HostsAPIService
- func (a *HostsAPIService) AssignTags(ctx context.Context) HostsAPIAssignTagsRequest
- func (a *HostsAPIService) AssignTagsExecute(r HostsAPIAssignTagsRequest) (map[string]interface{}, *http.Response, error)
- func (a *HostsAPIService) Create(ctx context.Context) HostsAPICreateRequest
- func (a *HostsAPIService) CreateExecute(r HostsAPICreateRequest) (*CreateHostResponse, *http.Response, error)
- func (a *HostsAPIService) Delete(ctx context.Context, id string) HostsAPIDeleteRequest
- func (a *HostsAPIService) DeleteExecute(r HostsAPIDeleteRequest) (*http.Response, error)
- func (a *HostsAPIService) Disconnect(ctx context.Context, id string) HostsAPIDisconnectRequest
- func (a *HostsAPIService) DisconnectExecute(r HostsAPIDisconnectRequest) (map[string]interface{}, *http.Response, error)
- func (a *HostsAPIService) List(ctx context.Context) HostsAPIListRequest
- func (a *HostsAPIService) ListExecute(r HostsAPIListRequest) (*ListHostResponse, *http.Response, error)
- func (a *HostsAPIService) Read(ctx context.Context, id string) HostsAPIReadRequest
- func (a *HostsAPIService) ReadExecute(r HostsAPIReadRequest) (*GetHostResponse, *http.Response, error)
- func (a *HostsAPIService) Replace(ctx context.Context, fromResourceId string, toResourceId string) HostsAPIReplaceRequest
- func (a *HostsAPIService) ReplaceExecute(r HostsAPIReplaceRequest) (map[string]interface{}, *http.Response, error)
- func (a *HostsAPIService) UnassignTags(ctx context.Context) HostsAPIUnassignTagsRequest
- func (a *HostsAPIService) UnassignTagsExecute(r HostsAPIUnassignTagsRequest) (map[string]interface{}, *http.Response, error)
- func (a *HostsAPIService) Update(ctx context.Context, id string) HostsAPIUpdateRequest
- func (a *HostsAPIService) UpdateExecute(r HostsAPIUpdateRequest) (*UpdateHostResponse, *http.Response, error)
- type HostsAPIUnassignTagsRequest
- type HostsAPIUpdateRequest
- type ListDetailHostsResponse
- func (o *ListDetailHostsResponse) GetPage() ApiPageInfo
- func (o *ListDetailHostsResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListDetailHostsResponse) GetResults() []DetailHost
- func (o *ListDetailHostsResponse) GetResultsOk() ([]DetailHost, bool)
- func (o *ListDetailHostsResponse) HasPage() bool
- func (o *ListDetailHostsResponse) HasResults() bool
- func (o ListDetailHostsResponse) MarshalJSON() ([]byte, error)
- func (o *ListDetailHostsResponse) SetPage(v ApiPageInfo)
- func (o *ListDetailHostsResponse) SetResults(v []DetailHost)
- func (o ListDetailHostsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListDetailHostsResponse) UnmarshalJSON(data []byte) (err error)
- type ListDetailServicesResponse
- func (o *ListDetailServicesResponse) GetPage() ApiPageInfo
- func (o *ListDetailServicesResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListDetailServicesResponse) GetResults() []DetailService
- func (o *ListDetailServicesResponse) GetResultsOk() ([]DetailService, bool)
- func (o *ListDetailServicesResponse) HasPage() bool
- func (o *ListDetailServicesResponse) HasResults() bool
- func (o ListDetailServicesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDetailServicesResponse) SetPage(v ApiPageInfo)
- func (o *ListDetailServicesResponse) SetResults(v []DetailService)
- func (o ListDetailServicesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListDetailServicesResponse) UnmarshalJSON(data []byte) (err error)
- type ListHostResponse
- func (o *ListHostResponse) GetPage() ApiPageInfo
- func (o *ListHostResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListHostResponse) GetResults() []Host
- func (o *ListHostResponse) GetResultsOk() ([]Host, bool)
- func (o *ListHostResponse) HasPage() bool
- func (o *ListHostResponse) HasResults() bool
- func (o ListHostResponse) MarshalJSON() ([]byte, error)
- func (o *ListHostResponse) SetPage(v ApiPageInfo)
- func (o *ListHostResponse) SetResults(v []Host)
- func (o ListHostResponse) ToMap() (map[string]interface{}, error)
- func (o *ListHostResponse) UnmarshalJSON(data []byte) (err error)
- type ListServiceResponse
- func (o *ListServiceResponse) GetPage() ApiPageInfo
- func (o *ListServiceResponse) GetPageOk() (*ApiPageInfo, bool)
- func (o *ListServiceResponse) GetResults() []Service
- func (o *ListServiceResponse) GetResultsOk() ([]Service, bool)
- func (o *ListServiceResponse) HasPage() bool
- func (o *ListServiceResponse) HasResults() bool
- func (o ListServiceResponse) MarshalJSON() ([]byte, error)
- func (o *ListServiceResponse) SetPage(v ApiPageInfo)
- func (o *ListServiceResponse) SetResults(v []Service)
- func (o ListServiceResponse) ToMap() (map[string]interface{}, error)
- func (o *ListServiceResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableApiPageInfo
- func (v NullableApiPageInfo) Get() *ApiPageInfo
- func (v NullableApiPageInfo) IsSet() bool
- func (v NullableApiPageInfo) MarshalJSON() ([]byte, error)
- func (v *NullableApiPageInfo) Set(val *ApiPageInfo)
- func (v *NullableApiPageInfo) UnmarshalJSON(src []byte) error
- func (v *NullableApiPageInfo) Unset()
- type NullableApplications
- func (v NullableApplications) Get() *Applications
- func (v NullableApplications) IsSet() bool
- func (v NullableApplications) MarshalJSON() ([]byte, error)
- func (v *NullableApplications) Set(val *Applications)
- func (v *NullableApplications) UnmarshalJSON(src []byte) error
- func (v *NullableApplications) Unset()
- type NullableApplicationsResponse
- func (v NullableApplicationsResponse) Get() *ApplicationsResponse
- func (v NullableApplicationsResponse) IsSet() bool
- func (v NullableApplicationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationsResponse) Set(val *ApplicationsResponse)
- func (v *NullableApplicationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationsResponse) Unset()
- type NullableAssignTagsRequest
- func (v NullableAssignTagsRequest) Get() *AssignTagsRequest
- func (v NullableAssignTagsRequest) IsSet() bool
- func (v NullableAssignTagsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAssignTagsRequest) Set(val *AssignTagsRequest)
- func (v *NullableAssignTagsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAssignTagsRequest) Unset()
- type NullableBool
- type NullableCreateHostResponse
- func (v NullableCreateHostResponse) Get() *CreateHostResponse
- func (v NullableCreateHostResponse) IsSet() bool
- func (v NullableCreateHostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateHostResponse) Set(val *CreateHostResponse)
- func (v *NullableCreateHostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateHostResponse) Unset()
- type NullableCreateServiceResponse
- func (v NullableCreateServiceResponse) Get() *CreateServiceResponse
- func (v NullableCreateServiceResponse) IsSet() bool
- func (v NullableCreateServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceResponse) Set(val *CreateServiceResponse)
- func (v *NullableCreateServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceResponse) Unset()
- type NullableDetailHost
- type NullableDetailHostServiceConfig
- func (v NullableDetailHostServiceConfig) Get() *DetailHostServiceConfig
- func (v NullableDetailHostServiceConfig) IsSet() bool
- func (v NullableDetailHostServiceConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDetailHostServiceConfig) Set(val *DetailHostServiceConfig)
- func (v *NullableDetailHostServiceConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDetailHostServiceConfig) Unset()
- type NullableDetailLocation
- func (v NullableDetailLocation) Get() *DetailLocation
- func (v NullableDetailLocation) IsSet() bool
- func (v NullableDetailLocation) MarshalJSON() ([]byte, error)
- func (v *NullableDetailLocation) Set(val *DetailLocation)
- func (v *NullableDetailLocation) UnmarshalJSON(src []byte) error
- func (v *NullableDetailLocation) Unset()
- type NullableDetailService
- func (v NullableDetailService) Get() *DetailService
- func (v NullableDetailService) IsSet() bool
- func (v NullableDetailService) MarshalJSON() ([]byte, error)
- func (v *NullableDetailService) Set(val *DetailService)
- func (v *NullableDetailService) UnmarshalJSON(src []byte) error
- func (v *NullableDetailService) Unset()
- type NullableDetailServiceHost
- func (v NullableDetailServiceHost) Get() *DetailServiceHost
- func (v NullableDetailServiceHost) IsSet() bool
- func (v NullableDetailServiceHost) MarshalJSON() ([]byte, error)
- func (v *NullableDetailServiceHost) Set(val *DetailServiceHost)
- func (v *NullableDetailServiceHost) UnmarshalJSON(src []byte) error
- func (v *NullableDetailServiceHost) Unset()
- type NullableDetailServiceHostConfig
- func (v NullableDetailServiceHostConfig) Get() *DetailServiceHostConfig
- func (v NullableDetailServiceHostConfig) IsSet() bool
- func (v NullableDetailServiceHostConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDetailServiceHostConfig) Set(val *DetailServiceHostConfig)
- func (v *NullableDetailServiceHostConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDetailServiceHostConfig) Unset()
- type NullableDisconnectRequest
- func (v NullableDisconnectRequest) Get() *DisconnectRequest
- func (v NullableDisconnectRequest) IsSet() bool
- func (v NullableDisconnectRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDisconnectRequest) Set(val *DisconnectRequest)
- func (v *NullableDisconnectRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDisconnectRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetHostResponse
- func (v NullableGetHostResponse) Get() *GetHostResponse
- func (v NullableGetHostResponse) IsSet() bool
- func (v NullableGetHostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetHostResponse) Set(val *GetHostResponse)
- func (v *NullableGetHostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetHostResponse) Unset()
- type NullableGetServiceResponse
- func (v NullableGetServiceResponse) Get() *GetServiceResponse
- func (v NullableGetServiceResponse) IsSet() bool
- func (v NullableGetServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetServiceResponse) Set(val *GetServiceResponse)
- func (v *NullableGetServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetServiceResponse) Unset()
- type NullableHost
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListDetailHostsResponse
- func (v NullableListDetailHostsResponse) Get() *ListDetailHostsResponse
- func (v NullableListDetailHostsResponse) IsSet() bool
- func (v NullableListDetailHostsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDetailHostsResponse) Set(val *ListDetailHostsResponse)
- func (v *NullableListDetailHostsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDetailHostsResponse) Unset()
- type NullableListDetailServicesResponse
- func (v NullableListDetailServicesResponse) Get() *ListDetailServicesResponse
- func (v NullableListDetailServicesResponse) IsSet() bool
- func (v NullableListDetailServicesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDetailServicesResponse) Set(val *ListDetailServicesResponse)
- func (v *NullableListDetailServicesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDetailServicesResponse) Unset()
- type NullableListHostResponse
- func (v NullableListHostResponse) Get() *ListHostResponse
- func (v NullableListHostResponse) IsSet() bool
- func (v NullableListHostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListHostResponse) Set(val *ListHostResponse)
- func (v *NullableListHostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListHostResponse) Unset()
- type NullableListServiceResponse
- func (v NullableListServiceResponse) Get() *ListServiceResponse
- func (v NullableListServiceResponse) IsSet() bool
- func (v NullableListServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListServiceResponse) Set(val *ListServiceResponse)
- func (v *NullableListServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListServiceResponse) Unset()
- type NullablePoolInfo
- type NullableReplaceHostRequest
- func (v NullableReplaceHostRequest) Get() *ReplaceHostRequest
- func (v NullableReplaceHostRequest) IsSet() bool
- func (v NullableReplaceHostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableReplaceHostRequest) Set(val *ReplaceHostRequest)
- func (v *NullableReplaceHostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableReplaceHostRequest) Unset()
- type NullableService
- type NullableServiceHostConfig
- func (v NullableServiceHostConfig) Get() *ServiceHostConfig
- func (v NullableServiceHostConfig) IsSet() bool
- func (v NullableServiceHostConfig) MarshalJSON() ([]byte, error)
- func (v *NullableServiceHostConfig) Set(val *ServiceHostConfig)
- func (v *NullableServiceHostConfig) UnmarshalJSON(src []byte) error
- func (v *NullableServiceHostConfig) Unset()
- type NullableShortServiceStatus
- func (v NullableShortServiceStatus) Get() *ShortServiceStatus
- func (v NullableShortServiceStatus) IsSet() bool
- func (v NullableShortServiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableShortServiceStatus) Set(val *ShortServiceStatus)
- func (v *NullableShortServiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableShortServiceStatus) Unset()
- type NullableString
- type NullableTime
- type NullableUnassignTagsRequest
- func (v NullableUnassignTagsRequest) Get() *UnassignTagsRequest
- func (v NullableUnassignTagsRequest) IsSet() bool
- func (v NullableUnassignTagsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUnassignTagsRequest) Set(val *UnassignTagsRequest)
- func (v *NullableUnassignTagsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUnassignTagsRequest) Unset()
- type NullableUpdateHostResponse
- func (v NullableUpdateHostResponse) Get() *UpdateHostResponse
- func (v NullableUpdateHostResponse) IsSet() bool
- func (v NullableUpdateHostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateHostResponse) Set(val *UpdateHostResponse)
- func (v *NullableUpdateHostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateHostResponse) Unset()
- type NullableUpdateServiceResponse
- func (v NullableUpdateServiceResponse) Get() *UpdateServiceResponse
- func (v NullableUpdateServiceResponse) IsSet() bool
- func (v NullableUpdateServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateServiceResponse) Set(val *UpdateServiceResponse)
- func (v *NullableUpdateServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateServiceResponse) Unset()
- type PoolInfo
- func (o *PoolInfo) GetCompositeStatus() string
- func (o *PoolInfo) GetCompositeStatusOk() (*string, bool)
- func (o *PoolInfo) GetPoolId() string
- func (o *PoolInfo) GetPoolIdOk() (*string, bool)
- func (o *PoolInfo) GetPoolName() string
- func (o *PoolInfo) GetPoolNameOk() (*string, bool)
- func (o *PoolInfo) HasCompositeStatus() bool
- func (o *PoolInfo) HasPoolId() bool
- func (o *PoolInfo) HasPoolName() bool
- func (o PoolInfo) MarshalJSON() ([]byte, error)
- func (o *PoolInfo) SetCompositeStatus(v string)
- func (o *PoolInfo) SetPoolId(v string)
- func (o *PoolInfo) SetPoolName(v string)
- func (o PoolInfo) ToMap() (map[string]interface{}, error)
- func (o *PoolInfo) UnmarshalJSON(data []byte) (err error)
- type ReplaceHostRequest
- func (o *ReplaceHostRequest) GetFrom() string
- func (o *ReplaceHostRequest) GetFromOk() (*string, bool)
- func (o *ReplaceHostRequest) GetTo() string
- func (o *ReplaceHostRequest) GetToOk() (*string, bool)
- func (o *ReplaceHostRequest) HasFrom() bool
- func (o *ReplaceHostRequest) HasTo() bool
- func (o ReplaceHostRequest) MarshalJSON() ([]byte, error)
- func (o *ReplaceHostRequest) SetFrom(v string)
- func (o *ReplaceHostRequest) SetTo(v string)
- func (o ReplaceHostRequest) ToMap() (map[string]interface{}, error)
- func (o *ReplaceHostRequest) UnmarshalJSON(data []byte) (err error)
- type Service
- func (o *Service) GetConfigs() []ServiceHostConfig
- func (o *Service) GetConfigsOk() ([]ServiceHostConfig, bool)
- func (o *Service) GetCreatedAt() time.Time
- func (o *Service) GetCreatedAtOk() (*time.Time, bool)
- func (o *Service) GetDescription() string
- func (o *Service) GetDescriptionOk() (*string, bool)
- func (o *Service) GetDesiredState() string
- func (o *Service) GetDesiredStateOk() (*string, bool)
- func (o *Service) GetDesiredVersion() string
- func (o *Service) GetDesiredVersionOk() (*string, bool)
- func (o *Service) GetId() string
- func (o *Service) GetIdOk() (*string, bool)
- func (o *Service) GetInterfaceLabels() []string
- func (o *Service) GetInterfaceLabelsOk() ([]string, bool)
- func (o *Service) GetName() string
- func (o *Service) GetNameOk() (*string, bool)
- func (o *Service) GetPoolId() string
- func (o *Service) GetPoolIdOk() (*string, bool)
- func (o *Service) GetServiceType() string
- func (o *Service) GetServiceTypeOk() (*string, bool)
- func (o *Service) GetTags() map[string]interface{}
- func (o *Service) GetTagsOk() (map[string]interface{}, bool)
- func (o *Service) GetUpdatedAt() time.Time
- func (o *Service) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Service) HasConfigs() bool
- func (o *Service) HasCreatedAt() bool
- func (o *Service) HasDescription() bool
- func (o *Service) HasDesiredState() bool
- func (o *Service) HasDesiredVersion() bool
- func (o *Service) HasId() bool
- func (o *Service) HasInterfaceLabels() bool
- func (o *Service) HasTags() bool
- func (o *Service) HasUpdatedAt() bool
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetConfigs(v []ServiceHostConfig)
- func (o *Service) SetCreatedAt(v time.Time)
- func (o *Service) SetDescription(v string)
- func (o *Service) SetDesiredState(v string)
- func (o *Service) SetDesiredVersion(v string)
- func (o *Service) SetId(v string)
- func (o *Service) SetInterfaceLabels(v []string)
- func (o *Service) SetName(v string)
- func (o *Service) SetPoolId(v string)
- func (o *Service) SetServiceType(v string)
- func (o *Service) SetTags(v map[string]interface{})
- func (o *Service) SetUpdatedAt(v time.Time)
- func (o Service) ToMap() (map[string]interface{}, error)
- func (o *Service) UnmarshalJSON(data []byte) (err error)
- type ServiceHostConfig
- func (o *ServiceHostConfig) GetCurrentVersion() string
- func (o *ServiceHostConfig) GetCurrentVersionOk() (*string, bool)
- func (o *ServiceHostConfig) GetExtraData() string
- func (o *ServiceHostConfig) GetExtraDataOk() (*string, bool)
- func (o *ServiceHostConfig) GetHostId() string
- func (o *ServiceHostConfig) GetHostIdOk() (*string, bool)
- func (o *ServiceHostConfig) GetId() string
- func (o *ServiceHostConfig) GetIdOk() (*string, bool)
- func (o *ServiceHostConfig) GetServiceId() string
- func (o *ServiceHostConfig) GetServiceIdOk() (*string, bool)
- func (o *ServiceHostConfig) GetServiceType() string
- func (o *ServiceHostConfig) GetServiceTypeOk() (*string, bool)
- func (o *ServiceHostConfig) GetUpgradedAt() time.Time
- func (o *ServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)
- func (o *ServiceHostConfig) HasCurrentVersion() bool
- func (o *ServiceHostConfig) HasExtraData() bool
- func (o *ServiceHostConfig) HasHostId() bool
- func (o *ServiceHostConfig) HasId() bool
- func (o *ServiceHostConfig) HasServiceId() bool
- func (o *ServiceHostConfig) HasServiceType() bool
- func (o *ServiceHostConfig) HasUpgradedAt() bool
- func (o ServiceHostConfig) MarshalJSON() ([]byte, error)
- func (o *ServiceHostConfig) SetCurrentVersion(v string)
- func (o *ServiceHostConfig) SetExtraData(v string)
- func (o *ServiceHostConfig) SetHostId(v string)
- func (o *ServiceHostConfig) SetId(v string)
- func (o *ServiceHostConfig) SetServiceId(v string)
- func (o *ServiceHostConfig) SetServiceType(v string)
- func (o *ServiceHostConfig) SetUpgradedAt(v time.Time)
- func (o ServiceHostConfig) ToMap() (map[string]interface{}, error)
- func (o *ServiceHostConfig) UnmarshalJSON(data []byte) (err error)
- type ServicesAPI
- type ServicesAPIApplicationsRequest
- type ServicesAPICreateRequest
- type ServicesAPIDeleteRequest
- type ServicesAPIListRequest
- func (r ServicesAPIListRequest) Execute() (*ListServiceResponse, *http.Response, error)
- func (r ServicesAPIListRequest) Fields(fields string) ServicesAPIListRequest
- func (r ServicesAPIListRequest) Filter(filter string) ServicesAPIListRequest
- func (r ServicesAPIListRequest) Limit(limit int32) ServicesAPIListRequest
- func (r ServicesAPIListRequest) Offset(offset int32) ServicesAPIListRequest
- func (r ServicesAPIListRequest) OrderBy(orderBy string) ServicesAPIListRequest
- func (r ServicesAPIListRequest) PageToken(pageToken string) ServicesAPIListRequest
- func (r ServicesAPIListRequest) Tfilter(tfilter string) ServicesAPIListRequest
- func (r ServicesAPIListRequest) TorderBy(torderBy string) ServicesAPIListRequest
- type ServicesAPIReadRequest
- type ServicesAPIService
- func (a *ServicesAPIService) Applications(ctx context.Context) ServicesAPIApplicationsRequest
- func (a *ServicesAPIService) ApplicationsExecute(r ServicesAPIApplicationsRequest) (*ApplicationsResponse, *http.Response, error)
- func (a *ServicesAPIService) Create(ctx context.Context) ServicesAPICreateRequest
- func (a *ServicesAPIService) CreateExecute(r ServicesAPICreateRequest) (*CreateServiceResponse, *http.Response, error)
- func (a *ServicesAPIService) Delete(ctx context.Context, id string) ServicesAPIDeleteRequest
- func (a *ServicesAPIService) DeleteExecute(r ServicesAPIDeleteRequest) (*http.Response, error)
- func (a *ServicesAPIService) List(ctx context.Context) ServicesAPIListRequest
- func (a *ServicesAPIService) ListExecute(r ServicesAPIListRequest) (*ListServiceResponse, *http.Response, error)
- func (a *ServicesAPIService) Read(ctx context.Context, id string) ServicesAPIReadRequest
- func (a *ServicesAPIService) ReadExecute(r ServicesAPIReadRequest) (*GetServiceResponse, *http.Response, error)
- func (a *ServicesAPIService) Update(ctx context.Context, id string) ServicesAPIUpdateRequest
- func (a *ServicesAPIService) UpdateExecute(r ServicesAPIUpdateRequest) (*UpdateServiceResponse, *http.Response, error)
- type ServicesAPIUpdateRequest
- type ShortServiceStatus
- func (o *ShortServiceStatus) GetMessage() string
- func (o *ShortServiceStatus) GetMessageOk() (*string, bool)
- func (o *ShortServiceStatus) GetStatus() string
- func (o *ShortServiceStatus) GetStatusOk() (*string, bool)
- func (o *ShortServiceStatus) GetUpdatedAt() time.Time
- func (o *ShortServiceStatus) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ShortServiceStatus) HasMessage() bool
- func (o *ShortServiceStatus) HasStatus() bool
- func (o *ShortServiceStatus) HasUpdatedAt() bool
- func (o ShortServiceStatus) MarshalJSON() ([]byte, error)
- func (o *ShortServiceStatus) SetMessage(v string)
- func (o *ShortServiceStatus) SetStatus(v string)
- func (o *ShortServiceStatus) SetUpdatedAt(v time.Time)
- func (o ShortServiceStatus) ToMap() (map[string]interface{}, error)
- func (o *ShortServiceStatus) UnmarshalJSON(data []byte) (err error)
- type UnassignTagsRequest
- func (o *UnassignTagsRequest) GetIds() []string
- func (o *UnassignTagsRequest) GetIdsOk() ([]string, bool)
- func (o *UnassignTagsRequest) GetKeys() []string
- func (o *UnassignTagsRequest) GetKeysOk() ([]string, bool)
- func (o *UnassignTagsRequest) HasIds() bool
- func (o *UnassignTagsRequest) HasKeys() bool
- func (o UnassignTagsRequest) MarshalJSON() ([]byte, error)
- func (o *UnassignTagsRequest) SetIds(v []string)
- func (o *UnassignTagsRequest) SetKeys(v []string)
- func (o UnassignTagsRequest) ToMap() (map[string]interface{}, error)
- func (o *UnassignTagsRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateHostResponse
- func (o *UpdateHostResponse) GetResult() Host
- func (o *UpdateHostResponse) GetResultOk() (*Host, bool)
- func (o *UpdateHostResponse) HasResult() bool
- func (o UpdateHostResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateHostResponse) SetResult(v Host)
- func (o UpdateHostResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateHostResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateServiceResponse
- func (o *UpdateServiceResponse) GetResult() Service
- func (o *UpdateServiceResponse) GetResultOk() (*Service, bool)
- func (o *UpdateServiceResponse) HasResult() bool
- func (o UpdateServiceResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateServiceResponse) SetResult(v Service)
- func (o UpdateServiceResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateServiceResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { *internal.APIClient // API Services DetailAPI DetailAPI HostsAPI HostsAPI ServicesAPI ServicesAPI }
APIClient manages communication with the Infrastructure Management API v1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(options ...option.ClientOption) *APIClient
NewAPIClient creates a new API client. The client can be configured with a variadic option. The following options are available: - WithClientName(string) sets the name of the client using the SDK. - WithCSPUrl(string) sets the URL for BloxOne Cloud Services Portal. - WithAPIKey(string) sets the APIKey for accessing the BloxOne API. - WithHTTPClient(*http.Client) sets the HTTPClient to use for the SDK. - WithDefaultTags(map[string]string) sets the tags the client can set by default for objects that has tags support. - WithDebug() sets the debug mode.
type ApiPageInfo ¶
type ApiPageInfo struct { // The service may optionally include the offset of the next page of resources. A null value indicates no more pages. Offset *int32 `json:"offset,omitempty"` // The service response should contain a string to indicate the next page of resources. A null value indicates no more pages. PageToken *string `json:"page_token,omitempty"` // The service may optionally include the total number of resources being paged. Size *int32 `json:"size,omitempty"` AdditionalProperties map[string]interface{} }
ApiPageInfo PageInfo represents both server-driven and client-driven pagination response. Server-driven pagination is a model in which the server returns some amount of data along with an token indicating there is more data and where subsequent queries can get the next page of data. Client-driven pagination is a model in which rows are addressable by offset and page size (limit).
func NewApiPageInfo ¶
func NewApiPageInfo() *ApiPageInfo
NewApiPageInfo instantiates a new ApiPageInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiPageInfoWithDefaults ¶
func NewApiPageInfoWithDefaults() *ApiPageInfo
NewApiPageInfoWithDefaults instantiates a new ApiPageInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiPageInfo) GetOffset ¶
func (o *ApiPageInfo) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*ApiPageInfo) GetOffsetOk ¶
func (o *ApiPageInfo) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiPageInfo) GetPageToken ¶
func (o *ApiPageInfo) GetPageToken() string
GetPageToken returns the PageToken field value if set, zero value otherwise.
func (*ApiPageInfo) GetPageTokenOk ¶
func (o *ApiPageInfo) GetPageTokenOk() (*string, bool)
GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiPageInfo) GetSize ¶
func (o *ApiPageInfo) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*ApiPageInfo) GetSizeOk ¶
func (o *ApiPageInfo) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiPageInfo) HasOffset ¶
func (o *ApiPageInfo) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ApiPageInfo) HasPageToken ¶
func (o *ApiPageInfo) HasPageToken() bool
HasPageToken returns a boolean if a field has been set.
func (*ApiPageInfo) HasSize ¶
func (o *ApiPageInfo) HasSize() bool
HasSize returns a boolean if a field has been set.
func (ApiPageInfo) MarshalJSON ¶
func (o ApiPageInfo) MarshalJSON() ([]byte, error)
func (*ApiPageInfo) SetOffset ¶
func (o *ApiPageInfo) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*ApiPageInfo) SetPageToken ¶
func (o *ApiPageInfo) SetPageToken(v string)
SetPageToken gets a reference to the given string and assigns it to the PageToken field.
func (*ApiPageInfo) SetSize ¶
func (o *ApiPageInfo) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (ApiPageInfo) ToMap ¶
func (o ApiPageInfo) ToMap() (map[string]interface{}, error)
func (*ApiPageInfo) UnmarshalJSON ¶
func (o *ApiPageInfo) UnmarshalJSON(data []byte) (err error)
type Applications ¶
type Applications struct { Applications []string `json:"applications,omitempty"` AdditionalProperties map[string]interface{} }
Applications struct for Applications
func NewApplications ¶
func NewApplications() *Applications
NewApplications instantiates a new Applications object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApplicationsWithDefaults ¶
func NewApplicationsWithDefaults() *Applications
NewApplicationsWithDefaults instantiates a new Applications object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Applications) GetApplications ¶
func (o *Applications) GetApplications() []string
GetApplications returns the Applications field value if set, zero value otherwise.
func (*Applications) GetApplicationsOk ¶
func (o *Applications) GetApplicationsOk() ([]string, bool)
GetApplicationsOk returns a tuple with the Applications field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Applications) HasApplications ¶
func (o *Applications) HasApplications() bool
HasApplications returns a boolean if a field has been set.
func (Applications) MarshalJSON ¶
func (o Applications) MarshalJSON() ([]byte, error)
func (*Applications) SetApplications ¶
func (o *Applications) SetApplications(v []string)
SetApplications gets a reference to the given []string and assigns it to the Applications field.
func (Applications) ToMap ¶
func (o Applications) ToMap() (map[string]interface{}, error)
func (*Applications) UnmarshalJSON ¶
func (o *Applications) UnmarshalJSON(data []byte) (err error)
type ApplicationsResponse ¶
type ApplicationsResponse struct { Results *Applications `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ApplicationsResponse Applications response.
func NewApplicationsResponse ¶
func NewApplicationsResponse() *ApplicationsResponse
NewApplicationsResponse instantiates a new ApplicationsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApplicationsResponseWithDefaults ¶
func NewApplicationsResponseWithDefaults() *ApplicationsResponse
NewApplicationsResponseWithDefaults instantiates a new ApplicationsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApplicationsResponse) GetResults ¶
func (o *ApplicationsResponse) GetResults() Applications
GetResults returns the Results field value if set, zero value otherwise.
func (*ApplicationsResponse) GetResultsOk ¶
func (o *ApplicationsResponse) GetResultsOk() (*Applications, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApplicationsResponse) HasResults ¶
func (o *ApplicationsResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ApplicationsResponse) MarshalJSON ¶
func (o ApplicationsResponse) MarshalJSON() ([]byte, error)
func (*ApplicationsResponse) SetResults ¶
func (o *ApplicationsResponse) SetResults(v Applications)
SetResults gets a reference to the given Applications and assigns it to the Results field.
func (ApplicationsResponse) ToMap ¶
func (o ApplicationsResponse) ToMap() (map[string]interface{}, error)
func (*ApplicationsResponse) UnmarshalJSON ¶
func (o *ApplicationsResponse) UnmarshalJSON(data []byte) (err error)
type AssignTagsRequest ¶
type AssignTagsRequest struct { // The resource identifier. Ids []string `json:"ids,omitempty"` Override *bool `json:"override,omitempty"` Tags map[string]interface{} `json:"tags,omitempty"` AdditionalProperties map[string]interface{} }
AssignTagsRequest struct for AssignTagsRequest
func NewAssignTagsRequest ¶
func NewAssignTagsRequest() *AssignTagsRequest
NewAssignTagsRequest instantiates a new AssignTagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssignTagsRequestWithDefaults ¶
func NewAssignTagsRequestWithDefaults() *AssignTagsRequest
NewAssignTagsRequestWithDefaults instantiates a new AssignTagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssignTagsRequest) GetIds ¶
func (o *AssignTagsRequest) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*AssignTagsRequest) GetIdsOk ¶
func (o *AssignTagsRequest) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssignTagsRequest) GetOverride ¶
func (o *AssignTagsRequest) GetOverride() bool
GetOverride returns the Override field value if set, zero value otherwise.
func (*AssignTagsRequest) GetOverrideOk ¶
func (o *AssignTagsRequest) GetOverrideOk() (*bool, bool)
GetOverrideOk returns a tuple with the Override field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssignTagsRequest) GetTags ¶
func (o *AssignTagsRequest) GetTags() map[string]interface{}
GetTags returns the Tags field value if set, zero value otherwise.
func (*AssignTagsRequest) GetTagsOk ¶
func (o *AssignTagsRequest) GetTagsOk() (map[string]interface{}, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssignTagsRequest) HasIds ¶
func (o *AssignTagsRequest) HasIds() bool
HasIds returns a boolean if a field has been set.
func (*AssignTagsRequest) HasOverride ¶
func (o *AssignTagsRequest) HasOverride() bool
HasOverride returns a boolean if a field has been set.
func (*AssignTagsRequest) HasTags ¶
func (o *AssignTagsRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (AssignTagsRequest) MarshalJSON ¶
func (o AssignTagsRequest) MarshalJSON() ([]byte, error)
func (*AssignTagsRequest) SetIds ¶
func (o *AssignTagsRequest) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (*AssignTagsRequest) SetOverride ¶
func (o *AssignTagsRequest) SetOverride(v bool)
SetOverride gets a reference to the given bool and assigns it to the Override field.
func (*AssignTagsRequest) SetTags ¶
func (o *AssignTagsRequest) SetTags(v map[string]interface{})
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (AssignTagsRequest) ToMap ¶
func (o AssignTagsRequest) ToMap() (map[string]interface{}, error)
func (*AssignTagsRequest) UnmarshalJSON ¶
func (o *AssignTagsRequest) UnmarshalJSON(data []byte) (err error)
type CreateHostResponse ¶
type CreateHostResponse struct { Result *Host `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
CreateHostResponse struct for CreateHostResponse
func NewCreateHostResponse ¶
func NewCreateHostResponse() *CreateHostResponse
NewCreateHostResponse instantiates a new CreateHostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateHostResponseWithDefaults ¶
func NewCreateHostResponseWithDefaults() *CreateHostResponse
NewCreateHostResponseWithDefaults instantiates a new CreateHostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateHostResponse) GetResult ¶
func (o *CreateHostResponse) GetResult() Host
GetResult returns the Result field value if set, zero value otherwise.
func (*CreateHostResponse) GetResultOk ¶
func (o *CreateHostResponse) GetResultOk() (*Host, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateHostResponse) HasResult ¶
func (o *CreateHostResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (CreateHostResponse) MarshalJSON ¶
func (o CreateHostResponse) MarshalJSON() ([]byte, error)
func (*CreateHostResponse) SetResult ¶
func (o *CreateHostResponse) SetResult(v Host)
SetResult gets a reference to the given Host and assigns it to the Result field.
func (CreateHostResponse) ToMap ¶
func (o CreateHostResponse) ToMap() (map[string]interface{}, error)
func (*CreateHostResponse) UnmarshalJSON ¶
func (o *CreateHostResponse) UnmarshalJSON(data []byte) (err error)
type CreateServiceResponse ¶
type CreateServiceResponse struct { Result *Service `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
CreateServiceResponse struct for CreateServiceResponse
func NewCreateServiceResponse ¶
func NewCreateServiceResponse() *CreateServiceResponse
NewCreateServiceResponse instantiates a new CreateServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceResponseWithDefaults ¶
func NewCreateServiceResponseWithDefaults() *CreateServiceResponse
NewCreateServiceResponseWithDefaults instantiates a new CreateServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceResponse) GetResult ¶
func (o *CreateServiceResponse) GetResult() Service
GetResult returns the Result field value if set, zero value otherwise.
func (*CreateServiceResponse) GetResultOk ¶
func (o *CreateServiceResponse) GetResultOk() (*Service, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceResponse) HasResult ¶
func (o *CreateServiceResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (CreateServiceResponse) MarshalJSON ¶
func (o CreateServiceResponse) MarshalJSON() ([]byte, error)
func (*CreateServiceResponse) SetResult ¶
func (o *CreateServiceResponse) SetResult(v Service)
SetResult gets a reference to the given Service and assigns it to the Result field.
func (CreateServiceResponse) ToMap ¶
func (o CreateServiceResponse) ToMap() (map[string]interface{}, error)
func (*CreateServiceResponse) UnmarshalJSON ¶
func (o *CreateServiceResponse) UnmarshalJSON(data []byte) (err error)
type DetailAPI ¶
type DetailAPI interface { /* HostsList List all the Hosts along with its associated Services (applications). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DetailAPIHostsListRequest */ HostsList(ctx context.Context) DetailAPIHostsListRequest // HostsListExecute executes the request // @return ListDetailHostsResponse HostsListExecute(r DetailAPIHostsListRequest) (*ListDetailHostsResponse, *http.Response, error) /* ServicesList List all the Services (applications) along with its associated Hosts. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DetailAPIServicesListRequest */ ServicesList(ctx context.Context) DetailAPIServicesListRequest // ServicesListExecute executes the request // @return ListDetailServicesResponse ServicesListExecute(r DetailAPIServicesListRequest) (*ListDetailServicesResponse, *http.Response, error) }
type DetailAPIHostsListRequest ¶
type DetailAPIHostsListRequest struct { ApiService DetailAPI // contains filtered or unexported fields }
func (DetailAPIHostsListRequest) Execute ¶
func (r DetailAPIHostsListRequest) Execute() (*ListDetailHostsResponse, *http.Response, error)
func (DetailAPIHostsListRequest) Fields ¶
func (r DetailAPIHostsListRequest) Fields(fields string) DetailAPIHostsListRequest
A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.
func (DetailAPIHostsListRequest) Filter ¶
func (r DetailAPIHostsListRequest) Filter(filter string) DetailAPIHostsListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (DetailAPIHostsListRequest) Limit ¶
func (r DetailAPIHostsListRequest) Limit(limit int32) DetailAPIHostsListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (DetailAPIHostsListRequest) Offset ¶
func (r DetailAPIHostsListRequest) Offset(offset int32) DetailAPIHostsListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (DetailAPIHostsListRequest) OrderBy ¶
func (r DetailAPIHostsListRequest) OrderBy(orderBy string) DetailAPIHostsListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (DetailAPIHostsListRequest) PageToken ¶
func (r DetailAPIHostsListRequest) PageToken(pageToken string) DetailAPIHostsListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (DetailAPIHostsListRequest) Tfilter ¶
func (r DetailAPIHostsListRequest) Tfilter(tfilter string) DetailAPIHostsListRequest
This parameter is used for filtering by tags.
func (DetailAPIHostsListRequest) TorderBy ¶
func (r DetailAPIHostsListRequest) TorderBy(torderBy string) DetailAPIHostsListRequest
This parameter is used for sorting by tags.
type DetailAPIService ¶
DetailAPIService DetailAPI service
func (*DetailAPIService) HostsList ¶
func (a *DetailAPIService) HostsList(ctx context.Context) DetailAPIHostsListRequest
HostsList List all the Hosts along with its associated Services (applications).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DetailAPIHostsListRequest
func (*DetailAPIService) HostsListExecute ¶
func (a *DetailAPIService) HostsListExecute(r DetailAPIHostsListRequest) (*ListDetailHostsResponse, *http.Response, error)
Execute executes the request
@return ListDetailHostsResponse
func (*DetailAPIService) ServicesList ¶
func (a *DetailAPIService) ServicesList(ctx context.Context) DetailAPIServicesListRequest
ServicesList List all the Services (applications) along with its associated Hosts.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return DetailAPIServicesListRequest
func (*DetailAPIService) ServicesListExecute ¶
func (a *DetailAPIService) ServicesListExecute(r DetailAPIServicesListRequest) (*ListDetailServicesResponse, *http.Response, error)
Execute executes the request
@return ListDetailServicesResponse
type DetailAPIServicesListRequest ¶
type DetailAPIServicesListRequest struct { ApiService DetailAPI // contains filtered or unexported fields }
func (DetailAPIServicesListRequest) Execute ¶
func (r DetailAPIServicesListRequest) Execute() (*ListDetailServicesResponse, *http.Response, error)
func (DetailAPIServicesListRequest) Fields ¶
func (r DetailAPIServicesListRequest) Fields(fields string) DetailAPIServicesListRequest
A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.
func (DetailAPIServicesListRequest) Filter ¶
func (r DetailAPIServicesListRequest) Filter(filter string) DetailAPIServicesListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (DetailAPIServicesListRequest) Limit ¶
func (r DetailAPIServicesListRequest) Limit(limit int32) DetailAPIServicesListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (DetailAPIServicesListRequest) Offset ¶
func (r DetailAPIServicesListRequest) Offset(offset int32) DetailAPIServicesListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (DetailAPIServicesListRequest) OrderBy ¶
func (r DetailAPIServicesListRequest) OrderBy(orderBy string) DetailAPIServicesListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (DetailAPIServicesListRequest) PageToken ¶
func (r DetailAPIServicesListRequest) PageToken(pageToken string) DetailAPIServicesListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (DetailAPIServicesListRequest) Tfilter ¶
func (r DetailAPIServicesListRequest) Tfilter(tfilter string) DetailAPIServicesListRequest
This parameter is used for filtering by tags.
func (DetailAPIServicesListRequest) TorderBy ¶
func (r DetailAPIServicesListRequest) TorderBy(torderBy string) DetailAPIServicesListRequest
This parameter is used for sorting by tags.
type DetailHost ¶
type DetailHost struct { // Composite Status of this Host (`online`, `degraded`, `error`, `offline`, `pending`, `awaiting approval`). CompositeStatus *string `json:"composite_status,omitempty"` // The list of Host-specific configurations for each Service deployed on this Host. Configs []DetailHostServiceConfig `json:"configs,omitempty"` ConnectivityMonitor map[string]interface{} `json:"connectivity_monitor,omitempty"` // The timestamp of creation of Host. CreatedAt *time.Time `json:"created_at,omitempty"` // The description of the Host. Description *string `json:"description,omitempty"` // The name of the Host. DisplayName *string `json:"display_name,omitempty"` // The sub-type of a specific Host type. Example: For Host type BloxOne Appliance, sub-type could be \"B105\" or \"VEP1425\" HostSubtype *string `json:"host_subtype,omitempty"` HostType *string `json:"host_type,omitempty"` // The version of the Host platform services. HostVersion *string `json:"host_version,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // The IP address of the Host. IpAddress *string `json:"ip_address,omitempty"` // The IP Space of the Host. IpSpace *string `json:"ip_space,omitempty"` // The legacy Host object identifier. LegacyId *string `json:"legacy_id,omitempty"` // Location that this Host is associated with. Location *DetailLocation `json:"location,omitempty"` // The MAC address of the Host. MacAddress *string `json:"mac_address,omitempty"` MaintenanceMode *string `json:"maintenance_mode,omitempty"` // The NAT IP address of the Host. NatIp *string `json:"nat_ip,omitempty"` // The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud. Ophid *string `json:"ophid,omitempty"` // Pool information for this Host (internal). Pool *PoolInfo `json:"pool,omitempty"` // The unique serial number of the Host. SerialNumber *string `json:"serial_number,omitempty"` // The list of Services deployed on this Host. Services []DetailHostServiceConfig `json:"services,omitempty"` // The Site ID of the Host. SiteId *string `json:"site_id,omitempty"` // Tags associated with this Host. Tags map[string]interface{} `json:"tags,omitempty"` // The timezone of the Host. Timezone *string `json:"timezone,omitempty"` // The timestamp of the latest update on Host. UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
DetailHost struct for DetailHost
func NewDetailHost ¶
func NewDetailHost() *DetailHost
NewDetailHost instantiates a new DetailHost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailHostWithDefaults ¶
func NewDetailHostWithDefaults() *DetailHost
NewDetailHostWithDefaults instantiates a new DetailHost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailHost) GetCompositeStatus ¶
func (o *DetailHost) GetCompositeStatus() string
GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.
func (*DetailHost) GetCompositeStatusOk ¶
func (o *DetailHost) GetCompositeStatusOk() (*string, bool)
GetCompositeStatusOk returns a tuple with the CompositeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetConfigs ¶
func (o *DetailHost) GetConfigs() []DetailHostServiceConfig
GetConfigs returns the Configs field value if set, zero value otherwise.
func (*DetailHost) GetConfigsOk ¶
func (o *DetailHost) GetConfigsOk() ([]DetailHostServiceConfig, bool)
GetConfigsOk returns a tuple with the Configs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetConnectivityMonitor ¶
func (o *DetailHost) GetConnectivityMonitor() map[string]interface{}
GetConnectivityMonitor returns the ConnectivityMonitor field value if set, zero value otherwise.
func (*DetailHost) GetConnectivityMonitorOk ¶
func (o *DetailHost) GetConnectivityMonitorOk() (map[string]interface{}, bool)
GetConnectivityMonitorOk returns a tuple with the ConnectivityMonitor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetCreatedAt ¶
func (o *DetailHost) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DetailHost) GetCreatedAtOk ¶
func (o *DetailHost) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetDescription ¶
func (o *DetailHost) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DetailHost) GetDescriptionOk ¶
func (o *DetailHost) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetDisplayName ¶
func (o *DetailHost) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*DetailHost) GetDisplayNameOk ¶
func (o *DetailHost) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetHostSubtype ¶
func (o *DetailHost) GetHostSubtype() string
GetHostSubtype returns the HostSubtype field value if set, zero value otherwise.
func (*DetailHost) GetHostSubtypeOk ¶
func (o *DetailHost) GetHostSubtypeOk() (*string, bool)
GetHostSubtypeOk returns a tuple with the HostSubtype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetHostType ¶
func (o *DetailHost) GetHostType() string
GetHostType returns the HostType field value if set, zero value otherwise.
func (*DetailHost) GetHostTypeOk ¶
func (o *DetailHost) GetHostTypeOk() (*string, bool)
GetHostTypeOk returns a tuple with the HostType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetHostVersion ¶
func (o *DetailHost) GetHostVersion() string
GetHostVersion returns the HostVersion field value if set, zero value otherwise.
func (*DetailHost) GetHostVersionOk ¶
func (o *DetailHost) GetHostVersionOk() (*string, bool)
GetHostVersionOk returns a tuple with the HostVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetId ¶
func (o *DetailHost) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DetailHost) GetIdOk ¶
func (o *DetailHost) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetIpAddress ¶
func (o *DetailHost) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*DetailHost) GetIpAddressOk ¶
func (o *DetailHost) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetIpSpace ¶
func (o *DetailHost) GetIpSpace() string
GetIpSpace returns the IpSpace field value if set, zero value otherwise.
func (*DetailHost) GetIpSpaceOk ¶
func (o *DetailHost) GetIpSpaceOk() (*string, bool)
GetIpSpaceOk returns a tuple with the IpSpace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetLegacyId ¶
func (o *DetailHost) GetLegacyId() string
GetLegacyId returns the LegacyId field value if set, zero value otherwise.
func (*DetailHost) GetLegacyIdOk ¶
func (o *DetailHost) GetLegacyIdOk() (*string, bool)
GetLegacyIdOk returns a tuple with the LegacyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetLocation ¶
func (o *DetailHost) GetLocation() DetailLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*DetailHost) GetLocationOk ¶
func (o *DetailHost) GetLocationOk() (*DetailLocation, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetMacAddress ¶
func (o *DetailHost) GetMacAddress() string
GetMacAddress returns the MacAddress field value if set, zero value otherwise.
func (*DetailHost) GetMacAddressOk ¶
func (o *DetailHost) GetMacAddressOk() (*string, bool)
GetMacAddressOk returns a tuple with the MacAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetMaintenanceMode ¶
func (o *DetailHost) GetMaintenanceMode() string
GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.
func (*DetailHost) GetMaintenanceModeOk ¶
func (o *DetailHost) GetMaintenanceModeOk() (*string, bool)
GetMaintenanceModeOk returns a tuple with the MaintenanceMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetNatIp ¶
func (o *DetailHost) GetNatIp() string
GetNatIp returns the NatIp field value if set, zero value otherwise.
func (*DetailHost) GetNatIpOk ¶
func (o *DetailHost) GetNatIpOk() (*string, bool)
GetNatIpOk returns a tuple with the NatIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetOphid ¶
func (o *DetailHost) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*DetailHost) GetOphidOk ¶
func (o *DetailHost) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetPool ¶
func (o *DetailHost) GetPool() PoolInfo
GetPool returns the Pool field value if set, zero value otherwise.
func (*DetailHost) GetPoolOk ¶
func (o *DetailHost) GetPoolOk() (*PoolInfo, bool)
GetPoolOk returns a tuple with the Pool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetSerialNumber ¶
func (o *DetailHost) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*DetailHost) GetSerialNumberOk ¶
func (o *DetailHost) GetSerialNumberOk() (*string, bool)
GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetServices ¶
func (o *DetailHost) GetServices() []DetailHostServiceConfig
GetServices returns the Services field value if set, zero value otherwise.
func (*DetailHost) GetServicesOk ¶
func (o *DetailHost) GetServicesOk() ([]DetailHostServiceConfig, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetSiteId ¶
func (o *DetailHost) GetSiteId() string
GetSiteId returns the SiteId field value if set, zero value otherwise.
func (*DetailHost) GetSiteIdOk ¶
func (o *DetailHost) GetSiteIdOk() (*string, bool)
GetSiteIdOk returns a tuple with the SiteId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetTags ¶
func (o *DetailHost) GetTags() map[string]interface{}
GetTags returns the Tags field value if set, zero value otherwise.
func (*DetailHost) GetTagsOk ¶
func (o *DetailHost) GetTagsOk() (map[string]interface{}, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetTimezone ¶
func (o *DetailHost) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*DetailHost) GetTimezoneOk ¶
func (o *DetailHost) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) GetUpdatedAt ¶
func (o *DetailHost) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DetailHost) GetUpdatedAtOk ¶
func (o *DetailHost) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHost) HasCompositeStatus ¶
func (o *DetailHost) HasCompositeStatus() bool
HasCompositeStatus returns a boolean if a field has been set.
func (*DetailHost) HasConfigs ¶
func (o *DetailHost) HasConfigs() bool
HasConfigs returns a boolean if a field has been set.
func (*DetailHost) HasConnectivityMonitor ¶
func (o *DetailHost) HasConnectivityMonitor() bool
HasConnectivityMonitor returns a boolean if a field has been set.
func (*DetailHost) HasCreatedAt ¶
func (o *DetailHost) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DetailHost) HasDescription ¶
func (o *DetailHost) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DetailHost) HasDisplayName ¶
func (o *DetailHost) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*DetailHost) HasHostSubtype ¶
func (o *DetailHost) HasHostSubtype() bool
HasHostSubtype returns a boolean if a field has been set.
func (*DetailHost) HasHostType ¶
func (o *DetailHost) HasHostType() bool
HasHostType returns a boolean if a field has been set.
func (*DetailHost) HasHostVersion ¶
func (o *DetailHost) HasHostVersion() bool
HasHostVersion returns a boolean if a field has been set.
func (*DetailHost) HasId ¶
func (o *DetailHost) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailHost) HasIpAddress ¶
func (o *DetailHost) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*DetailHost) HasIpSpace ¶
func (o *DetailHost) HasIpSpace() bool
HasIpSpace returns a boolean if a field has been set.
func (*DetailHost) HasLegacyId ¶
func (o *DetailHost) HasLegacyId() bool
HasLegacyId returns a boolean if a field has been set.
func (*DetailHost) HasLocation ¶
func (o *DetailHost) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*DetailHost) HasMacAddress ¶
func (o *DetailHost) HasMacAddress() bool
HasMacAddress returns a boolean if a field has been set.
func (*DetailHost) HasMaintenanceMode ¶
func (o *DetailHost) HasMaintenanceMode() bool
HasMaintenanceMode returns a boolean if a field has been set.
func (*DetailHost) HasNatIp ¶
func (o *DetailHost) HasNatIp() bool
HasNatIp returns a boolean if a field has been set.
func (*DetailHost) HasOphid ¶
func (o *DetailHost) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (*DetailHost) HasPool ¶
func (o *DetailHost) HasPool() bool
HasPool returns a boolean if a field has been set.
func (*DetailHost) HasSerialNumber ¶
func (o *DetailHost) HasSerialNumber() bool
HasSerialNumber returns a boolean if a field has been set.
func (*DetailHost) HasServices ¶
func (o *DetailHost) HasServices() bool
HasServices returns a boolean if a field has been set.
func (*DetailHost) HasSiteId ¶
func (o *DetailHost) HasSiteId() bool
HasSiteId returns a boolean if a field has been set.
func (*DetailHost) HasTags ¶
func (o *DetailHost) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*DetailHost) HasTimezone ¶
func (o *DetailHost) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (*DetailHost) HasUpdatedAt ¶
func (o *DetailHost) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DetailHost) MarshalJSON ¶
func (o DetailHost) MarshalJSON() ([]byte, error)
func (*DetailHost) SetCompositeStatus ¶
func (o *DetailHost) SetCompositeStatus(v string)
SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.
func (*DetailHost) SetConfigs ¶
func (o *DetailHost) SetConfigs(v []DetailHostServiceConfig)
SetConfigs gets a reference to the given []DetailHostServiceConfig and assigns it to the Configs field.
func (*DetailHost) SetConnectivityMonitor ¶
func (o *DetailHost) SetConnectivityMonitor(v map[string]interface{})
SetConnectivityMonitor gets a reference to the given map[string]interface{} and assigns it to the ConnectivityMonitor field.
func (*DetailHost) SetCreatedAt ¶
func (o *DetailHost) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DetailHost) SetDescription ¶
func (o *DetailHost) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DetailHost) SetDisplayName ¶
func (o *DetailHost) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*DetailHost) SetHostSubtype ¶
func (o *DetailHost) SetHostSubtype(v string)
SetHostSubtype gets a reference to the given string and assigns it to the HostSubtype field.
func (*DetailHost) SetHostType ¶
func (o *DetailHost) SetHostType(v string)
SetHostType gets a reference to the given string and assigns it to the HostType field.
func (*DetailHost) SetHostVersion ¶
func (o *DetailHost) SetHostVersion(v string)
SetHostVersion gets a reference to the given string and assigns it to the HostVersion field.
func (*DetailHost) SetId ¶
func (o *DetailHost) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DetailHost) SetIpAddress ¶
func (o *DetailHost) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*DetailHost) SetIpSpace ¶
func (o *DetailHost) SetIpSpace(v string)
SetIpSpace gets a reference to the given string and assigns it to the IpSpace field.
func (*DetailHost) SetLegacyId ¶
func (o *DetailHost) SetLegacyId(v string)
SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.
func (*DetailHost) SetLocation ¶
func (o *DetailHost) SetLocation(v DetailLocation)
SetLocation gets a reference to the given DetailLocation and assigns it to the Location field.
func (*DetailHost) SetMacAddress ¶
func (o *DetailHost) SetMacAddress(v string)
SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.
func (*DetailHost) SetMaintenanceMode ¶
func (o *DetailHost) SetMaintenanceMode(v string)
SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.
func (*DetailHost) SetNatIp ¶
func (o *DetailHost) SetNatIp(v string)
SetNatIp gets a reference to the given string and assigns it to the NatIp field.
func (*DetailHost) SetOphid ¶
func (o *DetailHost) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*DetailHost) SetPool ¶
func (o *DetailHost) SetPool(v PoolInfo)
SetPool gets a reference to the given PoolInfo and assigns it to the Pool field.
func (*DetailHost) SetSerialNumber ¶
func (o *DetailHost) SetSerialNumber(v string)
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*DetailHost) SetServices ¶
func (o *DetailHost) SetServices(v []DetailHostServiceConfig)
SetServices gets a reference to the given []DetailHostServiceConfig and assigns it to the Services field.
func (*DetailHost) SetSiteId ¶
func (o *DetailHost) SetSiteId(v string)
SetSiteId gets a reference to the given string and assigns it to the SiteId field.
func (*DetailHost) SetTags ¶
func (o *DetailHost) SetTags(v map[string]interface{})
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*DetailHost) SetTimezone ¶
func (o *DetailHost) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*DetailHost) SetUpdatedAt ¶
func (o *DetailHost) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (DetailHost) ToMap ¶
func (o DetailHost) ToMap() (map[string]interface{}, error)
func (*DetailHost) UnmarshalJSON ¶
func (o *DetailHost) UnmarshalJSON(data []byte) (err error)
type DetailHostServiceConfig ¶
type DetailHostServiceConfig struct { // The current version of the Service deployed on the Host. CurrentVersion *string `json:"current_version,omitempty"` // The resource identifier. ServiceId *string `json:"service_id,omitempty"` // The name of the Service. ServiceName *string `json:"service_name,omitempty"` // The type of the Service deployed on the Host (`dns`, `cdc`, etc.). ServiceType *string `json:"service_type,omitempty"` // Service status information. Status *ShortServiceStatus `json:"status,omitempty"` // The timestamp of the latest upgrade of the Host-specific Service configuration. UpgradedAt *time.Time `json:"upgraded_at,omitempty"` AdditionalProperties map[string]interface{} }
DetailHostServiceConfig struct for DetailHostServiceConfig
func NewDetailHostServiceConfig ¶
func NewDetailHostServiceConfig() *DetailHostServiceConfig
NewDetailHostServiceConfig instantiates a new DetailHostServiceConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailHostServiceConfigWithDefaults ¶
func NewDetailHostServiceConfigWithDefaults() *DetailHostServiceConfig
NewDetailHostServiceConfigWithDefaults instantiates a new DetailHostServiceConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailHostServiceConfig) GetCurrentVersion ¶
func (o *DetailHostServiceConfig) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetCurrentVersionOk ¶
func (o *DetailHostServiceConfig) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) GetServiceId ¶
func (o *DetailHostServiceConfig) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetServiceIdOk ¶
func (o *DetailHostServiceConfig) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) GetServiceName ¶
func (o *DetailHostServiceConfig) GetServiceName() string
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetServiceNameOk ¶
func (o *DetailHostServiceConfig) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) GetServiceType ¶
func (o *DetailHostServiceConfig) GetServiceType() string
GetServiceType returns the ServiceType field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetServiceTypeOk ¶
func (o *DetailHostServiceConfig) GetServiceTypeOk() (*string, bool)
GetServiceTypeOk returns a tuple with the ServiceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) GetStatus ¶
func (o *DetailHostServiceConfig) GetStatus() ShortServiceStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetStatusOk ¶
func (o *DetailHostServiceConfig) GetStatusOk() (*ShortServiceStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) GetUpgradedAt ¶
func (o *DetailHostServiceConfig) GetUpgradedAt() time.Time
GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.
func (*DetailHostServiceConfig) GetUpgradedAtOk ¶
func (o *DetailHostServiceConfig) GetUpgradedAtOk() (*time.Time, bool)
GetUpgradedAtOk returns a tuple with the UpgradedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailHostServiceConfig) HasCurrentVersion ¶
func (o *DetailHostServiceConfig) HasCurrentVersion() bool
HasCurrentVersion returns a boolean if a field has been set.
func (*DetailHostServiceConfig) HasServiceId ¶
func (o *DetailHostServiceConfig) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*DetailHostServiceConfig) HasServiceName ¶
func (o *DetailHostServiceConfig) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (*DetailHostServiceConfig) HasServiceType ¶
func (o *DetailHostServiceConfig) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.
func (*DetailHostServiceConfig) HasStatus ¶
func (o *DetailHostServiceConfig) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*DetailHostServiceConfig) HasUpgradedAt ¶
func (o *DetailHostServiceConfig) HasUpgradedAt() bool
HasUpgradedAt returns a boolean if a field has been set.
func (DetailHostServiceConfig) MarshalJSON ¶
func (o DetailHostServiceConfig) MarshalJSON() ([]byte, error)
func (*DetailHostServiceConfig) SetCurrentVersion ¶
func (o *DetailHostServiceConfig) SetCurrentVersion(v string)
SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.
func (*DetailHostServiceConfig) SetServiceId ¶
func (o *DetailHostServiceConfig) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (*DetailHostServiceConfig) SetServiceName ¶
func (o *DetailHostServiceConfig) SetServiceName(v string)
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (*DetailHostServiceConfig) SetServiceType ¶
func (o *DetailHostServiceConfig) SetServiceType(v string)
SetServiceType gets a reference to the given string and assigns it to the ServiceType field.
func (*DetailHostServiceConfig) SetStatus ¶
func (o *DetailHostServiceConfig) SetStatus(v ShortServiceStatus)
SetStatus gets a reference to the given ShortServiceStatus and assigns it to the Status field.
func (*DetailHostServiceConfig) SetUpgradedAt ¶
func (o *DetailHostServiceConfig) SetUpgradedAt(v time.Time)
SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.
func (DetailHostServiceConfig) ToMap ¶
func (o DetailHostServiceConfig) ToMap() (map[string]interface{}, error)
func (*DetailHostServiceConfig) UnmarshalJSON ¶
func (o *DetailHostServiceConfig) UnmarshalJSON(data []byte) (err error)
type DetailLocation ¶
type DetailLocation struct { // The address of the Location containing address, postal_code, city, state, and country. Address map[string]interface{} `json:"address,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // Latitude of the Location. Latitude *float64 `json:"latitude,omitempty"` // Longitude of the Location. Longitude *float64 `json:"longitude,omitempty"` // The metadata of the Location which could contain other info such as attributions. Metadata map[string]interface{} `json:"metadata,omitempty"` AdditionalProperties map[string]interface{} }
DetailLocation struct for DetailLocation
func NewDetailLocation ¶
func NewDetailLocation() *DetailLocation
NewDetailLocation instantiates a new DetailLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailLocationWithDefaults ¶
func NewDetailLocationWithDefaults() *DetailLocation
NewDetailLocationWithDefaults instantiates a new DetailLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailLocation) GetAddress ¶
func (o *DetailLocation) GetAddress() map[string]interface{}
GetAddress returns the Address field value if set, zero value otherwise.
func (*DetailLocation) GetAddressOk ¶
func (o *DetailLocation) GetAddressOk() (map[string]interface{}, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailLocation) GetId ¶
func (o *DetailLocation) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DetailLocation) GetIdOk ¶
func (o *DetailLocation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailLocation) GetLatitude ¶
func (o *DetailLocation) GetLatitude() float64
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*DetailLocation) GetLatitudeOk ¶
func (o *DetailLocation) GetLatitudeOk() (*float64, bool)
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailLocation) GetLongitude ¶
func (o *DetailLocation) GetLongitude() float64
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*DetailLocation) GetLongitudeOk ¶
func (o *DetailLocation) GetLongitudeOk() (*float64, bool)
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailLocation) GetMetadata ¶
func (o *DetailLocation) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*DetailLocation) GetMetadataOk ¶
func (o *DetailLocation) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailLocation) HasAddress ¶
func (o *DetailLocation) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*DetailLocation) HasId ¶
func (o *DetailLocation) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailLocation) HasLatitude ¶
func (o *DetailLocation) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (*DetailLocation) HasLongitude ¶
func (o *DetailLocation) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (*DetailLocation) HasMetadata ¶
func (o *DetailLocation) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (DetailLocation) MarshalJSON ¶
func (o DetailLocation) MarshalJSON() ([]byte, error)
func (*DetailLocation) SetAddress ¶
func (o *DetailLocation) SetAddress(v map[string]interface{})
SetAddress gets a reference to the given map[string]interface{} and assigns it to the Address field.
func (*DetailLocation) SetId ¶
func (o *DetailLocation) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DetailLocation) SetLatitude ¶
func (o *DetailLocation) SetLatitude(v float64)
SetLatitude gets a reference to the given float64 and assigns it to the Latitude field.
func (*DetailLocation) SetLongitude ¶
func (o *DetailLocation) SetLongitude(v float64)
SetLongitude gets a reference to the given float64 and assigns it to the Longitude field.
func (*DetailLocation) SetMetadata ¶
func (o *DetailLocation) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (DetailLocation) ToMap ¶
func (o DetailLocation) ToMap() (map[string]interface{}, error)
func (*DetailLocation) UnmarshalJSON ¶
func (o *DetailLocation) UnmarshalJSON(data []byte) (err error)
type DetailService ¶
type DetailService struct { // Composite State of this Service (`started`, `stopped`, `stopping`, `starting`, `error`). CompositeState *string `json:"composite_state,omitempty"` // Composite Status of this Service (`online`, `stopped`, `degraded`, `error`). CompositeStatus *string `json:"composite_status,omitempty"` // Timestamp of creation of Service. CreatedAt *time.Time `json:"created_at,omitempty"` // Current version of this Service. CurrentVersion *string `json:"current_version,omitempty"` // The description of the Service. Description *string `json:"description,omitempty"` // The desired state of the Service (`\"start\"` or `\"stop\"`). DesiredState *string `json:"desired_state,omitempty"` // The desired version of the Service. DesiredVersion *string `json:"desired_version,omitempty"` // List of Hosts on which this Service is deployed. Hosts []DetailServiceHost `json:"hosts,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // List of interfaces on which this Service can operate. InterfaceLabels []string `json:"interface_labels,omitempty"` // Location that this Host is associated with. Location *DetailLocation `json:"location,omitempty"` // The name of the Service. Name *string `json:"name,omitempty"` // Pool information for this Service (internal). Pool *PoolInfo `json:"pool,omitempty"` // The type of the Service deployed on the Host (`dns`, `cdc`, etc.). ServiceType *string `json:"service_type,omitempty"` // Tags associated with this Service. Tags map[string]interface{} `json:"tags,omitempty"` // Timestamp of the latest update on Service. UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
DetailService struct for DetailService
func NewDetailService ¶
func NewDetailService() *DetailService
NewDetailService instantiates a new DetailService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailServiceWithDefaults ¶
func NewDetailServiceWithDefaults() *DetailService
NewDetailServiceWithDefaults instantiates a new DetailService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailService) GetCompositeState ¶
func (o *DetailService) GetCompositeState() string
GetCompositeState returns the CompositeState field value if set, zero value otherwise.
func (*DetailService) GetCompositeStateOk ¶
func (o *DetailService) GetCompositeStateOk() (*string, bool)
GetCompositeStateOk returns a tuple with the CompositeState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetCompositeStatus ¶
func (o *DetailService) GetCompositeStatus() string
GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.
func (*DetailService) GetCompositeStatusOk ¶
func (o *DetailService) GetCompositeStatusOk() (*string, bool)
GetCompositeStatusOk returns a tuple with the CompositeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetCreatedAt ¶
func (o *DetailService) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DetailService) GetCreatedAtOk ¶
func (o *DetailService) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetCurrentVersion ¶
func (o *DetailService) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.
func (*DetailService) GetCurrentVersionOk ¶
func (o *DetailService) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetDescription ¶
func (o *DetailService) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DetailService) GetDescriptionOk ¶
func (o *DetailService) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetDesiredState ¶
func (o *DetailService) GetDesiredState() string
GetDesiredState returns the DesiredState field value if set, zero value otherwise.
func (*DetailService) GetDesiredStateOk ¶
func (o *DetailService) GetDesiredStateOk() (*string, bool)
GetDesiredStateOk returns a tuple with the DesiredState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetDesiredVersion ¶
func (o *DetailService) GetDesiredVersion() string
GetDesiredVersion returns the DesiredVersion field value if set, zero value otherwise.
func (*DetailService) GetDesiredVersionOk ¶
func (o *DetailService) GetDesiredVersionOk() (*string, bool)
GetDesiredVersionOk returns a tuple with the DesiredVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetHosts ¶
func (o *DetailService) GetHosts() []DetailServiceHost
GetHosts returns the Hosts field value if set, zero value otherwise.
func (*DetailService) GetHostsOk ¶
func (o *DetailService) GetHostsOk() ([]DetailServiceHost, bool)
GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetId ¶
func (o *DetailService) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DetailService) GetIdOk ¶
func (o *DetailService) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetInterfaceLabels ¶
func (o *DetailService) GetInterfaceLabels() []string
GetInterfaceLabels returns the InterfaceLabels field value if set, zero value otherwise.
func (*DetailService) GetInterfaceLabelsOk ¶
func (o *DetailService) GetInterfaceLabelsOk() ([]string, bool)
GetInterfaceLabelsOk returns a tuple with the InterfaceLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetLocation ¶
func (o *DetailService) GetLocation() DetailLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*DetailService) GetLocationOk ¶
func (o *DetailService) GetLocationOk() (*DetailLocation, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetName ¶
func (o *DetailService) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailService) GetNameOk ¶
func (o *DetailService) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetPool ¶
func (o *DetailService) GetPool() PoolInfo
GetPool returns the Pool field value if set, zero value otherwise.
func (*DetailService) GetPoolOk ¶
func (o *DetailService) GetPoolOk() (*PoolInfo, bool)
GetPoolOk returns a tuple with the Pool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetServiceType ¶
func (o *DetailService) GetServiceType() string
GetServiceType returns the ServiceType field value if set, zero value otherwise.
func (*DetailService) GetServiceTypeOk ¶
func (o *DetailService) GetServiceTypeOk() (*string, bool)
GetServiceTypeOk returns a tuple with the ServiceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetTags ¶
func (o *DetailService) GetTags() map[string]interface{}
GetTags returns the Tags field value if set, zero value otherwise.
func (*DetailService) GetTagsOk ¶
func (o *DetailService) GetTagsOk() (map[string]interface{}, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) GetUpdatedAt ¶
func (o *DetailService) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DetailService) GetUpdatedAtOk ¶
func (o *DetailService) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailService) HasCompositeState ¶
func (o *DetailService) HasCompositeState() bool
HasCompositeState returns a boolean if a field has been set.
func (*DetailService) HasCompositeStatus ¶
func (o *DetailService) HasCompositeStatus() bool
HasCompositeStatus returns a boolean if a field has been set.
func (*DetailService) HasCreatedAt ¶
func (o *DetailService) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DetailService) HasCurrentVersion ¶
func (o *DetailService) HasCurrentVersion() bool
HasCurrentVersion returns a boolean if a field has been set.
func (*DetailService) HasDescription ¶
func (o *DetailService) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DetailService) HasDesiredState ¶
func (o *DetailService) HasDesiredState() bool
HasDesiredState returns a boolean if a field has been set.
func (*DetailService) HasDesiredVersion ¶
func (o *DetailService) HasDesiredVersion() bool
HasDesiredVersion returns a boolean if a field has been set.
func (*DetailService) HasHosts ¶
func (o *DetailService) HasHosts() bool
HasHosts returns a boolean if a field has been set.
func (*DetailService) HasId ¶
func (o *DetailService) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailService) HasInterfaceLabels ¶
func (o *DetailService) HasInterfaceLabels() bool
HasInterfaceLabels returns a boolean if a field has been set.
func (*DetailService) HasLocation ¶
func (o *DetailService) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*DetailService) HasName ¶
func (o *DetailService) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailService) HasPool ¶
func (o *DetailService) HasPool() bool
HasPool returns a boolean if a field has been set.
func (*DetailService) HasServiceType ¶
func (o *DetailService) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.
func (*DetailService) HasTags ¶
func (o *DetailService) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*DetailService) HasUpdatedAt ¶
func (o *DetailService) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DetailService) MarshalJSON ¶
func (o DetailService) MarshalJSON() ([]byte, error)
func (*DetailService) SetCompositeState ¶
func (o *DetailService) SetCompositeState(v string)
SetCompositeState gets a reference to the given string and assigns it to the CompositeState field.
func (*DetailService) SetCompositeStatus ¶
func (o *DetailService) SetCompositeStatus(v string)
SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.
func (*DetailService) SetCreatedAt ¶
func (o *DetailService) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DetailService) SetCurrentVersion ¶
func (o *DetailService) SetCurrentVersion(v string)
SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.
func (*DetailService) SetDescription ¶
func (o *DetailService) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DetailService) SetDesiredState ¶
func (o *DetailService) SetDesiredState(v string)
SetDesiredState gets a reference to the given string and assigns it to the DesiredState field.
func (*DetailService) SetDesiredVersion ¶
func (o *DetailService) SetDesiredVersion(v string)
SetDesiredVersion gets a reference to the given string and assigns it to the DesiredVersion field.
func (*DetailService) SetHosts ¶
func (o *DetailService) SetHosts(v []DetailServiceHost)
SetHosts gets a reference to the given []DetailServiceHost and assigns it to the Hosts field.
func (*DetailService) SetId ¶
func (o *DetailService) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DetailService) SetInterfaceLabels ¶
func (o *DetailService) SetInterfaceLabels(v []string)
SetInterfaceLabels gets a reference to the given []string and assigns it to the InterfaceLabels field.
func (*DetailService) SetLocation ¶
func (o *DetailService) SetLocation(v DetailLocation)
SetLocation gets a reference to the given DetailLocation and assigns it to the Location field.
func (*DetailService) SetName ¶
func (o *DetailService) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailService) SetPool ¶
func (o *DetailService) SetPool(v PoolInfo)
SetPool gets a reference to the given PoolInfo and assigns it to the Pool field.
func (*DetailService) SetServiceType ¶
func (o *DetailService) SetServiceType(v string)
SetServiceType gets a reference to the given string and assigns it to the ServiceType field.
func (*DetailService) SetTags ¶
func (o *DetailService) SetTags(v map[string]interface{})
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*DetailService) SetUpdatedAt ¶
func (o *DetailService) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (DetailService) ToMap ¶
func (o DetailService) ToMap() (map[string]interface{}, error)
func (*DetailService) UnmarshalJSON ¶
func (o *DetailService) UnmarshalJSON(data []byte) (err error)
type DetailServiceHost ¶
type DetailServiceHost struct { // Composite Status of the Host (`online`, `degraded`, `error`, `offline`, `pending`, `awaiting approval`). CompositeStatus *string `json:"composite_status,omitempty"` // List of Host-specific configurations of this Service. Config *DetailServiceHostConfig `json:"config,omitempty"` // The name of the Host (unique). DisplayName *string `json:"display_name,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // The IP address of the Host. IpAddress *string `json:"ip_address,omitempty"` // The legacy Host object identifier. LegacyId *string `json:"legacy_id,omitempty"` MaintenanceMode *string `json:"maintenance_mode,omitempty"` // The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud. Ophid *string `json:"ophid,omitempty"` AdditionalProperties map[string]interface{} }
DetailServiceHost struct for DetailServiceHost
func NewDetailServiceHost ¶
func NewDetailServiceHost() *DetailServiceHost
NewDetailServiceHost instantiates a new DetailServiceHost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailServiceHostWithDefaults ¶
func NewDetailServiceHostWithDefaults() *DetailServiceHost
NewDetailServiceHostWithDefaults instantiates a new DetailServiceHost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailServiceHost) GetCompositeStatus ¶
func (o *DetailServiceHost) GetCompositeStatus() string
GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.
func (*DetailServiceHost) GetCompositeStatusOk ¶
func (o *DetailServiceHost) GetCompositeStatusOk() (*string, bool)
GetCompositeStatusOk returns a tuple with the CompositeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetConfig ¶
func (o *DetailServiceHost) GetConfig() DetailServiceHostConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*DetailServiceHost) GetConfigOk ¶
func (o *DetailServiceHost) GetConfigOk() (*DetailServiceHostConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetDisplayName ¶
func (o *DetailServiceHost) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*DetailServiceHost) GetDisplayNameOk ¶
func (o *DetailServiceHost) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetId ¶
func (o *DetailServiceHost) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DetailServiceHost) GetIdOk ¶
func (o *DetailServiceHost) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetIpAddress ¶
func (o *DetailServiceHost) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*DetailServiceHost) GetIpAddressOk ¶
func (o *DetailServiceHost) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetLegacyId ¶
func (o *DetailServiceHost) GetLegacyId() string
GetLegacyId returns the LegacyId field value if set, zero value otherwise.
func (*DetailServiceHost) GetLegacyIdOk ¶
func (o *DetailServiceHost) GetLegacyIdOk() (*string, bool)
GetLegacyIdOk returns a tuple with the LegacyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetMaintenanceMode ¶
func (o *DetailServiceHost) GetMaintenanceMode() string
GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.
func (*DetailServiceHost) GetMaintenanceModeOk ¶
func (o *DetailServiceHost) GetMaintenanceModeOk() (*string, bool)
GetMaintenanceModeOk returns a tuple with the MaintenanceMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) GetOphid ¶
func (o *DetailServiceHost) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*DetailServiceHost) GetOphidOk ¶
func (o *DetailServiceHost) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHost) HasCompositeStatus ¶
func (o *DetailServiceHost) HasCompositeStatus() bool
HasCompositeStatus returns a boolean if a field has been set.
func (*DetailServiceHost) HasConfig ¶
func (o *DetailServiceHost) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*DetailServiceHost) HasDisplayName ¶
func (o *DetailServiceHost) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*DetailServiceHost) HasId ¶
func (o *DetailServiceHost) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailServiceHost) HasIpAddress ¶
func (o *DetailServiceHost) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*DetailServiceHost) HasLegacyId ¶
func (o *DetailServiceHost) HasLegacyId() bool
HasLegacyId returns a boolean if a field has been set.
func (*DetailServiceHost) HasMaintenanceMode ¶
func (o *DetailServiceHost) HasMaintenanceMode() bool
HasMaintenanceMode returns a boolean if a field has been set.
func (*DetailServiceHost) HasOphid ¶
func (o *DetailServiceHost) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (DetailServiceHost) MarshalJSON ¶
func (o DetailServiceHost) MarshalJSON() ([]byte, error)
func (*DetailServiceHost) SetCompositeStatus ¶
func (o *DetailServiceHost) SetCompositeStatus(v string)
SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.
func (*DetailServiceHost) SetConfig ¶
func (o *DetailServiceHost) SetConfig(v DetailServiceHostConfig)
SetConfig gets a reference to the given DetailServiceHostConfig and assigns it to the Config field.
func (*DetailServiceHost) SetDisplayName ¶
func (o *DetailServiceHost) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*DetailServiceHost) SetId ¶
func (o *DetailServiceHost) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DetailServiceHost) SetIpAddress ¶
func (o *DetailServiceHost) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*DetailServiceHost) SetLegacyId ¶
func (o *DetailServiceHost) SetLegacyId(v string)
SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.
func (*DetailServiceHost) SetMaintenanceMode ¶
func (o *DetailServiceHost) SetMaintenanceMode(v string)
SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.
func (*DetailServiceHost) SetOphid ¶
func (o *DetailServiceHost) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (DetailServiceHost) ToMap ¶
func (o DetailServiceHost) ToMap() (map[string]interface{}, error)
func (*DetailServiceHost) UnmarshalJSON ¶
func (o *DetailServiceHost) UnmarshalJSON(data []byte) (err error)
type DetailServiceHostConfig ¶
type DetailServiceHostConfig struct { // The current version of the Service deployed on the Host. CurrentVersion *string `json:"current_version,omitempty"` // Service status information. Status *ShortServiceStatus `json:"status,omitempty"` UpgradedAt *time.Time `json:"upgraded_at,omitempty"` AdditionalProperties map[string]interface{} }
DetailServiceHostConfig struct for DetailServiceHostConfig
func NewDetailServiceHostConfig ¶
func NewDetailServiceHostConfig() *DetailServiceHostConfig
NewDetailServiceHostConfig instantiates a new DetailServiceHostConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailServiceHostConfigWithDefaults ¶
func NewDetailServiceHostConfigWithDefaults() *DetailServiceHostConfig
NewDetailServiceHostConfigWithDefaults instantiates a new DetailServiceHostConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailServiceHostConfig) GetCurrentVersion ¶
func (o *DetailServiceHostConfig) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.
func (*DetailServiceHostConfig) GetCurrentVersionOk ¶
func (o *DetailServiceHostConfig) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHostConfig) GetStatus ¶
func (o *DetailServiceHostConfig) GetStatus() ShortServiceStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*DetailServiceHostConfig) GetStatusOk ¶
func (o *DetailServiceHostConfig) GetStatusOk() (*ShortServiceStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHostConfig) GetUpgradedAt ¶
func (o *DetailServiceHostConfig) GetUpgradedAt() time.Time
GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.
func (*DetailServiceHostConfig) GetUpgradedAtOk ¶
func (o *DetailServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)
GetUpgradedAtOk returns a tuple with the UpgradedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailServiceHostConfig) HasCurrentVersion ¶
func (o *DetailServiceHostConfig) HasCurrentVersion() bool
HasCurrentVersion returns a boolean if a field has been set.
func (*DetailServiceHostConfig) HasStatus ¶
func (o *DetailServiceHostConfig) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*DetailServiceHostConfig) HasUpgradedAt ¶
func (o *DetailServiceHostConfig) HasUpgradedAt() bool
HasUpgradedAt returns a boolean if a field has been set.
func (DetailServiceHostConfig) MarshalJSON ¶
func (o DetailServiceHostConfig) MarshalJSON() ([]byte, error)
func (*DetailServiceHostConfig) SetCurrentVersion ¶
func (o *DetailServiceHostConfig) SetCurrentVersion(v string)
SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.
func (*DetailServiceHostConfig) SetStatus ¶
func (o *DetailServiceHostConfig) SetStatus(v ShortServiceStatus)
SetStatus gets a reference to the given ShortServiceStatus and assigns it to the Status field.
func (*DetailServiceHostConfig) SetUpgradedAt ¶
func (o *DetailServiceHostConfig) SetUpgradedAt(v time.Time)
SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.
func (DetailServiceHostConfig) ToMap ¶
func (o DetailServiceHostConfig) ToMap() (map[string]interface{}, error)
func (*DetailServiceHostConfig) UnmarshalJSON ¶
func (o *DetailServiceHostConfig) UnmarshalJSON(data []byte) (err error)
type DisconnectRequest ¶
type DisconnectRequest struct { // The resource identifier. Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} }
DisconnectRequest struct for DisconnectRequest
func NewDisconnectRequest ¶
func NewDisconnectRequest() *DisconnectRequest
NewDisconnectRequest instantiates a new DisconnectRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDisconnectRequestWithDefaults ¶
func NewDisconnectRequestWithDefaults() *DisconnectRequest
NewDisconnectRequestWithDefaults instantiates a new DisconnectRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DisconnectRequest) GetId ¶
func (o *DisconnectRequest) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DisconnectRequest) GetIdOk ¶
func (o *DisconnectRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DisconnectRequest) HasId ¶
func (o *DisconnectRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (DisconnectRequest) MarshalJSON ¶
func (o DisconnectRequest) MarshalJSON() ([]byte, error)
func (*DisconnectRequest) SetId ¶
func (o *DisconnectRequest) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (DisconnectRequest) ToMap ¶
func (o DisconnectRequest) ToMap() (map[string]interface{}, error)
func (*DisconnectRequest) UnmarshalJSON ¶
func (o *DisconnectRequest) UnmarshalJSON(data []byte) (err error)
type GetHostResponse ¶
type GetHostResponse struct { Result *Host `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
GetHostResponse struct for GetHostResponse
func NewGetHostResponse ¶
func NewGetHostResponse() *GetHostResponse
NewGetHostResponse instantiates a new GetHostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetHostResponseWithDefaults ¶
func NewGetHostResponseWithDefaults() *GetHostResponse
NewGetHostResponseWithDefaults instantiates a new GetHostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetHostResponse) GetResult ¶
func (o *GetHostResponse) GetResult() Host
GetResult returns the Result field value if set, zero value otherwise.
func (*GetHostResponse) GetResultOk ¶
func (o *GetHostResponse) GetResultOk() (*Host, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetHostResponse) HasResult ¶
func (o *GetHostResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (GetHostResponse) MarshalJSON ¶
func (o GetHostResponse) MarshalJSON() ([]byte, error)
func (*GetHostResponse) SetResult ¶
func (o *GetHostResponse) SetResult(v Host)
SetResult gets a reference to the given Host and assigns it to the Result field.
func (GetHostResponse) ToMap ¶
func (o GetHostResponse) ToMap() (map[string]interface{}, error)
func (*GetHostResponse) UnmarshalJSON ¶
func (o *GetHostResponse) UnmarshalJSON(data []byte) (err error)
type GetServiceResponse ¶
type GetServiceResponse struct { Result *Service `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
GetServiceResponse struct for GetServiceResponse
func NewGetServiceResponse ¶
func NewGetServiceResponse() *GetServiceResponse
NewGetServiceResponse instantiates a new GetServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetServiceResponseWithDefaults ¶
func NewGetServiceResponseWithDefaults() *GetServiceResponse
NewGetServiceResponseWithDefaults instantiates a new GetServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetServiceResponse) GetResult ¶
func (o *GetServiceResponse) GetResult() Service
GetResult returns the Result field value if set, zero value otherwise.
func (*GetServiceResponse) GetResultOk ¶
func (o *GetServiceResponse) GetResultOk() (*Service, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServiceResponse) HasResult ¶
func (o *GetServiceResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (GetServiceResponse) MarshalJSON ¶
func (o GetServiceResponse) MarshalJSON() ([]byte, error)
func (*GetServiceResponse) SetResult ¶
func (o *GetServiceResponse) SetResult(v Service)
SetResult gets a reference to the given Service and assigns it to the Result field.
func (GetServiceResponse) ToMap ¶
func (o GetServiceResponse) ToMap() (map[string]interface{}, error)
func (*GetServiceResponse) UnmarshalJSON ¶
func (o *GetServiceResponse) UnmarshalJSON(data []byte) (err error)
type Host ¶
type Host struct { // The list of Host-specific configurations for each Service deployed on this Host. Configs []ServiceHostConfig `json:"configs,omitempty"` // Represents the connectivity monitor properties of a Host, to enable/disable connectivity monitoring for redundant network interfaces. The \"endpoint_type\" is: - `\"csp\"` for enabling monitoring - `\"\"` for disabling monitoring (default) Note: Currently, all fields except \"endpoint_type\" are read-only, and will be overridden to default values in case they are edited. Example: “` { \"connectivity_monitor\": { \"cost\":1000000, \"endpoint_type\":\"csp\", \"endpoint\":\"http://csp.infoblox.com\", \"interval\":15, \"failure_threshold\":1, \"success_threshold\":2 } } “` ConnectivityMonitor map[string]interface{} `json:"connectivity_monitor,omitempty"` // The timestamp of creation of Host. CreatedAt *time.Time `json:"created_at,omitempty"` // The creator of the Host (internal use only). CreatedBy *string `json:"created_by,omitempty"` // The description of the Host (optional). Description *string `json:"description,omitempty"` // The name of the Host (unique). DisplayName string `json:"display_name"` // The sub-type of a specific Host type. Example: For Host type BloxOne Appliance, sub-type could be \"B105\" or \"VEP1425\" HostSubtype *string `json:"host_subtype,omitempty"` // The type of Host. Should be one of: 1. NIOS , 2. NIOS HA, 3. BloxOne VM , 4. BloxOne Appliance, 5. BloxOne Container, 6. CNIOS HostType *string `json:"host_type,omitempty"` // The version of the Host platform services. HostVersion *string `json:"host_version,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // The IP address of the Host. IpAddress *string `json:"ip_address,omitempty"` // The IP Space of the Host. IpSpace *string `json:"ip_space,omitempty"` // The legacy Host object identifier. LegacyId *string `json:"legacy_id,omitempty"` // The resource identifier. LocationId *string `json:"location_id,omitempty"` // The MAC address of the Host. MacAddress *string `json:"mac_address,omitempty"` MaintenanceMode *string `json:"maintenance_mode,omitempty"` // The NAT IP address of the Host. NatIp *string `json:"nat_ip,omitempty"` // The CSP cluster identifier (internal use only). NoaCluster *string `json:"noa_cluster,omitempty"` // The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud. Ophid *string `json:"ophid,omitempty"` // The resource identifier. PoolId *string `json:"pool_id,omitempty"` // The unique serial number of the Host. SerialNumber *string `json:"serial_number,omitempty"` // Tags associated with this Host. Tags map[string]interface{} `json:"tags,omitempty"` // The timezone of the Host. Timezone *string `json:"timezone,omitempty"` // The timestamp of the latest update on Host. UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
Host Infrastructure Service
func NewHost ¶
NewHost instantiates a new Host object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHostWithDefaults ¶
func NewHostWithDefaults() *Host
NewHostWithDefaults instantiates a new Host object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Host) GetConfigs ¶
func (o *Host) GetConfigs() []ServiceHostConfig
GetConfigs returns the Configs field value if set, zero value otherwise.
func (*Host) GetConfigsOk ¶
func (o *Host) GetConfigsOk() ([]ServiceHostConfig, bool)
GetConfigsOk returns a tuple with the Configs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetConnectivityMonitor ¶
GetConnectivityMonitor returns the ConnectivityMonitor field value if set, zero value otherwise.
func (*Host) GetConnectivityMonitorOk ¶
GetConnectivityMonitorOk returns a tuple with the ConnectivityMonitor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Host) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*Host) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Host) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetDisplayName ¶
GetDisplayName returns the DisplayName field value
func (*Host) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Host) GetHostSubtype ¶
GetHostSubtype returns the HostSubtype field value if set, zero value otherwise.
func (*Host) GetHostSubtypeOk ¶
GetHostSubtypeOk returns a tuple with the HostSubtype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetHostType ¶
GetHostType returns the HostType field value if set, zero value otherwise.
func (*Host) GetHostTypeOk ¶
GetHostTypeOk returns a tuple with the HostType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetHostVersion ¶
GetHostVersion returns the HostVersion field value if set, zero value otherwise.
func (*Host) GetHostVersionOk ¶
GetHostVersionOk returns a tuple with the HostVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetIpAddress ¶
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*Host) GetIpAddressOk ¶
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetIpSpace ¶
GetIpSpace returns the IpSpace field value if set, zero value otherwise.
func (*Host) GetIpSpaceOk ¶
GetIpSpaceOk returns a tuple with the IpSpace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetLegacyId ¶
GetLegacyId returns the LegacyId field value if set, zero value otherwise.
func (*Host) GetLegacyIdOk ¶
GetLegacyIdOk returns a tuple with the LegacyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetLocationId ¶
GetLocationId returns the LocationId field value if set, zero value otherwise.
func (*Host) GetLocationIdOk ¶
GetLocationIdOk returns a tuple with the LocationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetMacAddress ¶
GetMacAddress returns the MacAddress field value if set, zero value otherwise.
func (*Host) GetMacAddressOk ¶
GetMacAddressOk returns a tuple with the MacAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetMaintenanceMode ¶
GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.
func (*Host) GetMaintenanceModeOk ¶
GetMaintenanceModeOk returns a tuple with the MaintenanceMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetNatIpOk ¶
GetNatIpOk returns a tuple with the NatIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetNoaCluster ¶
GetNoaCluster returns the NoaCluster field value if set, zero value otherwise.
func (*Host) GetNoaClusterOk ¶
GetNoaClusterOk returns a tuple with the NoaCluster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetOphidOk ¶
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetPoolIdOk ¶
GetPoolIdOk returns a tuple with the PoolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetSerialNumber ¶
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*Host) GetSerialNumberOk ¶
GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetTimezone ¶
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*Host) GetTimezoneOk ¶
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Host) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) HasConfigs ¶
HasConfigs returns a boolean if a field has been set.
func (*Host) HasConnectivityMonitor ¶
HasConnectivityMonitor returns a boolean if a field has been set.
func (*Host) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Host) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Host) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Host) HasHostSubtype ¶
HasHostSubtype returns a boolean if a field has been set.
func (*Host) HasHostType ¶
HasHostType returns a boolean if a field has been set.
func (*Host) HasHostVersion ¶
HasHostVersion returns a boolean if a field has been set.
func (*Host) HasIpAddress ¶
HasIpAddress returns a boolean if a field has been set.
func (*Host) HasIpSpace ¶
HasIpSpace returns a boolean if a field has been set.
func (*Host) HasLegacyId ¶
HasLegacyId returns a boolean if a field has been set.
func (*Host) HasLocationId ¶
HasLocationId returns a boolean if a field has been set.
func (*Host) HasMacAddress ¶
HasMacAddress returns a boolean if a field has been set.
func (*Host) HasMaintenanceMode ¶
HasMaintenanceMode returns a boolean if a field has been set.
func (*Host) HasNoaCluster ¶
HasNoaCluster returns a boolean if a field has been set.
func (*Host) HasSerialNumber ¶
HasSerialNumber returns a boolean if a field has been set.
func (*Host) HasTimezone ¶
HasTimezone returns a boolean if a field has been set.
func (*Host) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Host) MarshalJSON ¶
func (*Host) SetConfigs ¶
func (o *Host) SetConfigs(v []ServiceHostConfig)
SetConfigs gets a reference to the given []ServiceHostConfig and assigns it to the Configs field.
func (*Host) SetConnectivityMonitor ¶
SetConnectivityMonitor gets a reference to the given map[string]interface{} and assigns it to the ConnectivityMonitor field.
func (*Host) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Host) SetCreatedBy ¶
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*Host) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Host) SetDisplayName ¶
SetDisplayName sets field value
func (*Host) SetHostSubtype ¶
SetHostSubtype gets a reference to the given string and assigns it to the HostSubtype field.
func (*Host) SetHostType ¶
SetHostType gets a reference to the given string and assigns it to the HostType field.
func (*Host) SetHostVersion ¶
SetHostVersion gets a reference to the given string and assigns it to the HostVersion field.
func (*Host) SetIpAddress ¶
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*Host) SetIpSpace ¶
SetIpSpace gets a reference to the given string and assigns it to the IpSpace field.
func (*Host) SetLegacyId ¶
SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.
func (*Host) SetLocationId ¶
SetLocationId gets a reference to the given string and assigns it to the LocationId field.
func (*Host) SetMacAddress ¶
SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.
func (*Host) SetMaintenanceMode ¶
SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.
func (*Host) SetNatIp ¶
SetNatIp gets a reference to the given string and assigns it to the NatIp field.
func (*Host) SetNoaCluster ¶
SetNoaCluster gets a reference to the given string and assigns it to the NoaCluster field.
func (*Host) SetOphid ¶
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*Host) SetPoolId ¶
SetPoolId gets a reference to the given string and assigns it to the PoolId field.
func (*Host) SetSerialNumber ¶
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*Host) SetTags ¶
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*Host) SetTimezone ¶
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*Host) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Host) UnmarshalJSON ¶
type HostsAPI ¶
type HostsAPI interface { /* AssignTags Assign tags for list of hosts. Validation: - "ids" is required. - "tags" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIAssignTagsRequest */ AssignTags(ctx context.Context) HostsAPIAssignTagsRequest // AssignTagsExecute executes the request // @return map[string]interface{} AssignTagsExecute(r HostsAPIAssignTagsRequest) (map[string]interface{}, *http.Response, error) /* Create Create a Host resource. Validation: - "display_name" is required and should be unique. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPICreateRequest */ Create(ctx context.Context) HostsAPICreateRequest // CreateExecute executes the request // @return CreateHostResponse CreateExecute(r HostsAPICreateRequest) (*CreateHostResponse, *http.Response, error) /* Delete Delete a Host resource. Validation: - "id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIDeleteRequest */ Delete(ctx context.Context, id string) HostsAPIDeleteRequest // DeleteExecute executes the request DeleteExecute(r HostsAPIDeleteRequest) (*http.Response, error) /* Disconnect Disconnect a Host by resource ID. The user can disconnect the host from the cloud (for example, if in case a host is compromised). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIDisconnectRequest */ Disconnect(ctx context.Context, id string) HostsAPIDisconnectRequest // DisconnectExecute executes the request // @return map[string]interface{} DisconnectExecute(r HostsAPIDisconnectRequest) (map[string]interface{}, *http.Response, error) /* List List all the Host resources for an account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIListRequest */ List(ctx context.Context) HostsAPIListRequest // ListExecute executes the request // @return ListHostResponse ListExecute(r HostsAPIListRequest) (*ListHostResponse, *http.Response, error) /* Read Get a Host resource. Validation: - "id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIReadRequest */ Read(ctx context.Context, id string) HostsAPIReadRequest // ReadExecute executes the request // @return GetHostResponse ReadExecute(r HostsAPIReadRequest) (*GetHostResponse, *http.Response, error) /* Replace Migrate a Host's configuration from one to another. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fromResourceId An application specific resource identity of a resource @param toResourceId An application specific resource identity of a resource @return HostsAPIReplaceRequest */ Replace(ctx context.Context, fromResourceId string, toResourceId string) HostsAPIReplaceRequest // ReplaceExecute executes the request // @return map[string]interface{} ReplaceExecute(r HostsAPIReplaceRequest) (map[string]interface{}, *http.Response, error) /* UnassignTags Unassign tag for the list hosts. Validation: - "ids" is required. - "keys" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIUnassignTagsRequest */ UnassignTags(ctx context.Context) HostsAPIUnassignTagsRequest // UnassignTagsExecute executes the request // @return map[string]interface{} UnassignTagsExecute(r HostsAPIUnassignTagsRequest) (map[string]interface{}, *http.Response, error) /* Update Update a Host resource. Validation: - "id" is required. - "display_name" is required and should be unique. - "pool_id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIUpdateRequest */ Update(ctx context.Context, id string) HostsAPIUpdateRequest // UpdateExecute executes the request // @return UpdateHostResponse UpdateExecute(r HostsAPIUpdateRequest) (*UpdateHostResponse, *http.Response, error) }
type HostsAPIAssignTagsRequest ¶
type HostsAPIAssignTagsRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIAssignTagsRequest) Body ¶
func (r HostsAPIAssignTagsRequest) Body(body AssignTagsRequest) HostsAPIAssignTagsRequest
type HostsAPICreateRequest ¶
type HostsAPICreateRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPICreateRequest) Body ¶
func (r HostsAPICreateRequest) Body(body Host) HostsAPICreateRequest
func (HostsAPICreateRequest) Execute ¶
func (r HostsAPICreateRequest) Execute() (*CreateHostResponse, *http.Response, error)
type HostsAPIDeleteRequest ¶
type HostsAPIDeleteRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
type HostsAPIDisconnectRequest ¶
type HostsAPIDisconnectRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIDisconnectRequest) Body ¶
func (r HostsAPIDisconnectRequest) Body(body DisconnectRequest) HostsAPIDisconnectRequest
type HostsAPIListRequest ¶
type HostsAPIListRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIListRequest) Execute ¶
func (r HostsAPIListRequest) Execute() (*ListHostResponse, *http.Response, error)
func (HostsAPIListRequest) Fields ¶
func (r HostsAPIListRequest) Fields(fields string) HostsAPIListRequest
A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.
func (HostsAPIListRequest) Filter ¶
func (r HostsAPIListRequest) Filter(filter string) HostsAPIListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (HostsAPIListRequest) Limit ¶
func (r HostsAPIListRequest) Limit(limit int32) HostsAPIListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (HostsAPIListRequest) Offset ¶
func (r HostsAPIListRequest) Offset(offset int32) HostsAPIListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (HostsAPIListRequest) OrderBy ¶
func (r HostsAPIListRequest) OrderBy(orderBy string) HostsAPIListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (HostsAPIListRequest) PageToken ¶
func (r HostsAPIListRequest) PageToken(pageToken string) HostsAPIListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (HostsAPIListRequest) Tfilter ¶
func (r HostsAPIListRequest) Tfilter(tfilter string) HostsAPIListRequest
This parameter is used for filtering by tags.
func (HostsAPIListRequest) TorderBy ¶
func (r HostsAPIListRequest) TorderBy(torderBy string) HostsAPIListRequest
This parameter is used for sorting by tags.
type HostsAPIReadRequest ¶
type HostsAPIReadRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIReadRequest) Execute ¶
func (r HostsAPIReadRequest) Execute() (*GetHostResponse, *http.Response, error)
type HostsAPIReplaceRequest ¶
type HostsAPIReplaceRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIReplaceRequest) Body ¶
func (r HostsAPIReplaceRequest) Body(body ReplaceHostRequest) HostsAPIReplaceRequest
type HostsAPIService ¶
HostsAPIService HostsAPI service
func (*HostsAPIService) AssignTags ¶
func (a *HostsAPIService) AssignTags(ctx context.Context) HostsAPIAssignTagsRequest
AssignTags Assign tags for list of hosts.
Validation: - "ids" is required. - "tags" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIAssignTagsRequest
func (*HostsAPIService) AssignTagsExecute ¶
func (a *HostsAPIService) AssignTagsExecute(r HostsAPIAssignTagsRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*HostsAPIService) Create ¶
func (a *HostsAPIService) Create(ctx context.Context) HostsAPICreateRequest
Create Create a Host resource.
Validation: - "display_name" is required and should be unique.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPICreateRequest
func (*HostsAPIService) CreateExecute ¶
func (a *HostsAPIService) CreateExecute(r HostsAPICreateRequest) (*CreateHostResponse, *http.Response, error)
Execute executes the request
@return CreateHostResponse
func (*HostsAPIService) Delete ¶
func (a *HostsAPIService) Delete(ctx context.Context, id string) HostsAPIDeleteRequest
Delete Delete a Host resource.
Validation: - "id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIDeleteRequest
func (*HostsAPIService) DeleteExecute ¶
func (a *HostsAPIService) DeleteExecute(r HostsAPIDeleteRequest) (*http.Response, error)
Execute executes the request
func (*HostsAPIService) Disconnect ¶
func (a *HostsAPIService) Disconnect(ctx context.Context, id string) HostsAPIDisconnectRequest
Disconnect Disconnect a Host by resource ID.
The user can disconnect the host from the cloud (for example, if in case a host is compromised).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIDisconnectRequest
func (*HostsAPIService) DisconnectExecute ¶
func (a *HostsAPIService) DisconnectExecute(r HostsAPIDisconnectRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*HostsAPIService) List ¶
func (a *HostsAPIService) List(ctx context.Context) HostsAPIListRequest
List List all the Host resources for an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIListRequest
func (*HostsAPIService) ListExecute ¶
func (a *HostsAPIService) ListExecute(r HostsAPIListRequest) (*ListHostResponse, *http.Response, error)
Execute executes the request
@return ListHostResponse
func (*HostsAPIService) Read ¶
func (a *HostsAPIService) Read(ctx context.Context, id string) HostsAPIReadRequest
Read Get a Host resource.
Validation: - "id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIReadRequest
func (*HostsAPIService) ReadExecute ¶
func (a *HostsAPIService) ReadExecute(r HostsAPIReadRequest) (*GetHostResponse, *http.Response, error)
Execute executes the request
@return GetHostResponse
func (*HostsAPIService) Replace ¶
func (a *HostsAPIService) Replace(ctx context.Context, fromResourceId string, toResourceId string) HostsAPIReplaceRequest
Replace Migrate a Host's configuration from one to another.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fromResourceId An application specific resource identity of a resource @param toResourceId An application specific resource identity of a resource @return HostsAPIReplaceRequest
func (*HostsAPIService) ReplaceExecute ¶
func (a *HostsAPIService) ReplaceExecute(r HostsAPIReplaceRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*HostsAPIService) UnassignTags ¶
func (a *HostsAPIService) UnassignTags(ctx context.Context) HostsAPIUnassignTagsRequest
UnassignTags Unassign tag for the list hosts.
Validation: - "ids" is required. - "keys" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return HostsAPIUnassignTagsRequest
func (*HostsAPIService) UnassignTagsExecute ¶
func (a *HostsAPIService) UnassignTagsExecute(r HostsAPIUnassignTagsRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*HostsAPIService) Update ¶
func (a *HostsAPIService) Update(ctx context.Context, id string) HostsAPIUpdateRequest
Update Update a Host resource.
Validation: - "id" is required. - "display_name" is required and should be unique. - "pool_id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return HostsAPIUpdateRequest
func (*HostsAPIService) UpdateExecute ¶
func (a *HostsAPIService) UpdateExecute(r HostsAPIUpdateRequest) (*UpdateHostResponse, *http.Response, error)
Execute executes the request
@return UpdateHostResponse
type HostsAPIUnassignTagsRequest ¶
type HostsAPIUnassignTagsRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIUnassignTagsRequest) Body ¶
func (r HostsAPIUnassignTagsRequest) Body(body UnassignTagsRequest) HostsAPIUnassignTagsRequest
type HostsAPIUpdateRequest ¶
type HostsAPIUpdateRequest struct { ApiService HostsAPI // contains filtered or unexported fields }
func (HostsAPIUpdateRequest) Body ¶
func (r HostsAPIUpdateRequest) Body(body Host) HostsAPIUpdateRequest
func (HostsAPIUpdateRequest) Execute ¶
func (r HostsAPIUpdateRequest) Execute() (*UpdateHostResponse, *http.Response, error)
type ListDetailHostsResponse ¶
type ListDetailHostsResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []DetailHost `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListDetailHostsResponse struct for ListDetailHostsResponse
func NewListDetailHostsResponse ¶
func NewListDetailHostsResponse() *ListDetailHostsResponse
NewListDetailHostsResponse instantiates a new ListDetailHostsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDetailHostsResponseWithDefaults ¶
func NewListDetailHostsResponseWithDefaults() *ListDetailHostsResponse
NewListDetailHostsResponseWithDefaults instantiates a new ListDetailHostsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDetailHostsResponse) GetPage ¶
func (o *ListDetailHostsResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListDetailHostsResponse) GetPageOk ¶
func (o *ListDetailHostsResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDetailHostsResponse) GetResults ¶
func (o *ListDetailHostsResponse) GetResults() []DetailHost
GetResults returns the Results field value if set, zero value otherwise.
func (*ListDetailHostsResponse) GetResultsOk ¶
func (o *ListDetailHostsResponse) GetResultsOk() ([]DetailHost, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDetailHostsResponse) HasPage ¶
func (o *ListDetailHostsResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListDetailHostsResponse) HasResults ¶
func (o *ListDetailHostsResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListDetailHostsResponse) MarshalJSON ¶
func (o ListDetailHostsResponse) MarshalJSON() ([]byte, error)
func (*ListDetailHostsResponse) SetPage ¶
func (o *ListDetailHostsResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListDetailHostsResponse) SetResults ¶
func (o *ListDetailHostsResponse) SetResults(v []DetailHost)
SetResults gets a reference to the given []DetailHost and assigns it to the Results field.
func (ListDetailHostsResponse) ToMap ¶
func (o ListDetailHostsResponse) ToMap() (map[string]interface{}, error)
func (*ListDetailHostsResponse) UnmarshalJSON ¶
func (o *ListDetailHostsResponse) UnmarshalJSON(data []byte) (err error)
type ListDetailServicesResponse ¶
type ListDetailServicesResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []DetailService `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListDetailServicesResponse struct for ListDetailServicesResponse
func NewListDetailServicesResponse ¶
func NewListDetailServicesResponse() *ListDetailServicesResponse
NewListDetailServicesResponse instantiates a new ListDetailServicesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDetailServicesResponseWithDefaults ¶
func NewListDetailServicesResponseWithDefaults() *ListDetailServicesResponse
NewListDetailServicesResponseWithDefaults instantiates a new ListDetailServicesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDetailServicesResponse) GetPage ¶
func (o *ListDetailServicesResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListDetailServicesResponse) GetPageOk ¶
func (o *ListDetailServicesResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDetailServicesResponse) GetResults ¶
func (o *ListDetailServicesResponse) GetResults() []DetailService
GetResults returns the Results field value if set, zero value otherwise.
func (*ListDetailServicesResponse) GetResultsOk ¶
func (o *ListDetailServicesResponse) GetResultsOk() ([]DetailService, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDetailServicesResponse) HasPage ¶
func (o *ListDetailServicesResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListDetailServicesResponse) HasResults ¶
func (o *ListDetailServicesResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListDetailServicesResponse) MarshalJSON ¶
func (o ListDetailServicesResponse) MarshalJSON() ([]byte, error)
func (*ListDetailServicesResponse) SetPage ¶
func (o *ListDetailServicesResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListDetailServicesResponse) SetResults ¶
func (o *ListDetailServicesResponse) SetResults(v []DetailService)
SetResults gets a reference to the given []DetailService and assigns it to the Results field.
func (ListDetailServicesResponse) ToMap ¶
func (o ListDetailServicesResponse) ToMap() (map[string]interface{}, error)
func (*ListDetailServicesResponse) UnmarshalJSON ¶
func (o *ListDetailServicesResponse) UnmarshalJSON(data []byte) (err error)
type ListHostResponse ¶
type ListHostResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []Host `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListHostResponse struct for ListHostResponse
func NewListHostResponse ¶
func NewListHostResponse() *ListHostResponse
NewListHostResponse instantiates a new ListHostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListHostResponseWithDefaults ¶
func NewListHostResponseWithDefaults() *ListHostResponse
NewListHostResponseWithDefaults instantiates a new ListHostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListHostResponse) GetPage ¶
func (o *ListHostResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListHostResponse) GetPageOk ¶
func (o *ListHostResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListHostResponse) GetResults ¶
func (o *ListHostResponse) GetResults() []Host
GetResults returns the Results field value if set, zero value otherwise.
func (*ListHostResponse) GetResultsOk ¶
func (o *ListHostResponse) GetResultsOk() ([]Host, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListHostResponse) HasPage ¶
func (o *ListHostResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListHostResponse) HasResults ¶
func (o *ListHostResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListHostResponse) MarshalJSON ¶
func (o ListHostResponse) MarshalJSON() ([]byte, error)
func (*ListHostResponse) SetPage ¶
func (o *ListHostResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListHostResponse) SetResults ¶
func (o *ListHostResponse) SetResults(v []Host)
SetResults gets a reference to the given []Host and assigns it to the Results field.
func (ListHostResponse) ToMap ¶
func (o ListHostResponse) ToMap() (map[string]interface{}, error)
func (*ListHostResponse) UnmarshalJSON ¶
func (o *ListHostResponse) UnmarshalJSON(data []byte) (err error)
type ListServiceResponse ¶
type ListServiceResponse struct { Page *ApiPageInfo `json:"page,omitempty"` Results []Service `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListServiceResponse struct for ListServiceResponse
func NewListServiceResponse ¶
func NewListServiceResponse() *ListServiceResponse
NewListServiceResponse instantiates a new ListServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListServiceResponseWithDefaults ¶
func NewListServiceResponseWithDefaults() *ListServiceResponse
NewListServiceResponseWithDefaults instantiates a new ListServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListServiceResponse) GetPage ¶
func (o *ListServiceResponse) GetPage() ApiPageInfo
GetPage returns the Page field value if set, zero value otherwise.
func (*ListServiceResponse) GetPageOk ¶
func (o *ListServiceResponse) GetPageOk() (*ApiPageInfo, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListServiceResponse) GetResults ¶
func (o *ListServiceResponse) GetResults() []Service
GetResults returns the Results field value if set, zero value otherwise.
func (*ListServiceResponse) GetResultsOk ¶
func (o *ListServiceResponse) GetResultsOk() ([]Service, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListServiceResponse) HasPage ¶
func (o *ListServiceResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ListServiceResponse) HasResults ¶
func (o *ListServiceResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListServiceResponse) MarshalJSON ¶
func (o ListServiceResponse) MarshalJSON() ([]byte, error)
func (*ListServiceResponse) SetPage ¶
func (o *ListServiceResponse) SetPage(v ApiPageInfo)
SetPage gets a reference to the given ApiPageInfo and assigns it to the Page field.
func (*ListServiceResponse) SetResults ¶
func (o *ListServiceResponse) SetResults(v []Service)
SetResults gets a reference to the given []Service and assigns it to the Results field.
func (ListServiceResponse) ToMap ¶
func (o ListServiceResponse) ToMap() (map[string]interface{}, error)
func (*ListServiceResponse) UnmarshalJSON ¶
func (o *ListServiceResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableApiPageInfo ¶
type NullableApiPageInfo struct {
// contains filtered or unexported fields
}
func NewNullableApiPageInfo ¶
func NewNullableApiPageInfo(val *ApiPageInfo) *NullableApiPageInfo
func (NullableApiPageInfo) Get ¶
func (v NullableApiPageInfo) Get() *ApiPageInfo
func (NullableApiPageInfo) IsSet ¶
func (v NullableApiPageInfo) IsSet() bool
func (NullableApiPageInfo) MarshalJSON ¶
func (v NullableApiPageInfo) MarshalJSON() ([]byte, error)
func (*NullableApiPageInfo) Set ¶
func (v *NullableApiPageInfo) Set(val *ApiPageInfo)
func (*NullableApiPageInfo) UnmarshalJSON ¶
func (v *NullableApiPageInfo) UnmarshalJSON(src []byte) error
func (*NullableApiPageInfo) Unset ¶
func (v *NullableApiPageInfo) Unset()
type NullableApplications ¶
type NullableApplications struct {
// contains filtered or unexported fields
}
func NewNullableApplications ¶
func NewNullableApplications(val *Applications) *NullableApplications
func (NullableApplications) Get ¶
func (v NullableApplications) Get() *Applications
func (NullableApplications) IsSet ¶
func (v NullableApplications) IsSet() bool
func (NullableApplications) MarshalJSON ¶
func (v NullableApplications) MarshalJSON() ([]byte, error)
func (*NullableApplications) Set ¶
func (v *NullableApplications) Set(val *Applications)
func (*NullableApplications) UnmarshalJSON ¶
func (v *NullableApplications) UnmarshalJSON(src []byte) error
func (*NullableApplications) Unset ¶
func (v *NullableApplications) Unset()
type NullableApplicationsResponse ¶
type NullableApplicationsResponse struct {
// contains filtered or unexported fields
}
func NewNullableApplicationsResponse ¶
func NewNullableApplicationsResponse(val *ApplicationsResponse) *NullableApplicationsResponse
func (NullableApplicationsResponse) Get ¶
func (v NullableApplicationsResponse) Get() *ApplicationsResponse
func (NullableApplicationsResponse) IsSet ¶
func (v NullableApplicationsResponse) IsSet() bool
func (NullableApplicationsResponse) MarshalJSON ¶
func (v NullableApplicationsResponse) MarshalJSON() ([]byte, error)
func (*NullableApplicationsResponse) Set ¶
func (v *NullableApplicationsResponse) Set(val *ApplicationsResponse)
func (*NullableApplicationsResponse) UnmarshalJSON ¶
func (v *NullableApplicationsResponse) UnmarshalJSON(src []byte) error
func (*NullableApplicationsResponse) Unset ¶
func (v *NullableApplicationsResponse) Unset()
type NullableAssignTagsRequest ¶
type NullableAssignTagsRequest struct {
// contains filtered or unexported fields
}
func NewNullableAssignTagsRequest ¶
func NewNullableAssignTagsRequest(val *AssignTagsRequest) *NullableAssignTagsRequest
func (NullableAssignTagsRequest) Get ¶
func (v NullableAssignTagsRequest) Get() *AssignTagsRequest
func (NullableAssignTagsRequest) IsSet ¶
func (v NullableAssignTagsRequest) IsSet() bool
func (NullableAssignTagsRequest) MarshalJSON ¶
func (v NullableAssignTagsRequest) MarshalJSON() ([]byte, error)
func (*NullableAssignTagsRequest) Set ¶
func (v *NullableAssignTagsRequest) Set(val *AssignTagsRequest)
func (*NullableAssignTagsRequest) UnmarshalJSON ¶
func (v *NullableAssignTagsRequest) UnmarshalJSON(src []byte) error
func (*NullableAssignTagsRequest) Unset ¶
func (v *NullableAssignTagsRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateHostResponse ¶
type NullableCreateHostResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateHostResponse ¶
func NewNullableCreateHostResponse(val *CreateHostResponse) *NullableCreateHostResponse
func (NullableCreateHostResponse) Get ¶
func (v NullableCreateHostResponse) Get() *CreateHostResponse
func (NullableCreateHostResponse) IsSet ¶
func (v NullableCreateHostResponse) IsSet() bool
func (NullableCreateHostResponse) MarshalJSON ¶
func (v NullableCreateHostResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateHostResponse) Set ¶
func (v *NullableCreateHostResponse) Set(val *CreateHostResponse)
func (*NullableCreateHostResponse) UnmarshalJSON ¶
func (v *NullableCreateHostResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateHostResponse) Unset ¶
func (v *NullableCreateHostResponse) Unset()
type NullableCreateServiceResponse ¶
type NullableCreateServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceResponse ¶
func NewNullableCreateServiceResponse(val *CreateServiceResponse) *NullableCreateServiceResponse
func (NullableCreateServiceResponse) Get ¶
func (v NullableCreateServiceResponse) Get() *CreateServiceResponse
func (NullableCreateServiceResponse) IsSet ¶
func (v NullableCreateServiceResponse) IsSet() bool
func (NullableCreateServiceResponse) MarshalJSON ¶
func (v NullableCreateServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceResponse) Set ¶
func (v *NullableCreateServiceResponse) Set(val *CreateServiceResponse)
func (*NullableCreateServiceResponse) UnmarshalJSON ¶
func (v *NullableCreateServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceResponse) Unset ¶
func (v *NullableCreateServiceResponse) Unset()
type NullableDetailHost ¶
type NullableDetailHost struct {
// contains filtered or unexported fields
}
func NewNullableDetailHost ¶
func NewNullableDetailHost(val *DetailHost) *NullableDetailHost
func (NullableDetailHost) Get ¶
func (v NullableDetailHost) Get() *DetailHost
func (NullableDetailHost) IsSet ¶
func (v NullableDetailHost) IsSet() bool
func (NullableDetailHost) MarshalJSON ¶
func (v NullableDetailHost) MarshalJSON() ([]byte, error)
func (*NullableDetailHost) Set ¶
func (v *NullableDetailHost) Set(val *DetailHost)
func (*NullableDetailHost) UnmarshalJSON ¶
func (v *NullableDetailHost) UnmarshalJSON(src []byte) error
func (*NullableDetailHost) Unset ¶
func (v *NullableDetailHost) Unset()
type NullableDetailHostServiceConfig ¶
type NullableDetailHostServiceConfig struct {
// contains filtered or unexported fields
}
func NewNullableDetailHostServiceConfig ¶
func NewNullableDetailHostServiceConfig(val *DetailHostServiceConfig) *NullableDetailHostServiceConfig
func (NullableDetailHostServiceConfig) Get ¶
func (v NullableDetailHostServiceConfig) Get() *DetailHostServiceConfig
func (NullableDetailHostServiceConfig) IsSet ¶
func (v NullableDetailHostServiceConfig) IsSet() bool
func (NullableDetailHostServiceConfig) MarshalJSON ¶
func (v NullableDetailHostServiceConfig) MarshalJSON() ([]byte, error)
func (*NullableDetailHostServiceConfig) Set ¶
func (v *NullableDetailHostServiceConfig) Set(val *DetailHostServiceConfig)
func (*NullableDetailHostServiceConfig) UnmarshalJSON ¶
func (v *NullableDetailHostServiceConfig) UnmarshalJSON(src []byte) error
func (*NullableDetailHostServiceConfig) Unset ¶
func (v *NullableDetailHostServiceConfig) Unset()
type NullableDetailLocation ¶
type NullableDetailLocation struct {
// contains filtered or unexported fields
}
func NewNullableDetailLocation ¶
func NewNullableDetailLocation(val *DetailLocation) *NullableDetailLocation
func (NullableDetailLocation) Get ¶
func (v NullableDetailLocation) Get() *DetailLocation
func (NullableDetailLocation) IsSet ¶
func (v NullableDetailLocation) IsSet() bool
func (NullableDetailLocation) MarshalJSON ¶
func (v NullableDetailLocation) MarshalJSON() ([]byte, error)
func (*NullableDetailLocation) Set ¶
func (v *NullableDetailLocation) Set(val *DetailLocation)
func (*NullableDetailLocation) UnmarshalJSON ¶
func (v *NullableDetailLocation) UnmarshalJSON(src []byte) error
func (*NullableDetailLocation) Unset ¶
func (v *NullableDetailLocation) Unset()
type NullableDetailService ¶
type NullableDetailService struct {
// contains filtered or unexported fields
}
func NewNullableDetailService ¶
func NewNullableDetailService(val *DetailService) *NullableDetailService
func (NullableDetailService) Get ¶
func (v NullableDetailService) Get() *DetailService
func (NullableDetailService) IsSet ¶
func (v NullableDetailService) IsSet() bool
func (NullableDetailService) MarshalJSON ¶
func (v NullableDetailService) MarshalJSON() ([]byte, error)
func (*NullableDetailService) Set ¶
func (v *NullableDetailService) Set(val *DetailService)
func (*NullableDetailService) UnmarshalJSON ¶
func (v *NullableDetailService) UnmarshalJSON(src []byte) error
func (*NullableDetailService) Unset ¶
func (v *NullableDetailService) Unset()
type NullableDetailServiceHost ¶
type NullableDetailServiceHost struct {
// contains filtered or unexported fields
}
func NewNullableDetailServiceHost ¶
func NewNullableDetailServiceHost(val *DetailServiceHost) *NullableDetailServiceHost
func (NullableDetailServiceHost) Get ¶
func (v NullableDetailServiceHost) Get() *DetailServiceHost
func (NullableDetailServiceHost) IsSet ¶
func (v NullableDetailServiceHost) IsSet() bool
func (NullableDetailServiceHost) MarshalJSON ¶
func (v NullableDetailServiceHost) MarshalJSON() ([]byte, error)
func (*NullableDetailServiceHost) Set ¶
func (v *NullableDetailServiceHost) Set(val *DetailServiceHost)
func (*NullableDetailServiceHost) UnmarshalJSON ¶
func (v *NullableDetailServiceHost) UnmarshalJSON(src []byte) error
func (*NullableDetailServiceHost) Unset ¶
func (v *NullableDetailServiceHost) Unset()
type NullableDetailServiceHostConfig ¶
type NullableDetailServiceHostConfig struct {
// contains filtered or unexported fields
}
func NewNullableDetailServiceHostConfig ¶
func NewNullableDetailServiceHostConfig(val *DetailServiceHostConfig) *NullableDetailServiceHostConfig
func (NullableDetailServiceHostConfig) Get ¶
func (v NullableDetailServiceHostConfig) Get() *DetailServiceHostConfig
func (NullableDetailServiceHostConfig) IsSet ¶
func (v NullableDetailServiceHostConfig) IsSet() bool
func (NullableDetailServiceHostConfig) MarshalJSON ¶
func (v NullableDetailServiceHostConfig) MarshalJSON() ([]byte, error)
func (*NullableDetailServiceHostConfig) Set ¶
func (v *NullableDetailServiceHostConfig) Set(val *DetailServiceHostConfig)
func (*NullableDetailServiceHostConfig) UnmarshalJSON ¶
func (v *NullableDetailServiceHostConfig) UnmarshalJSON(src []byte) error
func (*NullableDetailServiceHostConfig) Unset ¶
func (v *NullableDetailServiceHostConfig) Unset()
type NullableDisconnectRequest ¶
type NullableDisconnectRequest struct {
// contains filtered or unexported fields
}
func NewNullableDisconnectRequest ¶
func NewNullableDisconnectRequest(val *DisconnectRequest) *NullableDisconnectRequest
func (NullableDisconnectRequest) Get ¶
func (v NullableDisconnectRequest) Get() *DisconnectRequest
func (NullableDisconnectRequest) IsSet ¶
func (v NullableDisconnectRequest) IsSet() bool
func (NullableDisconnectRequest) MarshalJSON ¶
func (v NullableDisconnectRequest) MarshalJSON() ([]byte, error)
func (*NullableDisconnectRequest) Set ¶
func (v *NullableDisconnectRequest) Set(val *DisconnectRequest)
func (*NullableDisconnectRequest) UnmarshalJSON ¶
func (v *NullableDisconnectRequest) UnmarshalJSON(src []byte) error
func (*NullableDisconnectRequest) Unset ¶
func (v *NullableDisconnectRequest) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetHostResponse ¶
type NullableGetHostResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetHostResponse ¶
func NewNullableGetHostResponse(val *GetHostResponse) *NullableGetHostResponse
func (NullableGetHostResponse) Get ¶
func (v NullableGetHostResponse) Get() *GetHostResponse
func (NullableGetHostResponse) IsSet ¶
func (v NullableGetHostResponse) IsSet() bool
func (NullableGetHostResponse) MarshalJSON ¶
func (v NullableGetHostResponse) MarshalJSON() ([]byte, error)
func (*NullableGetHostResponse) Set ¶
func (v *NullableGetHostResponse) Set(val *GetHostResponse)
func (*NullableGetHostResponse) UnmarshalJSON ¶
func (v *NullableGetHostResponse) UnmarshalJSON(src []byte) error
func (*NullableGetHostResponse) Unset ¶
func (v *NullableGetHostResponse) Unset()
type NullableGetServiceResponse ¶
type NullableGetServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetServiceResponse ¶
func NewNullableGetServiceResponse(val *GetServiceResponse) *NullableGetServiceResponse
func (NullableGetServiceResponse) Get ¶
func (v NullableGetServiceResponse) Get() *GetServiceResponse
func (NullableGetServiceResponse) IsSet ¶
func (v NullableGetServiceResponse) IsSet() bool
func (NullableGetServiceResponse) MarshalJSON ¶
func (v NullableGetServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetServiceResponse) Set ¶
func (v *NullableGetServiceResponse) Set(val *GetServiceResponse)
func (*NullableGetServiceResponse) UnmarshalJSON ¶
func (v *NullableGetServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetServiceResponse) Unset ¶
func (v *NullableGetServiceResponse) Unset()
type NullableHost ¶
type NullableHost struct {
// contains filtered or unexported fields
}
func NewNullableHost ¶
func NewNullableHost(val *Host) *NullableHost
func (NullableHost) Get ¶
func (v NullableHost) Get() *Host
func (NullableHost) IsSet ¶
func (v NullableHost) IsSet() bool
func (NullableHost) MarshalJSON ¶
func (v NullableHost) MarshalJSON() ([]byte, error)
func (*NullableHost) Set ¶
func (v *NullableHost) Set(val *Host)
func (*NullableHost) UnmarshalJSON ¶
func (v *NullableHost) UnmarshalJSON(src []byte) error
func (*NullableHost) Unset ¶
func (v *NullableHost) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListDetailHostsResponse ¶
type NullableListDetailHostsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListDetailHostsResponse ¶
func NewNullableListDetailHostsResponse(val *ListDetailHostsResponse) *NullableListDetailHostsResponse
func (NullableListDetailHostsResponse) Get ¶
func (v NullableListDetailHostsResponse) Get() *ListDetailHostsResponse
func (NullableListDetailHostsResponse) IsSet ¶
func (v NullableListDetailHostsResponse) IsSet() bool
func (NullableListDetailHostsResponse) MarshalJSON ¶
func (v NullableListDetailHostsResponse) MarshalJSON() ([]byte, error)
func (*NullableListDetailHostsResponse) Set ¶
func (v *NullableListDetailHostsResponse) Set(val *ListDetailHostsResponse)
func (*NullableListDetailHostsResponse) UnmarshalJSON ¶
func (v *NullableListDetailHostsResponse) UnmarshalJSON(src []byte) error
func (*NullableListDetailHostsResponse) Unset ¶
func (v *NullableListDetailHostsResponse) Unset()
type NullableListDetailServicesResponse ¶
type NullableListDetailServicesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListDetailServicesResponse ¶
func NewNullableListDetailServicesResponse(val *ListDetailServicesResponse) *NullableListDetailServicesResponse
func (NullableListDetailServicesResponse) Get ¶
func (v NullableListDetailServicesResponse) Get() *ListDetailServicesResponse
func (NullableListDetailServicesResponse) IsSet ¶
func (v NullableListDetailServicesResponse) IsSet() bool
func (NullableListDetailServicesResponse) MarshalJSON ¶
func (v NullableListDetailServicesResponse) MarshalJSON() ([]byte, error)
func (*NullableListDetailServicesResponse) Set ¶
func (v *NullableListDetailServicesResponse) Set(val *ListDetailServicesResponse)
func (*NullableListDetailServicesResponse) UnmarshalJSON ¶
func (v *NullableListDetailServicesResponse) UnmarshalJSON(src []byte) error
func (*NullableListDetailServicesResponse) Unset ¶
func (v *NullableListDetailServicesResponse) Unset()
type NullableListHostResponse ¶
type NullableListHostResponse struct {
// contains filtered or unexported fields
}
func NewNullableListHostResponse ¶
func NewNullableListHostResponse(val *ListHostResponse) *NullableListHostResponse
func (NullableListHostResponse) Get ¶
func (v NullableListHostResponse) Get() *ListHostResponse
func (NullableListHostResponse) IsSet ¶
func (v NullableListHostResponse) IsSet() bool
func (NullableListHostResponse) MarshalJSON ¶
func (v NullableListHostResponse) MarshalJSON() ([]byte, error)
func (*NullableListHostResponse) Set ¶
func (v *NullableListHostResponse) Set(val *ListHostResponse)
func (*NullableListHostResponse) UnmarshalJSON ¶
func (v *NullableListHostResponse) UnmarshalJSON(src []byte) error
func (*NullableListHostResponse) Unset ¶
func (v *NullableListHostResponse) Unset()
type NullableListServiceResponse ¶
type NullableListServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableListServiceResponse ¶
func NewNullableListServiceResponse(val *ListServiceResponse) *NullableListServiceResponse
func (NullableListServiceResponse) Get ¶
func (v NullableListServiceResponse) Get() *ListServiceResponse
func (NullableListServiceResponse) IsSet ¶
func (v NullableListServiceResponse) IsSet() bool
func (NullableListServiceResponse) MarshalJSON ¶
func (v NullableListServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableListServiceResponse) Set ¶
func (v *NullableListServiceResponse) Set(val *ListServiceResponse)
func (*NullableListServiceResponse) UnmarshalJSON ¶
func (v *NullableListServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableListServiceResponse) Unset ¶
func (v *NullableListServiceResponse) Unset()
type NullablePoolInfo ¶
type NullablePoolInfo struct {
// contains filtered or unexported fields
}
func NewNullablePoolInfo ¶
func NewNullablePoolInfo(val *PoolInfo) *NullablePoolInfo
func (NullablePoolInfo) Get ¶
func (v NullablePoolInfo) Get() *PoolInfo
func (NullablePoolInfo) IsSet ¶
func (v NullablePoolInfo) IsSet() bool
func (NullablePoolInfo) MarshalJSON ¶
func (v NullablePoolInfo) MarshalJSON() ([]byte, error)
func (*NullablePoolInfo) Set ¶
func (v *NullablePoolInfo) Set(val *PoolInfo)
func (*NullablePoolInfo) UnmarshalJSON ¶
func (v *NullablePoolInfo) UnmarshalJSON(src []byte) error
func (*NullablePoolInfo) Unset ¶
func (v *NullablePoolInfo) Unset()
type NullableReplaceHostRequest ¶
type NullableReplaceHostRequest struct {
// contains filtered or unexported fields
}
func NewNullableReplaceHostRequest ¶
func NewNullableReplaceHostRequest(val *ReplaceHostRequest) *NullableReplaceHostRequest
func (NullableReplaceHostRequest) Get ¶
func (v NullableReplaceHostRequest) Get() *ReplaceHostRequest
func (NullableReplaceHostRequest) IsSet ¶
func (v NullableReplaceHostRequest) IsSet() bool
func (NullableReplaceHostRequest) MarshalJSON ¶
func (v NullableReplaceHostRequest) MarshalJSON() ([]byte, error)
func (*NullableReplaceHostRequest) Set ¶
func (v *NullableReplaceHostRequest) Set(val *ReplaceHostRequest)
func (*NullableReplaceHostRequest) UnmarshalJSON ¶
func (v *NullableReplaceHostRequest) UnmarshalJSON(src []byte) error
func (*NullableReplaceHostRequest) Unset ¶
func (v *NullableReplaceHostRequest) Unset()
type NullableService ¶
type NullableService struct {
// contains filtered or unexported fields
}
func NewNullableService ¶
func NewNullableService(val *Service) *NullableService
func (NullableService) Get ¶
func (v NullableService) Get() *Service
func (NullableService) IsSet ¶
func (v NullableService) IsSet() bool
func (NullableService) MarshalJSON ¶
func (v NullableService) MarshalJSON() ([]byte, error)
func (*NullableService) Set ¶
func (v *NullableService) Set(val *Service)
func (*NullableService) UnmarshalJSON ¶
func (v *NullableService) UnmarshalJSON(src []byte) error
func (*NullableService) Unset ¶
func (v *NullableService) Unset()
type NullableServiceHostConfig ¶
type NullableServiceHostConfig struct {
// contains filtered or unexported fields
}
func NewNullableServiceHostConfig ¶
func NewNullableServiceHostConfig(val *ServiceHostConfig) *NullableServiceHostConfig
func (NullableServiceHostConfig) Get ¶
func (v NullableServiceHostConfig) Get() *ServiceHostConfig
func (NullableServiceHostConfig) IsSet ¶
func (v NullableServiceHostConfig) IsSet() bool
func (NullableServiceHostConfig) MarshalJSON ¶
func (v NullableServiceHostConfig) MarshalJSON() ([]byte, error)
func (*NullableServiceHostConfig) Set ¶
func (v *NullableServiceHostConfig) Set(val *ServiceHostConfig)
func (*NullableServiceHostConfig) UnmarshalJSON ¶
func (v *NullableServiceHostConfig) UnmarshalJSON(src []byte) error
func (*NullableServiceHostConfig) Unset ¶
func (v *NullableServiceHostConfig) Unset()
type NullableShortServiceStatus ¶
type NullableShortServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableShortServiceStatus ¶
func NewNullableShortServiceStatus(val *ShortServiceStatus) *NullableShortServiceStatus
func (NullableShortServiceStatus) Get ¶
func (v NullableShortServiceStatus) Get() *ShortServiceStatus
func (NullableShortServiceStatus) IsSet ¶
func (v NullableShortServiceStatus) IsSet() bool
func (NullableShortServiceStatus) MarshalJSON ¶
func (v NullableShortServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableShortServiceStatus) Set ¶
func (v *NullableShortServiceStatus) Set(val *ShortServiceStatus)
func (*NullableShortServiceStatus) UnmarshalJSON ¶
func (v *NullableShortServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableShortServiceStatus) Unset ¶
func (v *NullableShortServiceStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUnassignTagsRequest ¶
type NullableUnassignTagsRequest struct {
// contains filtered or unexported fields
}
func NewNullableUnassignTagsRequest ¶
func NewNullableUnassignTagsRequest(val *UnassignTagsRequest) *NullableUnassignTagsRequest
func (NullableUnassignTagsRequest) Get ¶
func (v NullableUnassignTagsRequest) Get() *UnassignTagsRequest
func (NullableUnassignTagsRequest) IsSet ¶
func (v NullableUnassignTagsRequest) IsSet() bool
func (NullableUnassignTagsRequest) MarshalJSON ¶
func (v NullableUnassignTagsRequest) MarshalJSON() ([]byte, error)
func (*NullableUnassignTagsRequest) Set ¶
func (v *NullableUnassignTagsRequest) Set(val *UnassignTagsRequest)
func (*NullableUnassignTagsRequest) UnmarshalJSON ¶
func (v *NullableUnassignTagsRequest) UnmarshalJSON(src []byte) error
func (*NullableUnassignTagsRequest) Unset ¶
func (v *NullableUnassignTagsRequest) Unset()
type NullableUpdateHostResponse ¶
type NullableUpdateHostResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateHostResponse ¶
func NewNullableUpdateHostResponse(val *UpdateHostResponse) *NullableUpdateHostResponse
func (NullableUpdateHostResponse) Get ¶
func (v NullableUpdateHostResponse) Get() *UpdateHostResponse
func (NullableUpdateHostResponse) IsSet ¶
func (v NullableUpdateHostResponse) IsSet() bool
func (NullableUpdateHostResponse) MarshalJSON ¶
func (v NullableUpdateHostResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateHostResponse) Set ¶
func (v *NullableUpdateHostResponse) Set(val *UpdateHostResponse)
func (*NullableUpdateHostResponse) UnmarshalJSON ¶
func (v *NullableUpdateHostResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateHostResponse) Unset ¶
func (v *NullableUpdateHostResponse) Unset()
type NullableUpdateServiceResponse ¶
type NullableUpdateServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateServiceResponse ¶
func NewNullableUpdateServiceResponse(val *UpdateServiceResponse) *NullableUpdateServiceResponse
func (NullableUpdateServiceResponse) Get ¶
func (v NullableUpdateServiceResponse) Get() *UpdateServiceResponse
func (NullableUpdateServiceResponse) IsSet ¶
func (v NullableUpdateServiceResponse) IsSet() bool
func (NullableUpdateServiceResponse) MarshalJSON ¶
func (v NullableUpdateServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateServiceResponse) Set ¶
func (v *NullableUpdateServiceResponse) Set(val *UpdateServiceResponse)
func (*NullableUpdateServiceResponse) UnmarshalJSON ¶
func (v *NullableUpdateServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateServiceResponse) Unset ¶
func (v *NullableUpdateServiceResponse) Unset()
type PoolInfo ¶
type PoolInfo struct { // Composite Status of the Pool that this resource belongs to (`online`, `degraded`, `error`, `unavailable`). CompositeStatus *string `json:"composite_status,omitempty"` // The resource identifier. PoolId *string `json:"pool_id,omitempty"` // Name of the Pool that this resource belongs to. PoolName *string `json:"pool_name,omitempty"` AdditionalProperties map[string]interface{} }
PoolInfo struct for PoolInfo
func NewPoolInfo ¶
func NewPoolInfo() *PoolInfo
NewPoolInfo instantiates a new PoolInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolInfoWithDefaults ¶
func NewPoolInfoWithDefaults() *PoolInfo
NewPoolInfoWithDefaults instantiates a new PoolInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolInfo) GetCompositeStatus ¶
GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.
func (*PoolInfo) GetCompositeStatusOk ¶
GetCompositeStatusOk returns a tuple with the CompositeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetPoolIdOk ¶
GetPoolIdOk returns a tuple with the PoolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetPoolName ¶
GetPoolName returns the PoolName field value if set, zero value otherwise.
func (*PoolInfo) GetPoolNameOk ¶
GetPoolNameOk returns a tuple with the PoolName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) HasCompositeStatus ¶
HasCompositeStatus returns a boolean if a field has been set.
func (*PoolInfo) HasPoolName ¶
HasPoolName returns a boolean if a field has been set.
func (PoolInfo) MarshalJSON ¶
func (*PoolInfo) SetCompositeStatus ¶
SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.
func (*PoolInfo) SetPoolId ¶
SetPoolId gets a reference to the given string and assigns it to the PoolId field.
func (*PoolInfo) SetPoolName ¶
SetPoolName gets a reference to the given string and assigns it to the PoolName field.
func (*PoolInfo) UnmarshalJSON ¶
type ReplaceHostRequest ¶
type ReplaceHostRequest struct { // The resource identifier. From *string `json:"from,omitempty"` // The resource identifier. To *string `json:"to,omitempty"` AdditionalProperties map[string]interface{} }
ReplaceHostRequest struct for ReplaceHostRequest
func NewReplaceHostRequest ¶
func NewReplaceHostRequest() *ReplaceHostRequest
NewReplaceHostRequest instantiates a new ReplaceHostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewReplaceHostRequestWithDefaults ¶
func NewReplaceHostRequestWithDefaults() *ReplaceHostRequest
NewReplaceHostRequestWithDefaults instantiates a new ReplaceHostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ReplaceHostRequest) GetFrom ¶
func (o *ReplaceHostRequest) GetFrom() string
GetFrom returns the From field value if set, zero value otherwise.
func (*ReplaceHostRequest) GetFromOk ¶
func (o *ReplaceHostRequest) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReplaceHostRequest) GetTo ¶
func (o *ReplaceHostRequest) GetTo() string
GetTo returns the To field value if set, zero value otherwise.
func (*ReplaceHostRequest) GetToOk ¶
func (o *ReplaceHostRequest) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReplaceHostRequest) HasFrom ¶
func (o *ReplaceHostRequest) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*ReplaceHostRequest) HasTo ¶
func (o *ReplaceHostRequest) HasTo() bool
HasTo returns a boolean if a field has been set.
func (ReplaceHostRequest) MarshalJSON ¶
func (o ReplaceHostRequest) MarshalJSON() ([]byte, error)
func (*ReplaceHostRequest) SetFrom ¶
func (o *ReplaceHostRequest) SetFrom(v string)
SetFrom gets a reference to the given string and assigns it to the From field.
func (*ReplaceHostRequest) SetTo ¶
func (o *ReplaceHostRequest) SetTo(v string)
SetTo gets a reference to the given string and assigns it to the To field.
func (ReplaceHostRequest) ToMap ¶
func (o ReplaceHostRequest) ToMap() (map[string]interface{}, error)
func (*ReplaceHostRequest) UnmarshalJSON ¶
func (o *ReplaceHostRequest) UnmarshalJSON(data []byte) (err error)
type Service ¶
type Service struct { // List of Host-specific configurations of this Service. Configs []ServiceHostConfig `json:"configs,omitempty"` // Timestamp of creation of Service. CreatedAt *time.Time `json:"created_at,omitempty"` // The description of the Service (optional). Description *string `json:"description,omitempty"` // The desired state of the Service. Should either be `\"start\"` or `\"stop\"`. DesiredState *string `json:"desired_state,omitempty"` // The desired version of the Service. DesiredVersion *string `json:"desired_version,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // List of interfaces on which this Service can operate. Note: The list can contain custom interface labels (Example: `[\"WAN\",\"LAN\",\"label1\",\"label2\"]`) InterfaceLabels []string `json:"interface_labels,omitempty"` // The name of the Service (unique). Name string `json:"name"` // The resource identifier. PoolId string `json:"pool_id"` // The type of the Service deployed on the Host (`dns`, `cdc`, etc.). ServiceType string `json:"service_type"` // Tags associated with this Service. Tags map[string]interface{} `json:"tags,omitempty"` // Timestamp of the latest update on Service. UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
Service Infrastructure Service
func NewService ¶
NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceWithDefaults ¶
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Service) GetConfigs ¶
func (o *Service) GetConfigs() []ServiceHostConfig
GetConfigs returns the Configs field value if set, zero value otherwise.
func (*Service) GetConfigsOk ¶
func (o *Service) GetConfigsOk() ([]ServiceHostConfig, bool)
GetConfigsOk returns a tuple with the Configs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Service) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Service) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetDesiredState ¶
GetDesiredState returns the DesiredState field value if set, zero value otherwise.
func (*Service) GetDesiredStateOk ¶
GetDesiredStateOk returns a tuple with the DesiredState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetDesiredVersion ¶
GetDesiredVersion returns the DesiredVersion field value if set, zero value otherwise.
func (*Service) GetDesiredVersionOk ¶
GetDesiredVersionOk returns a tuple with the DesiredVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetInterfaceLabels ¶
GetInterfaceLabels returns the InterfaceLabels field value if set, zero value otherwise.
func (*Service) GetInterfaceLabelsOk ¶
GetInterfaceLabelsOk returns a tuple with the InterfaceLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Service) GetPoolIdOk ¶
GetPoolIdOk returns a tuple with the PoolId field value and a boolean to check if the value has been set.
func (*Service) GetServiceType ¶
GetServiceType returns the ServiceType field value
func (*Service) GetServiceTypeOk ¶
GetServiceTypeOk returns a tuple with the ServiceType field value and a boolean to check if the value has been set.
func (*Service) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Service) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) HasConfigs ¶
HasConfigs returns a boolean if a field has been set.
func (*Service) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Service) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Service) HasDesiredState ¶
HasDesiredState returns a boolean if a field has been set.
func (*Service) HasDesiredVersion ¶
HasDesiredVersion returns a boolean if a field has been set.
func (*Service) HasInterfaceLabels ¶
HasInterfaceLabels returns a boolean if a field has been set.
func (*Service) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Service) MarshalJSON ¶
func (*Service) SetConfigs ¶
func (o *Service) SetConfigs(v []ServiceHostConfig)
SetConfigs gets a reference to the given []ServiceHostConfig and assigns it to the Configs field.
func (*Service) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Service) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Service) SetDesiredState ¶
SetDesiredState gets a reference to the given string and assigns it to the DesiredState field.
func (*Service) SetDesiredVersion ¶
SetDesiredVersion gets a reference to the given string and assigns it to the DesiredVersion field.
func (*Service) SetInterfaceLabels ¶
SetInterfaceLabels gets a reference to the given []string and assigns it to the InterfaceLabels field.
func (*Service) SetServiceType ¶
SetServiceType sets field value
func (*Service) SetTags ¶
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*Service) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Service) UnmarshalJSON ¶
type ServiceHostConfig ¶
type ServiceHostConfig struct { // The current version of the Service deployed on the Host. CurrentVersion *string `json:"current_version,omitempty"` // The field to carry any extra data specific to this configuration. ExtraData *string `json:"extra_data,omitempty"` // The resource identifier. HostId *string `json:"host_id,omitempty"` // The resource identifier. Id *string `json:"id,omitempty"` // The resource identifier. ServiceId *string `json:"service_id,omitempty"` // The type of the Service deployed on the Host (`dns`, `cdc`, etc.). ServiceType *string `json:"service_type,omitempty"` // The timestamp of the latest upgrade of the Host-specific Service configuration. UpgradedAt *time.Time `json:"upgraded_at,omitempty"` AdditionalProperties map[string]interface{} }
ServiceHostConfig ServiceHostConfig is the specific configuration for each Service deployed on a Host
func NewServiceHostConfig ¶
func NewServiceHostConfig() *ServiceHostConfig
NewServiceHostConfig instantiates a new ServiceHostConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceHostConfigWithDefaults ¶
func NewServiceHostConfigWithDefaults() *ServiceHostConfig
NewServiceHostConfigWithDefaults instantiates a new ServiceHostConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceHostConfig) GetCurrentVersion ¶
func (o *ServiceHostConfig) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.
func (*ServiceHostConfig) GetCurrentVersionOk ¶
func (o *ServiceHostConfig) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetExtraData ¶
func (o *ServiceHostConfig) GetExtraData() string
GetExtraData returns the ExtraData field value if set, zero value otherwise.
func (*ServiceHostConfig) GetExtraDataOk ¶
func (o *ServiceHostConfig) GetExtraDataOk() (*string, bool)
GetExtraDataOk returns a tuple with the ExtraData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetHostId ¶
func (o *ServiceHostConfig) GetHostId() string
GetHostId returns the HostId field value if set, zero value otherwise.
func (*ServiceHostConfig) GetHostIdOk ¶
func (o *ServiceHostConfig) GetHostIdOk() (*string, bool)
GetHostIdOk returns a tuple with the HostId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetId ¶
func (o *ServiceHostConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServiceHostConfig) GetIdOk ¶
func (o *ServiceHostConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetServiceId ¶
func (o *ServiceHostConfig) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*ServiceHostConfig) GetServiceIdOk ¶
func (o *ServiceHostConfig) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetServiceType ¶
func (o *ServiceHostConfig) GetServiceType() string
GetServiceType returns the ServiceType field value if set, zero value otherwise.
func (*ServiceHostConfig) GetServiceTypeOk ¶
func (o *ServiceHostConfig) GetServiceTypeOk() (*string, bool)
GetServiceTypeOk returns a tuple with the ServiceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) GetUpgradedAt ¶
func (o *ServiceHostConfig) GetUpgradedAt() time.Time
GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.
func (*ServiceHostConfig) GetUpgradedAtOk ¶
func (o *ServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)
GetUpgradedAtOk returns a tuple with the UpgradedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHostConfig) HasCurrentVersion ¶
func (o *ServiceHostConfig) HasCurrentVersion() bool
HasCurrentVersion returns a boolean if a field has been set.
func (*ServiceHostConfig) HasExtraData ¶
func (o *ServiceHostConfig) HasExtraData() bool
HasExtraData returns a boolean if a field has been set.
func (*ServiceHostConfig) HasHostId ¶
func (o *ServiceHostConfig) HasHostId() bool
HasHostId returns a boolean if a field has been set.
func (*ServiceHostConfig) HasId ¶
func (o *ServiceHostConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServiceHostConfig) HasServiceId ¶
func (o *ServiceHostConfig) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*ServiceHostConfig) HasServiceType ¶
func (o *ServiceHostConfig) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.
func (*ServiceHostConfig) HasUpgradedAt ¶
func (o *ServiceHostConfig) HasUpgradedAt() bool
HasUpgradedAt returns a boolean if a field has been set.
func (ServiceHostConfig) MarshalJSON ¶
func (o ServiceHostConfig) MarshalJSON() ([]byte, error)
func (*ServiceHostConfig) SetCurrentVersion ¶
func (o *ServiceHostConfig) SetCurrentVersion(v string)
SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.
func (*ServiceHostConfig) SetExtraData ¶
func (o *ServiceHostConfig) SetExtraData(v string)
SetExtraData gets a reference to the given string and assigns it to the ExtraData field.
func (*ServiceHostConfig) SetHostId ¶
func (o *ServiceHostConfig) SetHostId(v string)
SetHostId gets a reference to the given string and assigns it to the HostId field.
func (*ServiceHostConfig) SetId ¶
func (o *ServiceHostConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServiceHostConfig) SetServiceId ¶
func (o *ServiceHostConfig) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (*ServiceHostConfig) SetServiceType ¶
func (o *ServiceHostConfig) SetServiceType(v string)
SetServiceType gets a reference to the given string and assigns it to the ServiceType field.
func (*ServiceHostConfig) SetUpgradedAt ¶
func (o *ServiceHostConfig) SetUpgradedAt(v time.Time)
SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.
func (ServiceHostConfig) ToMap ¶
func (o ServiceHostConfig) ToMap() (map[string]interface{}, error)
func (*ServiceHostConfig) UnmarshalJSON ¶
func (o *ServiceHostConfig) UnmarshalJSON(data []byte) (err error)
type ServicesAPI ¶
type ServicesAPI interface { /* Applications List applications (Service types) for a particular account. Used in order to retrieve available applications (Service types) for a particular account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPIApplicationsRequest */ Applications(ctx context.Context) ServicesAPIApplicationsRequest // ApplicationsExecute executes the request // @return ApplicationsResponse ApplicationsExecute(r ServicesAPIApplicationsRequest) (*ApplicationsResponse, *http.Response, error) /* Create Create a Service resource. Validation: - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPICreateRequest */ Create(ctx context.Context) ServicesAPICreateRequest // CreateExecute executes the request // @return CreateServiceResponse CreateExecute(r ServicesAPICreateRequest) (*CreateServiceResponse, *http.Response, error) /* Delete Delete a Service resource. Validation: - "id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIDeleteRequest */ Delete(ctx context.Context, id string) ServicesAPIDeleteRequest // DeleteExecute executes the request DeleteExecute(r ServicesAPIDeleteRequest) (*http.Response, error) /* List List all the Service resources for an account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPIListRequest */ List(ctx context.Context) ServicesAPIListRequest // ListExecute executes the request // @return ListServiceResponse ListExecute(r ServicesAPIListRequest) (*ListServiceResponse, *http.Response, error) /* Read Read a Service resource. Validation: - "id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIReadRequest */ Read(ctx context.Context, id string) ServicesAPIReadRequest // ReadExecute executes the request // @return GetServiceResponse ReadExecute(r ServicesAPIReadRequest) (*GetServiceResponse, *http.Response, error) /* Update Update a Service resource. Validation: - "id" is required. - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIUpdateRequest */ Update(ctx context.Context, id string) ServicesAPIUpdateRequest // UpdateExecute executes the request // @return UpdateServiceResponse UpdateExecute(r ServicesAPIUpdateRequest) (*UpdateServiceResponse, *http.Response, error) }
type ServicesAPIApplicationsRequest ¶
type ServicesAPIApplicationsRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
func (ServicesAPIApplicationsRequest) AccountId ¶
func (r ServicesAPIApplicationsRequest) AccountId(accountId string) ServicesAPIApplicationsRequest
Account ID.
func (ServicesAPIApplicationsRequest) Execute ¶
func (r ServicesAPIApplicationsRequest) Execute() (*ApplicationsResponse, *http.Response, error)
type ServicesAPICreateRequest ¶
type ServicesAPICreateRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
func (ServicesAPICreateRequest) Body ¶
func (r ServicesAPICreateRequest) Body(body Service) ServicesAPICreateRequest
func (ServicesAPICreateRequest) Execute ¶
func (r ServicesAPICreateRequest) Execute() (*CreateServiceResponse, *http.Response, error)
type ServicesAPIDeleteRequest ¶
type ServicesAPIDeleteRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
type ServicesAPIListRequest ¶
type ServicesAPIListRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
func (ServicesAPIListRequest) Execute ¶
func (r ServicesAPIListRequest) Execute() (*ListServiceResponse, *http.Response, error)
func (ServicesAPIListRequest) Fields ¶
func (r ServicesAPIListRequest) Fields(fields string) ServicesAPIListRequest
A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.
func (ServicesAPIListRequest) Filter ¶
func (r ServicesAPIListRequest) Filter(filter string) ServicesAPIListRequest
A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |
func (ServicesAPIListRequest) Limit ¶
func (r ServicesAPIListRequest) Limit(limit int32) ServicesAPIListRequest
The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.
func (ServicesAPIListRequest) Offset ¶
func (r ServicesAPIListRequest) Offset(offset int32) ServicesAPIListRequest
The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.
func (ServicesAPIListRequest) OrderBy ¶
func (r ServicesAPIListRequest) OrderBy(orderBy string) ServicesAPIListRequest
A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.
func (ServicesAPIListRequest) PageToken ¶
func (r ServicesAPIListRequest) PageToken(pageToken string) ServicesAPIListRequest
The service-defined string used to identify a page of resources. A null value indicates the first page.
func (ServicesAPIListRequest) Tfilter ¶
func (r ServicesAPIListRequest) Tfilter(tfilter string) ServicesAPIListRequest
This parameter is used for filtering by tags.
func (ServicesAPIListRequest) TorderBy ¶
func (r ServicesAPIListRequest) TorderBy(torderBy string) ServicesAPIListRequest
This parameter is used for sorting by tags.
type ServicesAPIReadRequest ¶
type ServicesAPIReadRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
func (ServicesAPIReadRequest) Execute ¶
func (r ServicesAPIReadRequest) Execute() (*GetServiceResponse, *http.Response, error)
type ServicesAPIService ¶
ServicesAPIService ServicesAPI service
func (*ServicesAPIService) Applications ¶
func (a *ServicesAPIService) Applications(ctx context.Context) ServicesAPIApplicationsRequest
Applications List applications (Service types) for a particular account.
Used in order to retrieve available applications (Service types) for a particular account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPIApplicationsRequest
func (*ServicesAPIService) ApplicationsExecute ¶
func (a *ServicesAPIService) ApplicationsExecute(r ServicesAPIApplicationsRequest) (*ApplicationsResponse, *http.Response, error)
Execute executes the request
@return ApplicationsResponse
func (*ServicesAPIService) Create ¶
func (a *ServicesAPIService) Create(ctx context.Context) ServicesAPICreateRequest
Create Create a Service resource.
Validation: - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPICreateRequest
func (*ServicesAPIService) CreateExecute ¶
func (a *ServicesAPIService) CreateExecute(r ServicesAPICreateRequest) (*CreateServiceResponse, *http.Response, error)
Execute executes the request
@return CreateServiceResponse
func (*ServicesAPIService) Delete ¶
func (a *ServicesAPIService) Delete(ctx context.Context, id string) ServicesAPIDeleteRequest
Delete Delete a Service resource.
Validation: - "id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIDeleteRequest
func (*ServicesAPIService) DeleteExecute ¶
func (a *ServicesAPIService) DeleteExecute(r ServicesAPIDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ServicesAPIService) List ¶
func (a *ServicesAPIService) List(ctx context.Context) ServicesAPIListRequest
List List all the Service resources for an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ServicesAPIListRequest
func (*ServicesAPIService) ListExecute ¶
func (a *ServicesAPIService) ListExecute(r ServicesAPIListRequest) (*ListServiceResponse, *http.Response, error)
Execute executes the request
@return ListServiceResponse
func (*ServicesAPIService) Read ¶
func (a *ServicesAPIService) Read(ctx context.Context, id string) ServicesAPIReadRequest
Read Read a Service resource.
Validation: - "id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIReadRequest
func (*ServicesAPIService) ReadExecute ¶
func (a *ServicesAPIService) ReadExecute(r ServicesAPIReadRequest) (*GetServiceResponse, *http.Response, error)
Execute executes the request
@return GetServiceResponse
func (*ServicesAPIService) Update ¶
func (a *ServicesAPIService) Update(ctx context.Context, id string) ServicesAPIUpdateRequest
Update Update a Service resource.
Validation: - "id" is required. - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id An application specific resource identity of a resource @return ServicesAPIUpdateRequest
func (*ServicesAPIService) UpdateExecute ¶
func (a *ServicesAPIService) UpdateExecute(r ServicesAPIUpdateRequest) (*UpdateServiceResponse, *http.Response, error)
Execute executes the request
@return UpdateServiceResponse
type ServicesAPIUpdateRequest ¶
type ServicesAPIUpdateRequest struct { ApiService ServicesAPI // contains filtered or unexported fields }
func (ServicesAPIUpdateRequest) Body ¶
func (r ServicesAPIUpdateRequest) Body(body Service) ServicesAPIUpdateRequest
func (ServicesAPIUpdateRequest) Execute ¶
func (r ServicesAPIUpdateRequest) Execute() (*UpdateServiceResponse, *http.Response, error)
type ShortServiceStatus ¶
type ShortServiceStatus struct { // Status message text for the Service. Message *string `json:"message,omitempty"` // Status of the Service (`started`, `starting`, `stopping`, `stopped`, `error`). Status *string `json:"status,omitempty"` // Timestamp of the latest status update of Service. UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
ShortServiceStatus struct for ShortServiceStatus
func NewShortServiceStatus ¶
func NewShortServiceStatus() *ShortServiceStatus
NewShortServiceStatus instantiates a new ShortServiceStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShortServiceStatusWithDefaults ¶
func NewShortServiceStatusWithDefaults() *ShortServiceStatus
NewShortServiceStatusWithDefaults instantiates a new ShortServiceStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShortServiceStatus) GetMessage ¶
func (o *ShortServiceStatus) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ShortServiceStatus) GetMessageOk ¶
func (o *ShortServiceStatus) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShortServiceStatus) GetStatus ¶
func (o *ShortServiceStatus) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ShortServiceStatus) GetStatusOk ¶
func (o *ShortServiceStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShortServiceStatus) GetUpdatedAt ¶
func (o *ShortServiceStatus) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ShortServiceStatus) GetUpdatedAtOk ¶
func (o *ShortServiceStatus) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShortServiceStatus) HasMessage ¶
func (o *ShortServiceStatus) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ShortServiceStatus) HasStatus ¶
func (o *ShortServiceStatus) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ShortServiceStatus) HasUpdatedAt ¶
func (o *ShortServiceStatus) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ShortServiceStatus) MarshalJSON ¶
func (o ShortServiceStatus) MarshalJSON() ([]byte, error)
func (*ShortServiceStatus) SetMessage ¶
func (o *ShortServiceStatus) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ShortServiceStatus) SetStatus ¶
func (o *ShortServiceStatus) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*ShortServiceStatus) SetUpdatedAt ¶
func (o *ShortServiceStatus) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ShortServiceStatus) ToMap ¶
func (o ShortServiceStatus) ToMap() (map[string]interface{}, error)
func (*ShortServiceStatus) UnmarshalJSON ¶
func (o *ShortServiceStatus) UnmarshalJSON(data []byte) (err error)
type UnassignTagsRequest ¶
type UnassignTagsRequest struct { // The resource identifier. Ids []string `json:"ids,omitempty"` Keys []string `json:"keys,omitempty"` AdditionalProperties map[string]interface{} }
UnassignTagsRequest struct for UnassignTagsRequest
func NewUnassignTagsRequest ¶
func NewUnassignTagsRequest() *UnassignTagsRequest
NewUnassignTagsRequest instantiates a new UnassignTagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUnassignTagsRequestWithDefaults ¶
func NewUnassignTagsRequestWithDefaults() *UnassignTagsRequest
NewUnassignTagsRequestWithDefaults instantiates a new UnassignTagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UnassignTagsRequest) GetIds ¶
func (o *UnassignTagsRequest) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*UnassignTagsRequest) GetIdsOk ¶
func (o *UnassignTagsRequest) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnassignTagsRequest) GetKeys ¶
func (o *UnassignTagsRequest) GetKeys() []string
GetKeys returns the Keys field value if set, zero value otherwise.
func (*UnassignTagsRequest) GetKeysOk ¶
func (o *UnassignTagsRequest) GetKeysOk() ([]string, bool)
GetKeysOk returns a tuple with the Keys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnassignTagsRequest) HasIds ¶
func (o *UnassignTagsRequest) HasIds() bool
HasIds returns a boolean if a field has been set.
func (*UnassignTagsRequest) HasKeys ¶
func (o *UnassignTagsRequest) HasKeys() bool
HasKeys returns a boolean if a field has been set.
func (UnassignTagsRequest) MarshalJSON ¶
func (o UnassignTagsRequest) MarshalJSON() ([]byte, error)
func (*UnassignTagsRequest) SetIds ¶
func (o *UnassignTagsRequest) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (*UnassignTagsRequest) SetKeys ¶
func (o *UnassignTagsRequest) SetKeys(v []string)
SetKeys gets a reference to the given []string and assigns it to the Keys field.
func (UnassignTagsRequest) ToMap ¶
func (o UnassignTagsRequest) ToMap() (map[string]interface{}, error)
func (*UnassignTagsRequest) UnmarshalJSON ¶
func (o *UnassignTagsRequest) UnmarshalJSON(data []byte) (err error)
type UpdateHostResponse ¶
type UpdateHostResponse struct { Result *Host `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
UpdateHostResponse struct for UpdateHostResponse
func NewUpdateHostResponse ¶
func NewUpdateHostResponse() *UpdateHostResponse
NewUpdateHostResponse instantiates a new UpdateHostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateHostResponseWithDefaults ¶
func NewUpdateHostResponseWithDefaults() *UpdateHostResponse
NewUpdateHostResponseWithDefaults instantiates a new UpdateHostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateHostResponse) GetResult ¶
func (o *UpdateHostResponse) GetResult() Host
GetResult returns the Result field value if set, zero value otherwise.
func (*UpdateHostResponse) GetResultOk ¶
func (o *UpdateHostResponse) GetResultOk() (*Host, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateHostResponse) HasResult ¶
func (o *UpdateHostResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (UpdateHostResponse) MarshalJSON ¶
func (o UpdateHostResponse) MarshalJSON() ([]byte, error)
func (*UpdateHostResponse) SetResult ¶
func (o *UpdateHostResponse) SetResult(v Host)
SetResult gets a reference to the given Host and assigns it to the Result field.
func (UpdateHostResponse) ToMap ¶
func (o UpdateHostResponse) ToMap() (map[string]interface{}, error)
func (*UpdateHostResponse) UnmarshalJSON ¶
func (o *UpdateHostResponse) UnmarshalJSON(data []byte) (err error)
type UpdateServiceResponse ¶
type UpdateServiceResponse struct { Result *Service `json:"result,omitempty"` AdditionalProperties map[string]interface{} }
UpdateServiceResponse struct for UpdateServiceResponse
func NewUpdateServiceResponse ¶
func NewUpdateServiceResponse() *UpdateServiceResponse
NewUpdateServiceResponse instantiates a new UpdateServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateServiceResponseWithDefaults ¶
func NewUpdateServiceResponseWithDefaults() *UpdateServiceResponse
NewUpdateServiceResponseWithDefaults instantiates a new UpdateServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateServiceResponse) GetResult ¶
func (o *UpdateServiceResponse) GetResult() Service
GetResult returns the Result field value if set, zero value otherwise.
func (*UpdateServiceResponse) GetResultOk ¶
func (o *UpdateServiceResponse) GetResultOk() (*Service, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServiceResponse) HasResult ¶
func (o *UpdateServiceResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (UpdateServiceResponse) MarshalJSON ¶
func (o UpdateServiceResponse) MarshalJSON() ([]byte, error)
func (*UpdateServiceResponse) SetResult ¶
func (o *UpdateServiceResponse) SetResult(v Service)
SetResult gets a reference to the given Service and assigns it to the Result field.
func (UpdateServiceResponse) ToMap ¶
func (o UpdateServiceResponse) ToMap() (map[string]interface{}, error)
func (*UpdateServiceResponse) UnmarshalJSON ¶
func (o *UpdateServiceResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_detail.go
- api_hosts.go
- api_services.go
- client.go
- model_api_page_info.go
- model_applications.go
- model_applications_response.go
- model_assign_tags_request.go
- model_create_host_response.go
- model_create_service_response.go
- model_detail_host.go
- model_detail_host_service_config.go
- model_detail_location.go
- model_detail_service.go
- model_detail_service_host.go
- model_detail_service_host_config.go
- model_disconnect_request.go
- model_get_host_response.go
- model_get_service_response.go
- model_host.go
- model_list_detail_hosts_response.go
- model_list_detail_services_response.go
- model_list_host_response.go
- model_list_service_response.go
- model_pool_info.go
- model_replace_host_request.go
- model_service.go
- model_service_host_config.go
- model_short_service_status.go
- model_unassign_tags_request.go
- model_update_host_response.go
- model_update_service_response.go
- utils.go