Documentation ¶
Index ¶
- Constants
- Variables
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func SliceToValueDefault[T any](ptrSlice *[]T) []T
- func ToBool(ptr *bool) bool
- func ToBoolDefault(ptr *bool) bool
- func ToBoolSlice(ptrSlice *[]bool) []bool
- func ToByte(ptr *byte) byte
- func ToByteDefault(ptr *byte) byte
- func ToByteSlice(ptrSlice *[]byte) []byte
- func ToFloat32(ptr *float32) float32
- func ToFloat32Default(ptr *float32) float32
- func ToFloat32Slice(ptrSlice *[]float32) []float32
- func ToFloat64(ptr *float64) float64
- func ToFloat64Default(ptr *float64) float64
- func ToFloat64Slice(ptrSlice *[]float64) []float64
- func ToInt(ptr *int) int
- func ToInt16(ptr *int16) int16
- func ToInt16Default(ptr *int16) int16
- func ToInt16Slice(ptrSlice *[]int16) []int16
- func ToInt32(ptr *int32) int32
- func ToInt32Default(ptr *int32) int32
- func ToInt32Slice(ptrSlice *[]int32) []int32
- func ToInt64(ptr *int64) int64
- func ToInt64Default(ptr *int64) int64
- func ToInt64Slice(ptrSlice *[]int64) []int64
- func ToInt8(ptr *int8) int8
- func ToInt8Default(ptr *int8) int8
- func ToInt8Slice(ptrSlice *[]int8) []int8
- func ToIntDefault(ptr *int) int
- func ToIntSlice(ptrSlice *[]int) []int
- func ToPtr[T any](v T) *T
- func ToString(ptr *string) string
- func ToStringDefault(ptr *string) string
- func ToStringSlice(ptrSlice *[]string) []string
- func ToTime(ptr *time.Time) time.Time
- func ToTimeDefault(ptr *time.Time) time.Time
- func ToTimeSlice(ptrSlice *[]time.Time) []time.Time
- func ToUint(ptr *uint) uint
- func ToUint16(ptr *uint16) uint16
- func ToUint16Default(ptr *uint16) uint16
- func ToUint16Slice(ptrSlice *[]uint16) []uint16
- func ToUint32(ptr *uint32) uint32
- func ToUint32Default(ptr *uint32) uint32
- func ToUint32Slice(ptrSlice *[]uint32) []uint32
- func ToUint64(ptr *uint64) uint64
- func ToUint64Default(ptr *uint64) uint64
- func ToUint64Slice(ptrSlice *[]uint64) []uint64
- func ToUint8(ptr *uint8) uint8
- func ToUint8Default(ptr *uint8) uint8
- func ToUint8Slice(ptrSlice *[]uint8) []uint8
- func ToUintDefault(ptr *uint) uint
- func ToUintSlice(ptrSlice *[]uint) []uint
- func ToValue[T any](ptr *T) T
- func ToValueDefault[T any](ptr *T) T
- type APIClient
- type APIGatewaysApiService
- func (a *APIGatewaysApiService) ApigatewaysDelete(ctx _context.Context, apigatewayId string) ApiApigatewaysDeleteRequest
- func (a *APIGatewaysApiService) ApigatewaysDeleteExecute(r ApiApigatewaysDeleteRequest) (*APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysFindById(ctx _context.Context, apigatewayId string) ApiApigatewaysFindByIdRequest
- func (a *APIGatewaysApiService) ApigatewaysFindByIdExecute(r ApiApigatewaysFindByIdRequest) (GatewayRead, *APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysGet(ctx _context.Context) ApiApigatewaysGetRequest
- func (a *APIGatewaysApiService) ApigatewaysGetExecute(r ApiApigatewaysGetRequest) (GatewayReadList, *APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysPost(ctx _context.Context) ApiApigatewaysPostRequest
- func (a *APIGatewaysApiService) ApigatewaysPostExecute(r ApiApigatewaysPostRequest) (GatewayRead, *APIResponse, error)
- func (a *APIGatewaysApiService) ApigatewaysPut(ctx _context.Context, apigatewayId string) ApiApigatewaysPutRequest
- func (a *APIGatewaysApiService) ApigatewaysPutExecute(r ApiApigatewaysPutRequest) (GatewayRead, *APIResponse, error)
- type APIKey
- type APIResponse
- type ApiApigatewaysDeleteRequest
- type ApiApigatewaysFindByIdRequest
- type ApiApigatewaysGetRequest
- func (r ApiApigatewaysGetRequest) Execute() (GatewayReadList, *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, *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 BasicAuth
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) AddDefaultQueryParam(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- 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) MarshalJSON() ([]byte, error)
- func (o *Error) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- 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) MarshalJSON() ([]byte, error)
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- 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) HasName() bool
- func (o Gateway) MarshalJSON() ([]byte, error)
- func (o *Gateway) SetCustomDomains(v []GatewayCustomDomains)
- func (o *Gateway) SetLogs(v bool)
- func (o *Gateway) SetMetrics(v bool)
- func (o *Gateway) SetName(v string)
- 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) HasProperties() bool
- func (o GatewayCreate) MarshalJSON() ([]byte, error)
- func (o *GatewayCreate) SetMetadata(v map[string]interface{})
- func (o *GatewayCreate) SetProperties(v Gateway)
- 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) MarshalJSON() ([]byte, error)
- func (o *GatewayCustomDomains) SetCertificateId(v string)
- func (o *GatewayCustomDomains) SetName(v string)
- 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) HasId() bool
- func (o *GatewayEnsure) HasMetadata() bool
- func (o *GatewayEnsure) HasProperties() bool
- func (o GatewayEnsure) MarshalJSON() ([]byte, error)
- func (o *GatewayEnsure) SetId(v string)
- func (o *GatewayEnsure) SetMetadata(v map[string]interface{})
- func (o *GatewayEnsure) SetProperties(v Gateway)
- 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) HasHref() bool
- func (o *GatewayRead) HasId() bool
- func (o *GatewayRead) HasMetadata() bool
- func (o *GatewayRead) HasProperties() bool
- func (o *GatewayRead) HasType() bool
- func (o GatewayRead) MarshalJSON() ([]byte, error)
- 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)
- 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) HasHref() bool
- func (o *GatewayReadList) HasId() bool
- func (o *GatewayReadList) HasItems() bool
- func (o *GatewayReadList) HasLimit() bool
- func (o *GatewayReadList) HasLinks() bool
- func (o *GatewayReadList) HasOffset() bool
- func (o *GatewayReadList) HasType() bool
- func (o GatewayReadList) MarshalJSON() ([]byte, error)
- 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)
- 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) HasHref() bool
- func (o *GatewayReadListAllOf) HasId() bool
- func (o *GatewayReadListAllOf) HasItems() bool
- func (o *GatewayReadListAllOf) HasType() bool
- func (o GatewayReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *GatewayReadListAllOf) SetHref(v string)
- func (o *GatewayReadListAllOf) SetId(v string)
- func (o *GatewayReadListAllOf) SetItems(v []GatewayRead)
- func (o *GatewayReadListAllOf) SetType(v string)
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- 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) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- type LogLevel
- type Logger
- 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) MarshalJSON() ([]byte, error)
- 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)
- 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) HasPublicEndpoint() bool
- func (o *MetadataWithEndpoint) HasResourceURN() bool
- func (o *MetadataWithEndpoint) HasStatus() bool
- func (o *MetadataWithEndpoint) HasStatusMessage() bool
- func (o MetadataWithEndpoint) MarshalJSON() ([]byte, error)
- 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)
- type MetadataWithEndpointAllOf
- func (o *MetadataWithEndpointAllOf) GetPublicEndpoint() *string
- func (o *MetadataWithEndpointAllOf) GetPublicEndpointOk() (*string, bool)
- func (o *MetadataWithEndpointAllOf) HasPublicEndpoint() bool
- func (o MetadataWithEndpointAllOf) MarshalJSON() ([]byte, error)
- func (o *MetadataWithEndpointAllOf) SetPublicEndpoint(v string)
- 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) HasStatus() bool
- func (o *MetadataWithStatus) HasStatusMessage() bool
- func (o MetadataWithStatus) MarshalJSON() ([]byte, error)
- 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)
- 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) HasStatus() bool
- func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
- func (o MetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStatusAllOf) SetStatus(v string)
- func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
- 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 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) HasLimit() bool
- func (o *Pagination) HasLinks() bool
- func (o *Pagination) HasOffset() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v Links)
- func (o *Pagination) SetOffset(v int32)
- 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) HasMethods() bool
- func (o *Route) HasName() bool
- func (o *Route) HasPaths() bool
- func (o *Route) HasType() bool
- func (o *Route) HasUpstreams() bool
- func (o *Route) HasWebsocket() bool
- func (o Route) MarshalJSON() ([]byte, error)
- 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)
- 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) HasProperties() bool
- func (o RouteCreate) MarshalJSON() ([]byte, error)
- func (o *RouteCreate) SetMetadata(v map[string]interface{})
- func (o *RouteCreate) SetProperties(v Route)
- 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) HasId() bool
- func (o *RouteEnsure) HasMetadata() bool
- func (o *RouteEnsure) HasProperties() bool
- func (o RouteEnsure) MarshalJSON() ([]byte, error)
- func (o *RouteEnsure) SetId(v string)
- func (o *RouteEnsure) SetMetadata(v map[string]interface{})
- func (o *RouteEnsure) SetProperties(v Route)
- 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) HasHref() bool
- func (o *RouteRead) HasId() bool
- func (o *RouteRead) HasMetadata() bool
- func (o *RouteRead) HasProperties() bool
- func (o *RouteRead) HasType() bool
- func (o RouteRead) MarshalJSON() ([]byte, error)
- 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)
- 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) HasHref() bool
- func (o *RouteReadList) HasId() bool
- func (o *RouteReadList) HasItems() bool
- func (o *RouteReadList) HasLimit() bool
- func (o *RouteReadList) HasLinks() bool
- func (o *RouteReadList) HasOffset() bool
- func (o *RouteReadList) HasType() bool
- func (o RouteReadList) MarshalJSON() ([]byte, error)
- 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)
- 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) HasHref() bool
- func (o *RouteReadListAllOf) HasId() bool
- func (o *RouteReadListAllOf) HasItems() bool
- func (o *RouteReadListAllOf) HasType() bool
- func (o RouteReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *RouteReadListAllOf) SetHref(v string)
- func (o *RouteReadListAllOf) SetId(v string)
- func (o *RouteReadListAllOf) SetItems(v []RouteRead)
- func (o *RouteReadListAllOf) SetType(v string)
- 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) HasHost() bool
- func (o *RouteUpstreams) HasLoadbalancer() bool
- func (o *RouteUpstreams) HasPort() bool
- func (o *RouteUpstreams) HasScheme() bool
- func (o *RouteUpstreams) HasWeight() bool
- func (o RouteUpstreams) MarshalJSON() ([]byte, error)
- 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)
- type RoutesApiService
- func (a *RoutesApiService) ApigatewaysRoutesDelete(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesDeleteRequest
- func (a *RoutesApiService) ApigatewaysRoutesDeleteExecute(r ApiApigatewaysRoutesDeleteRequest) (*APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesFindById(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesFindByIdRequest
- func (a *RoutesApiService) ApigatewaysRoutesFindByIdExecute(r ApiApigatewaysRoutesFindByIdRequest) (RouteRead, *APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesGet(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesGetRequest
- func (a *RoutesApiService) ApigatewaysRoutesGetExecute(r ApiApigatewaysRoutesGetRequest) (RouteReadList, *APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesPost(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesPostRequest
- func (a *RoutesApiService) ApigatewaysRoutesPostExecute(r ApiApigatewaysRoutesPostRequest) (RouteRead, *APIResponse, error)
- func (a *RoutesApiService) ApigatewaysRoutesPut(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesPutRequest
- func (a *RoutesApiService) ApigatewaysRoutesPutExecute(r ApiApigatewaysRoutesPutRequest) (RouteRead, *APIResponse, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TLSDial
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.1.0" )
const ( IonosUsernameEnvVar = "IONOS_USERNAME" IonosPasswordEnvVar = "IONOS_PASSWORD" IonosTokenEnvVar = "IONOS_TOKEN" IonosApiUrlEnvVar = "IONOS_API_URL" IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://apigateway.de-txl.ionos.com" DefaultIonosBasePath = "" )
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var (
IonosServerUrls = []string{
"https://apigateway.de-txl.ionos.com",
}
)
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 PtrFloat32 ¶
PtrFloat32 - returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 - returns a pointer to given float value.
func SliceToValueDefault ¶
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶
ToIntSlice - returns a int slice of the pointer passed in
func ToStringDefault ¶
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil
func ToTimeSlice ¶
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶
ToUintSlice - returns a uint slice of the pointer passed in
func ToValueDefault ¶
func ToValueDefault[T any](ptr *T) T
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil
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 *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() *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) (*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, *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, *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, *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, *APIResponse, error)
* Execute executes the request * @return GatewayRead
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // RequestTime is the time duration from the moment the APIClient sends // the HTTP request to the moment it receives an HTTP response. RequestTime time.Duration `json:"duration,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
func (*APIResponse) HttpNotFound ¶
func (resp *APIResponse) HttpNotFound() bool
HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values
func (*APIResponse) LogInfo ¶
func (resp *APIResponse) LogInfo()
LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values
type ApiApigatewaysDeleteRequest ¶
type ApiApigatewaysDeleteRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysDeleteRequest) Execute ¶
func (r ApiApigatewaysDeleteRequest) Execute() (*APIResponse, error)
type ApiApigatewaysFindByIdRequest ¶
type ApiApigatewaysFindByIdRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysFindByIdRequest) Execute ¶
func (r ApiApigatewaysFindByIdRequest) Execute() (GatewayRead, *APIResponse, error)
type ApiApigatewaysGetRequest ¶
type ApiApigatewaysGetRequest struct { ApiService *APIGatewaysApiService // contains filtered or unexported fields }
func (ApiApigatewaysGetRequest) Execute ¶
func (r ApiApigatewaysGetRequest) Execute() (GatewayReadList, *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, *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, *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() (*APIResponse, error)
type ApiApigatewaysRoutesFindByIdRequest ¶
type ApiApigatewaysRoutesFindByIdRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesFindByIdRequest) Execute ¶
func (r ApiApigatewaysRoutesFindByIdRequest) Execute() (RouteRead, *APIResponse, error)
type ApiApigatewaysRoutesGetRequest ¶
type ApiApigatewaysRoutesGetRequest struct { ApiService *RoutesApiService // contains filtered or unexported fields }
func (ApiApigatewaysRoutesGetRequest) Execute ¶
func (r ApiApigatewaysRoutesGetRequest) Execute() (RouteReadList, *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, *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, *APIResponse, error)
func (ApiApigatewaysRoutesPutRequest) RouteEnsure ¶
func (r ApiApigatewaysRoutesPutRequest) RouteEnsure(routeEnsure RouteEnsure) ApiApigatewaysRoutesPutRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` DefaultQueryParams url.Values `json:"defaultQueryParams,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client LogLevel LogLevel Logger Logger Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` WaitTime time.Duration `json:"waitTime,omitempty"` MaxWaitTime time.Duration `json:"maxWaitTime,omitempty"` }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(username, password, token, hostUrl string) *Configuration
NewConfiguration returns a new Configuration object
func NewConfigurationFromEnv ¶
func NewConfigurationFromEnv() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) AddDefaultQueryParam ¶
func (c *Configuration) AddDefaultQueryParam(key string, value string)
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
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 the value is explicit nil, the zero value for int32 will be returned
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) GetMessages ¶
func (o *Error) GetMessages() *[]ErrorMessages
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) MarshalJSON ¶
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages sets field value
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 the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) MarshalJSON ¶
func (o ErrorMessages) MarshalJSON() ([]byte, error)
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage sets field value
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 the value is explicit nil, the zero value for []GatewayCustomDomains will be returned
func (*Gateway) GetCustomDomainsOk ¶
func (o *Gateway) GetCustomDomainsOk() (*[]GatewayCustomDomains, bool)
GetCustomDomainsOk returns a tuple with the CustomDomains field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Gateway) GetLogs ¶
GetLogs returns the Logs field value If the value is explicit nil, the zero value for bool will be returned
func (*Gateway) GetLogsOk ¶
GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Gateway) GetMetrics ¶
GetMetrics returns the Metrics field value If the value is explicit nil, the zero value for bool will be returned
func (*Gateway) GetMetricsOk ¶
GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Gateway) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Gateway) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) MarshalJSON ¶
func (*Gateway) SetCustomDomains ¶
func (o *Gateway) SetCustomDomains(v []GatewayCustomDomains)
SetCustomDomains sets field value
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 the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*GatewayCreate) GetMetadataOk ¶
func (o *GatewayCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayCreate) GetProperties ¶
func (o *GatewayCreate) GetProperties() *Gateway
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayCreate) HasMetadata ¶
func (o *GatewayCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*GatewayCreate) HasProperties ¶
func (o *GatewayCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (GatewayCreate) MarshalJSON ¶
func (o GatewayCreate) MarshalJSON() ([]byte, error)
func (*GatewayCreate) SetMetadata ¶
func (o *GatewayCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*GatewayCreate) SetProperties ¶
func (o *GatewayCreate) SetProperties(v Gateway)
SetProperties sets field value
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 the value is explicit nil, the zero value for string will be returned
func (*GatewayCustomDomains) GetCertificateIdOk ¶
func (o *GatewayCustomDomains) GetCertificateIdOk() (*string, bool)
GetCertificateIdOk returns a tuple with the CertificateId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayCustomDomains) GetName ¶
func (o *GatewayCustomDomains) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*GatewayCustomDomains) GetNameOk ¶
func (o *GatewayCustomDomains) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) MarshalJSON ¶
func (o GatewayCustomDomains) MarshalJSON() ([]byte, error)
func (*GatewayCustomDomains) SetCertificateId ¶
func (o *GatewayCustomDomains) SetCertificateId(v string)
SetCertificateId sets field value
func (*GatewayCustomDomains) SetName ¶
func (o *GatewayCustomDomains) SetName(v string)
SetName sets field value
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayEnsure) GetMetadata ¶
func (o *GatewayEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*GatewayEnsure) GetMetadataOk ¶
func (o *GatewayEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayEnsure) GetProperties ¶
func (o *GatewayEnsure) GetProperties() *Gateway
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayEnsure) HasId ¶
func (o *GatewayEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayEnsure) HasMetadata ¶
func (o *GatewayEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*GatewayEnsure) HasProperties ¶
func (o *GatewayEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (GatewayEnsure) MarshalJSON ¶
func (o GatewayEnsure) MarshalJSON() ([]byte, error)
func (*GatewayEnsure) SetMetadata ¶
func (o *GatewayEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*GatewayEnsure) SetProperties ¶
func (o *GatewayEnsure) SetProperties(v Gateway)
SetProperties sets field value
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayRead) GetId ¶
func (o *GatewayRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayRead) GetMetadata ¶
func (o *GatewayRead) GetMetadata() *MetadataWithEndpoint
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithEndpoint will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayRead) GetProperties ¶
func (o *GatewayRead) GetProperties() *Gateway
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayRead) GetType ¶
func (o *GatewayRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayRead) HasHref ¶
func (o *GatewayRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*GatewayRead) HasId ¶
func (o *GatewayRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayRead) HasMetadata ¶
func (o *GatewayRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*GatewayRead) HasProperties ¶
func (o *GatewayRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*GatewayRead) HasType ¶
func (o *GatewayRead) HasType() bool
HasType returns a boolean if a field has been set.
func (GatewayRead) MarshalJSON ¶
func (o GatewayRead) MarshalJSON() ([]byte, error)
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
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetId ¶
func (o *GatewayReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetItems ¶
func (o *GatewayReadList) GetItems() *[]GatewayRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []GatewayRead will be returned
func (*GatewayReadList) GetItemsOk ¶
func (o *GatewayReadList) GetItemsOk() (*[]GatewayRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetLimit ¶
func (o *GatewayReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetLinks ¶
func (o *GatewayReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetOffset ¶
func (o *GatewayReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) GetType ¶
func (o *GatewayReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadList) HasHref ¶
func (o *GatewayReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*GatewayReadList) HasId ¶
func (o *GatewayReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayReadList) HasItems ¶
func (o *GatewayReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GatewayReadList) HasLimit ¶
func (o *GatewayReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*GatewayReadList) HasLinks ¶
func (o *GatewayReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*GatewayReadList) HasOffset ¶
func (o *GatewayReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*GatewayReadList) HasType ¶
func (o *GatewayReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (GatewayReadList) MarshalJSON ¶
func (o GatewayReadList) MarshalJSON() ([]byte, error)
func (*GatewayReadList) SetHref ¶
func (o *GatewayReadList) SetHref(v string)
SetHref sets field value
func (*GatewayReadList) SetItems ¶
func (o *GatewayReadList) SetItems(v []GatewayRead)
SetItems sets field value
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
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadListAllOf) GetId ¶
func (o *GatewayReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadListAllOf) GetItems ¶
func (o *GatewayReadListAllOf) GetItems() *[]GatewayRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []GatewayRead will be returned
func (*GatewayReadListAllOf) GetItemsOk ¶
func (o *GatewayReadListAllOf) GetItemsOk() (*[]GatewayRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadListAllOf) GetType ¶
func (o *GatewayReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GatewayReadListAllOf) HasHref ¶
func (o *GatewayReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*GatewayReadListAllOf) HasId ¶
func (o *GatewayReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayReadListAllOf) HasItems ¶
func (o *GatewayReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GatewayReadListAllOf) HasType ¶
func (o *GatewayReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (GatewayReadListAllOf) MarshalJSON ¶
func (o GatewayReadListAllOf) MarshalJSON() ([]byte, error)
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 sets field value
func (*GatewayReadListAllOf) SetType ¶
func (o *GatewayReadListAllOf) SetType(v string)
SetType sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func NewGenericOpenAPIError ¶
func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError
NewGenericOpenAPIError - constructor for GenericOpenAPIError
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
func (*GenericOpenAPIError) SetBody ¶
func (e *GenericOpenAPIError) SetBody(body []byte)
SetBody sets the raw body of the error
func (*GenericOpenAPIError) SetError ¶
func (e *GenericOpenAPIError) SetError(error string)
SetError sets the error string
func (*GenericOpenAPIError) SetModel ¶
func (e *GenericOpenAPIError) SetModel(model interface{})
SetModel sets the model of the error
func (*GenericOpenAPIError) SetStatusCode ¶
func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
SetStatusCode sets the status code of the error
func (GenericOpenAPIError) StatusCode ¶
func (e GenericOpenAPIError) StatusCode() int
StatusCode returns the status code of the 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) GetNext ¶
GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetPrev ¶
GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetSelf ¶
GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Links) MarshalJSON ¶
type LogLevel ¶
type LogLevel uint
const ( Off LogLevel = 0x100 * iota Debug // Trace We recommend you only set this field for debugging purposes. // Disable it in your production environments because it can log sensitive data. // It logs the full request and response without encryption, even for an HTTPS call. // Verbose request and response logging can also significantly impact your application's performance. Trace )
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
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 the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetResourceURN ¶
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetResourceURNOk ¶
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) MarshalJSON ¶
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
func (*Metadata) SetResourceURN ¶
SetResourceURN sets field value
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 the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetCreatedByOk ¶
func (o *MetadataWithEndpoint) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetCreatedByUserId ¶
func (o *MetadataWithEndpoint) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetCreatedByUserIdOk ¶
func (o *MetadataWithEndpoint) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetCreatedDate ¶
func (o *MetadataWithEndpoint) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithEndpoint) GetCreatedDateOk ¶
func (o *MetadataWithEndpoint) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetLastModifiedBy ¶
func (o *MetadataWithEndpoint) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetLastModifiedByOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetLastModifiedByUserId ¶
func (o *MetadataWithEndpoint) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetLastModifiedDate ¶
func (o *MetadataWithEndpoint) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithEndpoint) GetLastModifiedDateOk ¶
func (o *MetadataWithEndpoint) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetPublicEndpoint ¶
func (o *MetadataWithEndpoint) GetPublicEndpoint() *string
GetPublicEndpoint returns the PublicEndpoint field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetResourceURN ¶
func (o *MetadataWithEndpoint) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetResourceURNOk ¶
func (o *MetadataWithEndpoint) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpoint) GetStatus ¶
func (o *MetadataWithEndpoint) GetStatus() *string
GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetStatusMessage ¶
func (o *MetadataWithEndpoint) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithEndpoint) GetStatusMessageOk ¶
func (o *MetadataWithEndpoint) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) HasPublicEndpoint ¶
func (o *MetadataWithEndpoint) HasPublicEndpoint() bool
HasPublicEndpoint 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) HasStatus ¶
func (o *MetadataWithEndpoint) HasStatus() bool
HasStatus 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) MarshalJSON ¶
func (o MetadataWithEndpoint) MarshalJSON() ([]byte, error)
func (*MetadataWithEndpoint) SetCreatedBy ¶
func (o *MetadataWithEndpoint) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*MetadataWithEndpoint) SetCreatedByUserId ¶
func (o *MetadataWithEndpoint) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*MetadataWithEndpoint) SetCreatedDate ¶
func (o *MetadataWithEndpoint) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithEndpoint) SetLastModifiedBy ¶
func (o *MetadataWithEndpoint) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*MetadataWithEndpoint) SetLastModifiedByUserId ¶
func (o *MetadataWithEndpoint) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*MetadataWithEndpoint) SetLastModifiedDate ¶
func (o *MetadataWithEndpoint) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithEndpoint) SetPublicEndpoint ¶
func (o *MetadataWithEndpoint) SetPublicEndpoint(v string)
SetPublicEndpoint sets field value
func (*MetadataWithEndpoint) SetResourceURN ¶
func (o *MetadataWithEndpoint) SetResourceURN(v string)
SetResourceURN sets field value
func (*MetadataWithEndpoint) SetStatus ¶
func (o *MetadataWithEndpoint) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithEndpoint) SetStatusMessage ¶
func (o *MetadataWithEndpoint) SetStatusMessage(v string)
SetStatusMessage sets field value
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithEndpointAllOf) HasPublicEndpoint ¶
func (o *MetadataWithEndpointAllOf) HasPublicEndpoint() bool
HasPublicEndpoint returns a boolean if a field has been set.
func (MetadataWithEndpointAllOf) MarshalJSON ¶
func (o MetadataWithEndpointAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithEndpointAllOf) SetPublicEndpoint ¶
func (o *MetadataWithEndpointAllOf) SetPublicEndpoint(v string)
SetPublicEndpoint sets field value
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 the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetCreatedByOk ¶
func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetCreatedByUserId ¶
func (o *MetadataWithStatus) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetCreatedByUserIdOk ¶
func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetCreatedDate ¶
func (o *MetadataWithStatus) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStatus) GetCreatedDateOk ¶
func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedBy ¶
func (o *MetadataWithStatus) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetLastModifiedByOk ¶
func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedByUserId ¶
func (o *MetadataWithStatus) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedDate ¶
func (o *MetadataWithStatus) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStatus) GetLastModifiedDateOk ¶
func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetResourceURN ¶
func (o *MetadataWithStatus) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetResourceURNOk ¶
func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetStatus ¶
func (o *MetadataWithStatus) GetStatus() *string
GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetStatusMessage ¶
func (o *MetadataWithStatus) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetStatusMessageOk ¶
func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
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) HasStatus ¶
func (o *MetadataWithStatus) HasStatus() bool
HasStatus 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) MarshalJSON ¶
func (o MetadataWithStatus) MarshalJSON() ([]byte, error)
func (*MetadataWithStatus) SetCreatedBy ¶
func (o *MetadataWithStatus) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*MetadataWithStatus) SetCreatedByUserId ¶
func (o *MetadataWithStatus) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*MetadataWithStatus) SetCreatedDate ¶
func (o *MetadataWithStatus) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithStatus) SetLastModifiedBy ¶
func (o *MetadataWithStatus) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*MetadataWithStatus) SetLastModifiedByUserId ¶
func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*MetadataWithStatus) SetLastModifiedDate ¶
func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithStatus) SetResourceURN ¶
func (o *MetadataWithStatus) SetResourceURN(v string)
SetResourceURN sets field value
func (*MetadataWithStatus) SetStatus ¶
func (o *MetadataWithStatus) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatus) SetStatusMessage ¶
func (o *MetadataWithStatus) SetStatusMessage(v string)
SetStatusMessage sets field value
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 If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatusAllOf) GetStatusMessage ¶
func (o *MetadataWithStatusAllOf) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatusAllOf) GetStatusMessageOk ¶
func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatusAllOf) HasStatus ¶
func (o *MetadataWithStatusAllOf) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MetadataWithStatusAllOf) HasStatusMessage ¶
func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (MetadataWithStatusAllOf) MarshalJSON ¶
func (o MetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithStatusAllOf) SetStatus ¶
func (o *MetadataWithStatusAllOf) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatusAllOf) SetStatusMessage ¶
func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
SetStatusMessage sets field value
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 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 If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) HasLimit ¶
func (o *Pagination) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*Pagination) HasLinks ¶
func (o *Pagination) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*Pagination) HasOffset ¶
func (o *Pagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, 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 If the value is explicit nil, the zero value for []string will be returned
func (*Route) GetMethodsOk ¶
GetMethodsOk returns a tuple with the Methods field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Route) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) GetPaths ¶
GetPaths returns the Paths field value If the value is explicit nil, the zero value for []string will be returned
func (*Route) GetPathsOk ¶
GetPathsOk returns a tuple with the Paths field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) GetType ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*Route) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) GetUpstreams ¶
func (o *Route) GetUpstreams() *[]RouteUpstreams
GetUpstreams returns the Upstreams field value If the value is explicit nil, the zero value for []RouteUpstreams will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) GetWebsocket ¶
GetWebsocket returns the Websocket field value If the value is explicit nil, the zero value for bool will be returned
func (*Route) GetWebsocketOk ¶
GetWebsocketOk returns a tuple with the Websocket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Route) HasMethods ¶
HasMethods returns a boolean if a field has been set.
func (*Route) HasUpstreams ¶
HasUpstreams returns a boolean if a field has been set.
func (*Route) HasWebsocket ¶
HasWebsocket returns a boolean if a field has been set.
func (Route) MarshalJSON ¶
func (*Route) SetUpstreams ¶
func (o *Route) SetUpstreams(v []RouteUpstreams)
SetUpstreams sets field value
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 the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*RouteCreate) GetMetadataOk ¶
func (o *RouteCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteCreate) GetProperties ¶
func (o *RouteCreate) GetProperties() *Route
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteCreate) HasMetadata ¶
func (o *RouteCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RouteCreate) HasProperties ¶
func (o *RouteCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (RouteCreate) MarshalJSON ¶
func (o RouteCreate) MarshalJSON() ([]byte, error)
func (*RouteCreate) SetMetadata ¶
func (o *RouteCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*RouteCreate) SetProperties ¶
func (o *RouteCreate) SetProperties(v Route)
SetProperties sets field value
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) GetId ¶
func (o *RouteEnsure) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteEnsure) GetMetadata ¶
func (o *RouteEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*RouteEnsure) GetMetadataOk ¶
func (o *RouteEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteEnsure) GetProperties ¶
func (o *RouteEnsure) GetProperties() *Route
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteEnsure) HasId ¶
func (o *RouteEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*RouteEnsure) HasMetadata ¶
func (o *RouteEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RouteEnsure) HasProperties ¶
func (o *RouteEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (RouteEnsure) MarshalJSON ¶
func (o RouteEnsure) MarshalJSON() ([]byte, error)
func (*RouteEnsure) SetMetadata ¶
func (o *RouteEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*RouteEnsure) SetProperties ¶
func (o *RouteEnsure) SetProperties(v Route)
SetProperties sets field value
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) GetHref ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*RouteRead) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteRead) GetId ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*RouteRead) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteRead) GetMetadata ¶
func (o *RouteRead) GetMetadata() *MetadataWithEndpoint
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithEndpoint will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteRead) GetProperties ¶
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned
func (*RouteRead) GetPropertiesOk ¶
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteRead) GetType ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*RouteRead) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteRead) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*RouteRead) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (RouteRead) MarshalJSON ¶
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetId ¶
func (o *RouteReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetItems ¶
func (o *RouteReadList) GetItems() *[]RouteRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []RouteRead will be returned
func (*RouteReadList) GetItemsOk ¶
func (o *RouteReadList) GetItemsOk() (*[]RouteRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetLimit ¶
func (o *RouteReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetLinks ¶
func (o *RouteReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetOffset ¶
func (o *RouteReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) GetType ¶
func (o *RouteReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadList) HasHref ¶
func (o *RouteReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RouteReadList) HasId ¶
func (o *RouteReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*RouteReadList) HasItems ¶
func (o *RouteReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RouteReadList) HasLimit ¶
func (o *RouteReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*RouteReadList) HasLinks ¶
func (o *RouteReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RouteReadList) HasOffset ¶
func (o *RouteReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*RouteReadList) HasType ¶
func (o *RouteReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (RouteReadList) MarshalJSON ¶
func (o RouteReadList) MarshalJSON() ([]byte, error)
func (*RouteReadList) SetItems ¶
func (o *RouteReadList) SetItems(v []RouteRead)
SetItems sets field value
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
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadListAllOf) GetId ¶
func (o *RouteReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadListAllOf) GetItems ¶
func (o *RouteReadListAllOf) GetItems() *[]RouteRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []RouteRead will be returned
func (*RouteReadListAllOf) GetItemsOk ¶
func (o *RouteReadListAllOf) GetItemsOk() (*[]RouteRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadListAllOf) GetType ¶
func (o *RouteReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteReadListAllOf) HasHref ¶
func (o *RouteReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RouteReadListAllOf) HasId ¶
func (o *RouteReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*RouteReadListAllOf) HasItems ¶
func (o *RouteReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RouteReadListAllOf) HasType ¶
func (o *RouteReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (RouteReadListAllOf) MarshalJSON ¶
func (o RouteReadListAllOf) MarshalJSON() ([]byte, error)
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 sets field value
func (*RouteReadListAllOf) SetType ¶
func (o *RouteReadListAllOf) SetType(v string)
SetType sets field value
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteUpstreams) GetLoadbalancer ¶
func (o *RouteUpstreams) GetLoadbalancer() *string
GetLoadbalancer returns the Loadbalancer field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteUpstreams) GetPort ¶
func (o *RouteUpstreams) GetPort() *int32
GetPort returns the Port field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteUpstreams) GetScheme ¶
func (o *RouteUpstreams) GetScheme() *string
GetScheme returns the Scheme field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteUpstreams) GetWeight ¶
func (o *RouteUpstreams) GetWeight() *int32
GetWeight returns the Weight field value If the value is explicit nil, the zero value for int32 will be returned
func (*RouteUpstreams) GetWeightOk ¶
func (o *RouteUpstreams) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RouteUpstreams) HasHost ¶
func (o *RouteUpstreams) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*RouteUpstreams) HasLoadbalancer ¶
func (o *RouteUpstreams) HasLoadbalancer() bool
HasLoadbalancer returns a boolean if a field has been set.
func (*RouteUpstreams) HasPort ¶
func (o *RouteUpstreams) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*RouteUpstreams) HasScheme ¶
func (o *RouteUpstreams) HasScheme() bool
HasScheme returns a boolean if a field has been set.
func (*RouteUpstreams) HasWeight ¶
func (o *RouteUpstreams) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (RouteUpstreams) MarshalJSON ¶
func (o RouteUpstreams) MarshalJSON() ([]byte, error)
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 sets field value
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) (*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, *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, *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, *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, *APIResponse, error)
* Execute executes the request * @return RouteRead
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_api_gateways.go
- api_routes.go
- client.go
- configuration.go
- logger.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
- response.go
- utils.go