Documentation
¶
Index ¶
- Constants
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
- func IsNil(i interface{}) bool
- func IsZero(v interface{}) bool
- type APIClient
- type APIGatewaysApiService
- func (a *APIGatewaysApiService) ApigatewaysDelete(ctx _context.Context, apigatewayId string) ApiApigatewaysDeleteRequest
- func (a *APIGatewaysApiService) ApigatewaysDeleteExecute(r ApiApigatewaysDeleteRequest) (*shared.APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysFindById(ctx _context.Context, apigatewayId string) ApiApigatewaysFindByIdRequest
- func (a *APIGatewaysApiService) ApigatewaysFindByIdExecute(r ApiApigatewaysFindByIdRequest) (GatewayRead, *shared.APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysGet(ctx _context.Context) ApiApigatewaysGetRequest
- func (a *APIGatewaysApiService) ApigatewaysGetExecute(r ApiApigatewaysGetRequest) (GatewayReadList, *shared.APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysPost(ctx _context.Context) ApiApigatewaysPostRequest
- func (a *APIGatewaysApiService) ApigatewaysPostExecute(r ApiApigatewaysPostRequest) (GatewayRead, *shared.APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysPut(ctx _context.Context, apigatewayId string) ApiApigatewaysPutRequest
- func (a *APIGatewaysApiService) ApigatewaysPutExecute(r ApiApigatewaysPutRequest) (GatewayRead, *shared.APIResponse, error)
- type ApiApigatewaysDeleteRequest
- type ApiApigatewaysFindByIdRequest
- type ApiApigatewaysGetRequest
- func (r ApiApigatewaysGetRequest) Execute() (GatewayReadList, *shared.APIResponse, error)
- func (r ApiApigatewaysGetRequest) Limit(limit int32) ApiApigatewaysGetRequest
- func (r ApiApigatewaysGetRequest) Offset(offset int32) ApiApigatewaysGetRequest
- func (r ApiApigatewaysGetRequest) OrderBy(orderBy string) ApiApigatewaysGetRequest
- type ApiApigatewaysPostRequest
- type ApiApigatewaysPutRequest
- type ApiApigatewaysRoutesDeleteRequest
- type ApiApigatewaysRoutesFindByIdRequest
- type ApiApigatewaysRoutesGetRequest
- func (r ApiApigatewaysRoutesGetRequest) Execute() (RouteReadList, *shared.APIResponse, error)
- func (r ApiApigatewaysRoutesGetRequest) Limit(limit int32) ApiApigatewaysRoutesGetRequest
- func (r ApiApigatewaysRoutesGetRequest) Offset(offset int32) ApiApigatewaysRoutesGetRequest
- func (r ApiApigatewaysRoutesGetRequest) OrderBy(orderBy string) ApiApigatewaysRoutesGetRequest
- type ApiApigatewaysRoutesPostRequest
- type ApiApigatewaysRoutesPutRequest
- type Error
- func (o *Error) GetHttpStatus() int32
- func (o *Error) GetHttpStatusOk() (*int32, bool)
- func (o *Error) GetMessages() []ErrorMessages
- func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)
- func (o *Error) HasHttpStatus() bool
- func (o *Error) HasMessages() bool
- func (o *Error) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- func (o Error) ToMap() (map[string]interface{}, error)
- type ErrorMessages
- func (o *ErrorMessages) GetErrorCode() string
- func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessages) GetMessage() string
- func (o *ErrorMessages) GetMessageOk() (*string, bool)
- func (o *ErrorMessages) HasErrorCode() bool
- func (o *ErrorMessages) HasMessage() bool
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- func (o ErrorMessages) ToMap() (map[string]interface{}, error)
- type Gateway
- func (o *Gateway) GetCustomDomains() []GatewayCustomDomains
- func (o *Gateway) GetCustomDomainsOk() ([]GatewayCustomDomains, bool)
- func (o *Gateway) GetLogs() bool
- func (o *Gateway) GetLogsOk() (*bool, bool)
- func (o *Gateway) GetMetrics() bool
- func (o *Gateway) GetMetricsOk() (*bool, bool)
- func (o *Gateway) GetName() string
- func (o *Gateway) GetNameOk() (*string, bool)
- func (o *Gateway) HasCustomDomains() bool
- func (o *Gateway) HasLogs() bool
- func (o *Gateway) HasMetrics() bool
- func (o *Gateway) SetCustomDomains(v []GatewayCustomDomains)
- func (o *Gateway) SetLogs(v bool)
- func (o *Gateway) SetMetrics(v bool)
- func (o *Gateway) SetName(v string)
- func (o Gateway) ToMap() (map[string]interface{}, error)
- type GatewayCreate
- func (o *GatewayCreate) GetMetadata() map[string]interface{}
- func (o *GatewayCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *GatewayCreate) GetProperties() Gateway
- func (o *GatewayCreate) GetPropertiesOk() (*Gateway, bool)
- func (o *GatewayCreate) HasMetadata() bool
- func (o *GatewayCreate) SetMetadata(v map[string]interface{})
- func (o *GatewayCreate) SetProperties(v Gateway)
- func (o GatewayCreate) ToMap() (map[string]interface{}, error)
- type GatewayCustomDomains
- func (o *GatewayCustomDomains) GetCertificateId() string
- func (o *GatewayCustomDomains) GetCertificateIdOk() (*string, bool)
- func (o *GatewayCustomDomains) GetName() string
- func (o *GatewayCustomDomains) GetNameOk() (*string, bool)
- func (o *GatewayCustomDomains) HasCertificateId() bool
- func (o *GatewayCustomDomains) HasName() bool
- func (o *GatewayCustomDomains) SetCertificateId(v string)
- func (o *GatewayCustomDomains) SetName(v string)
- func (o GatewayCustomDomains) ToMap() (map[string]interface{}, error)
- type GatewayEnsure
- func (o *GatewayEnsure) GetId() string
- func (o *GatewayEnsure) GetIdOk() (*string, bool)
- func (o *GatewayEnsure) GetMetadata() map[string]interface{}
- func (o *GatewayEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *GatewayEnsure) GetProperties() Gateway
- func (o *GatewayEnsure) GetPropertiesOk() (*Gateway, bool)
- func (o *GatewayEnsure) HasMetadata() bool
- func (o *GatewayEnsure) SetId(v string)
- func (o *GatewayEnsure) SetMetadata(v map[string]interface{})
- func (o *GatewayEnsure) SetProperties(v Gateway)
- func (o GatewayEnsure) ToMap() (map[string]interface{}, error)
- type GatewayRead
- func (o *GatewayRead) GetHref() string
- func (o *GatewayRead) GetHrefOk() (*string, bool)
- func (o *GatewayRead) GetId() string
- func (o *GatewayRead) GetIdOk() (*string, bool)
- func (o *GatewayRead) GetMetadata() MetadataWithEndpoint
- func (o *GatewayRead) GetMetadataOk() (*MetadataWithEndpoint, bool)
- func (o *GatewayRead) GetProperties() Gateway
- func (o *GatewayRead) GetPropertiesOk() (*Gateway, bool)
- func (o *GatewayRead) GetType() string
- func (o *GatewayRead) GetTypeOk() (*string, bool)
- func (o *GatewayRead) SetHref(v string)
- func (o *GatewayRead) SetId(v string)
- func (o *GatewayRead) SetMetadata(v MetadataWithEndpoint)
- func (o *GatewayRead) SetProperties(v Gateway)
- func (o *GatewayRead) SetType(v string)
- func (o GatewayRead) ToMap() (map[string]interface{}, error)
- type GatewayReadList
- func (o *GatewayReadList) GetHref() string
- func (o *GatewayReadList) GetHrefOk() (*string, bool)
- func (o *GatewayReadList) GetId() string
- func (o *GatewayReadList) GetIdOk() (*string, bool)
- func (o *GatewayReadList) GetItems() []GatewayRead
- func (o *GatewayReadList) GetItemsOk() ([]GatewayRead, bool)
- func (o *GatewayReadList) GetLimit() int32
- func (o *GatewayReadList) GetLimitOk() (*int32, bool)
- func (o *GatewayReadList) GetLinks() Links
- func (o *GatewayReadList) GetLinksOk() (*Links, bool)
- func (o *GatewayReadList) GetOffset() int32
- func (o *GatewayReadList) GetOffsetOk() (*int32, bool)
- func (o *GatewayReadList) GetType() string
- func (o *GatewayReadList) GetTypeOk() (*string, bool)
- func (o *GatewayReadList) HasItems() bool
- func (o *GatewayReadList) SetHref(v string)
- func (o *GatewayReadList) SetId(v string)
- func (o *GatewayReadList) SetItems(v []GatewayRead)
- func (o *GatewayReadList) SetLimit(v int32)
- func (o *GatewayReadList) SetLinks(v Links)
- func (o *GatewayReadList) SetOffset(v int32)
- func (o *GatewayReadList) SetType(v string)
- func (o GatewayReadList) ToMap() (map[string]interface{}, error)
- type GatewayReadListAllOf
- func (o *GatewayReadListAllOf) GetHref() string
- func (o *GatewayReadListAllOf) GetHrefOk() (*string, bool)
- func (o *GatewayReadListAllOf) GetId() string
- func (o *GatewayReadListAllOf) GetIdOk() (*string, bool)
- func (o *GatewayReadListAllOf) GetItems() []GatewayRead
- func (o *GatewayReadListAllOf) GetItemsOk() ([]GatewayRead, bool)
- func (o *GatewayReadListAllOf) GetType() string
- func (o *GatewayReadListAllOf) GetTypeOk() (*string, bool)
- func (o *GatewayReadListAllOf) HasItems() bool
- func (o *GatewayReadListAllOf) SetHref(v string)
- func (o *GatewayReadListAllOf) SetId(v string)
- func (o *GatewayReadListAllOf) SetItems(v []GatewayRead)
- func (o *GatewayReadListAllOf) SetType(v string)
- func (o GatewayReadListAllOf) ToMap() (map[string]interface{}, error)
- type IonosTime
- type Links
- func (o *Links) GetNext() string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrev() string
- func (o *Links) GetPrevOk() (*string, bool)
- func (o *Links) GetSelf() string
- func (o *Links) GetSelfOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrev() bool
- func (o *Links) HasSelf() bool
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- func (o Links) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Metadata
- func (o *Metadata) GetCreatedBy() string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedBy() string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetResourceURN() string
- func (o *Metadata) GetResourceURNOk() (*string, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasResourceURN() bool
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetResourceURN(v string)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- type MetadataWithEndpoint
- func (o *MetadataWithEndpoint) GetCreatedBy() string
- func (o *MetadataWithEndpoint) GetCreatedByOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetCreatedByUserId() string
- func (o *MetadataWithEndpoint) GetCreatedByUserIdOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetCreatedDate() time.Time
- func (o *MetadataWithEndpoint) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithEndpoint) GetLastModifiedBy() string
- func (o *MetadataWithEndpoint) GetLastModifiedByOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetLastModifiedByUserId() string
- func (o *MetadataWithEndpoint) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetLastModifiedDate() time.Time
- func (o *MetadataWithEndpoint) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithEndpoint) GetPublicEndpoint() string
- func (o *MetadataWithEndpoint) GetPublicEndpointOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetResourceURN() string
- func (o *MetadataWithEndpoint) GetResourceURNOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetStatus() string
- func (o *MetadataWithEndpoint) GetStatusMessage() string
- func (o *MetadataWithEndpoint) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithEndpoint) GetStatusOk() (*string, bool)
- func (o *MetadataWithEndpoint) HasCreatedBy() bool
- func (o *MetadataWithEndpoint) HasCreatedByUserId() bool
- func (o *MetadataWithEndpoint) HasCreatedDate() bool
- func (o *MetadataWithEndpoint) HasLastModifiedBy() bool
- func (o *MetadataWithEndpoint) HasLastModifiedByUserId() bool
- func (o *MetadataWithEndpoint) HasLastModifiedDate() bool
- func (o *MetadataWithEndpoint) HasResourceURN() bool
- func (o *MetadataWithEndpoint) HasStatusMessage() bool
- func (o *MetadataWithEndpoint) SetCreatedBy(v string)
- func (o *MetadataWithEndpoint) SetCreatedByUserId(v string)
- func (o *MetadataWithEndpoint) SetCreatedDate(v time.Time)
- func (o *MetadataWithEndpoint) SetLastModifiedBy(v string)
- func (o *MetadataWithEndpoint) SetLastModifiedByUserId(v string)
- func (o *MetadataWithEndpoint) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithEndpoint) SetPublicEndpoint(v string)
- func (o *MetadataWithEndpoint) SetResourceURN(v string)
- func (o *MetadataWithEndpoint) SetStatus(v string)
- func (o *MetadataWithEndpoint) SetStatusMessage(v string)
- func (o MetadataWithEndpoint) ToMap() (map[string]interface{}, error)
- type MetadataWithEndpointAllOf
- type MetadataWithStatus
- func (o *MetadataWithStatus) GetCreatedBy() string
- func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)
- func (o *MetadataWithStatus) GetCreatedByUserId() string
- func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)
- func (o *MetadataWithStatus) GetCreatedDate() time.Time
- func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithStatus) GetLastModifiedBy() string
- func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)
- func (o *MetadataWithStatus) GetLastModifiedByUserId() string
- func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *MetadataWithStatus) GetLastModifiedDate() time.Time
- func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithStatus) GetResourceURN() string
- func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)
- func (o *MetadataWithStatus) GetStatus() string
- func (o *MetadataWithStatus) GetStatusMessage() string
- func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithStatus) GetStatusOk() (*string, bool)
- func (o *MetadataWithStatus) HasCreatedBy() bool
- func (o *MetadataWithStatus) HasCreatedByUserId() bool
- func (o *MetadataWithStatus) HasCreatedDate() bool
- func (o *MetadataWithStatus) HasLastModifiedBy() bool
- func (o *MetadataWithStatus) HasLastModifiedByUserId() bool
- func (o *MetadataWithStatus) HasLastModifiedDate() bool
- func (o *MetadataWithStatus) HasResourceURN() bool
- func (o *MetadataWithStatus) HasStatusMessage() bool
- func (o *MetadataWithStatus) SetCreatedBy(v string)
- func (o *MetadataWithStatus) SetCreatedByUserId(v string)
- func (o *MetadataWithStatus) SetCreatedDate(v time.Time)
- func (o *MetadataWithStatus) SetLastModifiedBy(v string)
- func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)
- func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithStatus) SetResourceURN(v string)
- func (o *MetadataWithStatus) SetStatus(v string)
- func (o *MetadataWithStatus) SetStatusMessage(v string)
- func (o MetadataWithStatus) ToMap() (map[string]interface{}, error)
- type MetadataWithStatusAllOf
- func (o *MetadataWithStatusAllOf) GetStatus() string
- func (o *MetadataWithStatusAllOf) GetStatusMessage() string
- func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithStatusAllOf) GetStatusOk() (*string, bool)
- func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
- func (o *MetadataWithStatusAllOf) SetStatus(v string)
- func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
- func (o MetadataWithStatusAllOf) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableError
- type NullableErrorMessages
- func (v NullableErrorMessages) Get() *ErrorMessages
- func (v NullableErrorMessages) IsSet() bool
- func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessages) Set(val *ErrorMessages)
- func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessages) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGateway
- type NullableGatewayCreate
- func (v NullableGatewayCreate) Get() *GatewayCreate
- func (v NullableGatewayCreate) IsSet() bool
- func (v NullableGatewayCreate) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayCreate) Set(val *GatewayCreate)
- func (v *NullableGatewayCreate) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayCreate) Unset()
- type NullableGatewayCustomDomains
- func (v NullableGatewayCustomDomains) Get() *GatewayCustomDomains
- func (v NullableGatewayCustomDomains) IsSet() bool
- func (v NullableGatewayCustomDomains) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayCustomDomains) Set(val *GatewayCustomDomains)
- func (v *NullableGatewayCustomDomains) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayCustomDomains) Unset()
- type NullableGatewayEnsure
- func (v NullableGatewayEnsure) Get() *GatewayEnsure
- func (v NullableGatewayEnsure) IsSet() bool
- func (v NullableGatewayEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayEnsure) Set(val *GatewayEnsure)
- func (v *NullableGatewayEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayEnsure) Unset()
- type NullableGatewayRead
- func (v NullableGatewayRead) Get() *GatewayRead
- func (v NullableGatewayRead) IsSet() bool
- func (v NullableGatewayRead) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayRead) Set(val *GatewayRead)
- func (v *NullableGatewayRead) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayRead) Unset()
- type NullableGatewayReadList
- func (v NullableGatewayReadList) Get() *GatewayReadList
- func (v NullableGatewayReadList) IsSet() bool
- func (v NullableGatewayReadList) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayReadList) Set(val *GatewayReadList)
- func (v *NullableGatewayReadList) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayReadList) Unset()
- type NullableGatewayReadListAllOf
- func (v NullableGatewayReadListAllOf) Get() *GatewayReadListAllOf
- func (v NullableGatewayReadListAllOf) IsSet() bool
- func (v NullableGatewayReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayReadListAllOf) Set(val *GatewayReadListAllOf)
- func (v *NullableGatewayReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayReadListAllOf) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIonosTime
- type NullableLinks
- type NullableMetadata
- type NullableMetadataWithEndpoint
- func (v NullableMetadataWithEndpoint) Get() *MetadataWithEndpoint
- func (v NullableMetadataWithEndpoint) IsSet() bool
- func (v NullableMetadataWithEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithEndpoint) Set(val *MetadataWithEndpoint)
- func (v *NullableMetadataWithEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithEndpoint) Unset()
- type NullableMetadataWithEndpointAllOf
- func (v NullableMetadataWithEndpointAllOf) Get() *MetadataWithEndpointAllOf
- func (v NullableMetadataWithEndpointAllOf) IsSet() bool
- func (v NullableMetadataWithEndpointAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithEndpointAllOf) Set(val *MetadataWithEndpointAllOf)
- func (v *NullableMetadataWithEndpointAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithEndpointAllOf) Unset()
- type NullableMetadataWithStatus
- func (v NullableMetadataWithStatus) Get() *MetadataWithStatus
- func (v NullableMetadataWithStatus) IsSet() bool
- func (v NullableMetadataWithStatus) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStatus) Set(val *MetadataWithStatus)
- func (v *NullableMetadataWithStatus) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStatus) Unset()
- type NullableMetadataWithStatusAllOf
- func (v NullableMetadataWithStatusAllOf) Get() *MetadataWithStatusAllOf
- func (v NullableMetadataWithStatusAllOf) IsSet() bool
- func (v NullableMetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStatusAllOf) Set(val *MetadataWithStatusAllOf)
- func (v *NullableMetadataWithStatusAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStatusAllOf) Unset()
- type NullablePagination
- type NullableRoute
- type NullableRouteCreate
- func (v NullableRouteCreate) Get() *RouteCreate
- func (v NullableRouteCreate) IsSet() bool
- func (v NullableRouteCreate) MarshalJSON() ([]byte, error)
- func (v *NullableRouteCreate) Set(val *RouteCreate)
- func (v *NullableRouteCreate) UnmarshalJSON(src []byte) error
- func (v *NullableRouteCreate) Unset()
- type NullableRouteEnsure
- func (v NullableRouteEnsure) Get() *RouteEnsure
- func (v NullableRouteEnsure) IsSet() bool
- func (v NullableRouteEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableRouteEnsure) Set(val *RouteEnsure)
- func (v *NullableRouteEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableRouteEnsure) Unset()
- type NullableRouteRead
- type NullableRouteReadList
- func (v NullableRouteReadList) Get() *RouteReadList
- func (v NullableRouteReadList) IsSet() bool
- func (v NullableRouteReadList) MarshalJSON() ([]byte, error)
- func (v *NullableRouteReadList) Set(val *RouteReadList)
- func (v *NullableRouteReadList) UnmarshalJSON(src []byte) error
- func (v *NullableRouteReadList) Unset()
- type NullableRouteReadListAllOf
- func (v NullableRouteReadListAllOf) Get() *RouteReadListAllOf
- func (v NullableRouteReadListAllOf) IsSet() bool
- func (v NullableRouteReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableRouteReadListAllOf) Set(val *RouteReadListAllOf)
- func (v *NullableRouteReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableRouteReadListAllOf) Unset()
- type NullableRouteUpstreams
- func (v NullableRouteUpstreams) Get() *RouteUpstreams
- func (v NullableRouteUpstreams) IsSet() bool
- func (v NullableRouteUpstreams) MarshalJSON() ([]byte, error)
- func (v *NullableRouteUpstreams) Set(val *RouteUpstreams)
- func (v *NullableRouteUpstreams) UnmarshalJSON(src []byte) error
- func (v *NullableRouteUpstreams) Unset()
- type NullableString
- type NullableTime
- type Pagination
- func (o *Pagination) GetLimit() int32
- func (o *Pagination) GetLimitOk() (*int32, bool)
- func (o *Pagination) GetLinks() Links
- func (o *Pagination) GetLinksOk() (*Links, bool)
- func (o *Pagination) GetOffset() int32
- func (o *Pagination) GetOffsetOk() (*int32, bool)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v Links)
- func (o *Pagination) SetOffset(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- type Route
- func (o *Route) GetMethods() []string
- func (o *Route) GetMethodsOk() ([]string, bool)
- func (o *Route) GetName() string
- func (o *Route) GetNameOk() (*string, bool)
- func (o *Route) GetPaths() []string
- func (o *Route) GetPathsOk() ([]string, bool)
- func (o *Route) GetType() string
- func (o *Route) GetTypeOk() (*string, bool)
- func (o *Route) GetUpstreams() []RouteUpstreams
- func (o *Route) GetUpstreamsOk() ([]RouteUpstreams, bool)
- func (o *Route) GetWebsocket() bool
- func (o *Route) GetWebsocketOk() (*bool, bool)
- func (o *Route) HasWebsocket() bool
- func (o *Route) SetMethods(v []string)
- func (o *Route) SetName(v string)
- func (o *Route) SetPaths(v []string)
- func (o *Route) SetType(v string)
- func (o *Route) SetUpstreams(v []RouteUpstreams)
- func (o *Route) SetWebsocket(v bool)
- func (o Route) ToMap() (map[string]interface{}, error)
- type RouteCreate
- func (o *RouteCreate) GetMetadata() map[string]interface{}
- func (o *RouteCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *RouteCreate) GetProperties() Route
- func (o *RouteCreate) GetPropertiesOk() (*Route, bool)
- func (o *RouteCreate) HasMetadata() bool
- func (o *RouteCreate) SetMetadata(v map[string]interface{})
- func (o *RouteCreate) SetProperties(v Route)
- func (o RouteCreate) ToMap() (map[string]interface{}, error)
- type RouteEnsure
- func (o *RouteEnsure) GetId() string
- func (o *RouteEnsure) GetIdOk() (*string, bool)
- func (o *RouteEnsure) GetMetadata() map[string]interface{}
- func (o *RouteEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *RouteEnsure) GetProperties() Route
- func (o *RouteEnsure) GetPropertiesOk() (*Route, bool)
- func (o *RouteEnsure) HasMetadata() bool
- func (o *RouteEnsure) SetId(v string)
- func (o *RouteEnsure) SetMetadata(v map[string]interface{})
- func (o *RouteEnsure) SetProperties(v Route)
- func (o RouteEnsure) ToMap() (map[string]interface{}, error)
- type RouteRead
- func (o *RouteRead) GetHref() string
- func (o *RouteRead) GetHrefOk() (*string, bool)
- func (o *RouteRead) GetId() string
- func (o *RouteRead) GetIdOk() (*string, bool)
- func (o *RouteRead) GetMetadata() MetadataWithEndpoint
- func (o *RouteRead) GetMetadataOk() (*MetadataWithEndpoint, bool)
- func (o *RouteRead) GetProperties() Route
- func (o *RouteRead) GetPropertiesOk() (*Route, bool)
- func (o *RouteRead) GetType() string
- func (o *RouteRead) GetTypeOk() (*string, bool)
- func (o *RouteRead) SetHref(v string)
- func (o *RouteRead) SetId(v string)
- func (o *RouteRead) SetMetadata(v MetadataWithEndpoint)
- func (o *RouteRead) SetProperties(v Route)
- func (o *RouteRead) SetType(v string)
- func (o RouteRead) ToMap() (map[string]interface{}, error)
- type RouteReadList
- func (o *RouteReadList) GetHref() string
- func (o *RouteReadList) GetHrefOk() (*string, bool)
- func (o *RouteReadList) GetId() string
- func (o *RouteReadList) GetIdOk() (*string, bool)
- func (o *RouteReadList) GetItems() []RouteRead
- func (o *RouteReadList) GetItemsOk() ([]RouteRead, bool)
- func (o *RouteReadList) GetLimit() int32
- func (o *RouteReadList) GetLimitOk() (*int32, bool)
- func (o *RouteReadList) GetLinks() Links
- func (o *RouteReadList) GetLinksOk() (*Links, bool)
- func (o *RouteReadList) GetOffset() int32
- func (o *RouteReadList) GetOffsetOk() (*int32, bool)
- func (o *RouteReadList) GetType() string
- func (o *RouteReadList) GetTypeOk() (*string, bool)
- func (o *RouteReadList) HasItems() bool
- func (o *RouteReadList) SetHref(v string)
- func (o *RouteReadList) SetId(v string)
- func (o *RouteReadList) SetItems(v []RouteRead)
- func (o *RouteReadList) SetLimit(v int32)
- func (o *RouteReadList) SetLinks(v Links)
- func (o *RouteReadList) SetOffset(v int32)
- func (o *RouteReadList) SetType(v string)
- func (o RouteReadList) ToMap() (map[string]interface{}, error)
- type RouteReadListAllOf
- func (o *RouteReadListAllOf) GetHref() string
- func (o *RouteReadListAllOf) GetHrefOk() (*string, bool)
- func (o *RouteReadListAllOf) GetId() string
- func (o *RouteReadListAllOf) GetIdOk() (*string, bool)
- func (o *RouteReadListAllOf) GetItems() []RouteRead
- func (o *RouteReadListAllOf) GetItemsOk() ([]RouteRead, bool)
- func (o *RouteReadListAllOf) GetType() string
- func (o *RouteReadListAllOf) GetTypeOk() (*string, bool)
- func (o *RouteReadListAllOf) HasItems() bool
- func (o *RouteReadListAllOf) SetHref(v string)
- func (o *RouteReadListAllOf) SetId(v string)
- func (o *RouteReadListAllOf) SetItems(v []RouteRead)
- func (o *RouteReadListAllOf) SetType(v string)
- func (o RouteReadListAllOf) ToMap() (map[string]interface{}, error)
- type RouteUpstreams
- func (o *RouteUpstreams) GetHost() string
- func (o *RouteUpstreams) GetHostOk() (*string, bool)
- func (o *RouteUpstreams) GetLoadbalancer() string
- func (o *RouteUpstreams) GetLoadbalancerOk() (*string, bool)
- func (o *RouteUpstreams) GetPort() int32
- func (o *RouteUpstreams) GetPortOk() (*int32, bool)
- func (o *RouteUpstreams) GetScheme() string
- func (o *RouteUpstreams) GetSchemeOk() (*string, bool)
- func (o *RouteUpstreams) GetWeight() int32
- func (o *RouteUpstreams) GetWeightOk() (*int32, bool)
- func (o *RouteUpstreams) HasWeight() bool
- func (o *RouteUpstreams) SetHost(v string)
- func (o *RouteUpstreams) SetLoadbalancer(v string)
- func (o *RouteUpstreams) SetPort(v int32)
- func (o *RouteUpstreams) SetScheme(v string)
- func (o *RouteUpstreams) SetWeight(v int32)
- func (o RouteUpstreams) ToMap() (map[string]interface{}, error)
- type RoutesApiService
- func (a *RoutesApiService) ApigatewaysRoutesDelete(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesDeleteRequest
- func (a *RoutesApiService) ApigatewaysRoutesDeleteExecute(r ApiApigatewaysRoutesDeleteRequest) (*shared.APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesFindById(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesFindByIdRequest
- func (a *RoutesApiService) ApigatewaysRoutesFindByIdExecute(r ApiApigatewaysRoutesFindByIdRequest) (RouteRead, *shared.APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesGet(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesGetRequest
- func (a *RoutesApiService) ApigatewaysRoutesGetExecute(r ApiApigatewaysRoutesGetRequest) (RouteReadList, *shared.APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesPost(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesPostRequest
- func (a *RoutesApiService) ApigatewaysRoutesPostExecute(r ApiApigatewaysRoutesPostRequest) (RouteRead, *shared.APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesPut(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesPutRequest
- func (a *RoutesApiService) ApigatewaysRoutesPutExecute(r ApiApigatewaysRoutesPutRequest) (RouteRead, *shared.APIResponse, error)
- type TLSDial
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "products/apigateway/v2.0.1" )
Variables ¶
This section is empty.
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func DeepCopy ¶ added in v2.0.1
func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
Types ¶
type APIClient ¶
type APIClient struct { APIGatewaysApi *APIGatewaysApiService RoutesApi *RoutesApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS Cloud - API Gateway API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *shared.Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *shared.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIGatewaysApiService ¶
type APIGatewaysApiService service
APIGatewaysApiService APIGatewaysApi service
func (*APIGatewaysApiService) ApigatewaysDelete ¶
func (a *APIGatewaysApiService) ApigatewaysDelete(ctx _context.Context, apigatewayId string) ApiApigatewaysDeleteRequest
* ApigatewaysDelete Delete Gateway * Deletes the specified Gateway. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @return ApiApigatewaysDeleteRequest
func (*APIGatewaysApiService) ApigatewaysDeleteExecute ¶
func (a *APIGatewaysApiService) ApigatewaysDeleteExecute(r ApiApigatewaysDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*APIGatewaysApiService) ApigatewaysFindById ¶
func (a *APIGatewaysApiService) ApigatewaysFindById(ctx _context.Context, apigatewayId string) ApiApigatewaysFindByIdRequest
* ApigatewaysFindById Retrieve Gateway * Returns the Gateway by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @return ApiApigatewaysFindByIdRequest
func (*APIGatewaysApiService) ApigatewaysFindByIdExecute ¶
func (a *APIGatewaysApiService) ApigatewaysFindByIdExecute(r ApiApigatewaysFindByIdRequest) (GatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return GatewayRead
func (*APIGatewaysApiService) ApigatewaysGet ¶
func (a *APIGatewaysApiService) ApigatewaysGet(ctx _context.Context) ApiApigatewaysGetRequest
- ApigatewaysGet Retrieve all Apigateways
- This endpoint enables retrieving all Apigateways using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiApigatewaysGetRequest
func (*APIGatewaysApiService) ApigatewaysGetExecute ¶
func (a *APIGatewaysApiService) ApigatewaysGetExecute(r ApiApigatewaysGetRequest) (GatewayReadList, *shared.APIResponse, error)
* Execute executes the request * @return GatewayReadList
func (*APIGatewaysApiService) ApigatewaysPost ¶
func (a *APIGatewaysApiService) ApigatewaysPost(ctx _context.Context) ApiApigatewaysPostRequest
- ApigatewaysPost Create Gateway
- Creates a new Gateway.
The full Gateway needs to be provided to create the object. Optional data will be filled with defaults or left empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiApigatewaysPostRequest
func (*APIGatewaysApiService) ApigatewaysPostExecute ¶
func (a *APIGatewaysApiService) ApigatewaysPostExecute(r ApiApigatewaysPostRequest) (GatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return GatewayRead
func (*APIGatewaysApiService) ApigatewaysPut ¶
func (a *APIGatewaysApiService) ApigatewaysPut(ctx _context.Context, apigatewayId string) ApiApigatewaysPutRequest
- ApigatewaysPut Ensure Gateway
- Ensures that the Gateway with the provided ID is created or modified.
The full Gateway needs to be provided to ensure (either update or create) the Gateway. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apigatewayId The ID (UUID) of the Gateway.
- @return ApiApigatewaysPutRequest
func (*APIGatewaysApiService) ApigatewaysPutExecute ¶
func (a *APIGatewaysApiService) ApigatewaysPutExecute(r ApiApigatewaysPutRequest) (GatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return GatewayRead
type ApiApigatewaysDeleteRequest ¶
type ApiApigatewaysDeleteRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysDeleteRequest) Execute ¶
func (r ApiApigatewaysDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiApigatewaysFindByIdRequest ¶
type ApiApigatewaysFindByIdRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysFindByIdRequest) Execute ¶
func (r ApiApigatewaysFindByIdRequest) Execute() (GatewayRead, *shared.APIResponse, error)
type ApiApigatewaysGetRequest ¶
type ApiApigatewaysGetRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysGetRequest) Execute ¶
func (r ApiApigatewaysGetRequest) Execute() (GatewayReadList, *shared.APIResponse, error)
func (ApiApigatewaysGetRequest) Limit ¶
func (r ApiApigatewaysGetRequest) Limit(limit int32) ApiApigatewaysGetRequest
func (ApiApigatewaysGetRequest) Offset ¶
func (r ApiApigatewaysGetRequest) Offset(offset int32) ApiApigatewaysGetRequest
func (ApiApigatewaysGetRequest) OrderBy ¶
func (r ApiApigatewaysGetRequest) OrderBy(orderBy string) ApiApigatewaysGetRequest
type ApiApigatewaysPostRequest ¶
type ApiApigatewaysPostRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysPostRequest) Execute ¶
func (r ApiApigatewaysPostRequest) Execute() (GatewayRead, *shared.APIResponse, error)
func (ApiApigatewaysPostRequest) GatewayCreate ¶
func (r ApiApigatewaysPostRequest) GatewayCreate(gatewayCreate GatewayCreate) ApiApigatewaysPostRequest
type ApiApigatewaysPutRequest ¶
type ApiApigatewaysPutRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysPutRequest) Execute ¶
func (r ApiApigatewaysPutRequest) Execute() (GatewayRead, *shared.APIResponse, error)
func (ApiApigatewaysPutRequest) GatewayEnsure ¶
func (r ApiApigatewaysPutRequest) GatewayEnsure(gatewayEnsure GatewayEnsure) ApiApigatewaysPutRequest
type ApiApigatewaysRoutesDeleteRequest ¶
type ApiApigatewaysRoutesDeleteRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesDeleteRequest) Execute ¶
func (r ApiApigatewaysRoutesDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiApigatewaysRoutesFindByIdRequest ¶
type ApiApigatewaysRoutesFindByIdRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesFindByIdRequest) Execute ¶
func (r ApiApigatewaysRoutesFindByIdRequest) Execute() (RouteRead, *shared.APIResponse, error)
type ApiApigatewaysRoutesGetRequest ¶
type ApiApigatewaysRoutesGetRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesGetRequest) Execute ¶
func (r ApiApigatewaysRoutesGetRequest) Execute() (RouteReadList, *shared.APIResponse, error)
func (ApiApigatewaysRoutesGetRequest) Limit ¶
func (r ApiApigatewaysRoutesGetRequest) Limit(limit int32) ApiApigatewaysRoutesGetRequest
func (ApiApigatewaysRoutesGetRequest) Offset ¶
func (r ApiApigatewaysRoutesGetRequest) Offset(offset int32) ApiApigatewaysRoutesGetRequest
func (ApiApigatewaysRoutesGetRequest) OrderBy ¶
func (r ApiApigatewaysRoutesGetRequest) OrderBy(orderBy string) ApiApigatewaysRoutesGetRequest
type ApiApigatewaysRoutesPostRequest ¶
type ApiApigatewaysRoutesPostRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesPostRequest) Execute ¶
func (r ApiApigatewaysRoutesPostRequest) Execute() (RouteRead, *shared.APIResponse, error)
func (ApiApigatewaysRoutesPostRequest) RouteCreate ¶
func (r ApiApigatewaysRoutesPostRequest) RouteCreate(routeCreate RouteCreate) ApiApigatewaysRoutesPostRequest
type ApiApigatewaysRoutesPutRequest ¶
type ApiApigatewaysRoutesPutRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesPutRequest) Execute ¶
func (r ApiApigatewaysRoutesPutRequest) Execute() (RouteRead, *shared.APIResponse, error)
func (ApiApigatewaysRoutesPutRequest) RouteEnsure ¶
func (r ApiApigatewaysRoutesPutRequest) RouteEnsure(routeEnsure RouteEnsure) ApiApigatewaysRoutesPutRequest
type Error ¶
type Error struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus,omitempty"` // A list of error messages. Messages []ErrorMessages `json:"messages,omitempty"` }
Error The Error object is used to represent an error response from the API.
func NewError ¶
func NewError() *Error
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetHttpStatus ¶
GetHttpStatus returns the HttpStatus field value if set, zero value otherwise.
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetMessages ¶
func (o *Error) GetMessages() []ErrorMessages
GetMessages returns the Messages field value if set, zero value otherwise.
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasHttpStatus ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (*Error) SetHttpStatus ¶
SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.
type ErrorMessages ¶
type ErrorMessages struct { // Application internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessages struct for ErrorMessages
func NewErrorMessages ¶
func NewErrorMessages() *ErrorMessages
NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults ¶
func NewErrorMessagesWithDefaults() *ErrorMessages
NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode ¶
func (o *ErrorMessages) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) 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 (*ErrorMessages) HasErrorCode ¶
func (o *ErrorMessages) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessages) HasMessage ¶
func (o *ErrorMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorMessages) ToMap ¶
func (o ErrorMessages) ToMap() (map[string]interface{}, error)
type Gateway ¶
type Gateway struct { Name string `json:"name"` // This field enables or disables the collection and reporting of logs for observability of this instance. Logs *bool `json:"logs,omitempty"` // This field enables or disables the collection and reporting of metrics for observability of this instance. Metrics *bool `json:"metrics,omitempty"` CustomDomains []GatewayCustomDomains `json:"customDomains,omitempty"` }
Gateway An API gateway consists of the generic rules and configurations of an API Gateway.
func NewGateway ¶
NewGateway instantiates a new Gateway 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 NewGatewayWithDefaults ¶
func NewGatewayWithDefaults() *Gateway
NewGatewayWithDefaults instantiates a new Gateway 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 (*Gateway) GetCustomDomains ¶
func (o *Gateway) GetCustomDomains() []GatewayCustomDomains
GetCustomDomains returns the CustomDomains field value if set, zero value otherwise.
func (*Gateway) GetCustomDomainsOk ¶
func (o *Gateway) GetCustomDomainsOk() ([]GatewayCustomDomains, bool)
GetCustomDomainsOk returns a tuple with the CustomDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetLogsOk ¶
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetMetrics ¶
GetMetrics returns the Metrics field value if set, zero value otherwise.
func (*Gateway) GetMetricsOk ¶
GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Gateway) HasCustomDomains ¶
HasCustomDomains returns a boolean if a field has been set.
func (*Gateway) HasMetrics ¶
HasMetrics returns a boolean if a field has been set.
func (*Gateway) SetCustomDomains ¶
func (o *Gateway) SetCustomDomains(v []GatewayCustomDomains)
SetCustomDomains gets a reference to the given []GatewayCustomDomains and assigns it to the CustomDomains field.
func (*Gateway) SetLogs ¶
SetLogs gets a reference to the given bool and assigns it to the Logs field.
func (*Gateway) SetMetrics ¶
SetMetrics gets a reference to the given bool and assigns it to the Metrics field.
type GatewayCreate ¶
type GatewayCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties Gateway `json:"properties"` }
GatewayCreate struct for GatewayCreate
func NewGatewayCreate ¶
func NewGatewayCreate(properties Gateway) *GatewayCreate
NewGatewayCreate instantiates a new GatewayCreate 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 NewGatewayCreateWithDefaults ¶
func NewGatewayCreateWithDefaults() *GatewayCreate
NewGatewayCreateWithDefaults instantiates a new GatewayCreate 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 (*GatewayCreate) GetMetadata ¶
func (o *GatewayCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*GatewayCreate) GetMetadataOk ¶
func (o *GatewayCreate) 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 (*GatewayCreate) GetProperties ¶
func (o *GatewayCreate) GetProperties() Gateway
GetProperties returns the Properties field value
func (*GatewayCreate) GetPropertiesOk ¶
func (o *GatewayCreate) GetPropertiesOk() (*Gateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*GatewayCreate) HasMetadata ¶
func (o *GatewayCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*GatewayCreate) SetMetadata ¶
func (o *GatewayCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*GatewayCreate) SetProperties ¶
func (o *GatewayCreate) SetProperties(v Gateway)
SetProperties sets field value
func (GatewayCreate) ToMap ¶
func (o GatewayCreate) ToMap() (map[string]interface{}, error)
type GatewayCustomDomains ¶
type GatewayCustomDomains struct { // The domain name of the distribution. Name *string `json:"name,omitempty"` // The ID of the certificate to use for the distribution. CertificateId *string `json:"certificateId,omitempty"` }
GatewayCustomDomains The custom domain that the API Gateway instance should listen on.
func NewGatewayCustomDomains ¶
func NewGatewayCustomDomains() *GatewayCustomDomains
NewGatewayCustomDomains instantiates a new GatewayCustomDomains 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 NewGatewayCustomDomainsWithDefaults ¶
func NewGatewayCustomDomainsWithDefaults() *GatewayCustomDomains
NewGatewayCustomDomainsWithDefaults instantiates a new GatewayCustomDomains 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 (*GatewayCustomDomains) GetCertificateId ¶
func (o *GatewayCustomDomains) GetCertificateId() string
GetCertificateId returns the CertificateId field value if set, zero value otherwise.
func (*GatewayCustomDomains) GetCertificateIdOk ¶
func (o *GatewayCustomDomains) GetCertificateIdOk() (*string, bool)
GetCertificateIdOk returns a tuple with the CertificateId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayCustomDomains) GetName ¶
func (o *GatewayCustomDomains) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GatewayCustomDomains) GetNameOk ¶
func (o *GatewayCustomDomains) 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 (*GatewayCustomDomains) HasCertificateId ¶
func (o *GatewayCustomDomains) HasCertificateId() bool
HasCertificateId returns a boolean if a field has been set.
func (*GatewayCustomDomains) HasName ¶
func (o *GatewayCustomDomains) HasName() bool
HasName returns a boolean if a field has been set.
func (*GatewayCustomDomains) SetCertificateId ¶
func (o *GatewayCustomDomains) SetCertificateId(v string)
SetCertificateId gets a reference to the given string and assigns it to the CertificateId field.
func (*GatewayCustomDomains) SetName ¶
func (o *GatewayCustomDomains) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (GatewayCustomDomains) ToMap ¶
func (o GatewayCustomDomains) ToMap() (map[string]interface{}, error)
type GatewayEnsure ¶
type GatewayEnsure struct { // The ID (UUID) of the Gateway. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties Gateway `json:"properties"` }
GatewayEnsure struct for GatewayEnsure
func NewGatewayEnsure ¶
func NewGatewayEnsure(id string, properties Gateway) *GatewayEnsure
NewGatewayEnsure instantiates a new GatewayEnsure 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 NewGatewayEnsureWithDefaults ¶
func NewGatewayEnsureWithDefaults() *GatewayEnsure
NewGatewayEnsureWithDefaults instantiates a new GatewayEnsure 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 (*GatewayEnsure) GetId ¶
func (o *GatewayEnsure) GetId() string
GetId returns the Id field value
func (*GatewayEnsure) GetIdOk ¶
func (o *GatewayEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GatewayEnsure) GetMetadata ¶
func (o *GatewayEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*GatewayEnsure) GetMetadataOk ¶
func (o *GatewayEnsure) 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 (*GatewayEnsure) GetProperties ¶
func (o *GatewayEnsure) GetProperties() Gateway
GetProperties returns the Properties field value
func (*GatewayEnsure) GetPropertiesOk ¶
func (o *GatewayEnsure) GetPropertiesOk() (*Gateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*GatewayEnsure) HasMetadata ¶
func (o *GatewayEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*GatewayEnsure) SetMetadata ¶
func (o *GatewayEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*GatewayEnsure) SetProperties ¶
func (o *GatewayEnsure) SetProperties(v Gateway)
SetProperties sets field value
func (GatewayEnsure) ToMap ¶
func (o GatewayEnsure) ToMap() (map[string]interface{}, error)
type GatewayRead ¶
type GatewayRead struct { // The ID (UUID) of the Gateway. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Gateway. Href string `json:"href"` Metadata MetadataWithEndpoint `json:"metadata"` Properties Gateway `json:"properties"` }
GatewayRead struct for GatewayRead
func NewGatewayRead ¶
func NewGatewayRead(id string, type_ string, href string, metadata MetadataWithEndpoint, properties Gateway) *GatewayRead
NewGatewayRead instantiates a new GatewayRead 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 NewGatewayReadWithDefaults ¶
func NewGatewayReadWithDefaults() *GatewayRead
NewGatewayReadWithDefaults instantiates a new GatewayRead 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 (*GatewayRead) GetHref ¶
func (o *GatewayRead) GetHref() string
GetHref returns the Href field value
func (*GatewayRead) GetHrefOk ¶
func (o *GatewayRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*GatewayRead) GetIdOk ¶
func (o *GatewayRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GatewayRead) GetMetadata ¶
func (o *GatewayRead) GetMetadata() MetadataWithEndpoint
GetMetadata returns the Metadata field value
func (*GatewayRead) GetMetadataOk ¶
func (o *GatewayRead) GetMetadataOk() (*MetadataWithEndpoint, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*GatewayRead) GetProperties ¶
func (o *GatewayRead) GetProperties() Gateway
GetProperties returns the Properties field value
func (*GatewayRead) GetPropertiesOk ¶
func (o *GatewayRead) GetPropertiesOk() (*Gateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*GatewayRead) GetType ¶
func (o *GatewayRead) GetType() string
GetType returns the Type field value
func (*GatewayRead) GetTypeOk ¶
func (o *GatewayRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*GatewayRead) SetMetadata ¶
func (o *GatewayRead) SetMetadata(v MetadataWithEndpoint)
SetMetadata sets field value
func (*GatewayRead) SetProperties ¶
func (o *GatewayRead) SetProperties(v Gateway)
SetProperties sets field value
func (GatewayRead) ToMap ¶
func (o GatewayRead) ToMap() (map[string]interface{}, error)
type GatewayReadList ¶
type GatewayReadList struct { // ID of the Gateway. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Gateway. Href string `json:"href"` // The list of Gateway resources. Items []GatewayRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit int32 `json:"limit"` Links Links `json:"_links"` }
GatewayReadList struct for GatewayReadList
func NewGatewayReadList ¶
func NewGatewayReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *GatewayReadList
NewGatewayReadList instantiates a new GatewayReadList 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 NewGatewayReadListWithDefaults ¶
func NewGatewayReadListWithDefaults() *GatewayReadList
NewGatewayReadListWithDefaults instantiates a new GatewayReadList 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 (*GatewayReadList) GetHref ¶
func (o *GatewayReadList) GetHref() string
GetHref returns the Href field value
func (*GatewayReadList) GetHrefOk ¶
func (o *GatewayReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*GatewayReadList) GetId ¶
func (o *GatewayReadList) GetId() string
GetId returns the Id field value
func (*GatewayReadList) GetIdOk ¶
func (o *GatewayReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GatewayReadList) GetItems ¶
func (o *GatewayReadList) GetItems() []GatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*GatewayReadList) GetItemsOk ¶
func (o *GatewayReadList) GetItemsOk() ([]GatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayReadList) GetLimit ¶
func (o *GatewayReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*GatewayReadList) GetLimitOk ¶
func (o *GatewayReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*GatewayReadList) GetLinks ¶
func (o *GatewayReadList) GetLinks() Links
GetLinks returns the Links field value
func (*GatewayReadList) GetLinksOk ¶
func (o *GatewayReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*GatewayReadList) GetOffset ¶
func (o *GatewayReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*GatewayReadList) GetOffsetOk ¶
func (o *GatewayReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*GatewayReadList) GetType ¶
func (o *GatewayReadList) GetType() string
GetType returns the Type field value
func (*GatewayReadList) GetTypeOk ¶
func (o *GatewayReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*GatewayReadList) HasItems ¶
func (o *GatewayReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GatewayReadList) SetHref ¶
func (o *GatewayReadList) SetHref(v string)
SetHref sets field value
func (*GatewayReadList) SetItems ¶
func (o *GatewayReadList) SetItems(v []GatewayRead)
SetItems gets a reference to the given []GatewayRead and assigns it to the Items field.
func (*GatewayReadList) SetLimit ¶
func (o *GatewayReadList) SetLimit(v int32)
SetLimit sets field value
func (*GatewayReadList) SetLinks ¶
func (o *GatewayReadList) SetLinks(v Links)
SetLinks sets field value
func (*GatewayReadList) SetOffset ¶
func (o *GatewayReadList) SetOffset(v int32)
SetOffset sets field value
func (*GatewayReadList) SetType ¶
func (o *GatewayReadList) SetType(v string)
SetType sets field value
func (GatewayReadList) ToMap ¶
func (o GatewayReadList) ToMap() (map[string]interface{}, error)
type GatewayReadListAllOf ¶
type GatewayReadListAllOf struct { // ID of the Gateway. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Gateway. Href string `json:"href"` // The list of Gateway resources. Items []GatewayRead `json:"items,omitempty"` }
GatewayReadListAllOf struct for GatewayReadListAllOf
func NewGatewayReadListAllOf ¶
func NewGatewayReadListAllOf(id string, type_ string, href string) *GatewayReadListAllOf
NewGatewayReadListAllOf instantiates a new GatewayReadListAllOf 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 NewGatewayReadListAllOfWithDefaults ¶
func NewGatewayReadListAllOfWithDefaults() *GatewayReadListAllOf
NewGatewayReadListAllOfWithDefaults instantiates a new GatewayReadListAllOf 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 (*GatewayReadListAllOf) GetHref ¶
func (o *GatewayReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*GatewayReadListAllOf) GetHrefOk ¶
func (o *GatewayReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*GatewayReadListAllOf) GetId ¶
func (o *GatewayReadListAllOf) GetId() string
GetId returns the Id field value
func (*GatewayReadListAllOf) GetIdOk ¶
func (o *GatewayReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GatewayReadListAllOf) GetItems ¶
func (o *GatewayReadListAllOf) GetItems() []GatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*GatewayReadListAllOf) GetItemsOk ¶
func (o *GatewayReadListAllOf) GetItemsOk() ([]GatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayReadListAllOf) GetType ¶
func (o *GatewayReadListAllOf) GetType() string
GetType returns the Type field value
func (*GatewayReadListAllOf) GetTypeOk ¶
func (o *GatewayReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*GatewayReadListAllOf) HasItems ¶
func (o *GatewayReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GatewayReadListAllOf) SetHref ¶
func (o *GatewayReadListAllOf) SetHref(v string)
SetHref sets field value
func (*GatewayReadListAllOf) SetId ¶
func (o *GatewayReadListAllOf) SetId(v string)
SetId sets field value
func (*GatewayReadListAllOf) SetItems ¶
func (o *GatewayReadListAllOf) SetItems(v []GatewayRead)
SetItems gets a reference to the given []GatewayRead and assigns it to the Items field.
func (*GatewayReadListAllOf) SetType ¶
func (o *GatewayReadListAllOf) SetType(v string)
SetType sets field value
func (GatewayReadListAllOf) ToMap ¶
func (o GatewayReadListAllOf) ToMap() (map[string]interface{}, error)
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type Links ¶
type Links struct { // URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. Prev *string `json:"prev,omitempty"` // URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
Links URLs to navigate the different pages. As of now we always only return a single page.
func NewLinks ¶
func NewLinks() *Links
NewLinks instantiates a new Links 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 NewLinksWithDefaults ¶
func NewLinksWithDefaults() *Links
NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) SetNext ¶
SetNext gets a reference to the given string and assigns it to the Next field.
func (*Links) SetPrev ¶
SetPrev gets a reference to the given string and assigns it to the Prev field.
type MappedNullable ¶
type Metadata ¶
type Metadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` }
Metadata Metadata of the resource.
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*Metadata) 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 (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetResourceURN ¶
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*Metadata) GetResourceURNOk ¶
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (*Metadata) HasResourceURN ¶
HasResourceURN returns a boolean if a field has been set.
func (*Metadata) SetCreatedBy ¶
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*Metadata) SetCreatedDate ¶
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*Metadata) SetResourceURN ¶
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
type MetadataWithEndpoint ¶
type MetadataWithEndpoint struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` // The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` // The public endpoint of the API Gateway instance. PublicEndpoint string `json:"publicEndpoint"` }
MetadataWithEndpoint struct for MetadataWithEndpoint
func NewMetadataWithEndpoint ¶
func NewMetadataWithEndpoint(status string, publicEndpoint string) *MetadataWithEndpoint
NewMetadataWithEndpoint instantiates a new MetadataWithEndpoint 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 NewMetadataWithEndpointWithDefaults ¶
func NewMetadataWithEndpointWithDefaults() *MetadataWithEndpoint
NewMetadataWithEndpointWithDefaults instantiates a new MetadataWithEndpoint 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 (*MetadataWithEndpoint) GetCreatedBy ¶
func (o *MetadataWithEndpoint) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetCreatedByOk ¶
func (o *MetadataWithEndpoint) GetCreatedByOk() (*string, bool)
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 (*MetadataWithEndpoint) GetCreatedByUserId ¶
func (o *MetadataWithEndpoint) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetCreatedByUserIdOk ¶
func (o *MetadataWithEndpoint) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetCreatedDate ¶
func (o *MetadataWithEndpoint) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetCreatedDateOk ¶
func (o *MetadataWithEndpoint) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetLastModifiedBy ¶
func (o *MetadataWithEndpoint) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetLastModifiedByOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetLastModifiedByUserId ¶
func (o *MetadataWithEndpoint) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetLastModifiedDate ¶
func (o *MetadataWithEndpoint) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetLastModifiedDateOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetPublicEndpoint ¶
func (o *MetadataWithEndpoint) GetPublicEndpoint() string
GetPublicEndpoint returns the PublicEndpoint field value
func (*MetadataWithEndpoint) GetPublicEndpointOk ¶
func (o *MetadataWithEndpoint) GetPublicEndpointOk() (*string, bool)
GetPublicEndpointOk returns a tuple with the PublicEndpoint field value and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetResourceURN ¶
func (o *MetadataWithEndpoint) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetResourceURNOk ¶
func (o *MetadataWithEndpoint) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetStatus ¶
func (o *MetadataWithEndpoint) GetStatus() string
GetStatus returns the Status field value
func (*MetadataWithEndpoint) GetStatusMessage ¶
func (o *MetadataWithEndpoint) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*MetadataWithEndpoint) GetStatusMessageOk ¶
func (o *MetadataWithEndpoint) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) GetStatusOk ¶
func (o *MetadataWithEndpoint) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*MetadataWithEndpoint) HasCreatedBy ¶
func (o *MetadataWithEndpoint) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasCreatedByUserId ¶
func (o *MetadataWithEndpoint) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasCreatedDate ¶
func (o *MetadataWithEndpoint) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasLastModifiedBy ¶
func (o *MetadataWithEndpoint) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasLastModifiedByUserId ¶
func (o *MetadataWithEndpoint) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasLastModifiedDate ¶
func (o *MetadataWithEndpoint) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasResourceURN ¶
func (o *MetadataWithEndpoint) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*MetadataWithEndpoint) HasStatusMessage ¶
func (o *MetadataWithEndpoint) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*MetadataWithEndpoint) SetCreatedBy ¶
func (o *MetadataWithEndpoint) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*MetadataWithEndpoint) SetCreatedByUserId ¶
func (o *MetadataWithEndpoint) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*MetadataWithEndpoint) SetCreatedDate ¶
func (o *MetadataWithEndpoint) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*MetadataWithEndpoint) SetLastModifiedBy ¶
func (o *MetadataWithEndpoint) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*MetadataWithEndpoint) SetLastModifiedByUserId ¶
func (o *MetadataWithEndpoint) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*MetadataWithEndpoint) SetLastModifiedDate ¶
func (o *MetadataWithEndpoint) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*MetadataWithEndpoint) SetPublicEndpoint ¶
func (o *MetadataWithEndpoint) SetPublicEndpoint(v string)
SetPublicEndpoint sets field value
func (*MetadataWithEndpoint) SetResourceURN ¶
func (o *MetadataWithEndpoint) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*MetadataWithEndpoint) SetStatus ¶
func (o *MetadataWithEndpoint) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithEndpoint) SetStatusMessage ¶
func (o *MetadataWithEndpoint) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (MetadataWithEndpoint) ToMap ¶
func (o MetadataWithEndpoint) ToMap() (map[string]interface{}, error)
type MetadataWithEndpointAllOf ¶
type MetadataWithEndpointAllOf struct { // The public endpoint of the API Gateway instance. PublicEndpoint string `json:"publicEndpoint"` }
MetadataWithEndpointAllOf struct for MetadataWithEndpointAllOf
func NewMetadataWithEndpointAllOf ¶
func NewMetadataWithEndpointAllOf(publicEndpoint string) *MetadataWithEndpointAllOf
NewMetadataWithEndpointAllOf instantiates a new MetadataWithEndpointAllOf 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 NewMetadataWithEndpointAllOfWithDefaults ¶
func NewMetadataWithEndpointAllOfWithDefaults() *MetadataWithEndpointAllOf
NewMetadataWithEndpointAllOfWithDefaults instantiates a new MetadataWithEndpointAllOf 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 (*MetadataWithEndpointAllOf) GetPublicEndpoint ¶
func (o *MetadataWithEndpointAllOf) GetPublicEndpoint() string
GetPublicEndpoint returns the PublicEndpoint field value
func (*MetadataWithEndpointAllOf) GetPublicEndpointOk ¶
func (o *MetadataWithEndpointAllOf) GetPublicEndpointOk() (*string, bool)
GetPublicEndpointOk returns a tuple with the PublicEndpoint field value and a boolean to check if the value has been set.
func (*MetadataWithEndpointAllOf) SetPublicEndpoint ¶
func (o *MetadataWithEndpointAllOf) SetPublicEndpoint(v string)
SetPublicEndpoint sets field value
func (MetadataWithEndpointAllOf) ToMap ¶
func (o MetadataWithEndpointAllOf) ToMap() (map[string]interface{}, error)
type MetadataWithStatus ¶
type MetadataWithStatus struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` // The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
MetadataWithStatus struct for MetadataWithStatus
func NewMetadataWithStatus ¶
func NewMetadataWithStatus(status string) *MetadataWithStatus
NewMetadataWithStatus instantiates a new MetadataWithStatus 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 NewMetadataWithStatusWithDefaults ¶
func NewMetadataWithStatusWithDefaults() *MetadataWithStatus
NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus 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 (*MetadataWithStatus) GetCreatedBy ¶
func (o *MetadataWithStatus) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*MetadataWithStatus) GetCreatedByOk ¶
func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)
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 (*MetadataWithStatus) GetCreatedByUserId ¶
func (o *MetadataWithStatus) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*MetadataWithStatus) GetCreatedByUserIdOk ¶
func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetCreatedDate ¶
func (o *MetadataWithStatus) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*MetadataWithStatus) GetCreatedDateOk ¶
func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetLastModifiedBy ¶
func (o *MetadataWithStatus) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*MetadataWithStatus) GetLastModifiedByOk ¶
func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetLastModifiedByUserId ¶
func (o *MetadataWithStatus) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*MetadataWithStatus) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetLastModifiedDate ¶
func (o *MetadataWithStatus) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*MetadataWithStatus) GetLastModifiedDateOk ¶
func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetResourceURN ¶
func (o *MetadataWithStatus) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*MetadataWithStatus) GetResourceURNOk ¶
func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetStatus ¶
func (o *MetadataWithStatus) GetStatus() string
GetStatus returns the Status field value
func (*MetadataWithStatus) GetStatusMessage ¶
func (o *MetadataWithStatus) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*MetadataWithStatus) GetStatusMessageOk ¶
func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatus) GetStatusOk ¶
func (o *MetadataWithStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*MetadataWithStatus) HasCreatedBy ¶
func (o *MetadataWithStatus) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*MetadataWithStatus) HasCreatedByUserId ¶
func (o *MetadataWithStatus) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*MetadataWithStatus) HasCreatedDate ¶
func (o *MetadataWithStatus) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedBy ¶
func (o *MetadataWithStatus) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedByUserId ¶
func (o *MetadataWithStatus) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedDate ¶
func (o *MetadataWithStatus) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*MetadataWithStatus) HasResourceURN ¶
func (o *MetadataWithStatus) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*MetadataWithStatus) HasStatusMessage ¶
func (o *MetadataWithStatus) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*MetadataWithStatus) SetCreatedBy ¶
func (o *MetadataWithStatus) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*MetadataWithStatus) SetCreatedByUserId ¶
func (o *MetadataWithStatus) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*MetadataWithStatus) SetCreatedDate ¶
func (o *MetadataWithStatus) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*MetadataWithStatus) SetLastModifiedBy ¶
func (o *MetadataWithStatus) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*MetadataWithStatus) SetLastModifiedByUserId ¶
func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*MetadataWithStatus) SetLastModifiedDate ¶
func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*MetadataWithStatus) SetResourceURN ¶
func (o *MetadataWithStatus) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*MetadataWithStatus) SetStatus ¶
func (o *MetadataWithStatus) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatus) SetStatusMessage ¶
func (o *MetadataWithStatus) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (MetadataWithStatus) ToMap ¶
func (o MetadataWithStatus) ToMap() (map[string]interface{}, error)
type MetadataWithStatusAllOf ¶
type MetadataWithStatusAllOf struct { // The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
MetadataWithStatusAllOf struct for MetadataWithStatusAllOf
func NewMetadataWithStatusAllOf ¶
func NewMetadataWithStatusAllOf(status string) *MetadataWithStatusAllOf
NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf 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 NewMetadataWithStatusAllOfWithDefaults ¶
func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf
NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf 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 (*MetadataWithStatusAllOf) GetStatus ¶
func (o *MetadataWithStatusAllOf) GetStatus() string
GetStatus returns the Status field value
func (*MetadataWithStatusAllOf) GetStatusMessage ¶
func (o *MetadataWithStatusAllOf) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*MetadataWithStatusAllOf) GetStatusMessageOk ¶
func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataWithStatusAllOf) GetStatusOk ¶
func (o *MetadataWithStatusAllOf) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*MetadataWithStatusAllOf) HasStatusMessage ¶
func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*MetadataWithStatusAllOf) SetStatus ¶
func (o *MetadataWithStatusAllOf) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatusAllOf) SetStatusMessage ¶
func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (MetadataWithStatusAllOf) ToMap ¶
func (o MetadataWithStatusAllOf) ToMap() (map[string]interface{}, error)
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 NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorMessages ¶
type NullableErrorMessages struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessages ¶
func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages
func (NullableErrorMessages) Get ¶
func (v NullableErrorMessages) Get() *ErrorMessages
func (NullableErrorMessages) IsSet ¶
func (v NullableErrorMessages) IsSet() bool
func (NullableErrorMessages) MarshalJSON ¶
func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
func (*NullableErrorMessages) Set ¶
func (v *NullableErrorMessages) Set(val *ErrorMessages)
func (*NullableErrorMessages) UnmarshalJSON ¶
func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
func (*NullableErrorMessages) Unset ¶
func (v *NullableErrorMessages) 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 NullableGateway ¶
type NullableGateway struct {
// contains filtered or unexported fields
}
func NewNullableGateway ¶
func NewNullableGateway(val *Gateway) *NullableGateway
func (NullableGateway) Get ¶
func (v NullableGateway) Get() *Gateway
func (NullableGateway) IsSet ¶
func (v NullableGateway) IsSet() bool
func (NullableGateway) MarshalJSON ¶
func (v NullableGateway) MarshalJSON() ([]byte, error)
func (*NullableGateway) Set ¶
func (v *NullableGateway) Set(val *Gateway)
func (*NullableGateway) UnmarshalJSON ¶
func (v *NullableGateway) UnmarshalJSON(src []byte) error
func (*NullableGateway) Unset ¶
func (v *NullableGateway) Unset()
type NullableGatewayCreate ¶
type NullableGatewayCreate struct {
// contains filtered or unexported fields
}
func NewNullableGatewayCreate ¶
func NewNullableGatewayCreate(val *GatewayCreate) *NullableGatewayCreate
func (NullableGatewayCreate) Get ¶
func (v NullableGatewayCreate) Get() *GatewayCreate
func (NullableGatewayCreate) IsSet ¶
func (v NullableGatewayCreate) IsSet() bool
func (NullableGatewayCreate) MarshalJSON ¶
func (v NullableGatewayCreate) MarshalJSON() ([]byte, error)
func (*NullableGatewayCreate) Set ¶
func (v *NullableGatewayCreate) Set(val *GatewayCreate)
func (*NullableGatewayCreate) UnmarshalJSON ¶
func (v *NullableGatewayCreate) UnmarshalJSON(src []byte) error
func (*NullableGatewayCreate) Unset ¶
func (v *NullableGatewayCreate) Unset()
type NullableGatewayCustomDomains ¶
type NullableGatewayCustomDomains struct {
// contains filtered or unexported fields
}
func NewNullableGatewayCustomDomains ¶
func NewNullableGatewayCustomDomains(val *GatewayCustomDomains) *NullableGatewayCustomDomains
func (NullableGatewayCustomDomains) Get ¶
func (v NullableGatewayCustomDomains) Get() *GatewayCustomDomains
func (NullableGatewayCustomDomains) IsSet ¶
func (v NullableGatewayCustomDomains) IsSet() bool
func (NullableGatewayCustomDomains) MarshalJSON ¶
func (v NullableGatewayCustomDomains) MarshalJSON() ([]byte, error)
func (*NullableGatewayCustomDomains) Set ¶
func (v *NullableGatewayCustomDomains) Set(val *GatewayCustomDomains)
func (*NullableGatewayCustomDomains) UnmarshalJSON ¶
func (v *NullableGatewayCustomDomains) UnmarshalJSON(src []byte) error
func (*NullableGatewayCustomDomains) Unset ¶
func (v *NullableGatewayCustomDomains) Unset()
type NullableGatewayEnsure ¶
type NullableGatewayEnsure struct {
// contains filtered or unexported fields
}
func NewNullableGatewayEnsure ¶
func NewNullableGatewayEnsure(val *GatewayEnsure) *NullableGatewayEnsure
func (NullableGatewayEnsure) Get ¶
func (v NullableGatewayEnsure) Get() *GatewayEnsure
func (NullableGatewayEnsure) IsSet ¶
func (v NullableGatewayEnsure) IsSet() bool
func (NullableGatewayEnsure) MarshalJSON ¶
func (v NullableGatewayEnsure) MarshalJSON() ([]byte, error)
func (*NullableGatewayEnsure) Set ¶
func (v *NullableGatewayEnsure) Set(val *GatewayEnsure)
func (*NullableGatewayEnsure) UnmarshalJSON ¶
func (v *NullableGatewayEnsure) UnmarshalJSON(src []byte) error
func (*NullableGatewayEnsure) Unset ¶
func (v *NullableGatewayEnsure) Unset()
type NullableGatewayRead ¶
type NullableGatewayRead struct {
// contains filtered or unexported fields
}
func NewNullableGatewayRead ¶
func NewNullableGatewayRead(val *GatewayRead) *NullableGatewayRead
func (NullableGatewayRead) Get ¶
func (v NullableGatewayRead) Get() *GatewayRead
func (NullableGatewayRead) IsSet ¶
func (v NullableGatewayRead) IsSet() bool
func (NullableGatewayRead) MarshalJSON ¶
func (v NullableGatewayRead) MarshalJSON() ([]byte, error)
func (*NullableGatewayRead) Set ¶
func (v *NullableGatewayRead) Set(val *GatewayRead)
func (*NullableGatewayRead) UnmarshalJSON ¶
func (v *NullableGatewayRead) UnmarshalJSON(src []byte) error
func (*NullableGatewayRead) Unset ¶
func (v *NullableGatewayRead) Unset()
type NullableGatewayReadList ¶
type NullableGatewayReadList struct {
// contains filtered or unexported fields
}
func NewNullableGatewayReadList ¶
func NewNullableGatewayReadList(val *GatewayReadList) *NullableGatewayReadList
func (NullableGatewayReadList) Get ¶
func (v NullableGatewayReadList) Get() *GatewayReadList
func (NullableGatewayReadList) IsSet ¶
func (v NullableGatewayReadList) IsSet() bool
func (NullableGatewayReadList) MarshalJSON ¶
func (v NullableGatewayReadList) MarshalJSON() ([]byte, error)
func (*NullableGatewayReadList) Set ¶
func (v *NullableGatewayReadList) Set(val *GatewayReadList)
func (*NullableGatewayReadList) UnmarshalJSON ¶
func (v *NullableGatewayReadList) UnmarshalJSON(src []byte) error
func (*NullableGatewayReadList) Unset ¶
func (v *NullableGatewayReadList) Unset()
type NullableGatewayReadListAllOf ¶
type NullableGatewayReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableGatewayReadListAllOf ¶
func NewNullableGatewayReadListAllOf(val *GatewayReadListAllOf) *NullableGatewayReadListAllOf
func (NullableGatewayReadListAllOf) Get ¶
func (v NullableGatewayReadListAllOf) Get() *GatewayReadListAllOf
func (NullableGatewayReadListAllOf) IsSet ¶
func (v NullableGatewayReadListAllOf) IsSet() bool
func (NullableGatewayReadListAllOf) MarshalJSON ¶
func (v NullableGatewayReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableGatewayReadListAllOf) Set ¶
func (v *NullableGatewayReadListAllOf) Set(val *GatewayReadListAllOf)
func (*NullableGatewayReadListAllOf) UnmarshalJSON ¶
func (v *NullableGatewayReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableGatewayReadListAllOf) Unset ¶
func (v *NullableGatewayReadListAllOf) 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 NullableIonosTime ¶ added in v2.0.1
type NullableIonosTime struct {
NullableTime
}
type NullableLinks ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
func NewNullableLinks(val *Links) *NullableLinks
func (NullableLinks) Get ¶
func (v NullableLinks) Get() *Links
func (NullableLinks) IsSet ¶
func (v NullableLinks) IsSet() bool
func (NullableLinks) MarshalJSON ¶
func (v NullableLinks) MarshalJSON() ([]byte, error)
func (*NullableLinks) Set ¶
func (v *NullableLinks) Set(val *Links)
func (*NullableLinks) UnmarshalJSON ¶
func (v *NullableLinks) UnmarshalJSON(src []byte) error
func (*NullableLinks) Unset ¶
func (v *NullableLinks) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullableMetadataWithEndpoint ¶
type NullableMetadataWithEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithEndpoint ¶
func NewNullableMetadataWithEndpoint(val *MetadataWithEndpoint) *NullableMetadataWithEndpoint
func (NullableMetadataWithEndpoint) Get ¶
func (v NullableMetadataWithEndpoint) Get() *MetadataWithEndpoint
func (NullableMetadataWithEndpoint) IsSet ¶
func (v NullableMetadataWithEndpoint) IsSet() bool
func (NullableMetadataWithEndpoint) MarshalJSON ¶
func (v NullableMetadataWithEndpoint) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithEndpoint) Set ¶
func (v *NullableMetadataWithEndpoint) Set(val *MetadataWithEndpoint)
func (*NullableMetadataWithEndpoint) UnmarshalJSON ¶
func (v *NullableMetadataWithEndpoint) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithEndpoint) Unset ¶
func (v *NullableMetadataWithEndpoint) Unset()
type NullableMetadataWithEndpointAllOf ¶
type NullableMetadataWithEndpointAllOf struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithEndpointAllOf ¶
func NewNullableMetadataWithEndpointAllOf(val *MetadataWithEndpointAllOf) *NullableMetadataWithEndpointAllOf
func (NullableMetadataWithEndpointAllOf) Get ¶
func (v NullableMetadataWithEndpointAllOf) Get() *MetadataWithEndpointAllOf
func (NullableMetadataWithEndpointAllOf) IsSet ¶
func (v NullableMetadataWithEndpointAllOf) IsSet() bool
func (NullableMetadataWithEndpointAllOf) MarshalJSON ¶
func (v NullableMetadataWithEndpointAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithEndpointAllOf) Set ¶
func (v *NullableMetadataWithEndpointAllOf) Set(val *MetadataWithEndpointAllOf)
func (*NullableMetadataWithEndpointAllOf) UnmarshalJSON ¶
func (v *NullableMetadataWithEndpointAllOf) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithEndpointAllOf) Unset ¶
func (v *NullableMetadataWithEndpointAllOf) Unset()
type NullableMetadataWithStatus ¶
type NullableMetadataWithStatus struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStatus ¶
func NewNullableMetadataWithStatus(val *MetadataWithStatus) *NullableMetadataWithStatus
func (NullableMetadataWithStatus) Get ¶
func (v NullableMetadataWithStatus) Get() *MetadataWithStatus
func (NullableMetadataWithStatus) IsSet ¶
func (v NullableMetadataWithStatus) IsSet() bool
func (NullableMetadataWithStatus) MarshalJSON ¶
func (v NullableMetadataWithStatus) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStatus) Set ¶
func (v *NullableMetadataWithStatus) Set(val *MetadataWithStatus)
func (*NullableMetadataWithStatus) UnmarshalJSON ¶
func (v *NullableMetadataWithStatus) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStatus) Unset ¶
func (v *NullableMetadataWithStatus) Unset()
type NullableMetadataWithStatusAllOf ¶
type NullableMetadataWithStatusAllOf struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStatusAllOf ¶
func NewNullableMetadataWithStatusAllOf(val *MetadataWithStatusAllOf) *NullableMetadataWithStatusAllOf
func (NullableMetadataWithStatusAllOf) Get ¶
func (v NullableMetadataWithStatusAllOf) Get() *MetadataWithStatusAllOf
func (NullableMetadataWithStatusAllOf) IsSet ¶
func (v NullableMetadataWithStatusAllOf) IsSet() bool
func (NullableMetadataWithStatusAllOf) MarshalJSON ¶
func (v NullableMetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStatusAllOf) Set ¶
func (v *NullableMetadataWithStatusAllOf) Set(val *MetadataWithStatusAllOf)
func (*NullableMetadataWithStatusAllOf) UnmarshalJSON ¶
func (v *NullableMetadataWithStatusAllOf) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStatusAllOf) Unset ¶
func (v *NullableMetadataWithStatusAllOf) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullableRoute ¶
type NullableRoute struct {
// contains filtered or unexported fields
}
func NewNullableRoute ¶
func NewNullableRoute(val *Route) *NullableRoute
func (NullableRoute) Get ¶
func (v NullableRoute) Get() *Route
func (NullableRoute) IsSet ¶
func (v NullableRoute) IsSet() bool
func (NullableRoute) MarshalJSON ¶
func (v NullableRoute) MarshalJSON() ([]byte, error)
func (*NullableRoute) Set ¶
func (v *NullableRoute) Set(val *Route)
func (*NullableRoute) UnmarshalJSON ¶
func (v *NullableRoute) UnmarshalJSON(src []byte) error
func (*NullableRoute) Unset ¶
func (v *NullableRoute) Unset()
type NullableRouteCreate ¶
type NullableRouteCreate struct {
// contains filtered or unexported fields
}
func NewNullableRouteCreate ¶
func NewNullableRouteCreate(val *RouteCreate) *NullableRouteCreate
func (NullableRouteCreate) Get ¶
func (v NullableRouteCreate) Get() *RouteCreate
func (NullableRouteCreate) IsSet ¶
func (v NullableRouteCreate) IsSet() bool
func (NullableRouteCreate) MarshalJSON ¶
func (v NullableRouteCreate) MarshalJSON() ([]byte, error)
func (*NullableRouteCreate) Set ¶
func (v *NullableRouteCreate) Set(val *RouteCreate)
func (*NullableRouteCreate) UnmarshalJSON ¶
func (v *NullableRouteCreate) UnmarshalJSON(src []byte) error
func (*NullableRouteCreate) Unset ¶
func (v *NullableRouteCreate) Unset()
type NullableRouteEnsure ¶
type NullableRouteEnsure struct {
// contains filtered or unexported fields
}
func NewNullableRouteEnsure ¶
func NewNullableRouteEnsure(val *RouteEnsure) *NullableRouteEnsure
func (NullableRouteEnsure) Get ¶
func (v NullableRouteEnsure) Get() *RouteEnsure
func (NullableRouteEnsure) IsSet ¶
func (v NullableRouteEnsure) IsSet() bool
func (NullableRouteEnsure) MarshalJSON ¶
func (v NullableRouteEnsure) MarshalJSON() ([]byte, error)
func (*NullableRouteEnsure) Set ¶
func (v *NullableRouteEnsure) Set(val *RouteEnsure)
func (*NullableRouteEnsure) UnmarshalJSON ¶
func (v *NullableRouteEnsure) UnmarshalJSON(src []byte) error
func (*NullableRouteEnsure) Unset ¶
func (v *NullableRouteEnsure) Unset()
type NullableRouteRead ¶
type NullableRouteRead struct {
// contains filtered or unexported fields
}
func NewNullableRouteRead ¶
func NewNullableRouteRead(val *RouteRead) *NullableRouteRead
func (NullableRouteRead) Get ¶
func (v NullableRouteRead) Get() *RouteRead
func (NullableRouteRead) IsSet ¶
func (v NullableRouteRead) IsSet() bool
func (NullableRouteRead) MarshalJSON ¶
func (v NullableRouteRead) MarshalJSON() ([]byte, error)
func (*NullableRouteRead) Set ¶
func (v *NullableRouteRead) Set(val *RouteRead)
func (*NullableRouteRead) UnmarshalJSON ¶
func (v *NullableRouteRead) UnmarshalJSON(src []byte) error
func (*NullableRouteRead) Unset ¶
func (v *NullableRouteRead) Unset()
type NullableRouteReadList ¶
type NullableRouteReadList struct {
// contains filtered or unexported fields
}
func NewNullableRouteReadList ¶
func NewNullableRouteReadList(val *RouteReadList) *NullableRouteReadList
func (NullableRouteReadList) Get ¶
func (v NullableRouteReadList) Get() *RouteReadList
func (NullableRouteReadList) IsSet ¶
func (v NullableRouteReadList) IsSet() bool
func (NullableRouteReadList) MarshalJSON ¶
func (v NullableRouteReadList) MarshalJSON() ([]byte, error)
func (*NullableRouteReadList) Set ¶
func (v *NullableRouteReadList) Set(val *RouteReadList)
func (*NullableRouteReadList) UnmarshalJSON ¶
func (v *NullableRouteReadList) UnmarshalJSON(src []byte) error
func (*NullableRouteReadList) Unset ¶
func (v *NullableRouteReadList) Unset()
type NullableRouteReadListAllOf ¶
type NullableRouteReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableRouteReadListAllOf ¶
func NewNullableRouteReadListAllOf(val *RouteReadListAllOf) *NullableRouteReadListAllOf
func (NullableRouteReadListAllOf) Get ¶
func (v NullableRouteReadListAllOf) Get() *RouteReadListAllOf
func (NullableRouteReadListAllOf) IsSet ¶
func (v NullableRouteReadListAllOf) IsSet() bool
func (NullableRouteReadListAllOf) MarshalJSON ¶
func (v NullableRouteReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableRouteReadListAllOf) Set ¶
func (v *NullableRouteReadListAllOf) Set(val *RouteReadListAllOf)
func (*NullableRouteReadListAllOf) UnmarshalJSON ¶
func (v *NullableRouteReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableRouteReadListAllOf) Unset ¶
func (v *NullableRouteReadListAllOf) Unset()
type NullableRouteUpstreams ¶
type NullableRouteUpstreams struct {
// contains filtered or unexported fields
}
func NewNullableRouteUpstreams ¶
func NewNullableRouteUpstreams(val *RouteUpstreams) *NullableRouteUpstreams
func (NullableRouteUpstreams) Get ¶
func (v NullableRouteUpstreams) Get() *RouteUpstreams
func (NullableRouteUpstreams) IsSet ¶
func (v NullableRouteUpstreams) IsSet() bool
func (NullableRouteUpstreams) MarshalJSON ¶
func (v NullableRouteUpstreams) MarshalJSON() ([]byte, error)
func (*NullableRouteUpstreams) Set ¶
func (v *NullableRouteUpstreams) Set(val *RouteUpstreams)
func (*NullableRouteUpstreams) UnmarshalJSON ¶
func (v *NullableRouteUpstreams) UnmarshalJSON(src []byte) error
func (*NullableRouteUpstreams) Unset ¶
func (v *NullableRouteUpstreams) 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 Pagination ¶
type Pagination struct { // The offset specified in the request (if none was specified, the default offset is 0). Offset int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit int32 `json:"limit"` Links Links `json:"_links"` }
Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.
func NewPagination ¶
func NewPagination(offset int32, limit int32, links Links) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetLimit ¶
func (o *Pagination) GetLimit() int32
GetLimit returns the Limit field value
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() Links
GetLinks returns the Links field value
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() int32
GetOffset returns the Offset field value
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
type Route ¶
type Route struct { // The name of the route. Name string `json:"name"` // This field specifies the protocol used by the ingress to route traffic to the backend service. Type string `json:"type"` // The paths that the route should match. Paths []string `json:"paths"` // The HTTP methods that the route should match. Methods []string `json:"methods"` // To enable websocket support. Websocket *bool `json:"websocket,omitempty"` Upstreams []RouteUpstreams `json:"upstreams"` }
Route A route is a rule that maps an incoming request to a specific backend service.
func NewRoute ¶
func NewRoute(name string, type_ string, paths []string, methods []string, upstreams []RouteUpstreams) *Route
NewRoute instantiates a new Route 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 NewRouteWithDefaults ¶
func NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route 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 (*Route) GetMethods ¶
GetMethods returns the Methods field value
func (*Route) GetMethodsOk ¶
GetMethodsOk returns a tuple with the Methods field value and a boolean to check if the value has been set.
func (*Route) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Route) GetPathsOk ¶
GetPathsOk returns a tuple with the Paths field value and a boolean to check if the value has been set.
func (*Route) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Route) GetUpstreams ¶
func (o *Route) GetUpstreams() []RouteUpstreams
GetUpstreams returns the Upstreams field value
func (*Route) GetUpstreamsOk ¶
func (o *Route) GetUpstreamsOk() ([]RouteUpstreams, bool)
GetUpstreamsOk returns a tuple with the Upstreams field value and a boolean to check if the value has been set.
func (*Route) GetWebsocket ¶
GetWebsocket returns the Websocket field value if set, zero value otherwise.
func (*Route) GetWebsocketOk ¶
GetWebsocketOk returns a tuple with the Websocket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) HasWebsocket ¶
HasWebsocket returns a boolean if a field has been set.
func (*Route) SetUpstreams ¶
func (o *Route) SetUpstreams(v []RouteUpstreams)
SetUpstreams sets field value
func (*Route) SetWebsocket ¶
SetWebsocket gets a reference to the given bool and assigns it to the Websocket field.
type RouteCreate ¶
type RouteCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties Route `json:"properties"` }
RouteCreate struct for RouteCreate
func NewRouteCreate ¶
func NewRouteCreate(properties Route) *RouteCreate
NewRouteCreate instantiates a new RouteCreate 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 NewRouteCreateWithDefaults ¶
func NewRouteCreateWithDefaults() *RouteCreate
NewRouteCreateWithDefaults instantiates a new RouteCreate 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 (*RouteCreate) GetMetadata ¶
func (o *RouteCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*RouteCreate) GetMetadataOk ¶
func (o *RouteCreate) 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 (*RouteCreate) GetProperties ¶
func (o *RouteCreate) GetProperties() Route
GetProperties returns the Properties field value
func (*RouteCreate) GetPropertiesOk ¶
func (o *RouteCreate) GetPropertiesOk() (*Route, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*RouteCreate) HasMetadata ¶
func (o *RouteCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RouteCreate) SetMetadata ¶
func (o *RouteCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*RouteCreate) SetProperties ¶
func (o *RouteCreate) SetProperties(v Route)
SetProperties sets field value
func (RouteCreate) ToMap ¶
func (o RouteCreate) ToMap() (map[string]interface{}, error)
type RouteEnsure ¶
type RouteEnsure struct { // The ID (UUID) of the Route. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties Route `json:"properties"` }
RouteEnsure struct for RouteEnsure
func NewRouteEnsure ¶
func NewRouteEnsure(id string, properties Route) *RouteEnsure
NewRouteEnsure instantiates a new RouteEnsure 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 NewRouteEnsureWithDefaults ¶
func NewRouteEnsureWithDefaults() *RouteEnsure
NewRouteEnsureWithDefaults instantiates a new RouteEnsure 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 (*RouteEnsure) GetIdOk ¶
func (o *RouteEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RouteEnsure) GetMetadata ¶
func (o *RouteEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*RouteEnsure) GetMetadataOk ¶
func (o *RouteEnsure) 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 (*RouteEnsure) GetProperties ¶
func (o *RouteEnsure) GetProperties() Route
GetProperties returns the Properties field value
func (*RouteEnsure) GetPropertiesOk ¶
func (o *RouteEnsure) GetPropertiesOk() (*Route, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*RouteEnsure) HasMetadata ¶
func (o *RouteEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RouteEnsure) SetMetadata ¶
func (o *RouteEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*RouteEnsure) SetProperties ¶
func (o *RouteEnsure) SetProperties(v Route)
SetProperties sets field value
func (RouteEnsure) ToMap ¶
func (o RouteEnsure) ToMap() (map[string]interface{}, error)
type RouteRead ¶
type RouteRead struct { // The ID (UUID) of the Route. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Route. Href string `json:"href"` Metadata MetadataWithEndpoint `json:"metadata"` Properties Route `json:"properties"` }
RouteRead struct for RouteRead
func NewRouteRead ¶
func NewRouteRead(id string, type_ string, href string, metadata MetadataWithEndpoint, properties Route) *RouteRead
NewRouteRead instantiates a new RouteRead 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 NewRouteReadWithDefaults ¶
func NewRouteReadWithDefaults() *RouteRead
NewRouteReadWithDefaults instantiates a new RouteRead 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 (*RouteRead) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*RouteRead) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RouteRead) GetMetadata ¶
func (o *RouteRead) GetMetadata() MetadataWithEndpoint
GetMetadata returns the Metadata field value
func (*RouteRead) GetMetadataOk ¶
func (o *RouteRead) GetMetadataOk() (*MetadataWithEndpoint, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*RouteRead) GetProperties ¶
GetProperties returns the Properties field value
func (*RouteRead) GetPropertiesOk ¶
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*RouteRead) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RouteRead) SetMetadata ¶
func (o *RouteRead) SetMetadata(v MetadataWithEndpoint)
SetMetadata sets field value
func (*RouteRead) SetProperties ¶
SetProperties sets field value
type RouteReadList ¶
type RouteReadList struct { // ID of the Route. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Route. Href string `json:"href"` // The list of Route resources. Items []RouteRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit int32 `json:"limit"` Links Links `json:"_links"` }
RouteReadList struct for RouteReadList
func NewRouteReadList ¶
func NewRouteReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RouteReadList
NewRouteReadList instantiates a new RouteReadList 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 NewRouteReadListWithDefaults ¶
func NewRouteReadListWithDefaults() *RouteReadList
NewRouteReadListWithDefaults instantiates a new RouteReadList 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 (*RouteReadList) GetHref ¶
func (o *RouteReadList) GetHref() string
GetHref returns the Href field value
func (*RouteReadList) GetHrefOk ¶
func (o *RouteReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*RouteReadList) GetId ¶
func (o *RouteReadList) GetId() string
GetId returns the Id field value
func (*RouteReadList) GetIdOk ¶
func (o *RouteReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RouteReadList) GetItems ¶
func (o *RouteReadList) GetItems() []RouteRead
GetItems returns the Items field value if set, zero value otherwise.
func (*RouteReadList) GetItemsOk ¶
func (o *RouteReadList) GetItemsOk() ([]RouteRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RouteReadList) GetLimit ¶
func (o *RouteReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*RouteReadList) GetLimitOk ¶
func (o *RouteReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*RouteReadList) GetLinks ¶
func (o *RouteReadList) GetLinks() Links
GetLinks returns the Links field value
func (*RouteReadList) GetLinksOk ¶
func (o *RouteReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*RouteReadList) GetOffset ¶
func (o *RouteReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*RouteReadList) GetOffsetOk ¶
func (o *RouteReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*RouteReadList) GetType ¶
func (o *RouteReadList) GetType() string
GetType returns the Type field value
func (*RouteReadList) GetTypeOk ¶
func (o *RouteReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RouteReadList) HasItems ¶
func (o *RouteReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RouteReadList) SetItems ¶
func (o *RouteReadList) SetItems(v []RouteRead)
SetItems gets a reference to the given []RouteRead and assigns it to the Items field.
func (*RouteReadList) SetLimit ¶
func (o *RouteReadList) SetLimit(v int32)
SetLimit sets field value
func (*RouteReadList) SetLinks ¶
func (o *RouteReadList) SetLinks(v Links)
SetLinks sets field value
func (*RouteReadList) SetOffset ¶
func (o *RouteReadList) SetOffset(v int32)
SetOffset sets field value
func (RouteReadList) ToMap ¶
func (o RouteReadList) ToMap() (map[string]interface{}, error)
type RouteReadListAllOf ¶
type RouteReadListAllOf struct { // ID of the Route. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the Route. Href string `json:"href"` // The list of Route resources. Items []RouteRead `json:"items,omitempty"` }
RouteReadListAllOf struct for RouteReadListAllOf
func NewRouteReadListAllOf ¶
func NewRouteReadListAllOf(id string, type_ string, href string) *RouteReadListAllOf
NewRouteReadListAllOf instantiates a new RouteReadListAllOf 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 NewRouteReadListAllOfWithDefaults ¶
func NewRouteReadListAllOfWithDefaults() *RouteReadListAllOf
NewRouteReadListAllOfWithDefaults instantiates a new RouteReadListAllOf 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 (*RouteReadListAllOf) GetHref ¶
func (o *RouteReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*RouteReadListAllOf) GetHrefOk ¶
func (o *RouteReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*RouteReadListAllOf) GetId ¶
func (o *RouteReadListAllOf) GetId() string
GetId returns the Id field value
func (*RouteReadListAllOf) GetIdOk ¶
func (o *RouteReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RouteReadListAllOf) GetItems ¶
func (o *RouteReadListAllOf) GetItems() []RouteRead
GetItems returns the Items field value if set, zero value otherwise.
func (*RouteReadListAllOf) GetItemsOk ¶
func (o *RouteReadListAllOf) GetItemsOk() ([]RouteRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RouteReadListAllOf) GetType ¶
func (o *RouteReadListAllOf) GetType() string
GetType returns the Type field value
func (*RouteReadListAllOf) GetTypeOk ¶
func (o *RouteReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RouteReadListAllOf) HasItems ¶
func (o *RouteReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RouteReadListAllOf) SetHref ¶
func (o *RouteReadListAllOf) SetHref(v string)
SetHref sets field value
func (*RouteReadListAllOf) SetId ¶
func (o *RouteReadListAllOf) SetId(v string)
SetId sets field value
func (*RouteReadListAllOf) SetItems ¶
func (o *RouteReadListAllOf) SetItems(v []RouteRead)
SetItems gets a reference to the given []RouteRead and assigns it to the Items field.
func (*RouteReadListAllOf) SetType ¶
func (o *RouteReadListAllOf) SetType(v string)
SetType sets field value
func (RouteReadListAllOf) ToMap ¶
func (o RouteReadListAllOf) ToMap() (map[string]interface{}, error)
type RouteUpstreams ¶
type RouteUpstreams struct { // The target URL of the upstream. Scheme string `json:"scheme"` // The load balancer algorithm. Loadbalancer string `json:"loadbalancer"` // The host of the upstream. Host string `json:"host"` // The port of the upstream. Port int32 `json:"port"` // Weight with which to split traffic to the upstream. Weight *int32 `json:"weight,omitempty"` }
RouteUpstreams struct for RouteUpstreams
func NewRouteUpstreams ¶
func NewRouteUpstreams(scheme string, loadbalancer string, host string, port int32) *RouteUpstreams
NewRouteUpstreams instantiates a new RouteUpstreams 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 NewRouteUpstreamsWithDefaults ¶
func NewRouteUpstreamsWithDefaults() *RouteUpstreams
NewRouteUpstreamsWithDefaults instantiates a new RouteUpstreams 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 (*RouteUpstreams) GetHost ¶
func (o *RouteUpstreams) GetHost() string
GetHost returns the Host field value
func (*RouteUpstreams) GetHostOk ¶
func (o *RouteUpstreams) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*RouteUpstreams) GetLoadbalancer ¶
func (o *RouteUpstreams) GetLoadbalancer() string
GetLoadbalancer returns the Loadbalancer field value
func (*RouteUpstreams) GetLoadbalancerOk ¶
func (o *RouteUpstreams) GetLoadbalancerOk() (*string, bool)
GetLoadbalancerOk returns a tuple with the Loadbalancer field value and a boolean to check if the value has been set.
func (*RouteUpstreams) GetPort ¶
func (o *RouteUpstreams) GetPort() int32
GetPort returns the Port field value
func (*RouteUpstreams) GetPortOk ¶
func (o *RouteUpstreams) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*RouteUpstreams) GetScheme ¶
func (o *RouteUpstreams) GetScheme() string
GetScheme returns the Scheme field value
func (*RouteUpstreams) GetSchemeOk ¶
func (o *RouteUpstreams) GetSchemeOk() (*string, bool)
GetSchemeOk returns a tuple with the Scheme field value and a boolean to check if the value has been set.
func (*RouteUpstreams) GetWeight ¶
func (o *RouteUpstreams) GetWeight() int32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*RouteUpstreams) GetWeightOk ¶
func (o *RouteUpstreams) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RouteUpstreams) HasWeight ¶
func (o *RouteUpstreams) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (*RouteUpstreams) SetHost ¶
func (o *RouteUpstreams) SetHost(v string)
SetHost sets field value
func (*RouteUpstreams) SetLoadbalancer ¶
func (o *RouteUpstreams) SetLoadbalancer(v string)
SetLoadbalancer sets field value
func (*RouteUpstreams) SetScheme ¶
func (o *RouteUpstreams) SetScheme(v string)
SetScheme sets field value
func (*RouteUpstreams) SetWeight ¶
func (o *RouteUpstreams) SetWeight(v int32)
SetWeight gets a reference to the given int32 and assigns it to the Weight field.
func (RouteUpstreams) ToMap ¶
func (o RouteUpstreams) ToMap() (map[string]interface{}, error)
type RoutesApiService ¶
type RoutesApiService service
RoutesApiService RoutesApi service
func (*RoutesApiService) ApigatewaysRoutesDelete ¶
func (a *RoutesApiService) ApigatewaysRoutesDelete(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesDeleteRequest
* ApigatewaysRoutesDelete Delete Route * Deletes the specified Route. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @param routeId The ID (UUID) of the Route. * @return ApiApigatewaysRoutesDeleteRequest
func (*RoutesApiService) ApigatewaysRoutesDeleteExecute ¶
func (a *RoutesApiService) ApigatewaysRoutesDeleteExecute(r ApiApigatewaysRoutesDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*RoutesApiService) ApigatewaysRoutesFindById ¶
func (a *RoutesApiService) ApigatewaysRoutesFindById(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesFindByIdRequest
* ApigatewaysRoutesFindById Retrieve Route * Returns the Route by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @param routeId The ID (UUID) of the Route. * @return ApiApigatewaysRoutesFindByIdRequest
func (*RoutesApiService) ApigatewaysRoutesFindByIdExecute ¶
func (a *RoutesApiService) ApigatewaysRoutesFindByIdExecute(r ApiApigatewaysRoutesFindByIdRequest) (RouteRead, *shared.APIResponse, error)
* Execute executes the request * @return RouteRead
func (*RoutesApiService) ApigatewaysRoutesGet ¶
func (a *RoutesApiService) ApigatewaysRoutesGet(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesGetRequest
- ApigatewaysRoutesGet Retrieve all Routes
- This endpoint enables retrieving all Routes using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apigatewayId The ID (UUID) of the Gateway.
- @return ApiApigatewaysRoutesGetRequest
func (*RoutesApiService) ApigatewaysRoutesGetExecute ¶
func (a *RoutesApiService) ApigatewaysRoutesGetExecute(r ApiApigatewaysRoutesGetRequest) (RouteReadList, *shared.APIResponse, error)
* Execute executes the request * @return RouteReadList
func (*RoutesApiService) ApigatewaysRoutesPost ¶
func (a *RoutesApiService) ApigatewaysRoutesPost(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesPostRequest
- ApigatewaysRoutesPost Create Route
- Creates a new Route.
The full Route needs to be provided to create the object. Optional data will be filled with defaults or left empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apigatewayId The ID (UUID) of the Gateway.
- @return ApiApigatewaysRoutesPostRequest
func (*RoutesApiService) ApigatewaysRoutesPostExecute ¶
func (a *RoutesApiService) ApigatewaysRoutesPostExecute(r ApiApigatewaysRoutesPostRequest) (RouteRead, *shared.APIResponse, error)
* Execute executes the request * @return RouteRead
func (*RoutesApiService) ApigatewaysRoutesPut ¶
func (a *RoutesApiService) ApigatewaysRoutesPut(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesPutRequest
- ApigatewaysRoutesPut Ensure Route
- Ensures that the Route with the provided ID is created or modified.
The full Route needs to be provided to ensure (either update or create) the Route. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apigatewayId The ID (UUID) of the Gateway.
- @param routeId The ID (UUID) of the Route.
- @return ApiApigatewaysRoutesPutRequest
func (*RoutesApiService) ApigatewaysRoutesPutExecute ¶
func (a *RoutesApiService) ApigatewaysRoutesPutExecute(r ApiApigatewaysRoutesPutRequest) (RouteRead, *shared.APIResponse, error)
* Execute executes the request * @return RouteRead
Source Files
¶
- api_api_gateways.go
- api_routes.go
- client.go
- model_error.go
- model_error_messages.go
- model_gateway.go
- model_gateway_create.go
- model_gateway_custom_domains.go
- model_gateway_ensure.go
- model_gateway_read.go
- model_gateway_read_list.go
- model_gateway_read_list_all_of.go
- model_links.go
- model_metadata.go
- model_metadata_with_endpoint.go
- model_metadata_with_endpoint_all_of.go
- model_metadata_with_status.go
- model_metadata_with_status_all_of.go
- model_pagination.go
- model_route.go
- model_route_create.go
- model_route_ensure.go
- model_route_read.go
- model_route_read_list.go
- model_route_read_list_all_of.go
- model_route_upstreams.go
- utils.go