Documentation
¶
Index ¶
- Constants
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
- func IsNil(i interface{}) bool
- func IsZero(v interface{}) bool
- type APIClient
- type ApiIpsecgatewaysDeleteRequest
- type ApiIpsecgatewaysFindByIdRequest
- type ApiIpsecgatewaysGetRequest
- type ApiIpsecgatewaysPostRequest
- type ApiIpsecgatewaysPutRequest
- type ApiIpsecgatewaysTunnelsDeleteRequest
- type ApiIpsecgatewaysTunnelsFindByIdRequest
- type ApiIpsecgatewaysTunnelsGetRequest
- type ApiIpsecgatewaysTunnelsPostRequest
- type ApiIpsecgatewaysTunnelsPutRequest
- type ApiWireguardgatewaysDeleteRequest
- type ApiWireguardgatewaysFindByIdRequest
- type ApiWireguardgatewaysGetRequest
- type ApiWireguardgatewaysPeersDeleteRequest
- type ApiWireguardgatewaysPeersFindByIdRequest
- type ApiWireguardgatewaysPeersGetRequest
- func (r ApiWireguardgatewaysPeersGetRequest) Execute() (WireguardPeerReadList, *shared.APIResponse, error)
- func (r ApiWireguardgatewaysPeersGetRequest) Limit(limit int32) ApiWireguardgatewaysPeersGetRequest
- func (r ApiWireguardgatewaysPeersGetRequest) Offset(offset int32) ApiWireguardgatewaysPeersGetRequest
- type ApiWireguardgatewaysPeersPostRequest
- type ApiWireguardgatewaysPeersPutRequest
- type ApiWireguardgatewaysPostRequest
- type ApiWireguardgatewaysPutRequest
- type Connection
- func (o *Connection) GetDatacenterId() string
- func (o *Connection) GetDatacenterIdOk() (*string, bool)
- func (o *Connection) GetIpv4CIDR() string
- func (o *Connection) GetIpv4CIDROk() (*string, bool)
- func (o *Connection) GetIpv6CIDR() string
- func (o *Connection) GetIpv6CIDROk() (*string, bool)
- func (o *Connection) GetLanId() string
- func (o *Connection) GetLanIdOk() (*string, bool)
- func (o *Connection) HasIpv6CIDR() bool
- func (o *Connection) SetDatacenterId(v string)
- func (o *Connection) SetIpv4CIDR(v string)
- func (o *Connection) SetIpv6CIDR(v string)
- func (o *Connection) SetLanId(v string)
- func (o Connection) ToMap() (map[string]interface{}, error)
- type DayOfTheWeek
- type ESPEncryption
- func (o *ESPEncryption) GetDiffieHellmanGroup() string
- func (o *ESPEncryption) GetDiffieHellmanGroupOk() (*string, bool)
- func (o *ESPEncryption) GetEncryptionAlgorithm() string
- func (o *ESPEncryption) GetEncryptionAlgorithmOk() (*string, bool)
- func (o *ESPEncryption) GetIntegrityAlgorithm() string
- func (o *ESPEncryption) GetIntegrityAlgorithmOk() (*string, bool)
- func (o *ESPEncryption) GetLifetime() int32
- func (o *ESPEncryption) GetLifetimeOk() (*int32, bool)
- func (o *ESPEncryption) HasDiffieHellmanGroup() bool
- func (o *ESPEncryption) HasEncryptionAlgorithm() bool
- func (o *ESPEncryption) HasIntegrityAlgorithm() bool
- func (o *ESPEncryption) HasLifetime() bool
- func (o *ESPEncryption) SetDiffieHellmanGroup(v string)
- func (o *ESPEncryption) SetEncryptionAlgorithm(v string)
- func (o *ESPEncryption) SetIntegrityAlgorithm(v string)
- func (o *ESPEncryption) SetLifetime(v int32)
- func (o ESPEncryption) ToMap() (map[string]interface{}, 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) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- func (o Error) ToMap() (map[string]interface{}, error)
- type ErrorMessages
- func (o *ErrorMessages) GetErrorCode() string
- func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessages) GetMessage() string
- func (o *ErrorMessages) GetMessageOk() (*string, bool)
- func (o *ErrorMessages) HasErrorCode() bool
- func (o *ErrorMessages) HasMessage() bool
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- func (o ErrorMessages) ToMap() (map[string]interface{}, error)
- type IKEEncryption
- func (o *IKEEncryption) GetDiffieHellmanGroup() string
- func (o *IKEEncryption) GetDiffieHellmanGroupOk() (*string, bool)
- func (o *IKEEncryption) GetEncryptionAlgorithm() string
- func (o *IKEEncryption) GetEncryptionAlgorithmOk() (*string, bool)
- func (o *IKEEncryption) GetIntegrityAlgorithm() string
- func (o *IKEEncryption) GetIntegrityAlgorithmOk() (*string, bool)
- func (o *IKEEncryption) GetLifetime() int32
- func (o *IKEEncryption) GetLifetimeOk() (*int32, bool)
- func (o *IKEEncryption) HasDiffieHellmanGroup() bool
- func (o *IKEEncryption) HasEncryptionAlgorithm() bool
- func (o *IKEEncryption) HasIntegrityAlgorithm() bool
- func (o *IKEEncryption) HasLifetime() bool
- func (o *IKEEncryption) SetDiffieHellmanGroup(v string)
- func (o *IKEEncryption) SetEncryptionAlgorithm(v string)
- func (o *IKEEncryption) SetIntegrityAlgorithm(v string)
- func (o *IKEEncryption) SetLifetime(v int32)
- func (o IKEEncryption) ToMap() (map[string]interface{}, error)
- type IPSecGateway
- func (o *IPSecGateway) GetConnections() []Connection
- func (o *IPSecGateway) GetConnectionsOk() ([]Connection, bool)
- func (o *IPSecGateway) GetDescription() string
- func (o *IPSecGateway) GetDescriptionOk() (*string, bool)
- func (o *IPSecGateway) GetGatewayIP() string
- func (o *IPSecGateway) GetGatewayIPOk() (*string, bool)
- func (o *IPSecGateway) GetMaintenanceWindow() MaintenanceWindow
- func (o *IPSecGateway) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *IPSecGateway) GetName() string
- func (o *IPSecGateway) GetNameOk() (*string, bool)
- func (o *IPSecGateway) GetTier() string
- func (o *IPSecGateway) GetTierOk() (*string, bool)
- func (o *IPSecGateway) GetVersion() string
- func (o *IPSecGateway) GetVersionOk() (*string, bool)
- func (o *IPSecGateway) HasDescription() bool
- func (o *IPSecGateway) HasMaintenanceWindow() bool
- func (o *IPSecGateway) HasTier() bool
- func (o *IPSecGateway) HasVersion() bool
- func (o *IPSecGateway) SetConnections(v []Connection)
- func (o *IPSecGateway) SetDescription(v string)
- func (o *IPSecGateway) SetGatewayIP(v string)
- func (o *IPSecGateway) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *IPSecGateway) SetName(v string)
- func (o *IPSecGateway) SetTier(v string)
- func (o *IPSecGateway) SetVersion(v string)
- func (o IPSecGateway) ToMap() (map[string]interface{}, error)
- type IPSecGatewayCreate
- func (o *IPSecGatewayCreate) GetMetadata() map[string]interface{}
- func (o *IPSecGatewayCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *IPSecGatewayCreate) GetProperties() IPSecGateway
- func (o *IPSecGatewayCreate) GetPropertiesOk() (*IPSecGateway, bool)
- func (o *IPSecGatewayCreate) HasMetadata() bool
- func (o *IPSecGatewayCreate) SetMetadata(v map[string]interface{})
- func (o *IPSecGatewayCreate) SetProperties(v IPSecGateway)
- func (o IPSecGatewayCreate) ToMap() (map[string]interface{}, error)
- type IPSecGatewayEnsure
- func (o *IPSecGatewayEnsure) GetId() string
- func (o *IPSecGatewayEnsure) GetIdOk() (*string, bool)
- func (o *IPSecGatewayEnsure) GetMetadata() map[string]interface{}
- func (o *IPSecGatewayEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *IPSecGatewayEnsure) GetProperties() IPSecGateway
- func (o *IPSecGatewayEnsure) GetPropertiesOk() (*IPSecGateway, bool)
- func (o *IPSecGatewayEnsure) HasMetadata() bool
- func (o *IPSecGatewayEnsure) SetId(v string)
- func (o *IPSecGatewayEnsure) SetMetadata(v map[string]interface{})
- func (o *IPSecGatewayEnsure) SetProperties(v IPSecGateway)
- func (o IPSecGatewayEnsure) ToMap() (map[string]interface{}, error)
- type IPSecGatewayMetadata
- func (o *IPSecGatewayMetadata) GetCreatedBy() string
- func (o *IPSecGatewayMetadata) GetCreatedByOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetCreatedByUserId() string
- func (o *IPSecGatewayMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetCreatedDate() time.Time
- func (o *IPSecGatewayMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *IPSecGatewayMetadata) GetLastModifiedBy() string
- func (o *IPSecGatewayMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetLastModifiedByUserId() string
- func (o *IPSecGatewayMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetLastModifiedDate() time.Time
- func (o *IPSecGatewayMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *IPSecGatewayMetadata) GetResourceURN() string
- func (o *IPSecGatewayMetadata) GetResourceURNOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetStatus() string
- func (o *IPSecGatewayMetadata) GetStatusMessage() string
- func (o *IPSecGatewayMetadata) GetStatusMessageOk() (*string, bool)
- func (o *IPSecGatewayMetadata) GetStatusOk() (*string, bool)
- func (o *IPSecGatewayMetadata) HasCreatedBy() bool
- func (o *IPSecGatewayMetadata) HasCreatedByUserId() bool
- func (o *IPSecGatewayMetadata) HasCreatedDate() bool
- func (o *IPSecGatewayMetadata) HasLastModifiedBy() bool
- func (o *IPSecGatewayMetadata) HasLastModifiedByUserId() bool
- func (o *IPSecGatewayMetadata) HasLastModifiedDate() bool
- func (o *IPSecGatewayMetadata) HasResourceURN() bool
- func (o *IPSecGatewayMetadata) HasStatusMessage() bool
- func (o *IPSecGatewayMetadata) SetCreatedBy(v string)
- func (o *IPSecGatewayMetadata) SetCreatedByUserId(v string)
- func (o *IPSecGatewayMetadata) SetCreatedDate(v time.Time)
- func (o *IPSecGatewayMetadata) SetLastModifiedBy(v string)
- func (o *IPSecGatewayMetadata) SetLastModifiedByUserId(v string)
- func (o *IPSecGatewayMetadata) SetLastModifiedDate(v time.Time)
- func (o *IPSecGatewayMetadata) SetResourceURN(v string)
- func (o *IPSecGatewayMetadata) SetStatus(v string)
- func (o *IPSecGatewayMetadata) SetStatusMessage(v string)
- func (o IPSecGatewayMetadata) ToMap() (map[string]interface{}, error)
- type IPSecGatewayRead
- func (o *IPSecGatewayRead) GetHref() string
- func (o *IPSecGatewayRead) GetHrefOk() (*string, bool)
- func (o *IPSecGatewayRead) GetId() string
- func (o *IPSecGatewayRead) GetIdOk() (*string, bool)
- func (o *IPSecGatewayRead) GetMetadata() IPSecGatewayMetadata
- func (o *IPSecGatewayRead) GetMetadataOk() (*IPSecGatewayMetadata, bool)
- func (o *IPSecGatewayRead) GetProperties() IPSecGateway
- func (o *IPSecGatewayRead) GetPropertiesOk() (*IPSecGateway, bool)
- func (o *IPSecGatewayRead) GetType() string
- func (o *IPSecGatewayRead) GetTypeOk() (*string, bool)
- func (o *IPSecGatewayRead) SetHref(v string)
- func (o *IPSecGatewayRead) SetId(v string)
- func (o *IPSecGatewayRead) SetMetadata(v IPSecGatewayMetadata)
- func (o *IPSecGatewayRead) SetProperties(v IPSecGateway)
- func (o *IPSecGatewayRead) SetType(v string)
- func (o IPSecGatewayRead) ToMap() (map[string]interface{}, error)
- type IPSecGatewayReadList
- func (o *IPSecGatewayReadList) GetHref() string
- func (o *IPSecGatewayReadList) GetHrefOk() (*string, bool)
- func (o *IPSecGatewayReadList) GetId() string
- func (o *IPSecGatewayReadList) GetIdOk() (*string, bool)
- func (o *IPSecGatewayReadList) GetItems() []IPSecGatewayRead
- func (o *IPSecGatewayReadList) GetItemsOk() ([]IPSecGatewayRead, bool)
- func (o *IPSecGatewayReadList) GetLimit() int32
- func (o *IPSecGatewayReadList) GetLimitOk() (*int32, bool)
- func (o *IPSecGatewayReadList) GetLinks() Links
- func (o *IPSecGatewayReadList) GetLinksOk() (*Links, bool)
- func (o *IPSecGatewayReadList) GetOffset() int32
- func (o *IPSecGatewayReadList) GetOffsetOk() (*int32, bool)
- func (o *IPSecGatewayReadList) GetType() string
- func (o *IPSecGatewayReadList) GetTypeOk() (*string, bool)
- func (o *IPSecGatewayReadList) HasItems() bool
- func (o *IPSecGatewayReadList) SetHref(v string)
- func (o *IPSecGatewayReadList) SetId(v string)
- func (o *IPSecGatewayReadList) SetItems(v []IPSecGatewayRead)
- func (o *IPSecGatewayReadList) SetLimit(v int32)
- func (o *IPSecGatewayReadList) SetLinks(v Links)
- func (o *IPSecGatewayReadList) SetOffset(v int32)
- func (o *IPSecGatewayReadList) SetType(v string)
- func (o IPSecGatewayReadList) ToMap() (map[string]interface{}, error)
- type IPSecGatewayReadListAllOf
- func (o *IPSecGatewayReadListAllOf) GetHref() string
- func (o *IPSecGatewayReadListAllOf) GetHrefOk() (*string, bool)
- func (o *IPSecGatewayReadListAllOf) GetId() string
- func (o *IPSecGatewayReadListAllOf) GetIdOk() (*string, bool)
- func (o *IPSecGatewayReadListAllOf) GetItems() []IPSecGatewayRead
- func (o *IPSecGatewayReadListAllOf) GetItemsOk() ([]IPSecGatewayRead, bool)
- func (o *IPSecGatewayReadListAllOf) GetType() string
- func (o *IPSecGatewayReadListAllOf) GetTypeOk() (*string, bool)
- func (o *IPSecGatewayReadListAllOf) HasItems() bool
- func (o *IPSecGatewayReadListAllOf) SetHref(v string)
- func (o *IPSecGatewayReadListAllOf) SetId(v string)
- func (o *IPSecGatewayReadListAllOf) SetItems(v []IPSecGatewayRead)
- func (o *IPSecGatewayReadListAllOf) SetType(v string)
- func (o IPSecGatewayReadListAllOf) ToMap() (map[string]interface{}, error)
- type IPSecGatewaysApiService
- func (a *IPSecGatewaysApiService) IpsecgatewaysDelete(ctx _context.Context, gatewayId string) ApiIpsecgatewaysDeleteRequest
- func (a *IPSecGatewaysApiService) IpsecgatewaysDeleteExecute(r ApiIpsecgatewaysDeleteRequest) (*shared.APIResponse, error)
- func (a *IPSecGatewaysApiService) IpsecgatewaysFindById(ctx _context.Context, gatewayId string) ApiIpsecgatewaysFindByIdRequest
- func (a *IPSecGatewaysApiService) IpsecgatewaysFindByIdExecute(r ApiIpsecgatewaysFindByIdRequest) (IPSecGatewayRead, *shared.APIResponse, error)
- func (a *IPSecGatewaysApiService) IpsecgatewaysGet(ctx _context.Context) ApiIpsecgatewaysGetRequest
- func (a *IPSecGatewaysApiService) IpsecgatewaysGetExecute(r ApiIpsecgatewaysGetRequest) (IPSecGatewayReadList, *shared.APIResponse, error)
- func (a *IPSecGatewaysApiService) IpsecgatewaysPost(ctx _context.Context) ApiIpsecgatewaysPostRequest
- func (a *IPSecGatewaysApiService) IpsecgatewaysPostExecute(r ApiIpsecgatewaysPostRequest) (IPSecGatewayRead, *shared.APIResponse, error)
- func (a *IPSecGatewaysApiService) IpsecgatewaysPut(ctx _context.Context, gatewayId string) ApiIpsecgatewaysPutRequest
- func (a *IPSecGatewaysApiService) IpsecgatewaysPutExecute(r ApiIpsecgatewaysPutRequest) (IPSecGatewayRead, *shared.APIResponse, error)
- type IPSecPSK
- type IPSecTunnel
- func (o *IPSecTunnel) GetAuth() IPSecTunnelAuth
- func (o *IPSecTunnel) GetAuthOk() (*IPSecTunnelAuth, bool)
- func (o *IPSecTunnel) GetCloudNetworkCIDRs() []string
- func (o *IPSecTunnel) GetCloudNetworkCIDRsOk() ([]string, bool)
- func (o *IPSecTunnel) GetDescription() string
- func (o *IPSecTunnel) GetDescriptionOk() (*string, bool)
- func (o *IPSecTunnel) GetEsp() ESPEncryption
- func (o *IPSecTunnel) GetEspOk() (*ESPEncryption, bool)
- func (o *IPSecTunnel) GetIke() IKEEncryption
- func (o *IPSecTunnel) GetIkeOk() (*IKEEncryption, bool)
- func (o *IPSecTunnel) GetName() string
- func (o *IPSecTunnel) GetNameOk() (*string, bool)
- func (o *IPSecTunnel) GetPeerNetworkCIDRs() []string
- func (o *IPSecTunnel) GetPeerNetworkCIDRsOk() ([]string, bool)
- func (o *IPSecTunnel) GetRemoteHost() string
- func (o *IPSecTunnel) GetRemoteHostOk() (*string, bool)
- func (o *IPSecTunnel) HasDescription() bool
- func (o *IPSecTunnel) SetAuth(v IPSecTunnelAuth)
- func (o *IPSecTunnel) SetCloudNetworkCIDRs(v []string)
- func (o *IPSecTunnel) SetDescription(v string)
- func (o *IPSecTunnel) SetEsp(v ESPEncryption)
- func (o *IPSecTunnel) SetIke(v IKEEncryption)
- func (o *IPSecTunnel) SetName(v string)
- func (o *IPSecTunnel) SetPeerNetworkCIDRs(v []string)
- func (o *IPSecTunnel) SetRemoteHost(v string)
- func (o IPSecTunnel) ToMap() (map[string]interface{}, error)
- type IPSecTunnelAuth
- func (o *IPSecTunnelAuth) GetMethod() string
- func (o *IPSecTunnelAuth) GetMethodOk() (*string, bool)
- func (o *IPSecTunnelAuth) GetPsk() IPSecPSK
- func (o *IPSecTunnelAuth) GetPskOk() (*IPSecPSK, bool)
- func (o *IPSecTunnelAuth) HasPsk() bool
- func (o *IPSecTunnelAuth) SetMethod(v string)
- func (o *IPSecTunnelAuth) SetPsk(v IPSecPSK)
- func (o IPSecTunnelAuth) ToMap() (map[string]interface{}, error)
- type IPSecTunnelCreate
- func (o *IPSecTunnelCreate) GetMetadata() map[string]interface{}
- func (o *IPSecTunnelCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *IPSecTunnelCreate) GetProperties() IPSecTunnel
- func (o *IPSecTunnelCreate) GetPropertiesOk() (*IPSecTunnel, bool)
- func (o *IPSecTunnelCreate) HasMetadata() bool
- func (o *IPSecTunnelCreate) SetMetadata(v map[string]interface{})
- func (o *IPSecTunnelCreate) SetProperties(v IPSecTunnel)
- func (o IPSecTunnelCreate) ToMap() (map[string]interface{}, error)
- type IPSecTunnelEnsure
- func (o *IPSecTunnelEnsure) GetId() string
- func (o *IPSecTunnelEnsure) GetIdOk() (*string, bool)
- func (o *IPSecTunnelEnsure) GetMetadata() map[string]interface{}
- func (o *IPSecTunnelEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *IPSecTunnelEnsure) GetProperties() IPSecTunnel
- func (o *IPSecTunnelEnsure) GetPropertiesOk() (*IPSecTunnel, bool)
- func (o *IPSecTunnelEnsure) HasMetadata() bool
- func (o *IPSecTunnelEnsure) SetId(v string)
- func (o *IPSecTunnelEnsure) SetMetadata(v map[string]interface{})
- func (o *IPSecTunnelEnsure) SetProperties(v IPSecTunnel)
- func (o IPSecTunnelEnsure) ToMap() (map[string]interface{}, error)
- type IPSecTunnelMetadata
- func (o *IPSecTunnelMetadata) GetCreatedBy() string
- func (o *IPSecTunnelMetadata) GetCreatedByOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetCreatedByUserId() string
- func (o *IPSecTunnelMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetCreatedDate() time.Time
- func (o *IPSecTunnelMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *IPSecTunnelMetadata) GetLastModifiedBy() string
- func (o *IPSecTunnelMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetLastModifiedByUserId() string
- func (o *IPSecTunnelMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetLastModifiedDate() time.Time
- func (o *IPSecTunnelMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *IPSecTunnelMetadata) GetResourceURN() string
- func (o *IPSecTunnelMetadata) GetResourceURNOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetStatus() string
- func (o *IPSecTunnelMetadata) GetStatusMessage() string
- func (o *IPSecTunnelMetadata) GetStatusMessageOk() (*string, bool)
- func (o *IPSecTunnelMetadata) GetStatusOk() (*string, bool)
- func (o *IPSecTunnelMetadata) HasCreatedBy() bool
- func (o *IPSecTunnelMetadata) HasCreatedByUserId() bool
- func (o *IPSecTunnelMetadata) HasCreatedDate() bool
- func (o *IPSecTunnelMetadata) HasLastModifiedBy() bool
- func (o *IPSecTunnelMetadata) HasLastModifiedByUserId() bool
- func (o *IPSecTunnelMetadata) HasLastModifiedDate() bool
- func (o *IPSecTunnelMetadata) HasResourceURN() bool
- func (o *IPSecTunnelMetadata) HasStatusMessage() bool
- func (o *IPSecTunnelMetadata) SetCreatedBy(v string)
- func (o *IPSecTunnelMetadata) SetCreatedByUserId(v string)
- func (o *IPSecTunnelMetadata) SetCreatedDate(v time.Time)
- func (o *IPSecTunnelMetadata) SetLastModifiedBy(v string)
- func (o *IPSecTunnelMetadata) SetLastModifiedByUserId(v string)
- func (o *IPSecTunnelMetadata) SetLastModifiedDate(v time.Time)
- func (o *IPSecTunnelMetadata) SetResourceURN(v string)
- func (o *IPSecTunnelMetadata) SetStatus(v string)
- func (o *IPSecTunnelMetadata) SetStatusMessage(v string)
- func (o IPSecTunnelMetadata) ToMap() (map[string]interface{}, error)
- type IPSecTunnelRead
- func (o *IPSecTunnelRead) GetHref() string
- func (o *IPSecTunnelRead) GetHrefOk() (*string, bool)
- func (o *IPSecTunnelRead) GetId() string
- func (o *IPSecTunnelRead) GetIdOk() (*string, bool)
- func (o *IPSecTunnelRead) GetMetadata() IPSecTunnelMetadata
- func (o *IPSecTunnelRead) GetMetadataOk() (*IPSecTunnelMetadata, bool)
- func (o *IPSecTunnelRead) GetProperties() IPSecTunnel
- func (o *IPSecTunnelRead) GetPropertiesOk() (*IPSecTunnel, bool)
- func (o *IPSecTunnelRead) GetType() string
- func (o *IPSecTunnelRead) GetTypeOk() (*string, bool)
- func (o *IPSecTunnelRead) SetHref(v string)
- func (o *IPSecTunnelRead) SetId(v string)
- func (o *IPSecTunnelRead) SetMetadata(v IPSecTunnelMetadata)
- func (o *IPSecTunnelRead) SetProperties(v IPSecTunnel)
- func (o *IPSecTunnelRead) SetType(v string)
- func (o IPSecTunnelRead) ToMap() (map[string]interface{}, error)
- type IPSecTunnelReadList
- func (o *IPSecTunnelReadList) GetHref() string
- func (o *IPSecTunnelReadList) GetHrefOk() (*string, bool)
- func (o *IPSecTunnelReadList) GetId() string
- func (o *IPSecTunnelReadList) GetIdOk() (*string, bool)
- func (o *IPSecTunnelReadList) GetItems() []IPSecTunnelRead
- func (o *IPSecTunnelReadList) GetItemsOk() ([]IPSecTunnelRead, bool)
- func (o *IPSecTunnelReadList) GetLimit() int32
- func (o *IPSecTunnelReadList) GetLimitOk() (*int32, bool)
- func (o *IPSecTunnelReadList) GetLinks() Links
- func (o *IPSecTunnelReadList) GetLinksOk() (*Links, bool)
- func (o *IPSecTunnelReadList) GetOffset() int32
- func (o *IPSecTunnelReadList) GetOffsetOk() (*int32, bool)
- func (o *IPSecTunnelReadList) GetType() string
- func (o *IPSecTunnelReadList) GetTypeOk() (*string, bool)
- func (o *IPSecTunnelReadList) HasItems() bool
- func (o *IPSecTunnelReadList) SetHref(v string)
- func (o *IPSecTunnelReadList) SetId(v string)
- func (o *IPSecTunnelReadList) SetItems(v []IPSecTunnelRead)
- func (o *IPSecTunnelReadList) SetLimit(v int32)
- func (o *IPSecTunnelReadList) SetLinks(v Links)
- func (o *IPSecTunnelReadList) SetOffset(v int32)
- func (o *IPSecTunnelReadList) SetType(v string)
- func (o IPSecTunnelReadList) ToMap() (map[string]interface{}, error)
- type IPSecTunnelReadListAllOf
- func (o *IPSecTunnelReadListAllOf) GetHref() string
- func (o *IPSecTunnelReadListAllOf) GetHrefOk() (*string, bool)
- func (o *IPSecTunnelReadListAllOf) GetId() string
- func (o *IPSecTunnelReadListAllOf) GetIdOk() (*string, bool)
- func (o *IPSecTunnelReadListAllOf) GetItems() []IPSecTunnelRead
- func (o *IPSecTunnelReadListAllOf) GetItemsOk() ([]IPSecTunnelRead, bool)
- func (o *IPSecTunnelReadListAllOf) GetType() string
- func (o *IPSecTunnelReadListAllOf) GetTypeOk() (*string, bool)
- func (o *IPSecTunnelReadListAllOf) HasItems() bool
- func (o *IPSecTunnelReadListAllOf) SetHref(v string)
- func (o *IPSecTunnelReadListAllOf) SetId(v string)
- func (o *IPSecTunnelReadListAllOf) SetItems(v []IPSecTunnelRead)
- func (o *IPSecTunnelReadListAllOf) SetType(v string)
- func (o IPSecTunnelReadListAllOf) ToMap() (map[string]interface{}, error)
- type IPSecTunnelsApiService
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsDelete(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsDeleteRequest
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsDeleteExecute(r ApiIpsecgatewaysTunnelsDeleteRequest) (*shared.APIResponse, error)
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsFindById(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsFindByIdRequest
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsFindByIdExecute(r ApiIpsecgatewaysTunnelsFindByIdRequest) (IPSecTunnelRead, *shared.APIResponse, error)
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsGet(ctx _context.Context, gatewayId string) ApiIpsecgatewaysTunnelsGetRequest
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsGetExecute(r ApiIpsecgatewaysTunnelsGetRequest) (IPSecTunnelReadList, *shared.APIResponse, error)
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPost(ctx _context.Context, gatewayId string) ApiIpsecgatewaysTunnelsPostRequest
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPostExecute(r ApiIpsecgatewaysTunnelsPostRequest) (IPSecTunnelRead, *shared.APIResponse, error)
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPut(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsPutRequest
- func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPutExecute(r ApiIpsecgatewaysTunnelsPutRequest) (IPSecTunnelRead, *shared.APIResponse, error)
- type IonosTime
- type Links
- func (o *Links) GetNext() string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrev() string
- func (o *Links) GetPrevOk() (*string, bool)
- func (o *Links) GetSelf() string
- func (o *Links) GetSelfOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrev() bool
- func (o *Links) HasSelf() bool
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- func (o Links) ToMap() (map[string]interface{}, error)
- type MaintenanceWindow
- func (o *MaintenanceWindow) GetDayOfTheWeek() DayOfTheWeek
- func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
- func (o *MaintenanceWindow) GetTime() string
- func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
- func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
- func (o *MaintenanceWindow) SetTime(v string)
- func (o MaintenanceWindow) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Metadata
- func (o *Metadata) GetCreatedBy() string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedBy() string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetResourceURN() string
- func (o *Metadata) GetResourceURNOk() (*string, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasResourceURN() bool
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetResourceURN(v string)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableConnection
- type NullableDayOfTheWeek
- func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
- func (v NullableDayOfTheWeek) IsSet() bool
- func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
- func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
- func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
- func (v *NullableDayOfTheWeek) Unset()
- type NullableESPEncryption
- func (v NullableESPEncryption) Get() *ESPEncryption
- func (v NullableESPEncryption) IsSet() bool
- func (v NullableESPEncryption) MarshalJSON() ([]byte, error)
- func (v *NullableESPEncryption) Set(val *ESPEncryption)
- func (v *NullableESPEncryption) UnmarshalJSON(src []byte) error
- func (v *NullableESPEncryption) Unset()
- 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 NullableIKEEncryption
- func (v NullableIKEEncryption) Get() *IKEEncryption
- func (v NullableIKEEncryption) IsSet() bool
- func (v NullableIKEEncryption) MarshalJSON() ([]byte, error)
- func (v *NullableIKEEncryption) Set(val *IKEEncryption)
- func (v *NullableIKEEncryption) UnmarshalJSON(src []byte) error
- func (v *NullableIKEEncryption) Unset()
- type NullableIPSecGateway
- func (v NullableIPSecGateway) Get() *IPSecGateway
- func (v NullableIPSecGateway) IsSet() bool
- func (v NullableIPSecGateway) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGateway) Set(val *IPSecGateway)
- func (v *NullableIPSecGateway) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGateway) Unset()
- type NullableIPSecGatewayCreate
- func (v NullableIPSecGatewayCreate) Get() *IPSecGatewayCreate
- func (v NullableIPSecGatewayCreate) IsSet() bool
- func (v NullableIPSecGatewayCreate) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayCreate) Set(val *IPSecGatewayCreate)
- func (v *NullableIPSecGatewayCreate) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayCreate) Unset()
- type NullableIPSecGatewayEnsure
- func (v NullableIPSecGatewayEnsure) Get() *IPSecGatewayEnsure
- func (v NullableIPSecGatewayEnsure) IsSet() bool
- func (v NullableIPSecGatewayEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayEnsure) Set(val *IPSecGatewayEnsure)
- func (v *NullableIPSecGatewayEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayEnsure) Unset()
- type NullableIPSecGatewayMetadata
- func (v NullableIPSecGatewayMetadata) Get() *IPSecGatewayMetadata
- func (v NullableIPSecGatewayMetadata) IsSet() bool
- func (v NullableIPSecGatewayMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayMetadata) Set(val *IPSecGatewayMetadata)
- func (v *NullableIPSecGatewayMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayMetadata) Unset()
- type NullableIPSecGatewayRead
- func (v NullableIPSecGatewayRead) Get() *IPSecGatewayRead
- func (v NullableIPSecGatewayRead) IsSet() bool
- func (v NullableIPSecGatewayRead) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayRead) Set(val *IPSecGatewayRead)
- func (v *NullableIPSecGatewayRead) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayRead) Unset()
- type NullableIPSecGatewayReadList
- func (v NullableIPSecGatewayReadList) Get() *IPSecGatewayReadList
- func (v NullableIPSecGatewayReadList) IsSet() bool
- func (v NullableIPSecGatewayReadList) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayReadList) Set(val *IPSecGatewayReadList)
- func (v *NullableIPSecGatewayReadList) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayReadList) Unset()
- type NullableIPSecGatewayReadListAllOf
- func (v NullableIPSecGatewayReadListAllOf) Get() *IPSecGatewayReadListAllOf
- func (v NullableIPSecGatewayReadListAllOf) IsSet() bool
- func (v NullableIPSecGatewayReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecGatewayReadListAllOf) Set(val *IPSecGatewayReadListAllOf)
- func (v *NullableIPSecGatewayReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecGatewayReadListAllOf) Unset()
- type NullableIPSecPSK
- type NullableIPSecTunnel
- func (v NullableIPSecTunnel) Get() *IPSecTunnel
- func (v NullableIPSecTunnel) IsSet() bool
- func (v NullableIPSecTunnel) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnel) Set(val *IPSecTunnel)
- func (v *NullableIPSecTunnel) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnel) Unset()
- type NullableIPSecTunnelAuth
- func (v NullableIPSecTunnelAuth) Get() *IPSecTunnelAuth
- func (v NullableIPSecTunnelAuth) IsSet() bool
- func (v NullableIPSecTunnelAuth) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelAuth) Set(val *IPSecTunnelAuth)
- func (v *NullableIPSecTunnelAuth) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelAuth) Unset()
- type NullableIPSecTunnelCreate
- func (v NullableIPSecTunnelCreate) Get() *IPSecTunnelCreate
- func (v NullableIPSecTunnelCreate) IsSet() bool
- func (v NullableIPSecTunnelCreate) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelCreate) Set(val *IPSecTunnelCreate)
- func (v *NullableIPSecTunnelCreate) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelCreate) Unset()
- type NullableIPSecTunnelEnsure
- func (v NullableIPSecTunnelEnsure) Get() *IPSecTunnelEnsure
- func (v NullableIPSecTunnelEnsure) IsSet() bool
- func (v NullableIPSecTunnelEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelEnsure) Set(val *IPSecTunnelEnsure)
- func (v *NullableIPSecTunnelEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelEnsure) Unset()
- type NullableIPSecTunnelMetadata
- func (v NullableIPSecTunnelMetadata) Get() *IPSecTunnelMetadata
- func (v NullableIPSecTunnelMetadata) IsSet() bool
- func (v NullableIPSecTunnelMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelMetadata) Set(val *IPSecTunnelMetadata)
- func (v *NullableIPSecTunnelMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelMetadata) Unset()
- type NullableIPSecTunnelRead
- func (v NullableIPSecTunnelRead) Get() *IPSecTunnelRead
- func (v NullableIPSecTunnelRead) IsSet() bool
- func (v NullableIPSecTunnelRead) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelRead) Set(val *IPSecTunnelRead)
- func (v *NullableIPSecTunnelRead) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelRead) Unset()
- type NullableIPSecTunnelReadList
- func (v NullableIPSecTunnelReadList) Get() *IPSecTunnelReadList
- func (v NullableIPSecTunnelReadList) IsSet() bool
- func (v NullableIPSecTunnelReadList) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelReadList) Set(val *IPSecTunnelReadList)
- func (v *NullableIPSecTunnelReadList) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelReadList) Unset()
- type NullableIPSecTunnelReadListAllOf
- func (v NullableIPSecTunnelReadListAllOf) Get() *IPSecTunnelReadListAllOf
- func (v NullableIPSecTunnelReadListAllOf) IsSet() bool
- func (v NullableIPSecTunnelReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableIPSecTunnelReadListAllOf) Set(val *IPSecTunnelReadListAllOf)
- func (v *NullableIPSecTunnelReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableIPSecTunnelReadListAllOf) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIonosTime
- type NullableLinks
- type NullableMaintenanceWindow
- func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
- func (v NullableMaintenanceWindow) IsSet() bool
- func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
- func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenanceWindow) Unset()
- type NullableMetadata
- type NullablePagination
- type NullableResourceStatus
- func (v NullableResourceStatus) Get() *ResourceStatus
- func (v NullableResourceStatus) IsSet() bool
- func (v NullableResourceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableResourceStatus) Set(val *ResourceStatus)
- func (v *NullableResourceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableResourceStatus) Unset()
- type NullableString
- type NullableTime
- type NullableWireguardEndpoint
- func (v NullableWireguardEndpoint) Get() *WireguardEndpoint
- func (v NullableWireguardEndpoint) IsSet() bool
- func (v NullableWireguardEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardEndpoint) Set(val *WireguardEndpoint)
- func (v *NullableWireguardEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardEndpoint) Unset()
- type NullableWireguardGateway
- func (v NullableWireguardGateway) Get() *WireguardGateway
- func (v NullableWireguardGateway) IsSet() bool
- func (v NullableWireguardGateway) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGateway) Set(val *WireguardGateway)
- func (v *NullableWireguardGateway) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGateway) Unset()
- type NullableWireguardGatewayCreate
- func (v NullableWireguardGatewayCreate) Get() *WireguardGatewayCreate
- func (v NullableWireguardGatewayCreate) IsSet() bool
- func (v NullableWireguardGatewayCreate) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayCreate) Set(val *WireguardGatewayCreate)
- func (v *NullableWireguardGatewayCreate) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayCreate) Unset()
- type NullableWireguardGatewayEnsure
- func (v NullableWireguardGatewayEnsure) Get() *WireguardGatewayEnsure
- func (v NullableWireguardGatewayEnsure) IsSet() bool
- func (v NullableWireguardGatewayEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayEnsure) Set(val *WireguardGatewayEnsure)
- func (v *NullableWireguardGatewayEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayEnsure) Unset()
- type NullableWireguardGatewayMetadata
- func (v NullableWireguardGatewayMetadata) Get() *WireguardGatewayMetadata
- func (v NullableWireguardGatewayMetadata) IsSet() bool
- func (v NullableWireguardGatewayMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayMetadata) Set(val *WireguardGatewayMetadata)
- func (v *NullableWireguardGatewayMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayMetadata) Unset()
- type NullableWireguardGatewayMetadataAllOf
- func (v NullableWireguardGatewayMetadataAllOf) Get() *WireguardGatewayMetadataAllOf
- func (v NullableWireguardGatewayMetadataAllOf) IsSet() bool
- func (v NullableWireguardGatewayMetadataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayMetadataAllOf) Set(val *WireguardGatewayMetadataAllOf)
- func (v *NullableWireguardGatewayMetadataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayMetadataAllOf) Unset()
- type NullableWireguardGatewayRead
- func (v NullableWireguardGatewayRead) Get() *WireguardGatewayRead
- func (v NullableWireguardGatewayRead) IsSet() bool
- func (v NullableWireguardGatewayRead) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayRead) Set(val *WireguardGatewayRead)
- func (v *NullableWireguardGatewayRead) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayRead) Unset()
- type NullableWireguardGatewayReadList
- func (v NullableWireguardGatewayReadList) Get() *WireguardGatewayReadList
- func (v NullableWireguardGatewayReadList) IsSet() bool
- func (v NullableWireguardGatewayReadList) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayReadList) Set(val *WireguardGatewayReadList)
- func (v *NullableWireguardGatewayReadList) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayReadList) Unset()
- type NullableWireguardGatewayReadListAllOf
- func (v NullableWireguardGatewayReadListAllOf) Get() *WireguardGatewayReadListAllOf
- func (v NullableWireguardGatewayReadListAllOf) IsSet() bool
- func (v NullableWireguardGatewayReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardGatewayReadListAllOf) Set(val *WireguardGatewayReadListAllOf)
- func (v *NullableWireguardGatewayReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardGatewayReadListAllOf) Unset()
- type NullableWireguardPeer
- func (v NullableWireguardPeer) Get() *WireguardPeer
- func (v NullableWireguardPeer) IsSet() bool
- func (v NullableWireguardPeer) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeer) Set(val *WireguardPeer)
- func (v *NullableWireguardPeer) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeer) Unset()
- type NullableWireguardPeerCreate
- func (v NullableWireguardPeerCreate) Get() *WireguardPeerCreate
- func (v NullableWireguardPeerCreate) IsSet() bool
- func (v NullableWireguardPeerCreate) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerCreate) Set(val *WireguardPeerCreate)
- func (v *NullableWireguardPeerCreate) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerCreate) Unset()
- type NullableWireguardPeerEnsure
- func (v NullableWireguardPeerEnsure) Get() *WireguardPeerEnsure
- func (v NullableWireguardPeerEnsure) IsSet() bool
- func (v NullableWireguardPeerEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerEnsure) Set(val *WireguardPeerEnsure)
- func (v *NullableWireguardPeerEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerEnsure) Unset()
- type NullableWireguardPeerMetadata
- func (v NullableWireguardPeerMetadata) Get() *WireguardPeerMetadata
- func (v NullableWireguardPeerMetadata) IsSet() bool
- func (v NullableWireguardPeerMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerMetadata) Set(val *WireguardPeerMetadata)
- func (v *NullableWireguardPeerMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerMetadata) Unset()
- type NullableWireguardPeerRead
- func (v NullableWireguardPeerRead) Get() *WireguardPeerRead
- func (v NullableWireguardPeerRead) IsSet() bool
- func (v NullableWireguardPeerRead) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerRead) Set(val *WireguardPeerRead)
- func (v *NullableWireguardPeerRead) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerRead) Unset()
- type NullableWireguardPeerReadList
- func (v NullableWireguardPeerReadList) Get() *WireguardPeerReadList
- func (v NullableWireguardPeerReadList) IsSet() bool
- func (v NullableWireguardPeerReadList) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerReadList) Set(val *WireguardPeerReadList)
- func (v *NullableWireguardPeerReadList) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerReadList) Unset()
- type NullableWireguardPeerReadListAllOf
- func (v NullableWireguardPeerReadListAllOf) Get() *WireguardPeerReadListAllOf
- func (v NullableWireguardPeerReadListAllOf) IsSet() bool
- func (v NullableWireguardPeerReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableWireguardPeerReadListAllOf) Set(val *WireguardPeerReadListAllOf)
- func (v *NullableWireguardPeerReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableWireguardPeerReadListAllOf) Unset()
- type Pagination
- func (o *Pagination) GetLimit() int32
- func (o *Pagination) GetLimitOk() (*int32, bool)
- func (o *Pagination) GetLinks() Links
- func (o *Pagination) GetLinksOk() (*Links, bool)
- func (o *Pagination) GetOffset() int32
- func (o *Pagination) GetOffsetOk() (*int32, bool)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v Links)
- func (o *Pagination) SetOffset(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- type ResourceStatus
- func (o *ResourceStatus) GetStatus() string
- func (o *ResourceStatus) GetStatusMessage() string
- func (o *ResourceStatus) GetStatusMessageOk() (*string, bool)
- func (o *ResourceStatus) GetStatusOk() (*string, bool)
- func (o *ResourceStatus) HasStatusMessage() bool
- func (o *ResourceStatus) SetStatus(v string)
- func (o *ResourceStatus) SetStatusMessage(v string)
- func (o ResourceStatus) ToMap() (map[string]interface{}, error)
- type TLSDial
- type WireguardEndpoint
- func (o *WireguardEndpoint) GetHost() string
- func (o *WireguardEndpoint) GetHostOk() (*string, bool)
- func (o *WireguardEndpoint) GetPort() int32
- func (o *WireguardEndpoint) GetPortOk() (*int32, bool)
- func (o *WireguardEndpoint) HasPort() bool
- func (o *WireguardEndpoint) SetHost(v string)
- func (o *WireguardEndpoint) SetPort(v int32)
- func (o WireguardEndpoint) ToMap() (map[string]interface{}, error)
- type WireguardGateway
- func (o *WireguardGateway) GetConnections() []Connection
- func (o *WireguardGateway) GetConnectionsOk() ([]Connection, bool)
- func (o *WireguardGateway) GetDescription() string
- func (o *WireguardGateway) GetDescriptionOk() (*string, bool)
- func (o *WireguardGateway) GetGatewayIP() string
- func (o *WireguardGateway) GetGatewayIPOk() (*string, bool)
- func (o *WireguardGateway) GetInterfaceIPv4CIDR() string
- func (o *WireguardGateway) GetInterfaceIPv4CIDROk() (*string, bool)
- func (o *WireguardGateway) GetInterfaceIPv6CIDR() string
- func (o *WireguardGateway) GetInterfaceIPv6CIDROk() (*string, bool)
- func (o *WireguardGateway) GetListenPort() int32
- func (o *WireguardGateway) GetListenPortOk() (*int32, bool)
- func (o *WireguardGateway) GetMaintenanceWindow() MaintenanceWindow
- func (o *WireguardGateway) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *WireguardGateway) GetName() string
- func (o *WireguardGateway) GetNameOk() (*string, bool)
- func (o *WireguardGateway) GetPrivateKey() string
- func (o *WireguardGateway) GetPrivateKeyOk() (*string, bool)
- func (o *WireguardGateway) GetTier() string
- func (o *WireguardGateway) GetTierOk() (*string, bool)
- func (o *WireguardGateway) HasDescription() bool
- func (o *WireguardGateway) HasInterfaceIPv4CIDR() bool
- func (o *WireguardGateway) HasInterfaceIPv6CIDR() bool
- func (o *WireguardGateway) HasListenPort() bool
- func (o *WireguardGateway) HasMaintenanceWindow() bool
- func (o *WireguardGateway) HasTier() bool
- func (o *WireguardGateway) SetConnections(v []Connection)
- func (o *WireguardGateway) SetDescription(v string)
- func (o *WireguardGateway) SetGatewayIP(v string)
- func (o *WireguardGateway) SetInterfaceIPv4CIDR(v string)
- func (o *WireguardGateway) SetInterfaceIPv6CIDR(v string)
- func (o *WireguardGateway) SetListenPort(v int32)
- func (o *WireguardGateway) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *WireguardGateway) SetName(v string)
- func (o *WireguardGateway) SetPrivateKey(v string)
- func (o *WireguardGateway) SetTier(v string)
- func (o WireguardGateway) ToMap() (map[string]interface{}, error)
- type WireguardGatewayCreate
- func (o *WireguardGatewayCreate) GetMetadata() map[string]interface{}
- func (o *WireguardGatewayCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *WireguardGatewayCreate) GetProperties() WireguardGateway
- func (o *WireguardGatewayCreate) GetPropertiesOk() (*WireguardGateway, bool)
- func (o *WireguardGatewayCreate) HasMetadata() bool
- func (o *WireguardGatewayCreate) SetMetadata(v map[string]interface{})
- func (o *WireguardGatewayCreate) SetProperties(v WireguardGateway)
- func (o WireguardGatewayCreate) ToMap() (map[string]interface{}, error)
- type WireguardGatewayEnsure
- func (o *WireguardGatewayEnsure) GetId() string
- func (o *WireguardGatewayEnsure) GetIdOk() (*string, bool)
- func (o *WireguardGatewayEnsure) GetMetadata() map[string]interface{}
- func (o *WireguardGatewayEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *WireguardGatewayEnsure) GetProperties() WireguardGateway
- func (o *WireguardGatewayEnsure) GetPropertiesOk() (*WireguardGateway, bool)
- func (o *WireguardGatewayEnsure) HasMetadata() bool
- func (o *WireguardGatewayEnsure) SetId(v string)
- func (o *WireguardGatewayEnsure) SetMetadata(v map[string]interface{})
- func (o *WireguardGatewayEnsure) SetProperties(v WireguardGateway)
- func (o WireguardGatewayEnsure) ToMap() (map[string]interface{}, error)
- type WireguardGatewayMetadata
- func (o *WireguardGatewayMetadata) GetCreatedBy() string
- func (o *WireguardGatewayMetadata) GetCreatedByOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetCreatedByUserId() string
- func (o *WireguardGatewayMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetCreatedDate() time.Time
- func (o *WireguardGatewayMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *WireguardGatewayMetadata) GetLastModifiedBy() string
- func (o *WireguardGatewayMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetLastModifiedByUserId() string
- func (o *WireguardGatewayMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetLastModifiedDate() time.Time
- func (o *WireguardGatewayMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *WireguardGatewayMetadata) GetPublicKey() string
- func (o *WireguardGatewayMetadata) GetPublicKeyOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetResourceURN() string
- func (o *WireguardGatewayMetadata) GetResourceURNOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetStatus() string
- func (o *WireguardGatewayMetadata) GetStatusMessage() string
- func (o *WireguardGatewayMetadata) GetStatusMessageOk() (*string, bool)
- func (o *WireguardGatewayMetadata) GetStatusOk() (*string, bool)
- func (o *WireguardGatewayMetadata) HasCreatedBy() bool
- func (o *WireguardGatewayMetadata) HasCreatedByUserId() bool
- func (o *WireguardGatewayMetadata) HasCreatedDate() bool
- func (o *WireguardGatewayMetadata) HasLastModifiedBy() bool
- func (o *WireguardGatewayMetadata) HasLastModifiedByUserId() bool
- func (o *WireguardGatewayMetadata) HasLastModifiedDate() bool
- func (o *WireguardGatewayMetadata) HasResourceURN() bool
- func (o *WireguardGatewayMetadata) HasStatusMessage() bool
- func (o *WireguardGatewayMetadata) SetCreatedBy(v string)
- func (o *WireguardGatewayMetadata) SetCreatedByUserId(v string)
- func (o *WireguardGatewayMetadata) SetCreatedDate(v time.Time)
- func (o *WireguardGatewayMetadata) SetLastModifiedBy(v string)
- func (o *WireguardGatewayMetadata) SetLastModifiedByUserId(v string)
- func (o *WireguardGatewayMetadata) SetLastModifiedDate(v time.Time)
- func (o *WireguardGatewayMetadata) SetPublicKey(v string)
- func (o *WireguardGatewayMetadata) SetResourceURN(v string)
- func (o *WireguardGatewayMetadata) SetStatus(v string)
- func (o *WireguardGatewayMetadata) SetStatusMessage(v string)
- func (o WireguardGatewayMetadata) ToMap() (map[string]interface{}, error)
- type WireguardGatewayMetadataAllOf
- type WireguardGatewayRead
- func (o *WireguardGatewayRead) GetHref() string
- func (o *WireguardGatewayRead) GetHrefOk() (*string, bool)
- func (o *WireguardGatewayRead) GetId() string
- func (o *WireguardGatewayRead) GetIdOk() (*string, bool)
- func (o *WireguardGatewayRead) GetMetadata() WireguardGatewayMetadata
- func (o *WireguardGatewayRead) GetMetadataOk() (*WireguardGatewayMetadata, bool)
- func (o *WireguardGatewayRead) GetProperties() WireguardGateway
- func (o *WireguardGatewayRead) GetPropertiesOk() (*WireguardGateway, bool)
- func (o *WireguardGatewayRead) GetType() string
- func (o *WireguardGatewayRead) GetTypeOk() (*string, bool)
- func (o *WireguardGatewayRead) SetHref(v string)
- func (o *WireguardGatewayRead) SetId(v string)
- func (o *WireguardGatewayRead) SetMetadata(v WireguardGatewayMetadata)
- func (o *WireguardGatewayRead) SetProperties(v WireguardGateway)
- func (o *WireguardGatewayRead) SetType(v string)
- func (o WireguardGatewayRead) ToMap() (map[string]interface{}, error)
- type WireguardGatewayReadList
- func (o *WireguardGatewayReadList) GetHref() string
- func (o *WireguardGatewayReadList) GetHrefOk() (*string, bool)
- func (o *WireguardGatewayReadList) GetId() string
- func (o *WireguardGatewayReadList) GetIdOk() (*string, bool)
- func (o *WireguardGatewayReadList) GetItems() []WireguardGatewayRead
- func (o *WireguardGatewayReadList) GetItemsOk() ([]WireguardGatewayRead, bool)
- func (o *WireguardGatewayReadList) GetLimit() int32
- func (o *WireguardGatewayReadList) GetLimitOk() (*int32, bool)
- func (o *WireguardGatewayReadList) GetLinks() Links
- func (o *WireguardGatewayReadList) GetLinksOk() (*Links, bool)
- func (o *WireguardGatewayReadList) GetOffset() int32
- func (o *WireguardGatewayReadList) GetOffsetOk() (*int32, bool)
- func (o *WireguardGatewayReadList) GetType() string
- func (o *WireguardGatewayReadList) GetTypeOk() (*string, bool)
- func (o *WireguardGatewayReadList) HasItems() bool
- func (o *WireguardGatewayReadList) SetHref(v string)
- func (o *WireguardGatewayReadList) SetId(v string)
- func (o *WireguardGatewayReadList) SetItems(v []WireguardGatewayRead)
- func (o *WireguardGatewayReadList) SetLimit(v int32)
- func (o *WireguardGatewayReadList) SetLinks(v Links)
- func (o *WireguardGatewayReadList) SetOffset(v int32)
- func (o *WireguardGatewayReadList) SetType(v string)
- func (o WireguardGatewayReadList) ToMap() (map[string]interface{}, error)
- type WireguardGatewayReadListAllOf
- func (o *WireguardGatewayReadListAllOf) GetHref() string
- func (o *WireguardGatewayReadListAllOf) GetHrefOk() (*string, bool)
- func (o *WireguardGatewayReadListAllOf) GetId() string
- func (o *WireguardGatewayReadListAllOf) GetIdOk() (*string, bool)
- func (o *WireguardGatewayReadListAllOf) GetItems() []WireguardGatewayRead
- func (o *WireguardGatewayReadListAllOf) GetItemsOk() ([]WireguardGatewayRead, bool)
- func (o *WireguardGatewayReadListAllOf) GetType() string
- func (o *WireguardGatewayReadListAllOf) GetTypeOk() (*string, bool)
- func (o *WireguardGatewayReadListAllOf) HasItems() bool
- func (o *WireguardGatewayReadListAllOf) SetHref(v string)
- func (o *WireguardGatewayReadListAllOf) SetId(v string)
- func (o *WireguardGatewayReadListAllOf) SetItems(v []WireguardGatewayRead)
- func (o *WireguardGatewayReadListAllOf) SetType(v string)
- func (o WireguardGatewayReadListAllOf) ToMap() (map[string]interface{}, error)
- type WireguardGatewaysApiService
- func (a *WireguardGatewaysApiService) WireguardgatewaysDelete(ctx _context.Context, gatewayId string) ApiWireguardgatewaysDeleteRequest
- func (a *WireguardGatewaysApiService) WireguardgatewaysDeleteExecute(r ApiWireguardgatewaysDeleteRequest) (*shared.APIResponse, error)
- func (a *WireguardGatewaysApiService) WireguardgatewaysFindById(ctx _context.Context, gatewayId string) ApiWireguardgatewaysFindByIdRequest
- func (a *WireguardGatewaysApiService) WireguardgatewaysFindByIdExecute(r ApiWireguardgatewaysFindByIdRequest) (WireguardGatewayRead, *shared.APIResponse, error)
- func (a *WireguardGatewaysApiService) WireguardgatewaysGet(ctx _context.Context) ApiWireguardgatewaysGetRequest
- func (a *WireguardGatewaysApiService) WireguardgatewaysGetExecute(r ApiWireguardgatewaysGetRequest) (WireguardGatewayReadList, *shared.APIResponse, error)
- func (a *WireguardGatewaysApiService) WireguardgatewaysPost(ctx _context.Context) ApiWireguardgatewaysPostRequest
- func (a *WireguardGatewaysApiService) WireguardgatewaysPostExecute(r ApiWireguardgatewaysPostRequest) (WireguardGatewayRead, *shared.APIResponse, error)
- func (a *WireguardGatewaysApiService) WireguardgatewaysPut(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPutRequest
- func (a *WireguardGatewaysApiService) WireguardgatewaysPutExecute(r ApiWireguardgatewaysPutRequest) (WireguardGatewayRead, *shared.APIResponse, error)
- type WireguardPeer
- func (o *WireguardPeer) GetAllowedIPs() []string
- func (o *WireguardPeer) GetAllowedIPsOk() ([]string, bool)
- func (o *WireguardPeer) GetDescription() string
- func (o *WireguardPeer) GetDescriptionOk() (*string, bool)
- func (o *WireguardPeer) GetEndpoint() WireguardEndpoint
- func (o *WireguardPeer) GetEndpointOk() (*WireguardEndpoint, bool)
- func (o *WireguardPeer) GetName() string
- func (o *WireguardPeer) GetNameOk() (*string, bool)
- func (o *WireguardPeer) GetPublicKey() string
- func (o *WireguardPeer) GetPublicKeyOk() (*string, bool)
- func (o *WireguardPeer) HasDescription() bool
- func (o *WireguardPeer) HasEndpoint() bool
- func (o *WireguardPeer) SetAllowedIPs(v []string)
- func (o *WireguardPeer) SetDescription(v string)
- func (o *WireguardPeer) SetEndpoint(v WireguardEndpoint)
- func (o *WireguardPeer) SetName(v string)
- func (o *WireguardPeer) SetPublicKey(v string)
- func (o WireguardPeer) ToMap() (map[string]interface{}, error)
- type WireguardPeerCreate
- func (o *WireguardPeerCreate) GetMetadata() map[string]interface{}
- func (o *WireguardPeerCreate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *WireguardPeerCreate) GetProperties() WireguardPeer
- func (o *WireguardPeerCreate) GetPropertiesOk() (*WireguardPeer, bool)
- func (o *WireguardPeerCreate) HasMetadata() bool
- func (o *WireguardPeerCreate) SetMetadata(v map[string]interface{})
- func (o *WireguardPeerCreate) SetProperties(v WireguardPeer)
- func (o WireguardPeerCreate) ToMap() (map[string]interface{}, error)
- type WireguardPeerEnsure
- func (o *WireguardPeerEnsure) GetId() string
- func (o *WireguardPeerEnsure) GetIdOk() (*string, bool)
- func (o *WireguardPeerEnsure) GetMetadata() map[string]interface{}
- func (o *WireguardPeerEnsure) GetMetadataOk() (map[string]interface{}, bool)
- func (o *WireguardPeerEnsure) GetProperties() WireguardPeer
- func (o *WireguardPeerEnsure) GetPropertiesOk() (*WireguardPeer, bool)
- func (o *WireguardPeerEnsure) HasMetadata() bool
- func (o *WireguardPeerEnsure) SetId(v string)
- func (o *WireguardPeerEnsure) SetMetadata(v map[string]interface{})
- func (o *WireguardPeerEnsure) SetProperties(v WireguardPeer)
- func (o WireguardPeerEnsure) ToMap() (map[string]interface{}, error)
- type WireguardPeerMetadata
- func (o *WireguardPeerMetadata) GetCreatedBy() string
- func (o *WireguardPeerMetadata) GetCreatedByOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetCreatedByUserId() string
- func (o *WireguardPeerMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetCreatedDate() time.Time
- func (o *WireguardPeerMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *WireguardPeerMetadata) GetLastModifiedBy() string
- func (o *WireguardPeerMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetLastModifiedByUserId() string
- func (o *WireguardPeerMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetLastModifiedDate() time.Time
- func (o *WireguardPeerMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *WireguardPeerMetadata) GetResourceURN() string
- func (o *WireguardPeerMetadata) GetResourceURNOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetStatus() string
- func (o *WireguardPeerMetadata) GetStatusMessage() string
- func (o *WireguardPeerMetadata) GetStatusMessageOk() (*string, bool)
- func (o *WireguardPeerMetadata) GetStatusOk() (*string, bool)
- func (o *WireguardPeerMetadata) HasCreatedBy() bool
- func (o *WireguardPeerMetadata) HasCreatedByUserId() bool
- func (o *WireguardPeerMetadata) HasCreatedDate() bool
- func (o *WireguardPeerMetadata) HasLastModifiedBy() bool
- func (o *WireguardPeerMetadata) HasLastModifiedByUserId() bool
- func (o *WireguardPeerMetadata) HasLastModifiedDate() bool
- func (o *WireguardPeerMetadata) HasResourceURN() bool
- func (o *WireguardPeerMetadata) HasStatusMessage() bool
- func (o *WireguardPeerMetadata) SetCreatedBy(v string)
- func (o *WireguardPeerMetadata) SetCreatedByUserId(v string)
- func (o *WireguardPeerMetadata) SetCreatedDate(v time.Time)
- func (o *WireguardPeerMetadata) SetLastModifiedBy(v string)
- func (o *WireguardPeerMetadata) SetLastModifiedByUserId(v string)
- func (o *WireguardPeerMetadata) SetLastModifiedDate(v time.Time)
- func (o *WireguardPeerMetadata) SetResourceURN(v string)
- func (o *WireguardPeerMetadata) SetStatus(v string)
- func (o *WireguardPeerMetadata) SetStatusMessage(v string)
- func (o WireguardPeerMetadata) ToMap() (map[string]interface{}, error)
- type WireguardPeerRead
- func (o *WireguardPeerRead) GetHref() string
- func (o *WireguardPeerRead) GetHrefOk() (*string, bool)
- func (o *WireguardPeerRead) GetId() string
- func (o *WireguardPeerRead) GetIdOk() (*string, bool)
- func (o *WireguardPeerRead) GetMetadata() WireguardPeerMetadata
- func (o *WireguardPeerRead) GetMetadataOk() (*WireguardPeerMetadata, bool)
- func (o *WireguardPeerRead) GetProperties() WireguardPeer
- func (o *WireguardPeerRead) GetPropertiesOk() (*WireguardPeer, bool)
- func (o *WireguardPeerRead) GetType() string
- func (o *WireguardPeerRead) GetTypeOk() (*string, bool)
- func (o *WireguardPeerRead) SetHref(v string)
- func (o *WireguardPeerRead) SetId(v string)
- func (o *WireguardPeerRead) SetMetadata(v WireguardPeerMetadata)
- func (o *WireguardPeerRead) SetProperties(v WireguardPeer)
- func (o *WireguardPeerRead) SetType(v string)
- func (o WireguardPeerRead) ToMap() (map[string]interface{}, error)
- type WireguardPeerReadList
- func (o *WireguardPeerReadList) GetHref() string
- func (o *WireguardPeerReadList) GetHrefOk() (*string, bool)
- func (o *WireguardPeerReadList) GetId() string
- func (o *WireguardPeerReadList) GetIdOk() (*string, bool)
- func (o *WireguardPeerReadList) GetItems() []WireguardPeerRead
- func (o *WireguardPeerReadList) GetItemsOk() ([]WireguardPeerRead, bool)
- func (o *WireguardPeerReadList) GetLimit() int32
- func (o *WireguardPeerReadList) GetLimitOk() (*int32, bool)
- func (o *WireguardPeerReadList) GetLinks() Links
- func (o *WireguardPeerReadList) GetLinksOk() (*Links, bool)
- func (o *WireguardPeerReadList) GetOffset() int32
- func (o *WireguardPeerReadList) GetOffsetOk() (*int32, bool)
- func (o *WireguardPeerReadList) GetType() string
- func (o *WireguardPeerReadList) GetTypeOk() (*string, bool)
- func (o *WireguardPeerReadList) HasItems() bool
- func (o *WireguardPeerReadList) SetHref(v string)
- func (o *WireguardPeerReadList) SetId(v string)
- func (o *WireguardPeerReadList) SetItems(v []WireguardPeerRead)
- func (o *WireguardPeerReadList) SetLimit(v int32)
- func (o *WireguardPeerReadList) SetLinks(v Links)
- func (o *WireguardPeerReadList) SetOffset(v int32)
- func (o *WireguardPeerReadList) SetType(v string)
- func (o WireguardPeerReadList) ToMap() (map[string]interface{}, error)
- type WireguardPeerReadListAllOf
- func (o *WireguardPeerReadListAllOf) GetHref() string
- func (o *WireguardPeerReadListAllOf) GetHrefOk() (*string, bool)
- func (o *WireguardPeerReadListAllOf) GetId() string
- func (o *WireguardPeerReadListAllOf) GetIdOk() (*string, bool)
- func (o *WireguardPeerReadListAllOf) GetItems() []WireguardPeerRead
- func (o *WireguardPeerReadListAllOf) GetItemsOk() ([]WireguardPeerRead, bool)
- func (o *WireguardPeerReadListAllOf) GetType() string
- func (o *WireguardPeerReadListAllOf) GetTypeOk() (*string, bool)
- func (o *WireguardPeerReadListAllOf) HasItems() bool
- func (o *WireguardPeerReadListAllOf) SetHref(v string)
- func (o *WireguardPeerReadListAllOf) SetId(v string)
- func (o *WireguardPeerReadListAllOf) SetItems(v []WireguardPeerRead)
- func (o *WireguardPeerReadListAllOf) SetType(v string)
- func (o WireguardPeerReadListAllOf) ToMap() (map[string]interface{}, error)
- type WireguardPeersApiService
- func (a *WireguardPeersApiService) WireguardgatewaysPeersDelete(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersDeleteRequest
- func (a *WireguardPeersApiService) WireguardgatewaysPeersDeleteExecute(r ApiWireguardgatewaysPeersDeleteRequest) (*shared.APIResponse, error)
- func (a *WireguardPeersApiService) WireguardgatewaysPeersFindById(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersFindByIdRequest
- func (a *WireguardPeersApiService) WireguardgatewaysPeersFindByIdExecute(r ApiWireguardgatewaysPeersFindByIdRequest) (WireguardPeerRead, *shared.APIResponse, error)
- func (a *WireguardPeersApiService) WireguardgatewaysPeersGet(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPeersGetRequest
- func (a *WireguardPeersApiService) WireguardgatewaysPeersGetExecute(r ApiWireguardgatewaysPeersGetRequest) (WireguardPeerReadList, *shared.APIResponse, error)
- func (a *WireguardPeersApiService) WireguardgatewaysPeersPost(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPeersPostRequest
- func (a *WireguardPeersApiService) WireguardgatewaysPeersPostExecute(r ApiWireguardgatewaysPeersPostRequest) (WireguardPeerRead, *shared.APIResponse, error)
- func (a *WireguardPeersApiService) WireguardgatewaysPeersPut(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersPutRequest
- func (a *WireguardPeersApiService) WireguardgatewaysPeersPutExecute(r ApiWireguardgatewaysPeersPutRequest) (WireguardPeerRead, *shared.APIResponse, error)
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "products/vpn/v2.0.3" )
Variables ¶
This section is empty.
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func DeepCopy ¶ added in v2.0.3
func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
Types ¶
type APIClient ¶
type APIClient struct { IPSecGatewaysApi *IPSecGatewaysApiService IPSecTunnelsApi *IPSecTunnelsApiService WireguardGatewaysApi *WireguardGatewaysApiService WireguardPeersApi *WireguardPeersApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS Cloud VPN Gateway API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *shared.Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *shared.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type ApiIpsecgatewaysDeleteRequest ¶
type ApiIpsecgatewaysDeleteRequest struct { ApiService *IPSecGatewaysApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysDeleteRequest) Execute ¶
func (r ApiIpsecgatewaysDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiIpsecgatewaysFindByIdRequest ¶
type ApiIpsecgatewaysFindByIdRequest struct { ApiService *IPSecGatewaysApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysFindByIdRequest) Execute ¶
func (r ApiIpsecgatewaysFindByIdRequest) Execute() (IPSecGatewayRead, *shared.APIResponse, error)
type ApiIpsecgatewaysGetRequest ¶
type ApiIpsecgatewaysGetRequest struct { ApiService *IPSecGatewaysApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysGetRequest) Execute ¶
func (r ApiIpsecgatewaysGetRequest) Execute() (IPSecGatewayReadList, *shared.APIResponse, error)
func (ApiIpsecgatewaysGetRequest) Limit ¶
func (r ApiIpsecgatewaysGetRequest) Limit(limit int32) ApiIpsecgatewaysGetRequest
func (ApiIpsecgatewaysGetRequest) Offset ¶
func (r ApiIpsecgatewaysGetRequest) Offset(offset int32) ApiIpsecgatewaysGetRequest
type ApiIpsecgatewaysPostRequest ¶
type ApiIpsecgatewaysPostRequest struct { ApiService *IPSecGatewaysApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysPostRequest) Execute ¶
func (r ApiIpsecgatewaysPostRequest) Execute() (IPSecGatewayRead, *shared.APIResponse, error)
func (ApiIpsecgatewaysPostRequest) IPSecGatewayCreate ¶
func (r ApiIpsecgatewaysPostRequest) IPSecGatewayCreate(iPSecGatewayCreate IPSecGatewayCreate) ApiIpsecgatewaysPostRequest
type ApiIpsecgatewaysPutRequest ¶
type ApiIpsecgatewaysPutRequest struct { ApiService *IPSecGatewaysApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysPutRequest) Execute ¶
func (r ApiIpsecgatewaysPutRequest) Execute() (IPSecGatewayRead, *shared.APIResponse, error)
func (ApiIpsecgatewaysPutRequest) IPSecGatewayEnsure ¶
func (r ApiIpsecgatewaysPutRequest) IPSecGatewayEnsure(iPSecGatewayEnsure IPSecGatewayEnsure) ApiIpsecgatewaysPutRequest
type ApiIpsecgatewaysTunnelsDeleteRequest ¶
type ApiIpsecgatewaysTunnelsDeleteRequest struct { ApiService *IPSecTunnelsApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysTunnelsDeleteRequest) Execute ¶
func (r ApiIpsecgatewaysTunnelsDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiIpsecgatewaysTunnelsFindByIdRequest ¶
type ApiIpsecgatewaysTunnelsFindByIdRequest struct { ApiService *IPSecTunnelsApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysTunnelsFindByIdRequest) Execute ¶
func (r ApiIpsecgatewaysTunnelsFindByIdRequest) Execute() (IPSecTunnelRead, *shared.APIResponse, error)
type ApiIpsecgatewaysTunnelsGetRequest ¶
type ApiIpsecgatewaysTunnelsGetRequest struct { ApiService *IPSecTunnelsApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysTunnelsGetRequest) Execute ¶
func (r ApiIpsecgatewaysTunnelsGetRequest) Execute() (IPSecTunnelReadList, *shared.APIResponse, error)
func (ApiIpsecgatewaysTunnelsGetRequest) Limit ¶
func (r ApiIpsecgatewaysTunnelsGetRequest) Limit(limit int32) ApiIpsecgatewaysTunnelsGetRequest
func (ApiIpsecgatewaysTunnelsGetRequest) Offset ¶
func (r ApiIpsecgatewaysTunnelsGetRequest) Offset(offset int32) ApiIpsecgatewaysTunnelsGetRequest
type ApiIpsecgatewaysTunnelsPostRequest ¶
type ApiIpsecgatewaysTunnelsPostRequest struct { ApiService *IPSecTunnelsApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysTunnelsPostRequest) Execute ¶
func (r ApiIpsecgatewaysTunnelsPostRequest) Execute() (IPSecTunnelRead, *shared.APIResponse, error)
func (ApiIpsecgatewaysTunnelsPostRequest) IPSecTunnelCreate ¶
func (r ApiIpsecgatewaysTunnelsPostRequest) IPSecTunnelCreate(iPSecTunnelCreate IPSecTunnelCreate) ApiIpsecgatewaysTunnelsPostRequest
type ApiIpsecgatewaysTunnelsPutRequest ¶
type ApiIpsecgatewaysTunnelsPutRequest struct { ApiService *IPSecTunnelsApiService // contains filtered or unexported fields }
func (ApiIpsecgatewaysTunnelsPutRequest) Execute ¶
func (r ApiIpsecgatewaysTunnelsPutRequest) Execute() (IPSecTunnelRead, *shared.APIResponse, error)
func (ApiIpsecgatewaysTunnelsPutRequest) IPSecTunnelEnsure ¶
func (r ApiIpsecgatewaysTunnelsPutRequest) IPSecTunnelEnsure(iPSecTunnelEnsure IPSecTunnelEnsure) ApiIpsecgatewaysTunnelsPutRequest
type ApiWireguardgatewaysDeleteRequest ¶
type ApiWireguardgatewaysDeleteRequest struct { ApiService *WireguardGatewaysApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysDeleteRequest) Execute ¶
func (r ApiWireguardgatewaysDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiWireguardgatewaysFindByIdRequest ¶
type ApiWireguardgatewaysFindByIdRequest struct { ApiService *WireguardGatewaysApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysFindByIdRequest) Execute ¶
func (r ApiWireguardgatewaysFindByIdRequest) Execute() (WireguardGatewayRead, *shared.APIResponse, error)
type ApiWireguardgatewaysGetRequest ¶
type ApiWireguardgatewaysGetRequest struct { ApiService *WireguardGatewaysApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysGetRequest) Execute ¶
func (r ApiWireguardgatewaysGetRequest) Execute() (WireguardGatewayReadList, *shared.APIResponse, error)
func (ApiWireguardgatewaysGetRequest) Limit ¶
func (r ApiWireguardgatewaysGetRequest) Limit(limit int32) ApiWireguardgatewaysGetRequest
func (ApiWireguardgatewaysGetRequest) Offset ¶
func (r ApiWireguardgatewaysGetRequest) Offset(offset int32) ApiWireguardgatewaysGetRequest
type ApiWireguardgatewaysPeersDeleteRequest ¶
type ApiWireguardgatewaysPeersDeleteRequest struct { ApiService *WireguardPeersApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPeersDeleteRequest) Execute ¶
func (r ApiWireguardgatewaysPeersDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiWireguardgatewaysPeersFindByIdRequest ¶
type ApiWireguardgatewaysPeersFindByIdRequest struct { ApiService *WireguardPeersApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPeersFindByIdRequest) Execute ¶
func (r ApiWireguardgatewaysPeersFindByIdRequest) Execute() (WireguardPeerRead, *shared.APIResponse, error)
type ApiWireguardgatewaysPeersGetRequest ¶
type ApiWireguardgatewaysPeersGetRequest struct { ApiService *WireguardPeersApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPeersGetRequest) Execute ¶
func (r ApiWireguardgatewaysPeersGetRequest) Execute() (WireguardPeerReadList, *shared.APIResponse, error)
func (ApiWireguardgatewaysPeersGetRequest) Limit ¶
func (r ApiWireguardgatewaysPeersGetRequest) Limit(limit int32) ApiWireguardgatewaysPeersGetRequest
func (ApiWireguardgatewaysPeersGetRequest) Offset ¶
func (r ApiWireguardgatewaysPeersGetRequest) Offset(offset int32) ApiWireguardgatewaysPeersGetRequest
type ApiWireguardgatewaysPeersPostRequest ¶
type ApiWireguardgatewaysPeersPostRequest struct { ApiService *WireguardPeersApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPeersPostRequest) Execute ¶
func (r ApiWireguardgatewaysPeersPostRequest) Execute() (WireguardPeerRead, *shared.APIResponse, error)
func (ApiWireguardgatewaysPeersPostRequest) WireguardPeerCreate ¶
func (r ApiWireguardgatewaysPeersPostRequest) WireguardPeerCreate(wireguardPeerCreate WireguardPeerCreate) ApiWireguardgatewaysPeersPostRequest
type ApiWireguardgatewaysPeersPutRequest ¶
type ApiWireguardgatewaysPeersPutRequest struct { ApiService *WireguardPeersApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPeersPutRequest) Execute ¶
func (r ApiWireguardgatewaysPeersPutRequest) Execute() (WireguardPeerRead, *shared.APIResponse, error)
func (ApiWireguardgatewaysPeersPutRequest) WireguardPeerEnsure ¶
func (r ApiWireguardgatewaysPeersPutRequest) WireguardPeerEnsure(wireguardPeerEnsure WireguardPeerEnsure) ApiWireguardgatewaysPeersPutRequest
type ApiWireguardgatewaysPostRequest ¶
type ApiWireguardgatewaysPostRequest struct { ApiService *WireguardGatewaysApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPostRequest) Execute ¶
func (r ApiWireguardgatewaysPostRequest) Execute() (WireguardGatewayRead, *shared.APIResponse, error)
func (ApiWireguardgatewaysPostRequest) WireguardGatewayCreate ¶
func (r ApiWireguardgatewaysPostRequest) WireguardGatewayCreate(wireguardGatewayCreate WireguardGatewayCreate) ApiWireguardgatewaysPostRequest
type ApiWireguardgatewaysPutRequest ¶
type ApiWireguardgatewaysPutRequest struct { ApiService *WireguardGatewaysApiService // contains filtered or unexported fields }
func (ApiWireguardgatewaysPutRequest) Execute ¶
func (r ApiWireguardgatewaysPutRequest) Execute() (WireguardGatewayRead, *shared.APIResponse, error)
func (ApiWireguardgatewaysPutRequest) WireguardGatewayEnsure ¶
func (r ApiWireguardgatewaysPutRequest) WireguardGatewayEnsure(wireguardGatewayEnsure WireguardGatewayEnsure) ApiWireguardgatewaysPutRequest
type Connection ¶
type Connection struct { // The datacenter to connect your VPN Gateway to. DatacenterId string `json:"datacenterId"` // The numeric LAN ID to connect your VPN Gateway to. LanId string `json:"lanId"` // Describes a range of IP V4 addresses in CIDR notation. Ipv4CIDR string `json:"ipv4CIDR"` // Describes a range of IP V6 addresses in CIDR notation. Ipv6CIDR *string `json:"ipv6CIDR,omitempty"` }
Connection Details about the network connection for your VPN Gateway.
func NewConnection ¶
func NewConnection(datacenterId string, lanId string, ipv4CIDR string) *Connection
NewConnection instantiates a new Connection 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 NewConnectionWithDefaults ¶
func NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection 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 (*Connection) GetDatacenterId ¶
func (o *Connection) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field value
func (*Connection) GetDatacenterIdOk ¶
func (o *Connection) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set.
func (*Connection) GetIpv4CIDR ¶
func (o *Connection) GetIpv4CIDR() string
GetIpv4CIDR returns the Ipv4CIDR field value
func (*Connection) GetIpv4CIDROk ¶
func (o *Connection) GetIpv4CIDROk() (*string, bool)
GetIpv4CIDROk returns a tuple with the Ipv4CIDR field value and a boolean to check if the value has been set.
func (*Connection) GetIpv6CIDR ¶
func (o *Connection) GetIpv6CIDR() string
GetIpv6CIDR returns the Ipv6CIDR field value if set, zero value otherwise.
func (*Connection) GetIpv6CIDROk ¶
func (o *Connection) GetIpv6CIDROk() (*string, bool)
GetIpv6CIDROk returns a tuple with the Ipv6CIDR field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Connection) GetLanId ¶
func (o *Connection) GetLanId() string
GetLanId returns the LanId field value
func (*Connection) GetLanIdOk ¶
func (o *Connection) GetLanIdOk() (*string, bool)
GetLanIdOk returns a tuple with the LanId field value and a boolean to check if the value has been set.
func (*Connection) HasIpv6CIDR ¶
func (o *Connection) HasIpv6CIDR() bool
HasIpv6CIDR returns a boolean if a field has been set.
func (*Connection) SetDatacenterId ¶
func (o *Connection) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*Connection) SetIpv4CIDR ¶
func (o *Connection) SetIpv4CIDR(v string)
SetIpv4CIDR sets field value
func (*Connection) SetIpv6CIDR ¶
func (o *Connection) SetIpv6CIDR(v string)
SetIpv6CIDR gets a reference to the given string and assigns it to the Ipv6CIDR field.
func (Connection) ToMap ¶
func (o Connection) ToMap() (map[string]interface{}, error)
type DayOfTheWeek ¶ added in v2.0.2
type DayOfTheWeek string
DayOfTheWeek The name of the week day.
const ( DAYOFTHEWEEK_SUNDAY DayOfTheWeek = "Sunday" DAYOFTHEWEEK_MONDAY DayOfTheWeek = "Monday" DAYOFTHEWEEK_TUESDAY DayOfTheWeek = "Tuesday" DAYOFTHEWEEK_WEDNESDAY DayOfTheWeek = "Wednesday" DAYOFTHEWEEK_THURSDAY DayOfTheWeek = "Thursday" DAYOFTHEWEEK_FRIDAY DayOfTheWeek = "Friday" DAYOFTHEWEEK_SATURDAY DayOfTheWeek = "Saturday" )
List of DayOfTheWeek
func (DayOfTheWeek) Ptr ¶ added in v2.0.2
func (v DayOfTheWeek) Ptr() *DayOfTheWeek
Ptr returns reference to DayOfTheWeek value
func (*DayOfTheWeek) UnmarshalJSON ¶ added in v2.0.2
func (v *DayOfTheWeek) UnmarshalJSON(src []byte) error
type ESPEncryption ¶
type ESPEncryption struct { // The Diffie-Hellman Group to use for IPSec Encryption.\\ Options: - 15-MODP3072 - 16-MODP4096 - 19-ECP256 - 20-ECP384 - 21-ECP521 - 28-ECP256BP - 29-ECP384BP - 30-ECP512BP DiffieHellmanGroup *string `json:"diffieHellmanGroup,omitempty"` // The encryption algorithm to use for IPSec Encryption.\\ Options: - AES128-CTR - AES256-CTR - AES128-GCM-16 - AES256-GCM-16 - AES128-GCM-12 - AES256-GCM-12 - AES128-CCM-12 - AES256-CCM-12 - AES128 - AES256 EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"` // The integrity algorithm to use for IPSec Encryption.\\ Options: - SHA256 - SHA384 - SHA512 - AES-XCBC IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"` // The phase lifetime in seconds. Lifetime *int32 `json:"lifetime,omitempty"` }
ESPEncryption Settings for the IPSec SA (ESP) phase.
func NewESPEncryption ¶
func NewESPEncryption() *ESPEncryption
NewESPEncryption instantiates a new ESPEncryption 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 NewESPEncryptionWithDefaults ¶
func NewESPEncryptionWithDefaults() *ESPEncryption
NewESPEncryptionWithDefaults instantiates a new ESPEncryption 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 (*ESPEncryption) GetDiffieHellmanGroup ¶
func (o *ESPEncryption) GetDiffieHellmanGroup() string
GetDiffieHellmanGroup returns the DiffieHellmanGroup field value if set, zero value otherwise.
func (*ESPEncryption) GetDiffieHellmanGroupOk ¶
func (o *ESPEncryption) GetDiffieHellmanGroupOk() (*string, bool)
GetDiffieHellmanGroupOk returns a tuple with the DiffieHellmanGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ESPEncryption) GetEncryptionAlgorithm ¶
func (o *ESPEncryption) GetEncryptionAlgorithm() string
GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.
func (*ESPEncryption) GetEncryptionAlgorithmOk ¶
func (o *ESPEncryption) GetEncryptionAlgorithmOk() (*string, bool)
GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ESPEncryption) GetIntegrityAlgorithm ¶
func (o *ESPEncryption) GetIntegrityAlgorithm() string
GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.
func (*ESPEncryption) GetIntegrityAlgorithmOk ¶
func (o *ESPEncryption) GetIntegrityAlgorithmOk() (*string, bool)
GetIntegrityAlgorithmOk returns a tuple with the IntegrityAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ESPEncryption) GetLifetime ¶
func (o *ESPEncryption) GetLifetime() int32
GetLifetime returns the Lifetime field value if set, zero value otherwise.
func (*ESPEncryption) GetLifetimeOk ¶
func (o *ESPEncryption) GetLifetimeOk() (*int32, bool)
GetLifetimeOk returns a tuple with the Lifetime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ESPEncryption) HasDiffieHellmanGroup ¶
func (o *ESPEncryption) HasDiffieHellmanGroup() bool
HasDiffieHellmanGroup returns a boolean if a field has been set.
func (*ESPEncryption) HasEncryptionAlgorithm ¶
func (o *ESPEncryption) HasEncryptionAlgorithm() bool
HasEncryptionAlgorithm returns a boolean if a field has been set.
func (*ESPEncryption) HasIntegrityAlgorithm ¶
func (o *ESPEncryption) HasIntegrityAlgorithm() bool
HasIntegrityAlgorithm returns a boolean if a field has been set.
func (*ESPEncryption) HasLifetime ¶
func (o *ESPEncryption) HasLifetime() bool
HasLifetime returns a boolean if a field has been set.
func (*ESPEncryption) SetDiffieHellmanGroup ¶
func (o *ESPEncryption) SetDiffieHellmanGroup(v string)
SetDiffieHellmanGroup gets a reference to the given string and assigns it to the DiffieHellmanGroup field.
func (*ESPEncryption) SetEncryptionAlgorithm ¶
func (o *ESPEncryption) SetEncryptionAlgorithm(v string)
SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.
func (*ESPEncryption) SetIntegrityAlgorithm ¶
func (o *ESPEncryption) SetIntegrityAlgorithm(v string)
SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.
func (*ESPEncryption) SetLifetime ¶
func (o *ESPEncryption) SetLifetime(v int32)
SetLifetime gets a reference to the given int32 and assigns it to the Lifetime field.
func (ESPEncryption) ToMap ¶
func (o ESPEncryption) ToMap() (map[string]interface{}, error)
type Error ¶
type Error struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus,omitempty"` // A list of error messages. Messages []ErrorMessages `json:"messages,omitempty"` }
Error The Error object is used to represent an error response from the API.
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetHttpStatus ¶
GetHttpStatus returns the HttpStatus field value if set, zero value otherwise.
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetMessages ¶
func (o *Error) GetMessages() []ErrorMessages
GetMessages returns the Messages field value if set, zero value otherwise.
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasHttpStatus ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (*Error) SetHttpStatus ¶
SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.
type ErrorMessages ¶
type ErrorMessages struct { // Application internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessages struct for ErrorMessages
func NewErrorMessages ¶
func NewErrorMessages() *ErrorMessages
NewErrorMessages instantiates a new ErrorMessages object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorMessagesWithDefaults ¶
func NewErrorMessagesWithDefaults() *ErrorMessages
NewErrorMessagesWithDefaults instantiates a new ErrorMessages object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorMessages) GetErrorCode ¶
func (o *ErrorMessages) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessages) HasErrorCode ¶
func (o *ErrorMessages) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessages) HasMessage ¶
func (o *ErrorMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorMessages) ToMap ¶
func (o ErrorMessages) ToMap() (map[string]interface{}, error)
type IKEEncryption ¶
type IKEEncryption struct { // The Diffie-Hellman Group to use for IPSec Encryption.\\ Options: - 15-MODP3072 - 16-MODP4096 - 19-ECP256 - 20-ECP384 - 21-ECP521 - 28-ECP256BP - 29-ECP384BP - 30-ECP512BP DiffieHellmanGroup *string `json:"diffieHellmanGroup,omitempty"` // The encryption algorithm to use for IPSec Encryption.\\ Options: - AES128-CTR - AES256-CTR - AES128-GCM-16 - AES256-GCM-16 - AES128-GCM-12 - AES256-GCM-12 - AES128-CCM-12 - AES256-CCM-12 - AES128 - AES256 EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"` // The integrity algorithm to use for IPSec Encryption.\\ Options: - SHA256 - SHA384 - SHA512 - AES-XCBC IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"` // The phase lifetime in seconds. Lifetime *int32 `json:"lifetime,omitempty"` }
IKEEncryption Settings for the initial security exchange phase.
func NewIKEEncryption ¶
func NewIKEEncryption() *IKEEncryption
NewIKEEncryption instantiates a new IKEEncryption 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 NewIKEEncryptionWithDefaults ¶
func NewIKEEncryptionWithDefaults() *IKEEncryption
NewIKEEncryptionWithDefaults instantiates a new IKEEncryption 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 (*IKEEncryption) GetDiffieHellmanGroup ¶
func (o *IKEEncryption) GetDiffieHellmanGroup() string
GetDiffieHellmanGroup returns the DiffieHellmanGroup field value if set, zero value otherwise.
func (*IKEEncryption) GetDiffieHellmanGroupOk ¶
func (o *IKEEncryption) GetDiffieHellmanGroupOk() (*string, bool)
GetDiffieHellmanGroupOk returns a tuple with the DiffieHellmanGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IKEEncryption) GetEncryptionAlgorithm ¶
func (o *IKEEncryption) GetEncryptionAlgorithm() string
GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.
func (*IKEEncryption) GetEncryptionAlgorithmOk ¶
func (o *IKEEncryption) GetEncryptionAlgorithmOk() (*string, bool)
GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IKEEncryption) GetIntegrityAlgorithm ¶
func (o *IKEEncryption) GetIntegrityAlgorithm() string
GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.
func (*IKEEncryption) GetIntegrityAlgorithmOk ¶
func (o *IKEEncryption) GetIntegrityAlgorithmOk() (*string, bool)
GetIntegrityAlgorithmOk returns a tuple with the IntegrityAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IKEEncryption) GetLifetime ¶
func (o *IKEEncryption) GetLifetime() int32
GetLifetime returns the Lifetime field value if set, zero value otherwise.
func (*IKEEncryption) GetLifetimeOk ¶
func (o *IKEEncryption) GetLifetimeOk() (*int32, bool)
GetLifetimeOk returns a tuple with the Lifetime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IKEEncryption) HasDiffieHellmanGroup ¶
func (o *IKEEncryption) HasDiffieHellmanGroup() bool
HasDiffieHellmanGroup returns a boolean if a field has been set.
func (*IKEEncryption) HasEncryptionAlgorithm ¶
func (o *IKEEncryption) HasEncryptionAlgorithm() bool
HasEncryptionAlgorithm returns a boolean if a field has been set.
func (*IKEEncryption) HasIntegrityAlgorithm ¶
func (o *IKEEncryption) HasIntegrityAlgorithm() bool
HasIntegrityAlgorithm returns a boolean if a field has been set.
func (*IKEEncryption) HasLifetime ¶
func (o *IKEEncryption) HasLifetime() bool
HasLifetime returns a boolean if a field has been set.
func (*IKEEncryption) SetDiffieHellmanGroup ¶
func (o *IKEEncryption) SetDiffieHellmanGroup(v string)
SetDiffieHellmanGroup gets a reference to the given string and assigns it to the DiffieHellmanGroup field.
func (*IKEEncryption) SetEncryptionAlgorithm ¶
func (o *IKEEncryption) SetEncryptionAlgorithm(v string)
SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.
func (*IKEEncryption) SetIntegrityAlgorithm ¶
func (o *IKEEncryption) SetIntegrityAlgorithm(v string)
SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.
func (*IKEEncryption) SetLifetime ¶
func (o *IKEEncryption) SetLifetime(v int32)
SetLifetime gets a reference to the given int32 and assigns it to the Lifetime field.
func (IKEEncryption) ToMap ¶
func (o IKEEncryption) ToMap() (map[string]interface{}, error)
type IPSecGateway ¶
type IPSecGateway struct { // The human readable name of your IPSecGateway. Name string `json:"name"` // Human readable description of the IPSecGateway. Description *string `json:"description,omitempty"` // Public IP address to be assigned to the gateway. __Note__: This must be an IP address in the same datacenter as the connections. GatewayIP string `json:"gatewayIP"` // The network connection for your gateway. __Note__: all connections must belong to the same datacenterId. There is a limit to the total number of connections. Please refer to product documentation. Connections []Connection `json:"connections"` // The IKE version that is permitted for the VPN tunnels.\\ Options: - IKEv2 Version *string `json:"version,omitempty"` // Gateway performance options. See product documentation for full details.\\ Options: - STANDARD - STANDARD_HA - ENHANCED - ENHANCED_HA - PREMIUM - PREMIUM_HA Tier *string `json:"tier,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
IPSecGateway Properties with all data needed to create a new IPSec Gateway.
func NewIPSecGateway ¶
func NewIPSecGateway(name string, gatewayIP string, connections []Connection) *IPSecGateway
NewIPSecGateway instantiates a new IPSecGateway 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 NewIPSecGatewayWithDefaults ¶
func NewIPSecGatewayWithDefaults() *IPSecGateway
NewIPSecGatewayWithDefaults instantiates a new IPSecGateway 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 (*IPSecGateway) GetConnections ¶
func (o *IPSecGateway) GetConnections() []Connection
GetConnections returns the Connections field value
func (*IPSecGateway) GetConnectionsOk ¶
func (o *IPSecGateway) GetConnectionsOk() ([]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set.
func (*IPSecGateway) GetDescription ¶
func (o *IPSecGateway) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*IPSecGateway) GetDescriptionOk ¶
func (o *IPSecGateway) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGateway) GetGatewayIP ¶
func (o *IPSecGateway) GetGatewayIP() string
GetGatewayIP returns the GatewayIP field value
func (*IPSecGateway) GetGatewayIPOk ¶
func (o *IPSecGateway) GetGatewayIPOk() (*string, bool)
GetGatewayIPOk returns a tuple with the GatewayIP field value and a boolean to check if the value has been set.
func (*IPSecGateway) GetMaintenanceWindow ¶ added in v2.0.2
func (o *IPSecGateway) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*IPSecGateway) GetMaintenanceWindowOk ¶ added in v2.0.2
func (o *IPSecGateway) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGateway) GetName ¶
func (o *IPSecGateway) GetName() string
GetName returns the Name field value
func (*IPSecGateway) GetNameOk ¶
func (o *IPSecGateway) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*IPSecGateway) GetTier ¶ added in v2.0.2
func (o *IPSecGateway) GetTier() string
GetTier returns the Tier field value if set, zero value otherwise.
func (*IPSecGateway) GetTierOk ¶ added in v2.0.2
func (o *IPSecGateway) GetTierOk() (*string, bool)
GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGateway) GetVersion ¶
func (o *IPSecGateway) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*IPSecGateway) GetVersionOk ¶
func (o *IPSecGateway) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGateway) HasDescription ¶
func (o *IPSecGateway) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*IPSecGateway) HasMaintenanceWindow ¶ added in v2.0.2
func (o *IPSecGateway) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*IPSecGateway) HasTier ¶ added in v2.0.2
func (o *IPSecGateway) HasTier() bool
HasTier returns a boolean if a field has been set.
func (*IPSecGateway) HasVersion ¶
func (o *IPSecGateway) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (*IPSecGateway) SetConnections ¶
func (o *IPSecGateway) SetConnections(v []Connection)
SetConnections sets field value
func (*IPSecGateway) SetDescription ¶
func (o *IPSecGateway) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*IPSecGateway) SetGatewayIP ¶
func (o *IPSecGateway) SetGatewayIP(v string)
SetGatewayIP sets field value
func (*IPSecGateway) SetMaintenanceWindow ¶ added in v2.0.2
func (o *IPSecGateway) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow gets a reference to the given MaintenanceWindow and assigns it to the MaintenanceWindow field.
func (*IPSecGateway) SetTier ¶ added in v2.0.2
func (o *IPSecGateway) SetTier(v string)
SetTier gets a reference to the given string and assigns it to the Tier field.
func (*IPSecGateway) SetVersion ¶
func (o *IPSecGateway) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (IPSecGateway) ToMap ¶
func (o IPSecGateway) ToMap() (map[string]interface{}, error)
type IPSecGatewayCreate ¶
type IPSecGatewayCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties IPSecGateway `json:"properties"` }
IPSecGatewayCreate struct for IPSecGatewayCreate
func NewIPSecGatewayCreate ¶
func NewIPSecGatewayCreate(properties IPSecGateway) *IPSecGatewayCreate
NewIPSecGatewayCreate instantiates a new IPSecGatewayCreate 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 NewIPSecGatewayCreateWithDefaults ¶
func NewIPSecGatewayCreateWithDefaults() *IPSecGatewayCreate
NewIPSecGatewayCreateWithDefaults instantiates a new IPSecGatewayCreate 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 (*IPSecGatewayCreate) GetMetadata ¶
func (o *IPSecGatewayCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*IPSecGatewayCreate) GetMetadataOk ¶
func (o *IPSecGatewayCreate) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayCreate) GetProperties ¶
func (o *IPSecGatewayCreate) GetProperties() IPSecGateway
GetProperties returns the Properties field value
func (*IPSecGatewayCreate) GetPropertiesOk ¶
func (o *IPSecGatewayCreate) GetPropertiesOk() (*IPSecGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecGatewayCreate) HasMetadata ¶
func (o *IPSecGatewayCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*IPSecGatewayCreate) SetMetadata ¶
func (o *IPSecGatewayCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*IPSecGatewayCreate) SetProperties ¶
func (o *IPSecGatewayCreate) SetProperties(v IPSecGateway)
SetProperties sets field value
func (IPSecGatewayCreate) ToMap ¶
func (o IPSecGatewayCreate) ToMap() (map[string]interface{}, error)
type IPSecGatewayEnsure ¶
type IPSecGatewayEnsure struct { // The ID (UUID) of the IPSecGateway. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties IPSecGateway `json:"properties"` }
IPSecGatewayEnsure struct for IPSecGatewayEnsure
func NewIPSecGatewayEnsure ¶
func NewIPSecGatewayEnsure(id string, properties IPSecGateway) *IPSecGatewayEnsure
NewIPSecGatewayEnsure instantiates a new IPSecGatewayEnsure 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 NewIPSecGatewayEnsureWithDefaults ¶
func NewIPSecGatewayEnsureWithDefaults() *IPSecGatewayEnsure
NewIPSecGatewayEnsureWithDefaults instantiates a new IPSecGatewayEnsure 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 (*IPSecGatewayEnsure) GetId ¶
func (o *IPSecGatewayEnsure) GetId() string
GetId returns the Id field value
func (*IPSecGatewayEnsure) GetIdOk ¶
func (o *IPSecGatewayEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecGatewayEnsure) GetMetadata ¶
func (o *IPSecGatewayEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*IPSecGatewayEnsure) GetMetadataOk ¶
func (o *IPSecGatewayEnsure) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayEnsure) GetProperties ¶
func (o *IPSecGatewayEnsure) GetProperties() IPSecGateway
GetProperties returns the Properties field value
func (*IPSecGatewayEnsure) GetPropertiesOk ¶
func (o *IPSecGatewayEnsure) GetPropertiesOk() (*IPSecGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecGatewayEnsure) HasMetadata ¶
func (o *IPSecGatewayEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*IPSecGatewayEnsure) SetId ¶
func (o *IPSecGatewayEnsure) SetId(v string)
SetId sets field value
func (*IPSecGatewayEnsure) SetMetadata ¶
func (o *IPSecGatewayEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*IPSecGatewayEnsure) SetProperties ¶
func (o *IPSecGatewayEnsure) SetProperties(v IPSecGateway)
SetProperties sets field value
func (IPSecGatewayEnsure) ToMap ¶
func (o IPSecGatewayEnsure) ToMap() (map[string]interface{}, error)
type IPSecGatewayMetadata ¶
type IPSecGatewayMetadata 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 current status of the resource. 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 `statusMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
IPSecGatewayMetadata IPSec Gateway Metadata
func NewIPSecGatewayMetadata ¶
func NewIPSecGatewayMetadata(status string) *IPSecGatewayMetadata
NewIPSecGatewayMetadata instantiates a new IPSecGatewayMetadata 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 NewIPSecGatewayMetadataWithDefaults ¶
func NewIPSecGatewayMetadataWithDefaults() *IPSecGatewayMetadata
NewIPSecGatewayMetadataWithDefaults instantiates a new IPSecGatewayMetadata 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 (*IPSecGatewayMetadata) GetCreatedBy ¶
func (o *IPSecGatewayMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetCreatedByOk ¶
func (o *IPSecGatewayMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetCreatedByUserId ¶
func (o *IPSecGatewayMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetCreatedByUserIdOk ¶
func (o *IPSecGatewayMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetCreatedDate ¶
func (o *IPSecGatewayMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetCreatedDateOk ¶
func (o *IPSecGatewayMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetLastModifiedBy ¶
func (o *IPSecGatewayMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetLastModifiedByOk ¶
func (o *IPSecGatewayMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetLastModifiedByUserId ¶
func (o *IPSecGatewayMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetLastModifiedByUserIdOk ¶
func (o *IPSecGatewayMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetLastModifiedDate ¶
func (o *IPSecGatewayMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetLastModifiedDateOk ¶
func (o *IPSecGatewayMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetResourceURN ¶
func (o *IPSecGatewayMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetResourceURNOk ¶
func (o *IPSecGatewayMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetStatus ¶
func (o *IPSecGatewayMetadata) GetStatus() string
GetStatus returns the Status field value
func (*IPSecGatewayMetadata) GetStatusMessage ¶
func (o *IPSecGatewayMetadata) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*IPSecGatewayMetadata) GetStatusMessageOk ¶
func (o *IPSecGatewayMetadata) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) GetStatusOk ¶
func (o *IPSecGatewayMetadata) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*IPSecGatewayMetadata) HasCreatedBy ¶
func (o *IPSecGatewayMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasCreatedByUserId ¶
func (o *IPSecGatewayMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasCreatedDate ¶
func (o *IPSecGatewayMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasLastModifiedBy ¶
func (o *IPSecGatewayMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasLastModifiedByUserId ¶
func (o *IPSecGatewayMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasLastModifiedDate ¶
func (o *IPSecGatewayMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasResourceURN ¶
func (o *IPSecGatewayMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) HasStatusMessage ¶
func (o *IPSecGatewayMetadata) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*IPSecGatewayMetadata) SetCreatedBy ¶
func (o *IPSecGatewayMetadata) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*IPSecGatewayMetadata) SetCreatedByUserId ¶
func (o *IPSecGatewayMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*IPSecGatewayMetadata) SetCreatedDate ¶
func (o *IPSecGatewayMetadata) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*IPSecGatewayMetadata) SetLastModifiedBy ¶
func (o *IPSecGatewayMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*IPSecGatewayMetadata) SetLastModifiedByUserId ¶
func (o *IPSecGatewayMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*IPSecGatewayMetadata) SetLastModifiedDate ¶
func (o *IPSecGatewayMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*IPSecGatewayMetadata) SetResourceURN ¶
func (o *IPSecGatewayMetadata) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*IPSecGatewayMetadata) SetStatus ¶
func (o *IPSecGatewayMetadata) SetStatus(v string)
SetStatus sets field value
func (*IPSecGatewayMetadata) SetStatusMessage ¶
func (o *IPSecGatewayMetadata) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (IPSecGatewayMetadata) ToMap ¶
func (o IPSecGatewayMetadata) ToMap() (map[string]interface{}, error)
type IPSecGatewayRead ¶
type IPSecGatewayRead struct { // The ID (UUID) of the IPSecGateway. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the IPSecGateway. Href string `json:"href"` Metadata IPSecGatewayMetadata `json:"metadata"` Properties IPSecGateway `json:"properties"` }
IPSecGatewayRead struct for IPSecGatewayRead
func NewIPSecGatewayRead ¶
func NewIPSecGatewayRead(id string, type_ string, href string, metadata IPSecGatewayMetadata, properties IPSecGateway) *IPSecGatewayRead
NewIPSecGatewayRead instantiates a new IPSecGatewayRead 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 NewIPSecGatewayReadWithDefaults ¶
func NewIPSecGatewayReadWithDefaults() *IPSecGatewayRead
NewIPSecGatewayReadWithDefaults instantiates a new IPSecGatewayRead 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 (*IPSecGatewayRead) GetHref ¶
func (o *IPSecGatewayRead) GetHref() string
GetHref returns the Href field value
func (*IPSecGatewayRead) GetHrefOk ¶
func (o *IPSecGatewayRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecGatewayRead) GetId ¶
func (o *IPSecGatewayRead) GetId() string
GetId returns the Id field value
func (*IPSecGatewayRead) GetIdOk ¶
func (o *IPSecGatewayRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecGatewayRead) GetMetadata ¶
func (o *IPSecGatewayRead) GetMetadata() IPSecGatewayMetadata
GetMetadata returns the Metadata field value
func (*IPSecGatewayRead) GetMetadataOk ¶
func (o *IPSecGatewayRead) GetMetadataOk() (*IPSecGatewayMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*IPSecGatewayRead) GetProperties ¶
func (o *IPSecGatewayRead) GetProperties() IPSecGateway
GetProperties returns the Properties field value
func (*IPSecGatewayRead) GetPropertiesOk ¶
func (o *IPSecGatewayRead) GetPropertiesOk() (*IPSecGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecGatewayRead) GetType ¶
func (o *IPSecGatewayRead) GetType() string
GetType returns the Type field value
func (*IPSecGatewayRead) GetTypeOk ¶
func (o *IPSecGatewayRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecGatewayRead) SetHref ¶
func (o *IPSecGatewayRead) SetHref(v string)
SetHref sets field value
func (*IPSecGatewayRead) SetMetadata ¶
func (o *IPSecGatewayRead) SetMetadata(v IPSecGatewayMetadata)
SetMetadata sets field value
func (*IPSecGatewayRead) SetProperties ¶
func (o *IPSecGatewayRead) SetProperties(v IPSecGateway)
SetProperties sets field value
func (*IPSecGatewayRead) SetType ¶
func (o *IPSecGatewayRead) SetType(v string)
SetType sets field value
func (IPSecGatewayRead) ToMap ¶
func (o IPSecGatewayRead) ToMap() (map[string]interface{}, error)
type IPSecGatewayReadList ¶
type IPSecGatewayReadList struct { // ID of the list of IPSecGateway resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of IPSecGateway resources. Href string `json:"href"` // The list of IPSecGateway resources. Items []IPSecGatewayRead `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"` }
IPSecGatewayReadList struct for IPSecGatewayReadList
func NewIPSecGatewayReadList ¶
func NewIPSecGatewayReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *IPSecGatewayReadList
NewIPSecGatewayReadList instantiates a new IPSecGatewayReadList 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 NewIPSecGatewayReadListWithDefaults ¶
func NewIPSecGatewayReadListWithDefaults() *IPSecGatewayReadList
NewIPSecGatewayReadListWithDefaults instantiates a new IPSecGatewayReadList 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 (*IPSecGatewayReadList) GetHref ¶
func (o *IPSecGatewayReadList) GetHref() string
GetHref returns the Href field value
func (*IPSecGatewayReadList) GetHrefOk ¶
func (o *IPSecGatewayReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetId ¶
func (o *IPSecGatewayReadList) GetId() string
GetId returns the Id field value
func (*IPSecGatewayReadList) GetIdOk ¶
func (o *IPSecGatewayReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetItems ¶
func (o *IPSecGatewayReadList) GetItems() []IPSecGatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*IPSecGatewayReadList) GetItemsOk ¶
func (o *IPSecGatewayReadList) GetItemsOk() ([]IPSecGatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetLimit ¶
func (o *IPSecGatewayReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*IPSecGatewayReadList) GetLimitOk ¶
func (o *IPSecGatewayReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetLinks ¶
func (o *IPSecGatewayReadList) GetLinks() Links
GetLinks returns the Links field value
func (*IPSecGatewayReadList) GetLinksOk ¶
func (o *IPSecGatewayReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetOffset ¶
func (o *IPSecGatewayReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*IPSecGatewayReadList) GetOffsetOk ¶
func (o *IPSecGatewayReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) GetType ¶
func (o *IPSecGatewayReadList) GetType() string
GetType returns the Type field value
func (*IPSecGatewayReadList) GetTypeOk ¶
func (o *IPSecGatewayReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadList) HasItems ¶
func (o *IPSecGatewayReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*IPSecGatewayReadList) SetHref ¶
func (o *IPSecGatewayReadList) SetHref(v string)
SetHref sets field value
func (*IPSecGatewayReadList) SetId ¶
func (o *IPSecGatewayReadList) SetId(v string)
SetId sets field value
func (*IPSecGatewayReadList) SetItems ¶
func (o *IPSecGatewayReadList) SetItems(v []IPSecGatewayRead)
SetItems gets a reference to the given []IPSecGatewayRead and assigns it to the Items field.
func (*IPSecGatewayReadList) SetLimit ¶
func (o *IPSecGatewayReadList) SetLimit(v int32)
SetLimit sets field value
func (*IPSecGatewayReadList) SetLinks ¶
func (o *IPSecGatewayReadList) SetLinks(v Links)
SetLinks sets field value
func (*IPSecGatewayReadList) SetOffset ¶
func (o *IPSecGatewayReadList) SetOffset(v int32)
SetOffset sets field value
func (*IPSecGatewayReadList) SetType ¶
func (o *IPSecGatewayReadList) SetType(v string)
SetType sets field value
func (IPSecGatewayReadList) ToMap ¶
func (o IPSecGatewayReadList) ToMap() (map[string]interface{}, error)
type IPSecGatewayReadListAllOf ¶
type IPSecGatewayReadListAllOf struct { // ID of the list of IPSecGateway resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of IPSecGateway resources. Href string `json:"href"` // The list of IPSecGateway resources. Items []IPSecGatewayRead `json:"items,omitempty"` }
IPSecGatewayReadListAllOf struct for IPSecGatewayReadListAllOf
func NewIPSecGatewayReadListAllOf ¶
func NewIPSecGatewayReadListAllOf(id string, type_ string, href string) *IPSecGatewayReadListAllOf
NewIPSecGatewayReadListAllOf instantiates a new IPSecGatewayReadListAllOf 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 NewIPSecGatewayReadListAllOfWithDefaults ¶
func NewIPSecGatewayReadListAllOfWithDefaults() *IPSecGatewayReadListAllOf
NewIPSecGatewayReadListAllOfWithDefaults instantiates a new IPSecGatewayReadListAllOf 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 (*IPSecGatewayReadListAllOf) GetHref ¶
func (o *IPSecGatewayReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*IPSecGatewayReadListAllOf) GetHrefOk ¶
func (o *IPSecGatewayReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadListAllOf) GetId ¶
func (o *IPSecGatewayReadListAllOf) GetId() string
GetId returns the Id field value
func (*IPSecGatewayReadListAllOf) GetIdOk ¶
func (o *IPSecGatewayReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadListAllOf) GetItems ¶
func (o *IPSecGatewayReadListAllOf) GetItems() []IPSecGatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*IPSecGatewayReadListAllOf) GetItemsOk ¶
func (o *IPSecGatewayReadListAllOf) GetItemsOk() ([]IPSecGatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecGatewayReadListAllOf) GetType ¶
func (o *IPSecGatewayReadListAllOf) GetType() string
GetType returns the Type field value
func (*IPSecGatewayReadListAllOf) GetTypeOk ¶
func (o *IPSecGatewayReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecGatewayReadListAllOf) HasItems ¶
func (o *IPSecGatewayReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*IPSecGatewayReadListAllOf) SetHref ¶
func (o *IPSecGatewayReadListAllOf) SetHref(v string)
SetHref sets field value
func (*IPSecGatewayReadListAllOf) SetId ¶
func (o *IPSecGatewayReadListAllOf) SetId(v string)
SetId sets field value
func (*IPSecGatewayReadListAllOf) SetItems ¶
func (o *IPSecGatewayReadListAllOf) SetItems(v []IPSecGatewayRead)
SetItems gets a reference to the given []IPSecGatewayRead and assigns it to the Items field.
func (*IPSecGatewayReadListAllOf) SetType ¶
func (o *IPSecGatewayReadListAllOf) SetType(v string)
SetType sets field value
func (IPSecGatewayReadListAllOf) ToMap ¶
func (o IPSecGatewayReadListAllOf) ToMap() (map[string]interface{}, error)
type IPSecGatewaysApiService ¶
type IPSecGatewaysApiService service
IPSecGatewaysApiService IPSecGatewaysApi service
func (*IPSecGatewaysApiService) IpsecgatewaysDelete ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysDelete(ctx _context.Context, gatewayId string) ApiIpsecgatewaysDeleteRequest
* IpsecgatewaysDelete Delete IPSecGateway * Deletes the specified IPSecGateway. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the IPSecGateway. * @return ApiIpsecgatewaysDeleteRequest
func (*IPSecGatewaysApiService) IpsecgatewaysDeleteExecute ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysDeleteExecute(r ApiIpsecgatewaysDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*IPSecGatewaysApiService) IpsecgatewaysFindById ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysFindById(ctx _context.Context, gatewayId string) ApiIpsecgatewaysFindByIdRequest
* IpsecgatewaysFindById Retrieve IPSecGateway * Returns the IPSecGateway by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the IPSecGateway. * @return ApiIpsecgatewaysFindByIdRequest
func (*IPSecGatewaysApiService) IpsecgatewaysFindByIdExecute ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysFindByIdExecute(r ApiIpsecgatewaysFindByIdRequest) (IPSecGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecGatewayRead
func (*IPSecGatewaysApiService) IpsecgatewaysGet ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysGet(ctx _context.Context) ApiIpsecgatewaysGetRequest
- IpsecgatewaysGet Retrieve all IPSecGateways
- This endpoint enables retrieving all IPSecGateways using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpsecgatewaysGetRequest
func (*IPSecGatewaysApiService) IpsecgatewaysGetExecute ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysGetExecute(r ApiIpsecgatewaysGetRequest) (IPSecGatewayReadList, *shared.APIResponse, error)
* Execute executes the request * @return IPSecGatewayReadList
func (*IPSecGatewaysApiService) IpsecgatewaysPost ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysPost(ctx _context.Context) ApiIpsecgatewaysPostRequest
- IpsecgatewaysPost Create IPSecGateway
- Creates a new IPSecGateway.
The full IPSecGateway 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 ApiIpsecgatewaysPostRequest
func (*IPSecGatewaysApiService) IpsecgatewaysPostExecute ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysPostExecute(r ApiIpsecgatewaysPostRequest) (IPSecGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecGatewayRead
func (*IPSecGatewaysApiService) IpsecgatewaysPut ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysPut(ctx _context.Context, gatewayId string) ApiIpsecgatewaysPutRequest
- IpsecgatewaysPut Ensure IPSecGateway
- Ensures that the IPSecGateway with the provided ID is created or modified.
The full IPSecGateway needs to be provided to ensure (either update or create) the IPSecGateway. 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 gatewayId The ID (UUID) of the IPSecGateway.
- @return ApiIpsecgatewaysPutRequest
func (*IPSecGatewaysApiService) IpsecgatewaysPutExecute ¶
func (a *IPSecGatewaysApiService) IpsecgatewaysPutExecute(r ApiIpsecgatewaysPutRequest) (IPSecGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecGatewayRead
type IPSecPSK ¶
type IPSecPSK struct { // The Pre-Shared Key used for IPSec Authentication. Key string `json:"key"` }
IPSecPSK Properties with all data needed to define IPSec Authentication PSK. This is required if the method is PSK.
func NewIPSecPSK ¶
NewIPSecPSK instantiates a new IPSecPSK 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 NewIPSecPSKWithDefaults ¶
func NewIPSecPSKWithDefaults() *IPSecPSK
NewIPSecPSKWithDefaults instantiates a new IPSecPSK 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
type IPSecTunnel ¶
type IPSecTunnel struct { // The human readable name of your IPSec Gateway Tunnel. Name string `json:"name"` // Human readable description of the IPSec Gateway Tunnel. Description *string `json:"description,omitempty"` // The remote peer host fully qualified domain name or IPV4 IP to connect to. * __Note__: This should be the public IP of the remote peer. * Tunnels only support IPV4 or hostname (fully qualified DNS name). RemoteHost string `json:"remoteHost"` Auth IPSecTunnelAuth `json:"auth"` Ike IKEEncryption `json:"ike"` Esp ESPEncryption `json:"esp"` // The network CIDRs on the \"Left\" side that are allowed to connect to the IPSec tunnel, i.e the CIDRs within your IONOS Cloud LAN. Specify \"0.0.0.0/0\" or \"::/0\" for all addresses. CloudNetworkCIDRs []string `json:"cloudNetworkCIDRs"` // The network CIDRs on the \"Right\" side that are allowed to connect to the IPSec tunnel. Specify \"0.0.0.0/0\" or \"::/0\" for all addresses. PeerNetworkCIDRs []string `json:"peerNetworkCIDRs"` }
IPSecTunnel Properties with all data needed to create a new IPSec Gateway Tunnel.\\ __Note__: there is a limit to the total number of tunnels. Please refer to product documentation.
func NewIPSecTunnel ¶
func NewIPSecTunnel(name string, remoteHost string, auth IPSecTunnelAuth, ike IKEEncryption, esp ESPEncryption, cloudNetworkCIDRs []string, peerNetworkCIDRs []string) *IPSecTunnel
NewIPSecTunnel instantiates a new IPSecTunnel 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 NewIPSecTunnelWithDefaults ¶
func NewIPSecTunnelWithDefaults() *IPSecTunnel
NewIPSecTunnelWithDefaults instantiates a new IPSecTunnel 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 (*IPSecTunnel) GetAuth ¶
func (o *IPSecTunnel) GetAuth() IPSecTunnelAuth
GetAuth returns the Auth field value
func (*IPSecTunnel) GetAuthOk ¶
func (o *IPSecTunnel) GetAuthOk() (*IPSecTunnelAuth, bool)
GetAuthOk returns a tuple with the Auth field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetCloudNetworkCIDRs ¶
func (o *IPSecTunnel) GetCloudNetworkCIDRs() []string
GetCloudNetworkCIDRs returns the CloudNetworkCIDRs field value
func (*IPSecTunnel) GetCloudNetworkCIDRsOk ¶
func (o *IPSecTunnel) GetCloudNetworkCIDRsOk() ([]string, bool)
GetCloudNetworkCIDRsOk returns a tuple with the CloudNetworkCIDRs field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetDescription ¶
func (o *IPSecTunnel) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*IPSecTunnel) GetDescriptionOk ¶
func (o *IPSecTunnel) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnel) GetEsp ¶
func (o *IPSecTunnel) GetEsp() ESPEncryption
GetEsp returns the Esp field value
func (*IPSecTunnel) GetEspOk ¶
func (o *IPSecTunnel) GetEspOk() (*ESPEncryption, bool)
GetEspOk returns a tuple with the Esp field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetIke ¶
func (o *IPSecTunnel) GetIke() IKEEncryption
GetIke returns the Ike field value
func (*IPSecTunnel) GetIkeOk ¶
func (o *IPSecTunnel) GetIkeOk() (*IKEEncryption, bool)
GetIkeOk returns a tuple with the Ike field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetName ¶
func (o *IPSecTunnel) GetName() string
GetName returns the Name field value
func (*IPSecTunnel) GetNameOk ¶
func (o *IPSecTunnel) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetPeerNetworkCIDRs ¶
func (o *IPSecTunnel) GetPeerNetworkCIDRs() []string
GetPeerNetworkCIDRs returns the PeerNetworkCIDRs field value
func (*IPSecTunnel) GetPeerNetworkCIDRsOk ¶
func (o *IPSecTunnel) GetPeerNetworkCIDRsOk() ([]string, bool)
GetPeerNetworkCIDRsOk returns a tuple with the PeerNetworkCIDRs field value and a boolean to check if the value has been set.
func (*IPSecTunnel) GetRemoteHost ¶
func (o *IPSecTunnel) GetRemoteHost() string
GetRemoteHost returns the RemoteHost field value
func (*IPSecTunnel) GetRemoteHostOk ¶
func (o *IPSecTunnel) GetRemoteHostOk() (*string, bool)
GetRemoteHostOk returns a tuple with the RemoteHost field value and a boolean to check if the value has been set.
func (*IPSecTunnel) HasDescription ¶
func (o *IPSecTunnel) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*IPSecTunnel) SetAuth ¶
func (o *IPSecTunnel) SetAuth(v IPSecTunnelAuth)
SetAuth sets field value
func (*IPSecTunnel) SetCloudNetworkCIDRs ¶
func (o *IPSecTunnel) SetCloudNetworkCIDRs(v []string)
SetCloudNetworkCIDRs sets field value
func (*IPSecTunnel) SetDescription ¶
func (o *IPSecTunnel) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*IPSecTunnel) SetPeerNetworkCIDRs ¶
func (o *IPSecTunnel) SetPeerNetworkCIDRs(v []string)
SetPeerNetworkCIDRs sets field value
func (*IPSecTunnel) SetRemoteHost ¶
func (o *IPSecTunnel) SetRemoteHost(v string)
SetRemoteHost sets field value
func (IPSecTunnel) ToMap ¶
func (o IPSecTunnel) ToMap() (map[string]interface{}, error)
type IPSecTunnelAuth ¶
type IPSecTunnelAuth struct { // The Authentication Method to use for IPSec Authentication.\\ Options: - PSK Method string `json:"method"` Psk *IPSecPSK `json:"psk,omitempty"` }
IPSecTunnelAuth Properties with all data needed to define IPSec Authentication.
func NewIPSecTunnelAuth ¶
func NewIPSecTunnelAuth(method string) *IPSecTunnelAuth
NewIPSecTunnelAuth instantiates a new IPSecTunnelAuth 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 NewIPSecTunnelAuthWithDefaults ¶
func NewIPSecTunnelAuthWithDefaults() *IPSecTunnelAuth
NewIPSecTunnelAuthWithDefaults instantiates a new IPSecTunnelAuth 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 (*IPSecTunnelAuth) GetMethod ¶
func (o *IPSecTunnelAuth) GetMethod() string
GetMethod returns the Method field value
func (*IPSecTunnelAuth) GetMethodOk ¶
func (o *IPSecTunnelAuth) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*IPSecTunnelAuth) GetPsk ¶
func (o *IPSecTunnelAuth) GetPsk() IPSecPSK
GetPsk returns the Psk field value if set, zero value otherwise.
func (*IPSecTunnelAuth) GetPskOk ¶
func (o *IPSecTunnelAuth) GetPskOk() (*IPSecPSK, bool)
GetPskOk returns a tuple with the Psk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelAuth) HasPsk ¶
func (o *IPSecTunnelAuth) HasPsk() bool
HasPsk returns a boolean if a field has been set.
func (*IPSecTunnelAuth) SetMethod ¶
func (o *IPSecTunnelAuth) SetMethod(v string)
SetMethod sets field value
func (*IPSecTunnelAuth) SetPsk ¶
func (o *IPSecTunnelAuth) SetPsk(v IPSecPSK)
SetPsk gets a reference to the given IPSecPSK and assigns it to the Psk field.
func (IPSecTunnelAuth) ToMap ¶
func (o IPSecTunnelAuth) ToMap() (map[string]interface{}, error)
type IPSecTunnelCreate ¶
type IPSecTunnelCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties IPSecTunnel `json:"properties"` }
IPSecTunnelCreate struct for IPSecTunnelCreate
func NewIPSecTunnelCreate ¶
func NewIPSecTunnelCreate(properties IPSecTunnel) *IPSecTunnelCreate
NewIPSecTunnelCreate instantiates a new IPSecTunnelCreate 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 NewIPSecTunnelCreateWithDefaults ¶
func NewIPSecTunnelCreateWithDefaults() *IPSecTunnelCreate
NewIPSecTunnelCreateWithDefaults instantiates a new IPSecTunnelCreate 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 (*IPSecTunnelCreate) GetMetadata ¶
func (o *IPSecTunnelCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*IPSecTunnelCreate) GetMetadataOk ¶
func (o *IPSecTunnelCreate) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelCreate) GetProperties ¶
func (o *IPSecTunnelCreate) GetProperties() IPSecTunnel
GetProperties returns the Properties field value
func (*IPSecTunnelCreate) GetPropertiesOk ¶
func (o *IPSecTunnelCreate) GetPropertiesOk() (*IPSecTunnel, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecTunnelCreate) HasMetadata ¶
func (o *IPSecTunnelCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*IPSecTunnelCreate) SetMetadata ¶
func (o *IPSecTunnelCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*IPSecTunnelCreate) SetProperties ¶
func (o *IPSecTunnelCreate) SetProperties(v IPSecTunnel)
SetProperties sets field value
func (IPSecTunnelCreate) ToMap ¶
func (o IPSecTunnelCreate) ToMap() (map[string]interface{}, error)
type IPSecTunnelEnsure ¶
type IPSecTunnelEnsure struct { // The ID (UUID) of the IPSecTunnel. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties IPSecTunnel `json:"properties"` }
IPSecTunnelEnsure struct for IPSecTunnelEnsure
func NewIPSecTunnelEnsure ¶
func NewIPSecTunnelEnsure(id string, properties IPSecTunnel) *IPSecTunnelEnsure
NewIPSecTunnelEnsure instantiates a new IPSecTunnelEnsure 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 NewIPSecTunnelEnsureWithDefaults ¶
func NewIPSecTunnelEnsureWithDefaults() *IPSecTunnelEnsure
NewIPSecTunnelEnsureWithDefaults instantiates a new IPSecTunnelEnsure 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 (*IPSecTunnelEnsure) GetId ¶
func (o *IPSecTunnelEnsure) GetId() string
GetId returns the Id field value
func (*IPSecTunnelEnsure) GetIdOk ¶
func (o *IPSecTunnelEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecTunnelEnsure) GetMetadata ¶
func (o *IPSecTunnelEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*IPSecTunnelEnsure) GetMetadataOk ¶
func (o *IPSecTunnelEnsure) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelEnsure) GetProperties ¶
func (o *IPSecTunnelEnsure) GetProperties() IPSecTunnel
GetProperties returns the Properties field value
func (*IPSecTunnelEnsure) GetPropertiesOk ¶
func (o *IPSecTunnelEnsure) GetPropertiesOk() (*IPSecTunnel, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecTunnelEnsure) HasMetadata ¶
func (o *IPSecTunnelEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*IPSecTunnelEnsure) SetId ¶
func (o *IPSecTunnelEnsure) SetId(v string)
SetId sets field value
func (*IPSecTunnelEnsure) SetMetadata ¶
func (o *IPSecTunnelEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*IPSecTunnelEnsure) SetProperties ¶
func (o *IPSecTunnelEnsure) SetProperties(v IPSecTunnel)
SetProperties sets field value
func (IPSecTunnelEnsure) ToMap ¶
func (o IPSecTunnelEnsure) ToMap() (map[string]interface{}, error)
type IPSecTunnelMetadata ¶
type IPSecTunnelMetadata 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 current status of the resource. 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 `statusMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
IPSecTunnelMetadata IPSec Tunnel Metadata
func NewIPSecTunnelMetadata ¶
func NewIPSecTunnelMetadata(status string) *IPSecTunnelMetadata
NewIPSecTunnelMetadata instantiates a new IPSecTunnelMetadata 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 NewIPSecTunnelMetadataWithDefaults ¶
func NewIPSecTunnelMetadataWithDefaults() *IPSecTunnelMetadata
NewIPSecTunnelMetadataWithDefaults instantiates a new IPSecTunnelMetadata 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 (*IPSecTunnelMetadata) GetCreatedBy ¶
func (o *IPSecTunnelMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetCreatedByOk ¶
func (o *IPSecTunnelMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetCreatedByUserId ¶
func (o *IPSecTunnelMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetCreatedByUserIdOk ¶
func (o *IPSecTunnelMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetCreatedDate ¶
func (o *IPSecTunnelMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetCreatedDateOk ¶
func (o *IPSecTunnelMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetLastModifiedBy ¶
func (o *IPSecTunnelMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetLastModifiedByOk ¶
func (o *IPSecTunnelMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetLastModifiedByUserId ¶
func (o *IPSecTunnelMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetLastModifiedByUserIdOk ¶
func (o *IPSecTunnelMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetLastModifiedDate ¶
func (o *IPSecTunnelMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetLastModifiedDateOk ¶
func (o *IPSecTunnelMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetResourceURN ¶
func (o *IPSecTunnelMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetResourceURNOk ¶
func (o *IPSecTunnelMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetStatus ¶
func (o *IPSecTunnelMetadata) GetStatus() string
GetStatus returns the Status field value
func (*IPSecTunnelMetadata) GetStatusMessage ¶
func (o *IPSecTunnelMetadata) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*IPSecTunnelMetadata) GetStatusMessageOk ¶
func (o *IPSecTunnelMetadata) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) GetStatusOk ¶
func (o *IPSecTunnelMetadata) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*IPSecTunnelMetadata) HasCreatedBy ¶
func (o *IPSecTunnelMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasCreatedByUserId ¶
func (o *IPSecTunnelMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasCreatedDate ¶
func (o *IPSecTunnelMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasLastModifiedBy ¶
func (o *IPSecTunnelMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasLastModifiedByUserId ¶
func (o *IPSecTunnelMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasLastModifiedDate ¶
func (o *IPSecTunnelMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasResourceURN ¶
func (o *IPSecTunnelMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) HasStatusMessage ¶
func (o *IPSecTunnelMetadata) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*IPSecTunnelMetadata) SetCreatedBy ¶
func (o *IPSecTunnelMetadata) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*IPSecTunnelMetadata) SetCreatedByUserId ¶
func (o *IPSecTunnelMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*IPSecTunnelMetadata) SetCreatedDate ¶
func (o *IPSecTunnelMetadata) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*IPSecTunnelMetadata) SetLastModifiedBy ¶
func (o *IPSecTunnelMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*IPSecTunnelMetadata) SetLastModifiedByUserId ¶
func (o *IPSecTunnelMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*IPSecTunnelMetadata) SetLastModifiedDate ¶
func (o *IPSecTunnelMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*IPSecTunnelMetadata) SetResourceURN ¶
func (o *IPSecTunnelMetadata) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*IPSecTunnelMetadata) SetStatus ¶
func (o *IPSecTunnelMetadata) SetStatus(v string)
SetStatus sets field value
func (*IPSecTunnelMetadata) SetStatusMessage ¶
func (o *IPSecTunnelMetadata) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (IPSecTunnelMetadata) ToMap ¶
func (o IPSecTunnelMetadata) ToMap() (map[string]interface{}, error)
type IPSecTunnelRead ¶
type IPSecTunnelRead struct { // The ID (UUID) of the IPSecTunnel. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the IPSecTunnel. Href string `json:"href"` Metadata IPSecTunnelMetadata `json:"metadata"` Properties IPSecTunnel `json:"properties"` }
IPSecTunnelRead struct for IPSecTunnelRead
func NewIPSecTunnelRead ¶
func NewIPSecTunnelRead(id string, type_ string, href string, metadata IPSecTunnelMetadata, properties IPSecTunnel) *IPSecTunnelRead
NewIPSecTunnelRead instantiates a new IPSecTunnelRead 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 NewIPSecTunnelReadWithDefaults ¶
func NewIPSecTunnelReadWithDefaults() *IPSecTunnelRead
NewIPSecTunnelReadWithDefaults instantiates a new IPSecTunnelRead 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 (*IPSecTunnelRead) GetHref ¶
func (o *IPSecTunnelRead) GetHref() string
GetHref returns the Href field value
func (*IPSecTunnelRead) GetHrefOk ¶
func (o *IPSecTunnelRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecTunnelRead) GetId ¶
func (o *IPSecTunnelRead) GetId() string
GetId returns the Id field value
func (*IPSecTunnelRead) GetIdOk ¶
func (o *IPSecTunnelRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecTunnelRead) GetMetadata ¶
func (o *IPSecTunnelRead) GetMetadata() IPSecTunnelMetadata
GetMetadata returns the Metadata field value
func (*IPSecTunnelRead) GetMetadataOk ¶
func (o *IPSecTunnelRead) GetMetadataOk() (*IPSecTunnelMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*IPSecTunnelRead) GetProperties ¶
func (o *IPSecTunnelRead) GetProperties() IPSecTunnel
GetProperties returns the Properties field value
func (*IPSecTunnelRead) GetPropertiesOk ¶
func (o *IPSecTunnelRead) GetPropertiesOk() (*IPSecTunnel, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*IPSecTunnelRead) GetType ¶
func (o *IPSecTunnelRead) GetType() string
GetType returns the Type field value
func (*IPSecTunnelRead) GetTypeOk ¶
func (o *IPSecTunnelRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecTunnelRead) SetHref ¶
func (o *IPSecTunnelRead) SetHref(v string)
SetHref sets field value
func (*IPSecTunnelRead) SetMetadata ¶
func (o *IPSecTunnelRead) SetMetadata(v IPSecTunnelMetadata)
SetMetadata sets field value
func (*IPSecTunnelRead) SetProperties ¶
func (o *IPSecTunnelRead) SetProperties(v IPSecTunnel)
SetProperties sets field value
func (*IPSecTunnelRead) SetType ¶
func (o *IPSecTunnelRead) SetType(v string)
SetType sets field value
func (IPSecTunnelRead) ToMap ¶
func (o IPSecTunnelRead) ToMap() (map[string]interface{}, error)
type IPSecTunnelReadList ¶
type IPSecTunnelReadList struct { // ID of the list of IPSecTunnel resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of IPSecTunnel resources. Href string `json:"href"` // The list of IPSecTunnel resources. Items []IPSecTunnelRead `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"` }
IPSecTunnelReadList struct for IPSecTunnelReadList
func NewIPSecTunnelReadList ¶
func NewIPSecTunnelReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *IPSecTunnelReadList
NewIPSecTunnelReadList instantiates a new IPSecTunnelReadList 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 NewIPSecTunnelReadListWithDefaults ¶
func NewIPSecTunnelReadListWithDefaults() *IPSecTunnelReadList
NewIPSecTunnelReadListWithDefaults instantiates a new IPSecTunnelReadList 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 (*IPSecTunnelReadList) GetHref ¶
func (o *IPSecTunnelReadList) GetHref() string
GetHref returns the Href field value
func (*IPSecTunnelReadList) GetHrefOk ¶
func (o *IPSecTunnelReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetId ¶
func (o *IPSecTunnelReadList) GetId() string
GetId returns the Id field value
func (*IPSecTunnelReadList) GetIdOk ¶
func (o *IPSecTunnelReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetItems ¶
func (o *IPSecTunnelReadList) GetItems() []IPSecTunnelRead
GetItems returns the Items field value if set, zero value otherwise.
func (*IPSecTunnelReadList) GetItemsOk ¶
func (o *IPSecTunnelReadList) GetItemsOk() ([]IPSecTunnelRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetLimit ¶
func (o *IPSecTunnelReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*IPSecTunnelReadList) GetLimitOk ¶
func (o *IPSecTunnelReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetLinks ¶
func (o *IPSecTunnelReadList) GetLinks() Links
GetLinks returns the Links field value
func (*IPSecTunnelReadList) GetLinksOk ¶
func (o *IPSecTunnelReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetOffset ¶
func (o *IPSecTunnelReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*IPSecTunnelReadList) GetOffsetOk ¶
func (o *IPSecTunnelReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) GetType ¶
func (o *IPSecTunnelReadList) GetType() string
GetType returns the Type field value
func (*IPSecTunnelReadList) GetTypeOk ¶
func (o *IPSecTunnelReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadList) HasItems ¶
func (o *IPSecTunnelReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*IPSecTunnelReadList) SetHref ¶
func (o *IPSecTunnelReadList) SetHref(v string)
SetHref sets field value
func (*IPSecTunnelReadList) SetId ¶
func (o *IPSecTunnelReadList) SetId(v string)
SetId sets field value
func (*IPSecTunnelReadList) SetItems ¶
func (o *IPSecTunnelReadList) SetItems(v []IPSecTunnelRead)
SetItems gets a reference to the given []IPSecTunnelRead and assigns it to the Items field.
func (*IPSecTunnelReadList) SetLimit ¶
func (o *IPSecTunnelReadList) SetLimit(v int32)
SetLimit sets field value
func (*IPSecTunnelReadList) SetLinks ¶
func (o *IPSecTunnelReadList) SetLinks(v Links)
SetLinks sets field value
func (*IPSecTunnelReadList) SetOffset ¶
func (o *IPSecTunnelReadList) SetOffset(v int32)
SetOffset sets field value
func (*IPSecTunnelReadList) SetType ¶
func (o *IPSecTunnelReadList) SetType(v string)
SetType sets field value
func (IPSecTunnelReadList) ToMap ¶
func (o IPSecTunnelReadList) ToMap() (map[string]interface{}, error)
type IPSecTunnelReadListAllOf ¶
type IPSecTunnelReadListAllOf struct { // ID of the list of IPSecTunnel resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of IPSecTunnel resources. Href string `json:"href"` // The list of IPSecTunnel resources. Items []IPSecTunnelRead `json:"items,omitempty"` }
IPSecTunnelReadListAllOf struct for IPSecTunnelReadListAllOf
func NewIPSecTunnelReadListAllOf ¶
func NewIPSecTunnelReadListAllOf(id string, type_ string, href string) *IPSecTunnelReadListAllOf
NewIPSecTunnelReadListAllOf instantiates a new IPSecTunnelReadListAllOf 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 NewIPSecTunnelReadListAllOfWithDefaults ¶
func NewIPSecTunnelReadListAllOfWithDefaults() *IPSecTunnelReadListAllOf
NewIPSecTunnelReadListAllOfWithDefaults instantiates a new IPSecTunnelReadListAllOf 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 (*IPSecTunnelReadListAllOf) GetHref ¶
func (o *IPSecTunnelReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*IPSecTunnelReadListAllOf) GetHrefOk ¶
func (o *IPSecTunnelReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadListAllOf) GetId ¶
func (o *IPSecTunnelReadListAllOf) GetId() string
GetId returns the Id field value
func (*IPSecTunnelReadListAllOf) GetIdOk ¶
func (o *IPSecTunnelReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadListAllOf) GetItems ¶
func (o *IPSecTunnelReadListAllOf) GetItems() []IPSecTunnelRead
GetItems returns the Items field value if set, zero value otherwise.
func (*IPSecTunnelReadListAllOf) GetItemsOk ¶
func (o *IPSecTunnelReadListAllOf) GetItemsOk() ([]IPSecTunnelRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPSecTunnelReadListAllOf) GetType ¶
func (o *IPSecTunnelReadListAllOf) GetType() string
GetType returns the Type field value
func (*IPSecTunnelReadListAllOf) GetTypeOk ¶
func (o *IPSecTunnelReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IPSecTunnelReadListAllOf) HasItems ¶
func (o *IPSecTunnelReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*IPSecTunnelReadListAllOf) SetHref ¶
func (o *IPSecTunnelReadListAllOf) SetHref(v string)
SetHref sets field value
func (*IPSecTunnelReadListAllOf) SetId ¶
func (o *IPSecTunnelReadListAllOf) SetId(v string)
SetId sets field value
func (*IPSecTunnelReadListAllOf) SetItems ¶
func (o *IPSecTunnelReadListAllOf) SetItems(v []IPSecTunnelRead)
SetItems gets a reference to the given []IPSecTunnelRead and assigns it to the Items field.
func (*IPSecTunnelReadListAllOf) SetType ¶
func (o *IPSecTunnelReadListAllOf) SetType(v string)
SetType sets field value
func (IPSecTunnelReadListAllOf) ToMap ¶
func (o IPSecTunnelReadListAllOf) ToMap() (map[string]interface{}, error)
type IPSecTunnelsApiService ¶
type IPSecTunnelsApiService service
IPSecTunnelsApiService IPSecTunnelsApi service
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsDelete ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsDelete(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsDeleteRequest
* IpsecgatewaysTunnelsDelete Delete IPSecTunnel * Deletes the specified IPSecTunnel. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the IPSecGateway. * @param tunnelId The ID (UUID) of the IPSecTunnel. * @return ApiIpsecgatewaysTunnelsDeleteRequest
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsDeleteExecute ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsDeleteExecute(r ApiIpsecgatewaysTunnelsDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsFindById ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsFindById(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsFindByIdRequest
* IpsecgatewaysTunnelsFindById Retrieve IPSecTunnel * Returns the IPSecTunnel by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the IPSecGateway. * @param tunnelId The ID (UUID) of the IPSecTunnel. * @return ApiIpsecgatewaysTunnelsFindByIdRequest
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsFindByIdExecute ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsFindByIdExecute(r ApiIpsecgatewaysTunnelsFindByIdRequest) (IPSecTunnelRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecTunnelRead
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsGet ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsGet(ctx _context.Context, gatewayId string) ApiIpsecgatewaysTunnelsGetRequest
- IpsecgatewaysTunnelsGet Retrieve all IPSecTunnels
- This endpoint enables retrieving all IPSecTunnels using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param gatewayId The ID (UUID) of the IPSecGateway.
- @return ApiIpsecgatewaysTunnelsGetRequest
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsGetExecute ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsGetExecute(r ApiIpsecgatewaysTunnelsGetRequest) (IPSecTunnelReadList, *shared.APIResponse, error)
* Execute executes the request * @return IPSecTunnelReadList
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsPost ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPost(ctx _context.Context, gatewayId string) ApiIpsecgatewaysTunnelsPostRequest
- IpsecgatewaysTunnelsPost Create IPSecTunnel
- Creates a new IPSecTunnel.
The full IPSecTunnel 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 gatewayId The ID (UUID) of the IPSecGateway.
- @return ApiIpsecgatewaysTunnelsPostRequest
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsPostExecute ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPostExecute(r ApiIpsecgatewaysTunnelsPostRequest) (IPSecTunnelRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecTunnelRead
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsPut ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPut(ctx _context.Context, gatewayId string, tunnelId string) ApiIpsecgatewaysTunnelsPutRequest
- IpsecgatewaysTunnelsPut Ensure IPSecTunnel
- Ensures that the IPSecTunnel with the provided ID is created or modified.
The full IPSecTunnel needs to be provided to ensure (either update or create) the IPSecTunnel. 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 gatewayId The ID (UUID) of the IPSecGateway.
- @param tunnelId The ID (UUID) of the IPSecTunnel.
- @return ApiIpsecgatewaysTunnelsPutRequest
func (*IPSecTunnelsApiService) IpsecgatewaysTunnelsPutExecute ¶
func (a *IPSecTunnelsApiService) IpsecgatewaysTunnelsPutExecute(r ApiIpsecgatewaysTunnelsPutRequest) (IPSecTunnelRead, *shared.APIResponse, error)
* Execute executes the request * @return IPSecTunnelRead
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type Links ¶
type Links struct { // URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. Prev *string `json:"prev,omitempty"` // URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
Links URLs to navigate the different pages. As of now we always only return a single page.
func NewLinks ¶
func NewLinks() *Links
NewLinks instantiates a new Links object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLinksWithDefaults ¶
func NewLinksWithDefaults() *Links
NewLinksWithDefaults instantiates a new Links object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Links) SetNext ¶
SetNext gets a reference to the given string and assigns it to the Next field.
func (*Links) SetPrev ¶
SetPrev gets a reference to the given string and assigns it to the Prev field.
type MaintenanceWindow ¶ added in v2.0.2
type MaintenanceWindow struct { // Start of the maintenance window in UTC time. Time string `json:"time"` DayOfTheWeek DayOfTheWeek `json:"dayOfTheWeek"` }
MaintenanceWindow A weekly 4 hour-long window, during which maintenance might occur.
func NewMaintenanceWindow ¶ added in v2.0.2
func NewMaintenanceWindow(time string, dayOfTheWeek DayOfTheWeek) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow 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 NewMaintenanceWindowWithDefaults ¶ added in v2.0.2
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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 (*MaintenanceWindow) GetDayOfTheWeek ¶ added in v2.0.2
func (o *MaintenanceWindow) GetDayOfTheWeek() DayOfTheWeek
GetDayOfTheWeek returns the DayOfTheWeek field value
func (*MaintenanceWindow) GetDayOfTheWeekOk ¶ added in v2.0.2
func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek field value and a boolean to check if the value has been set.
func (*MaintenanceWindow) GetTime ¶ added in v2.0.2
func (o *MaintenanceWindow) GetTime() string
GetTime returns the Time field value
func (*MaintenanceWindow) GetTimeOk ¶ added in v2.0.2
func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (*MaintenanceWindow) SetDayOfTheWeek ¶ added in v2.0.2
func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
SetDayOfTheWeek sets field value
func (*MaintenanceWindow) SetTime ¶ added in v2.0.2
func (o *MaintenanceWindow) SetTime(v string)
SetTime sets field value
func (MaintenanceWindow) ToMap ¶ added in v2.0.2
func (o MaintenanceWindow) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Metadata ¶
type Metadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` }
Metadata Metadata of the resource.
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Metadata) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetResourceURN ¶
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*Metadata) GetResourceURNOk ¶
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (*Metadata) HasResourceURN ¶
HasResourceURN returns a boolean if a field has been set.
func (*Metadata) SetCreatedBy ¶
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*Metadata) SetCreatedDate ¶
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*Metadata) SetResourceURN ¶
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
type 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 NullableConnection ¶
type NullableConnection struct {
// contains filtered or unexported fields
}
func NewNullableConnection ¶
func NewNullableConnection(val *Connection) *NullableConnection
func (NullableConnection) Get ¶
func (v NullableConnection) Get() *Connection
func (NullableConnection) IsSet ¶
func (v NullableConnection) IsSet() bool
func (NullableConnection) MarshalJSON ¶
func (v NullableConnection) MarshalJSON() ([]byte, error)
func (*NullableConnection) Set ¶
func (v *NullableConnection) Set(val *Connection)
func (*NullableConnection) UnmarshalJSON ¶
func (v *NullableConnection) UnmarshalJSON(src []byte) error
func (*NullableConnection) Unset ¶
func (v *NullableConnection) Unset()
type NullableDayOfTheWeek ¶ added in v2.0.2
type NullableDayOfTheWeek struct {
// contains filtered or unexported fields
}
func NewNullableDayOfTheWeek ¶ added in v2.0.2
func NewNullableDayOfTheWeek(val *DayOfTheWeek) *NullableDayOfTheWeek
func (NullableDayOfTheWeek) Get ¶ added in v2.0.2
func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
func (NullableDayOfTheWeek) IsSet ¶ added in v2.0.2
func (v NullableDayOfTheWeek) IsSet() bool
func (NullableDayOfTheWeek) MarshalJSON ¶ added in v2.0.2
func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
func (*NullableDayOfTheWeek) Set ¶ added in v2.0.2
func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
func (*NullableDayOfTheWeek) UnmarshalJSON ¶ added in v2.0.2
func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
func (*NullableDayOfTheWeek) Unset ¶ added in v2.0.2
func (v *NullableDayOfTheWeek) Unset()
type NullableESPEncryption ¶
type NullableESPEncryption struct {
// contains filtered or unexported fields
}
func NewNullableESPEncryption ¶
func NewNullableESPEncryption(val *ESPEncryption) *NullableESPEncryption
func (NullableESPEncryption) Get ¶
func (v NullableESPEncryption) Get() *ESPEncryption
func (NullableESPEncryption) IsSet ¶
func (v NullableESPEncryption) IsSet() bool
func (NullableESPEncryption) MarshalJSON ¶
func (v NullableESPEncryption) MarshalJSON() ([]byte, error)
func (*NullableESPEncryption) Set ¶
func (v *NullableESPEncryption) Set(val *ESPEncryption)
func (*NullableESPEncryption) UnmarshalJSON ¶
func (v *NullableESPEncryption) UnmarshalJSON(src []byte) error
func (*NullableESPEncryption) Unset ¶
func (v *NullableESPEncryption) 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 NullableIKEEncryption ¶
type NullableIKEEncryption struct {
// contains filtered or unexported fields
}
func NewNullableIKEEncryption ¶
func NewNullableIKEEncryption(val *IKEEncryption) *NullableIKEEncryption
func (NullableIKEEncryption) Get ¶
func (v NullableIKEEncryption) Get() *IKEEncryption
func (NullableIKEEncryption) IsSet ¶
func (v NullableIKEEncryption) IsSet() bool
func (NullableIKEEncryption) MarshalJSON ¶
func (v NullableIKEEncryption) MarshalJSON() ([]byte, error)
func (*NullableIKEEncryption) Set ¶
func (v *NullableIKEEncryption) Set(val *IKEEncryption)
func (*NullableIKEEncryption) UnmarshalJSON ¶
func (v *NullableIKEEncryption) UnmarshalJSON(src []byte) error
func (*NullableIKEEncryption) Unset ¶
func (v *NullableIKEEncryption) Unset()
type NullableIPSecGateway ¶
type NullableIPSecGateway struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGateway ¶
func NewNullableIPSecGateway(val *IPSecGateway) *NullableIPSecGateway
func (NullableIPSecGateway) Get ¶
func (v NullableIPSecGateway) Get() *IPSecGateway
func (NullableIPSecGateway) IsSet ¶
func (v NullableIPSecGateway) IsSet() bool
func (NullableIPSecGateway) MarshalJSON ¶
func (v NullableIPSecGateway) MarshalJSON() ([]byte, error)
func (*NullableIPSecGateway) Set ¶
func (v *NullableIPSecGateway) Set(val *IPSecGateway)
func (*NullableIPSecGateway) UnmarshalJSON ¶
func (v *NullableIPSecGateway) UnmarshalJSON(src []byte) error
func (*NullableIPSecGateway) Unset ¶
func (v *NullableIPSecGateway) Unset()
type NullableIPSecGatewayCreate ¶
type NullableIPSecGatewayCreate struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayCreate ¶
func NewNullableIPSecGatewayCreate(val *IPSecGatewayCreate) *NullableIPSecGatewayCreate
func (NullableIPSecGatewayCreate) Get ¶
func (v NullableIPSecGatewayCreate) Get() *IPSecGatewayCreate
func (NullableIPSecGatewayCreate) IsSet ¶
func (v NullableIPSecGatewayCreate) IsSet() bool
func (NullableIPSecGatewayCreate) MarshalJSON ¶
func (v NullableIPSecGatewayCreate) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayCreate) Set ¶
func (v *NullableIPSecGatewayCreate) Set(val *IPSecGatewayCreate)
func (*NullableIPSecGatewayCreate) UnmarshalJSON ¶
func (v *NullableIPSecGatewayCreate) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayCreate) Unset ¶
func (v *NullableIPSecGatewayCreate) Unset()
type NullableIPSecGatewayEnsure ¶
type NullableIPSecGatewayEnsure struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayEnsure ¶
func NewNullableIPSecGatewayEnsure(val *IPSecGatewayEnsure) *NullableIPSecGatewayEnsure
func (NullableIPSecGatewayEnsure) Get ¶
func (v NullableIPSecGatewayEnsure) Get() *IPSecGatewayEnsure
func (NullableIPSecGatewayEnsure) IsSet ¶
func (v NullableIPSecGatewayEnsure) IsSet() bool
func (NullableIPSecGatewayEnsure) MarshalJSON ¶
func (v NullableIPSecGatewayEnsure) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayEnsure) Set ¶
func (v *NullableIPSecGatewayEnsure) Set(val *IPSecGatewayEnsure)
func (*NullableIPSecGatewayEnsure) UnmarshalJSON ¶
func (v *NullableIPSecGatewayEnsure) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayEnsure) Unset ¶
func (v *NullableIPSecGatewayEnsure) Unset()
type NullableIPSecGatewayMetadata ¶
type NullableIPSecGatewayMetadata struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayMetadata ¶
func NewNullableIPSecGatewayMetadata(val *IPSecGatewayMetadata) *NullableIPSecGatewayMetadata
func (NullableIPSecGatewayMetadata) Get ¶
func (v NullableIPSecGatewayMetadata) Get() *IPSecGatewayMetadata
func (NullableIPSecGatewayMetadata) IsSet ¶
func (v NullableIPSecGatewayMetadata) IsSet() bool
func (NullableIPSecGatewayMetadata) MarshalJSON ¶
func (v NullableIPSecGatewayMetadata) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayMetadata) Set ¶
func (v *NullableIPSecGatewayMetadata) Set(val *IPSecGatewayMetadata)
func (*NullableIPSecGatewayMetadata) UnmarshalJSON ¶
func (v *NullableIPSecGatewayMetadata) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayMetadata) Unset ¶
func (v *NullableIPSecGatewayMetadata) Unset()
type NullableIPSecGatewayRead ¶
type NullableIPSecGatewayRead struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayRead ¶
func NewNullableIPSecGatewayRead(val *IPSecGatewayRead) *NullableIPSecGatewayRead
func (NullableIPSecGatewayRead) Get ¶
func (v NullableIPSecGatewayRead) Get() *IPSecGatewayRead
func (NullableIPSecGatewayRead) IsSet ¶
func (v NullableIPSecGatewayRead) IsSet() bool
func (NullableIPSecGatewayRead) MarshalJSON ¶
func (v NullableIPSecGatewayRead) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayRead) Set ¶
func (v *NullableIPSecGatewayRead) Set(val *IPSecGatewayRead)
func (*NullableIPSecGatewayRead) UnmarshalJSON ¶
func (v *NullableIPSecGatewayRead) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayRead) Unset ¶
func (v *NullableIPSecGatewayRead) Unset()
type NullableIPSecGatewayReadList ¶
type NullableIPSecGatewayReadList struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayReadList ¶
func NewNullableIPSecGatewayReadList(val *IPSecGatewayReadList) *NullableIPSecGatewayReadList
func (NullableIPSecGatewayReadList) Get ¶
func (v NullableIPSecGatewayReadList) Get() *IPSecGatewayReadList
func (NullableIPSecGatewayReadList) IsSet ¶
func (v NullableIPSecGatewayReadList) IsSet() bool
func (NullableIPSecGatewayReadList) MarshalJSON ¶
func (v NullableIPSecGatewayReadList) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayReadList) Set ¶
func (v *NullableIPSecGatewayReadList) Set(val *IPSecGatewayReadList)
func (*NullableIPSecGatewayReadList) UnmarshalJSON ¶
func (v *NullableIPSecGatewayReadList) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayReadList) Unset ¶
func (v *NullableIPSecGatewayReadList) Unset()
type NullableIPSecGatewayReadListAllOf ¶
type NullableIPSecGatewayReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableIPSecGatewayReadListAllOf ¶
func NewNullableIPSecGatewayReadListAllOf(val *IPSecGatewayReadListAllOf) *NullableIPSecGatewayReadListAllOf
func (NullableIPSecGatewayReadListAllOf) Get ¶
func (v NullableIPSecGatewayReadListAllOf) Get() *IPSecGatewayReadListAllOf
func (NullableIPSecGatewayReadListAllOf) IsSet ¶
func (v NullableIPSecGatewayReadListAllOf) IsSet() bool
func (NullableIPSecGatewayReadListAllOf) MarshalJSON ¶
func (v NullableIPSecGatewayReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableIPSecGatewayReadListAllOf) Set ¶
func (v *NullableIPSecGatewayReadListAllOf) Set(val *IPSecGatewayReadListAllOf)
func (*NullableIPSecGatewayReadListAllOf) UnmarshalJSON ¶
func (v *NullableIPSecGatewayReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableIPSecGatewayReadListAllOf) Unset ¶
func (v *NullableIPSecGatewayReadListAllOf) Unset()
type NullableIPSecPSK ¶
type NullableIPSecPSK struct {
// contains filtered or unexported fields
}
func NewNullableIPSecPSK ¶
func NewNullableIPSecPSK(val *IPSecPSK) *NullableIPSecPSK
func (NullableIPSecPSK) Get ¶
func (v NullableIPSecPSK) Get() *IPSecPSK
func (NullableIPSecPSK) IsSet ¶
func (v NullableIPSecPSK) IsSet() bool
func (NullableIPSecPSK) MarshalJSON ¶
func (v NullableIPSecPSK) MarshalJSON() ([]byte, error)
func (*NullableIPSecPSK) Set ¶
func (v *NullableIPSecPSK) Set(val *IPSecPSK)
func (*NullableIPSecPSK) UnmarshalJSON ¶
func (v *NullableIPSecPSK) UnmarshalJSON(src []byte) error
func (*NullableIPSecPSK) Unset ¶
func (v *NullableIPSecPSK) Unset()
type NullableIPSecTunnel ¶
type NullableIPSecTunnel struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnel ¶
func NewNullableIPSecTunnel(val *IPSecTunnel) *NullableIPSecTunnel
func (NullableIPSecTunnel) Get ¶
func (v NullableIPSecTunnel) Get() *IPSecTunnel
func (NullableIPSecTunnel) IsSet ¶
func (v NullableIPSecTunnel) IsSet() bool
func (NullableIPSecTunnel) MarshalJSON ¶
func (v NullableIPSecTunnel) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnel) Set ¶
func (v *NullableIPSecTunnel) Set(val *IPSecTunnel)
func (*NullableIPSecTunnel) UnmarshalJSON ¶
func (v *NullableIPSecTunnel) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnel) Unset ¶
func (v *NullableIPSecTunnel) Unset()
type NullableIPSecTunnelAuth ¶
type NullableIPSecTunnelAuth struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelAuth ¶
func NewNullableIPSecTunnelAuth(val *IPSecTunnelAuth) *NullableIPSecTunnelAuth
func (NullableIPSecTunnelAuth) Get ¶
func (v NullableIPSecTunnelAuth) Get() *IPSecTunnelAuth
func (NullableIPSecTunnelAuth) IsSet ¶
func (v NullableIPSecTunnelAuth) IsSet() bool
func (NullableIPSecTunnelAuth) MarshalJSON ¶
func (v NullableIPSecTunnelAuth) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelAuth) Set ¶
func (v *NullableIPSecTunnelAuth) Set(val *IPSecTunnelAuth)
func (*NullableIPSecTunnelAuth) UnmarshalJSON ¶
func (v *NullableIPSecTunnelAuth) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelAuth) Unset ¶
func (v *NullableIPSecTunnelAuth) Unset()
type NullableIPSecTunnelCreate ¶
type NullableIPSecTunnelCreate struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelCreate ¶
func NewNullableIPSecTunnelCreate(val *IPSecTunnelCreate) *NullableIPSecTunnelCreate
func (NullableIPSecTunnelCreate) Get ¶
func (v NullableIPSecTunnelCreate) Get() *IPSecTunnelCreate
func (NullableIPSecTunnelCreate) IsSet ¶
func (v NullableIPSecTunnelCreate) IsSet() bool
func (NullableIPSecTunnelCreate) MarshalJSON ¶
func (v NullableIPSecTunnelCreate) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelCreate) Set ¶
func (v *NullableIPSecTunnelCreate) Set(val *IPSecTunnelCreate)
func (*NullableIPSecTunnelCreate) UnmarshalJSON ¶
func (v *NullableIPSecTunnelCreate) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelCreate) Unset ¶
func (v *NullableIPSecTunnelCreate) Unset()
type NullableIPSecTunnelEnsure ¶
type NullableIPSecTunnelEnsure struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelEnsure ¶
func NewNullableIPSecTunnelEnsure(val *IPSecTunnelEnsure) *NullableIPSecTunnelEnsure
func (NullableIPSecTunnelEnsure) Get ¶
func (v NullableIPSecTunnelEnsure) Get() *IPSecTunnelEnsure
func (NullableIPSecTunnelEnsure) IsSet ¶
func (v NullableIPSecTunnelEnsure) IsSet() bool
func (NullableIPSecTunnelEnsure) MarshalJSON ¶
func (v NullableIPSecTunnelEnsure) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelEnsure) Set ¶
func (v *NullableIPSecTunnelEnsure) Set(val *IPSecTunnelEnsure)
func (*NullableIPSecTunnelEnsure) UnmarshalJSON ¶
func (v *NullableIPSecTunnelEnsure) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelEnsure) Unset ¶
func (v *NullableIPSecTunnelEnsure) Unset()
type NullableIPSecTunnelMetadata ¶
type NullableIPSecTunnelMetadata struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelMetadata ¶
func NewNullableIPSecTunnelMetadata(val *IPSecTunnelMetadata) *NullableIPSecTunnelMetadata
func (NullableIPSecTunnelMetadata) Get ¶
func (v NullableIPSecTunnelMetadata) Get() *IPSecTunnelMetadata
func (NullableIPSecTunnelMetadata) IsSet ¶
func (v NullableIPSecTunnelMetadata) IsSet() bool
func (NullableIPSecTunnelMetadata) MarshalJSON ¶
func (v NullableIPSecTunnelMetadata) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelMetadata) Set ¶
func (v *NullableIPSecTunnelMetadata) Set(val *IPSecTunnelMetadata)
func (*NullableIPSecTunnelMetadata) UnmarshalJSON ¶
func (v *NullableIPSecTunnelMetadata) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelMetadata) Unset ¶
func (v *NullableIPSecTunnelMetadata) Unset()
type NullableIPSecTunnelRead ¶
type NullableIPSecTunnelRead struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelRead ¶
func NewNullableIPSecTunnelRead(val *IPSecTunnelRead) *NullableIPSecTunnelRead
func (NullableIPSecTunnelRead) Get ¶
func (v NullableIPSecTunnelRead) Get() *IPSecTunnelRead
func (NullableIPSecTunnelRead) IsSet ¶
func (v NullableIPSecTunnelRead) IsSet() bool
func (NullableIPSecTunnelRead) MarshalJSON ¶
func (v NullableIPSecTunnelRead) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelRead) Set ¶
func (v *NullableIPSecTunnelRead) Set(val *IPSecTunnelRead)
func (*NullableIPSecTunnelRead) UnmarshalJSON ¶
func (v *NullableIPSecTunnelRead) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelRead) Unset ¶
func (v *NullableIPSecTunnelRead) Unset()
type NullableIPSecTunnelReadList ¶
type NullableIPSecTunnelReadList struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelReadList ¶
func NewNullableIPSecTunnelReadList(val *IPSecTunnelReadList) *NullableIPSecTunnelReadList
func (NullableIPSecTunnelReadList) Get ¶
func (v NullableIPSecTunnelReadList) Get() *IPSecTunnelReadList
func (NullableIPSecTunnelReadList) IsSet ¶
func (v NullableIPSecTunnelReadList) IsSet() bool
func (NullableIPSecTunnelReadList) MarshalJSON ¶
func (v NullableIPSecTunnelReadList) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelReadList) Set ¶
func (v *NullableIPSecTunnelReadList) Set(val *IPSecTunnelReadList)
func (*NullableIPSecTunnelReadList) UnmarshalJSON ¶
func (v *NullableIPSecTunnelReadList) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelReadList) Unset ¶
func (v *NullableIPSecTunnelReadList) Unset()
type NullableIPSecTunnelReadListAllOf ¶
type NullableIPSecTunnelReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableIPSecTunnelReadListAllOf ¶
func NewNullableIPSecTunnelReadListAllOf(val *IPSecTunnelReadListAllOf) *NullableIPSecTunnelReadListAllOf
func (NullableIPSecTunnelReadListAllOf) Get ¶
func (v NullableIPSecTunnelReadListAllOf) Get() *IPSecTunnelReadListAllOf
func (NullableIPSecTunnelReadListAllOf) IsSet ¶
func (v NullableIPSecTunnelReadListAllOf) IsSet() bool
func (NullableIPSecTunnelReadListAllOf) MarshalJSON ¶
func (v NullableIPSecTunnelReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableIPSecTunnelReadListAllOf) Set ¶
func (v *NullableIPSecTunnelReadListAllOf) Set(val *IPSecTunnelReadListAllOf)
func (*NullableIPSecTunnelReadListAllOf) UnmarshalJSON ¶
func (v *NullableIPSecTunnelReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableIPSecTunnelReadListAllOf) Unset ¶
func (v *NullableIPSecTunnelReadListAllOf) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableIonosTime ¶ added in v2.0.2
type NullableIonosTime struct {
NullableTime
}
type NullableLinks ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
func NewNullableLinks(val *Links) *NullableLinks
func (NullableLinks) Get ¶
func (v NullableLinks) Get() *Links
func (NullableLinks) IsSet ¶
func (v NullableLinks) IsSet() bool
func (NullableLinks) MarshalJSON ¶
func (v NullableLinks) MarshalJSON() ([]byte, error)
func (*NullableLinks) Set ¶
func (v *NullableLinks) Set(val *Links)
func (*NullableLinks) UnmarshalJSON ¶
func (v *NullableLinks) UnmarshalJSON(src []byte) error
func (*NullableLinks) Unset ¶
func (v *NullableLinks) Unset()
type NullableMaintenanceWindow ¶ added in v2.0.2
type NullableMaintenanceWindow struct {
// contains filtered or unexported fields
}
func NewNullableMaintenanceWindow ¶ added in v2.0.2
func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow
func (NullableMaintenanceWindow) Get ¶ added in v2.0.2
func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
func (NullableMaintenanceWindow) IsSet ¶ added in v2.0.2
func (v NullableMaintenanceWindow) IsSet() bool
func (NullableMaintenanceWindow) MarshalJSON ¶ added in v2.0.2
func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
func (*NullableMaintenanceWindow) Set ¶ added in v2.0.2
func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
func (*NullableMaintenanceWindow) UnmarshalJSON ¶ added in v2.0.2
func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
func (*NullableMaintenanceWindow) Unset ¶ added in v2.0.2
func (v *NullableMaintenanceWindow) 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 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 NullableResourceStatus ¶
type NullableResourceStatus struct {
// contains filtered or unexported fields
}
func NewNullableResourceStatus ¶
func NewNullableResourceStatus(val *ResourceStatus) *NullableResourceStatus
func (NullableResourceStatus) Get ¶
func (v NullableResourceStatus) Get() *ResourceStatus
func (NullableResourceStatus) IsSet ¶
func (v NullableResourceStatus) IsSet() bool
func (NullableResourceStatus) MarshalJSON ¶
func (v NullableResourceStatus) MarshalJSON() ([]byte, error)
func (*NullableResourceStatus) Set ¶
func (v *NullableResourceStatus) Set(val *ResourceStatus)
func (*NullableResourceStatus) UnmarshalJSON ¶
func (v *NullableResourceStatus) UnmarshalJSON(src []byte) error
func (*NullableResourceStatus) Unset ¶
func (v *NullableResourceStatus) 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 NullableWireguardEndpoint ¶
type NullableWireguardEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableWireguardEndpoint ¶
func NewNullableWireguardEndpoint(val *WireguardEndpoint) *NullableWireguardEndpoint
func (NullableWireguardEndpoint) Get ¶
func (v NullableWireguardEndpoint) Get() *WireguardEndpoint
func (NullableWireguardEndpoint) IsSet ¶
func (v NullableWireguardEndpoint) IsSet() bool
func (NullableWireguardEndpoint) MarshalJSON ¶
func (v NullableWireguardEndpoint) MarshalJSON() ([]byte, error)
func (*NullableWireguardEndpoint) Set ¶
func (v *NullableWireguardEndpoint) Set(val *WireguardEndpoint)
func (*NullableWireguardEndpoint) UnmarshalJSON ¶
func (v *NullableWireguardEndpoint) UnmarshalJSON(src []byte) error
func (*NullableWireguardEndpoint) Unset ¶
func (v *NullableWireguardEndpoint) Unset()
type NullableWireguardGateway ¶
type NullableWireguardGateway struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGateway ¶
func NewNullableWireguardGateway(val *WireguardGateway) *NullableWireguardGateway
func (NullableWireguardGateway) Get ¶
func (v NullableWireguardGateway) Get() *WireguardGateway
func (NullableWireguardGateway) IsSet ¶
func (v NullableWireguardGateway) IsSet() bool
func (NullableWireguardGateway) MarshalJSON ¶
func (v NullableWireguardGateway) MarshalJSON() ([]byte, error)
func (*NullableWireguardGateway) Set ¶
func (v *NullableWireguardGateway) Set(val *WireguardGateway)
func (*NullableWireguardGateway) UnmarshalJSON ¶
func (v *NullableWireguardGateway) UnmarshalJSON(src []byte) error
func (*NullableWireguardGateway) Unset ¶
func (v *NullableWireguardGateway) Unset()
type NullableWireguardGatewayCreate ¶
type NullableWireguardGatewayCreate struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayCreate ¶
func NewNullableWireguardGatewayCreate(val *WireguardGatewayCreate) *NullableWireguardGatewayCreate
func (NullableWireguardGatewayCreate) Get ¶
func (v NullableWireguardGatewayCreate) Get() *WireguardGatewayCreate
func (NullableWireguardGatewayCreate) IsSet ¶
func (v NullableWireguardGatewayCreate) IsSet() bool
func (NullableWireguardGatewayCreate) MarshalJSON ¶
func (v NullableWireguardGatewayCreate) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayCreate) Set ¶
func (v *NullableWireguardGatewayCreate) Set(val *WireguardGatewayCreate)
func (*NullableWireguardGatewayCreate) UnmarshalJSON ¶
func (v *NullableWireguardGatewayCreate) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayCreate) Unset ¶
func (v *NullableWireguardGatewayCreate) Unset()
type NullableWireguardGatewayEnsure ¶
type NullableWireguardGatewayEnsure struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayEnsure ¶
func NewNullableWireguardGatewayEnsure(val *WireguardGatewayEnsure) *NullableWireguardGatewayEnsure
func (NullableWireguardGatewayEnsure) Get ¶
func (v NullableWireguardGatewayEnsure) Get() *WireguardGatewayEnsure
func (NullableWireguardGatewayEnsure) IsSet ¶
func (v NullableWireguardGatewayEnsure) IsSet() bool
func (NullableWireguardGatewayEnsure) MarshalJSON ¶
func (v NullableWireguardGatewayEnsure) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayEnsure) Set ¶
func (v *NullableWireguardGatewayEnsure) Set(val *WireguardGatewayEnsure)
func (*NullableWireguardGatewayEnsure) UnmarshalJSON ¶
func (v *NullableWireguardGatewayEnsure) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayEnsure) Unset ¶
func (v *NullableWireguardGatewayEnsure) Unset()
type NullableWireguardGatewayMetadata ¶
type NullableWireguardGatewayMetadata struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayMetadata ¶
func NewNullableWireguardGatewayMetadata(val *WireguardGatewayMetadata) *NullableWireguardGatewayMetadata
func (NullableWireguardGatewayMetadata) Get ¶
func (v NullableWireguardGatewayMetadata) Get() *WireguardGatewayMetadata
func (NullableWireguardGatewayMetadata) IsSet ¶
func (v NullableWireguardGatewayMetadata) IsSet() bool
func (NullableWireguardGatewayMetadata) MarshalJSON ¶
func (v NullableWireguardGatewayMetadata) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayMetadata) Set ¶
func (v *NullableWireguardGatewayMetadata) Set(val *WireguardGatewayMetadata)
func (*NullableWireguardGatewayMetadata) UnmarshalJSON ¶
func (v *NullableWireguardGatewayMetadata) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayMetadata) Unset ¶
func (v *NullableWireguardGatewayMetadata) Unset()
type NullableWireguardGatewayMetadataAllOf ¶
type NullableWireguardGatewayMetadataAllOf struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayMetadataAllOf ¶
func NewNullableWireguardGatewayMetadataAllOf(val *WireguardGatewayMetadataAllOf) *NullableWireguardGatewayMetadataAllOf
func (NullableWireguardGatewayMetadataAllOf) Get ¶
func (v NullableWireguardGatewayMetadataAllOf) Get() *WireguardGatewayMetadataAllOf
func (NullableWireguardGatewayMetadataAllOf) IsSet ¶
func (v NullableWireguardGatewayMetadataAllOf) IsSet() bool
func (NullableWireguardGatewayMetadataAllOf) MarshalJSON ¶
func (v NullableWireguardGatewayMetadataAllOf) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayMetadataAllOf) Set ¶
func (v *NullableWireguardGatewayMetadataAllOf) Set(val *WireguardGatewayMetadataAllOf)
func (*NullableWireguardGatewayMetadataAllOf) UnmarshalJSON ¶
func (v *NullableWireguardGatewayMetadataAllOf) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayMetadataAllOf) Unset ¶
func (v *NullableWireguardGatewayMetadataAllOf) Unset()
type NullableWireguardGatewayRead ¶
type NullableWireguardGatewayRead struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayRead ¶
func NewNullableWireguardGatewayRead(val *WireguardGatewayRead) *NullableWireguardGatewayRead
func (NullableWireguardGatewayRead) Get ¶
func (v NullableWireguardGatewayRead) Get() *WireguardGatewayRead
func (NullableWireguardGatewayRead) IsSet ¶
func (v NullableWireguardGatewayRead) IsSet() bool
func (NullableWireguardGatewayRead) MarshalJSON ¶
func (v NullableWireguardGatewayRead) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayRead) Set ¶
func (v *NullableWireguardGatewayRead) Set(val *WireguardGatewayRead)
func (*NullableWireguardGatewayRead) UnmarshalJSON ¶
func (v *NullableWireguardGatewayRead) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayRead) Unset ¶
func (v *NullableWireguardGatewayRead) Unset()
type NullableWireguardGatewayReadList ¶
type NullableWireguardGatewayReadList struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayReadList ¶
func NewNullableWireguardGatewayReadList(val *WireguardGatewayReadList) *NullableWireguardGatewayReadList
func (NullableWireguardGatewayReadList) Get ¶
func (v NullableWireguardGatewayReadList) Get() *WireguardGatewayReadList
func (NullableWireguardGatewayReadList) IsSet ¶
func (v NullableWireguardGatewayReadList) IsSet() bool
func (NullableWireguardGatewayReadList) MarshalJSON ¶
func (v NullableWireguardGatewayReadList) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayReadList) Set ¶
func (v *NullableWireguardGatewayReadList) Set(val *WireguardGatewayReadList)
func (*NullableWireguardGatewayReadList) UnmarshalJSON ¶
func (v *NullableWireguardGatewayReadList) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayReadList) Unset ¶
func (v *NullableWireguardGatewayReadList) Unset()
type NullableWireguardGatewayReadListAllOf ¶
type NullableWireguardGatewayReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableWireguardGatewayReadListAllOf ¶
func NewNullableWireguardGatewayReadListAllOf(val *WireguardGatewayReadListAllOf) *NullableWireguardGatewayReadListAllOf
func (NullableWireguardGatewayReadListAllOf) Get ¶
func (v NullableWireguardGatewayReadListAllOf) Get() *WireguardGatewayReadListAllOf
func (NullableWireguardGatewayReadListAllOf) IsSet ¶
func (v NullableWireguardGatewayReadListAllOf) IsSet() bool
func (NullableWireguardGatewayReadListAllOf) MarshalJSON ¶
func (v NullableWireguardGatewayReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableWireguardGatewayReadListAllOf) Set ¶
func (v *NullableWireguardGatewayReadListAllOf) Set(val *WireguardGatewayReadListAllOf)
func (*NullableWireguardGatewayReadListAllOf) UnmarshalJSON ¶
func (v *NullableWireguardGatewayReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableWireguardGatewayReadListAllOf) Unset ¶
func (v *NullableWireguardGatewayReadListAllOf) Unset()
type NullableWireguardPeer ¶
type NullableWireguardPeer struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeer ¶
func NewNullableWireguardPeer(val *WireguardPeer) *NullableWireguardPeer
func (NullableWireguardPeer) Get ¶
func (v NullableWireguardPeer) Get() *WireguardPeer
func (NullableWireguardPeer) IsSet ¶
func (v NullableWireguardPeer) IsSet() bool
func (NullableWireguardPeer) MarshalJSON ¶
func (v NullableWireguardPeer) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeer) Set ¶
func (v *NullableWireguardPeer) Set(val *WireguardPeer)
func (*NullableWireguardPeer) UnmarshalJSON ¶
func (v *NullableWireguardPeer) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeer) Unset ¶
func (v *NullableWireguardPeer) Unset()
type NullableWireguardPeerCreate ¶
type NullableWireguardPeerCreate struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerCreate ¶
func NewNullableWireguardPeerCreate(val *WireguardPeerCreate) *NullableWireguardPeerCreate
func (NullableWireguardPeerCreate) Get ¶
func (v NullableWireguardPeerCreate) Get() *WireguardPeerCreate
func (NullableWireguardPeerCreate) IsSet ¶
func (v NullableWireguardPeerCreate) IsSet() bool
func (NullableWireguardPeerCreate) MarshalJSON ¶
func (v NullableWireguardPeerCreate) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerCreate) Set ¶
func (v *NullableWireguardPeerCreate) Set(val *WireguardPeerCreate)
func (*NullableWireguardPeerCreate) UnmarshalJSON ¶
func (v *NullableWireguardPeerCreate) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerCreate) Unset ¶
func (v *NullableWireguardPeerCreate) Unset()
type NullableWireguardPeerEnsure ¶
type NullableWireguardPeerEnsure struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerEnsure ¶
func NewNullableWireguardPeerEnsure(val *WireguardPeerEnsure) *NullableWireguardPeerEnsure
func (NullableWireguardPeerEnsure) Get ¶
func (v NullableWireguardPeerEnsure) Get() *WireguardPeerEnsure
func (NullableWireguardPeerEnsure) IsSet ¶
func (v NullableWireguardPeerEnsure) IsSet() bool
func (NullableWireguardPeerEnsure) MarshalJSON ¶
func (v NullableWireguardPeerEnsure) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerEnsure) Set ¶
func (v *NullableWireguardPeerEnsure) Set(val *WireguardPeerEnsure)
func (*NullableWireguardPeerEnsure) UnmarshalJSON ¶
func (v *NullableWireguardPeerEnsure) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerEnsure) Unset ¶
func (v *NullableWireguardPeerEnsure) Unset()
type NullableWireguardPeerMetadata ¶
type NullableWireguardPeerMetadata struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerMetadata ¶
func NewNullableWireguardPeerMetadata(val *WireguardPeerMetadata) *NullableWireguardPeerMetadata
func (NullableWireguardPeerMetadata) Get ¶
func (v NullableWireguardPeerMetadata) Get() *WireguardPeerMetadata
func (NullableWireguardPeerMetadata) IsSet ¶
func (v NullableWireguardPeerMetadata) IsSet() bool
func (NullableWireguardPeerMetadata) MarshalJSON ¶
func (v NullableWireguardPeerMetadata) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerMetadata) Set ¶
func (v *NullableWireguardPeerMetadata) Set(val *WireguardPeerMetadata)
func (*NullableWireguardPeerMetadata) UnmarshalJSON ¶
func (v *NullableWireguardPeerMetadata) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerMetadata) Unset ¶
func (v *NullableWireguardPeerMetadata) Unset()
type NullableWireguardPeerRead ¶
type NullableWireguardPeerRead struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerRead ¶
func NewNullableWireguardPeerRead(val *WireguardPeerRead) *NullableWireguardPeerRead
func (NullableWireguardPeerRead) Get ¶
func (v NullableWireguardPeerRead) Get() *WireguardPeerRead
func (NullableWireguardPeerRead) IsSet ¶
func (v NullableWireguardPeerRead) IsSet() bool
func (NullableWireguardPeerRead) MarshalJSON ¶
func (v NullableWireguardPeerRead) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerRead) Set ¶
func (v *NullableWireguardPeerRead) Set(val *WireguardPeerRead)
func (*NullableWireguardPeerRead) UnmarshalJSON ¶
func (v *NullableWireguardPeerRead) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerRead) Unset ¶
func (v *NullableWireguardPeerRead) Unset()
type NullableWireguardPeerReadList ¶
type NullableWireguardPeerReadList struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerReadList ¶
func NewNullableWireguardPeerReadList(val *WireguardPeerReadList) *NullableWireguardPeerReadList
func (NullableWireguardPeerReadList) Get ¶
func (v NullableWireguardPeerReadList) Get() *WireguardPeerReadList
func (NullableWireguardPeerReadList) IsSet ¶
func (v NullableWireguardPeerReadList) IsSet() bool
func (NullableWireguardPeerReadList) MarshalJSON ¶
func (v NullableWireguardPeerReadList) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerReadList) Set ¶
func (v *NullableWireguardPeerReadList) Set(val *WireguardPeerReadList)
func (*NullableWireguardPeerReadList) UnmarshalJSON ¶
func (v *NullableWireguardPeerReadList) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerReadList) Unset ¶
func (v *NullableWireguardPeerReadList) Unset()
type NullableWireguardPeerReadListAllOf ¶
type NullableWireguardPeerReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableWireguardPeerReadListAllOf ¶
func NewNullableWireguardPeerReadListAllOf(val *WireguardPeerReadListAllOf) *NullableWireguardPeerReadListAllOf
func (NullableWireguardPeerReadListAllOf) Get ¶
func (v NullableWireguardPeerReadListAllOf) Get() *WireguardPeerReadListAllOf
func (NullableWireguardPeerReadListAllOf) IsSet ¶
func (v NullableWireguardPeerReadListAllOf) IsSet() bool
func (NullableWireguardPeerReadListAllOf) MarshalJSON ¶
func (v NullableWireguardPeerReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableWireguardPeerReadListAllOf) Set ¶
func (v *NullableWireguardPeerReadListAllOf) Set(val *WireguardPeerReadListAllOf)
func (*NullableWireguardPeerReadListAllOf) UnmarshalJSON ¶
func (v *NullableWireguardPeerReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableWireguardPeerReadListAllOf) Unset ¶
func (v *NullableWireguardPeerReadListAllOf) Unset()
type Pagination ¶
type Pagination struct { // The offset specified in the request (if none was specified, the default offset is 0). Offset int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit int32 `json:"limit"` Links Links `json:"_links"` }
Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.
func NewPagination ¶
func NewPagination(offset int32, limit int32, links Links) *Pagination
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pagination) GetLimit ¶
func (o *Pagination) GetLimit() int32
GetLimit returns the Limit field value
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() Links
GetLinks returns the Links field value
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() int32
GetOffset returns the Offset field value
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
type ResourceStatus ¶
type ResourceStatus struct { // The current status of the resource. 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 `statusMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
ResourceStatus The current status of the resource.
func NewResourceStatus ¶
func NewResourceStatus(status string) *ResourceStatus
NewResourceStatus instantiates a new ResourceStatus 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 NewResourceStatusWithDefaults ¶
func NewResourceStatusWithDefaults() *ResourceStatus
NewResourceStatusWithDefaults instantiates a new ResourceStatus 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 (*ResourceStatus) GetStatus ¶
func (o *ResourceStatus) GetStatus() string
GetStatus returns the Status field value
func (*ResourceStatus) GetStatusMessage ¶
func (o *ResourceStatus) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*ResourceStatus) GetStatusMessageOk ¶
func (o *ResourceStatus) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceStatus) GetStatusOk ¶
func (o *ResourceStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ResourceStatus) HasStatusMessage ¶
func (o *ResourceStatus) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*ResourceStatus) SetStatus ¶
func (o *ResourceStatus) SetStatus(v string)
SetStatus sets field value
func (*ResourceStatus) SetStatusMessage ¶
func (o *ResourceStatus) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (ResourceStatus) ToMap ¶
func (o ResourceStatus) ToMap() (map[string]interface{}, error)
type WireguardEndpoint ¶
type WireguardEndpoint struct { // Hostname or IPV4 address that the WireGuard Server will connect to. Host string `json:"host"` // IP port number Port *int32 `json:"port,omitempty"` }
WireguardEndpoint Properties with all data needed to create a new WireGuard Gateway endpoint.
func NewWireguardEndpoint ¶
func NewWireguardEndpoint(host string) *WireguardEndpoint
NewWireguardEndpoint instantiates a new WireguardEndpoint 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 NewWireguardEndpointWithDefaults ¶
func NewWireguardEndpointWithDefaults() *WireguardEndpoint
NewWireguardEndpointWithDefaults instantiates a new WireguardEndpoint 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 (*WireguardEndpoint) GetHost ¶
func (o *WireguardEndpoint) GetHost() string
GetHost returns the Host field value
func (*WireguardEndpoint) GetHostOk ¶
func (o *WireguardEndpoint) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*WireguardEndpoint) GetPort ¶
func (o *WireguardEndpoint) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*WireguardEndpoint) GetPortOk ¶
func (o *WireguardEndpoint) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardEndpoint) HasPort ¶
func (o *WireguardEndpoint) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*WireguardEndpoint) SetHost ¶
func (o *WireguardEndpoint) SetHost(v string)
SetHost sets field value
func (*WireguardEndpoint) SetPort ¶
func (o *WireguardEndpoint) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (WireguardEndpoint) ToMap ¶
func (o WireguardEndpoint) ToMap() (map[string]interface{}, error)
type WireguardGateway ¶
type WireguardGateway struct { // The human readable name of your WireguardGateway. Name string `json:"name"` // Human readable description of the WireguardGateway. Description *string `json:"description,omitempty"` // Public IP address to be assigned to the gateway. __Note__: This must be an IP address in the same datacenter as the connections. GatewayIP string `json:"gatewayIP"` // Describes a range of IP V4 addresses in CIDR notation. InterfaceIPv4CIDR *string `json:"interfaceIPv4CIDR,omitempty"` // Describes a range of IP V6 addresses in CIDR notation. InterfaceIPv6CIDR *string `json:"interfaceIPv6CIDR,omitempty"` // The network connection for your gateway. __Note__: all connections must belong to the same datacenterId. There is a limit to the total number of connections. Please refer to product documentation. Connections []Connection `json:"connections"` // PrivateKey used for WireGuard Server PrivateKey string `json:"privateKey"` // IP port number ListenPort *int32 `json:"listenPort,omitempty"` // Gateway performance options. See product documentation for full details.\\ Options: - STANDARD - STANDARD_HA - ENHANCED - ENHANCED_HA - PREMIUM - PREMIUM_HA Tier *string `json:"tier,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
WireguardGateway Properties with all data needed to create a new WireGuard Gateway.
func NewWireguardGateway ¶
func NewWireguardGateway(name string, gatewayIP string, connections []Connection, privateKey string) *WireguardGateway
NewWireguardGateway instantiates a new WireguardGateway 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 NewWireguardGatewayWithDefaults ¶
func NewWireguardGatewayWithDefaults() *WireguardGateway
NewWireguardGatewayWithDefaults instantiates a new WireguardGateway 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 (*WireguardGateway) GetConnections ¶
func (o *WireguardGateway) GetConnections() []Connection
GetConnections returns the Connections field value
func (*WireguardGateway) GetConnectionsOk ¶
func (o *WireguardGateway) GetConnectionsOk() ([]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set.
func (*WireguardGateway) GetDescription ¶
func (o *WireguardGateway) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*WireguardGateway) GetDescriptionOk ¶
func (o *WireguardGateway) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) GetGatewayIP ¶
func (o *WireguardGateway) GetGatewayIP() string
GetGatewayIP returns the GatewayIP field value
func (*WireguardGateway) GetGatewayIPOk ¶
func (o *WireguardGateway) GetGatewayIPOk() (*string, bool)
GetGatewayIPOk returns a tuple with the GatewayIP field value and a boolean to check if the value has been set.
func (*WireguardGateway) GetInterfaceIPv4CIDR ¶
func (o *WireguardGateway) GetInterfaceIPv4CIDR() string
GetInterfaceIPv4CIDR returns the InterfaceIPv4CIDR field value if set, zero value otherwise.
func (*WireguardGateway) GetInterfaceIPv4CIDROk ¶
func (o *WireguardGateway) GetInterfaceIPv4CIDROk() (*string, bool)
GetInterfaceIPv4CIDROk returns a tuple with the InterfaceIPv4CIDR field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) GetInterfaceIPv6CIDR ¶
func (o *WireguardGateway) GetInterfaceIPv6CIDR() string
GetInterfaceIPv6CIDR returns the InterfaceIPv6CIDR field value if set, zero value otherwise.
func (*WireguardGateway) GetInterfaceIPv6CIDROk ¶
func (o *WireguardGateway) GetInterfaceIPv6CIDROk() (*string, bool)
GetInterfaceIPv6CIDROk returns a tuple with the InterfaceIPv6CIDR field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) GetListenPort ¶
func (o *WireguardGateway) GetListenPort() int32
GetListenPort returns the ListenPort field value if set, zero value otherwise.
func (*WireguardGateway) GetListenPortOk ¶
func (o *WireguardGateway) GetListenPortOk() (*int32, bool)
GetListenPortOk returns a tuple with the ListenPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) GetMaintenanceWindow ¶ added in v2.0.2
func (o *WireguardGateway) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*WireguardGateway) GetMaintenanceWindowOk ¶ added in v2.0.2
func (o *WireguardGateway) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) GetName ¶
func (o *WireguardGateway) GetName() string
GetName returns the Name field value
func (*WireguardGateway) GetNameOk ¶
func (o *WireguardGateway) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*WireguardGateway) GetPrivateKey ¶
func (o *WireguardGateway) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field value
func (*WireguardGateway) GetPrivateKeyOk ¶
func (o *WireguardGateway) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field value and a boolean to check if the value has been set.
func (*WireguardGateway) GetTier ¶ added in v2.0.2
func (o *WireguardGateway) GetTier() string
GetTier returns the Tier field value if set, zero value otherwise.
func (*WireguardGateway) GetTierOk ¶ added in v2.0.2
func (o *WireguardGateway) GetTierOk() (*string, bool)
GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGateway) HasDescription ¶
func (o *WireguardGateway) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*WireguardGateway) HasInterfaceIPv4CIDR ¶
func (o *WireguardGateway) HasInterfaceIPv4CIDR() bool
HasInterfaceIPv4CIDR returns a boolean if a field has been set.
func (*WireguardGateway) HasInterfaceIPv6CIDR ¶
func (o *WireguardGateway) HasInterfaceIPv6CIDR() bool
HasInterfaceIPv6CIDR returns a boolean if a field has been set.
func (*WireguardGateway) HasListenPort ¶
func (o *WireguardGateway) HasListenPort() bool
HasListenPort returns a boolean if a field has been set.
func (*WireguardGateway) HasMaintenanceWindow ¶ added in v2.0.2
func (o *WireguardGateway) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*WireguardGateway) HasTier ¶ added in v2.0.2
func (o *WireguardGateway) HasTier() bool
HasTier returns a boolean if a field has been set.
func (*WireguardGateway) SetConnections ¶
func (o *WireguardGateway) SetConnections(v []Connection)
SetConnections sets field value
func (*WireguardGateway) SetDescription ¶
func (o *WireguardGateway) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*WireguardGateway) SetGatewayIP ¶
func (o *WireguardGateway) SetGatewayIP(v string)
SetGatewayIP sets field value
func (*WireguardGateway) SetInterfaceIPv4CIDR ¶
func (o *WireguardGateway) SetInterfaceIPv4CIDR(v string)
SetInterfaceIPv4CIDR gets a reference to the given string and assigns it to the InterfaceIPv4CIDR field.
func (*WireguardGateway) SetInterfaceIPv6CIDR ¶
func (o *WireguardGateway) SetInterfaceIPv6CIDR(v string)
SetInterfaceIPv6CIDR gets a reference to the given string and assigns it to the InterfaceIPv6CIDR field.
func (*WireguardGateway) SetListenPort ¶
func (o *WireguardGateway) SetListenPort(v int32)
SetListenPort gets a reference to the given int32 and assigns it to the ListenPort field.
func (*WireguardGateway) SetMaintenanceWindow ¶ added in v2.0.2
func (o *WireguardGateway) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow gets a reference to the given MaintenanceWindow and assigns it to the MaintenanceWindow field.
func (*WireguardGateway) SetName ¶
func (o *WireguardGateway) SetName(v string)
SetName sets field value
func (*WireguardGateway) SetPrivateKey ¶
func (o *WireguardGateway) SetPrivateKey(v string)
SetPrivateKey sets field value
func (*WireguardGateway) SetTier ¶ added in v2.0.2
func (o *WireguardGateway) SetTier(v string)
SetTier gets a reference to the given string and assigns it to the Tier field.
func (WireguardGateway) ToMap ¶
func (o WireguardGateway) ToMap() (map[string]interface{}, error)
type WireguardGatewayCreate ¶
type WireguardGatewayCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties WireguardGateway `json:"properties"` }
WireguardGatewayCreate struct for WireguardGatewayCreate
func NewWireguardGatewayCreate ¶
func NewWireguardGatewayCreate(properties WireguardGateway) *WireguardGatewayCreate
NewWireguardGatewayCreate instantiates a new WireguardGatewayCreate 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 NewWireguardGatewayCreateWithDefaults ¶
func NewWireguardGatewayCreateWithDefaults() *WireguardGatewayCreate
NewWireguardGatewayCreateWithDefaults instantiates a new WireguardGatewayCreate 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 (*WireguardGatewayCreate) GetMetadata ¶
func (o *WireguardGatewayCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*WireguardGatewayCreate) GetMetadataOk ¶
func (o *WireguardGatewayCreate) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayCreate) GetProperties ¶
func (o *WireguardGatewayCreate) GetProperties() WireguardGateway
GetProperties returns the Properties field value
func (*WireguardGatewayCreate) GetPropertiesOk ¶
func (o *WireguardGatewayCreate) GetPropertiesOk() (*WireguardGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardGatewayCreate) HasMetadata ¶
func (o *WireguardGatewayCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*WireguardGatewayCreate) SetMetadata ¶
func (o *WireguardGatewayCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*WireguardGatewayCreate) SetProperties ¶
func (o *WireguardGatewayCreate) SetProperties(v WireguardGateway)
SetProperties sets field value
func (WireguardGatewayCreate) ToMap ¶
func (o WireguardGatewayCreate) ToMap() (map[string]interface{}, error)
type WireguardGatewayEnsure ¶
type WireguardGatewayEnsure struct { // The ID (UUID) of the WireguardGateway. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties WireguardGateway `json:"properties"` }
WireguardGatewayEnsure struct for WireguardGatewayEnsure
func NewWireguardGatewayEnsure ¶
func NewWireguardGatewayEnsure(id string, properties WireguardGateway) *WireguardGatewayEnsure
NewWireguardGatewayEnsure instantiates a new WireguardGatewayEnsure 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 NewWireguardGatewayEnsureWithDefaults ¶
func NewWireguardGatewayEnsureWithDefaults() *WireguardGatewayEnsure
NewWireguardGatewayEnsureWithDefaults instantiates a new WireguardGatewayEnsure 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 (*WireguardGatewayEnsure) GetId ¶
func (o *WireguardGatewayEnsure) GetId() string
GetId returns the Id field value
func (*WireguardGatewayEnsure) GetIdOk ¶
func (o *WireguardGatewayEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardGatewayEnsure) GetMetadata ¶
func (o *WireguardGatewayEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*WireguardGatewayEnsure) GetMetadataOk ¶
func (o *WireguardGatewayEnsure) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayEnsure) GetProperties ¶
func (o *WireguardGatewayEnsure) GetProperties() WireguardGateway
GetProperties returns the Properties field value
func (*WireguardGatewayEnsure) GetPropertiesOk ¶
func (o *WireguardGatewayEnsure) GetPropertiesOk() (*WireguardGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardGatewayEnsure) HasMetadata ¶
func (o *WireguardGatewayEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*WireguardGatewayEnsure) SetId ¶
func (o *WireguardGatewayEnsure) SetId(v string)
SetId sets field value
func (*WireguardGatewayEnsure) SetMetadata ¶
func (o *WireguardGatewayEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*WireguardGatewayEnsure) SetProperties ¶
func (o *WireguardGatewayEnsure) SetProperties(v WireguardGateway)
SetProperties sets field value
func (WireguardGatewayEnsure) ToMap ¶
func (o WireguardGatewayEnsure) ToMap() (map[string]interface{}, error)
type WireguardGatewayMetadata ¶
type WireguardGatewayMetadata 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 current status of the resource. 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 `statusMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` // Public key correspondng to the WireGuard Server private key. PublicKey string `json:"publicKey"` }
WireguardGatewayMetadata WireGuard Gateway Metadata
func NewWireguardGatewayMetadata ¶
func NewWireguardGatewayMetadata(status string, publicKey string) *WireguardGatewayMetadata
NewWireguardGatewayMetadata instantiates a new WireguardGatewayMetadata 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 NewWireguardGatewayMetadataWithDefaults ¶
func NewWireguardGatewayMetadataWithDefaults() *WireguardGatewayMetadata
NewWireguardGatewayMetadataWithDefaults instantiates a new WireguardGatewayMetadata 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 (*WireguardGatewayMetadata) GetCreatedBy ¶
func (o *WireguardGatewayMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetCreatedByOk ¶
func (o *WireguardGatewayMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetCreatedByUserId ¶
func (o *WireguardGatewayMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetCreatedByUserIdOk ¶
func (o *WireguardGatewayMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetCreatedDate ¶
func (o *WireguardGatewayMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetCreatedDateOk ¶
func (o *WireguardGatewayMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetLastModifiedBy ¶
func (o *WireguardGatewayMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetLastModifiedByOk ¶
func (o *WireguardGatewayMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetLastModifiedByUserId ¶
func (o *WireguardGatewayMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetLastModifiedByUserIdOk ¶
func (o *WireguardGatewayMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetLastModifiedDate ¶
func (o *WireguardGatewayMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetLastModifiedDateOk ¶
func (o *WireguardGatewayMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetPublicKey ¶
func (o *WireguardGatewayMetadata) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*WireguardGatewayMetadata) GetPublicKeyOk ¶
func (o *WireguardGatewayMetadata) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetResourceURN ¶
func (o *WireguardGatewayMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetResourceURNOk ¶
func (o *WireguardGatewayMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetStatus ¶
func (o *WireguardGatewayMetadata) GetStatus() string
GetStatus returns the Status field value
func (*WireguardGatewayMetadata) GetStatusMessage ¶
func (o *WireguardGatewayMetadata) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*WireguardGatewayMetadata) GetStatusMessageOk ¶
func (o *WireguardGatewayMetadata) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) GetStatusOk ¶
func (o *WireguardGatewayMetadata) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WireguardGatewayMetadata) HasCreatedBy ¶
func (o *WireguardGatewayMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasCreatedByUserId ¶
func (o *WireguardGatewayMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasCreatedDate ¶
func (o *WireguardGatewayMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasLastModifiedBy ¶
func (o *WireguardGatewayMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasLastModifiedByUserId ¶
func (o *WireguardGatewayMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasLastModifiedDate ¶
func (o *WireguardGatewayMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasResourceURN ¶
func (o *WireguardGatewayMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) HasStatusMessage ¶
func (o *WireguardGatewayMetadata) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*WireguardGatewayMetadata) SetCreatedBy ¶
func (o *WireguardGatewayMetadata) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*WireguardGatewayMetadata) SetCreatedByUserId ¶
func (o *WireguardGatewayMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*WireguardGatewayMetadata) SetCreatedDate ¶
func (o *WireguardGatewayMetadata) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*WireguardGatewayMetadata) SetLastModifiedBy ¶
func (o *WireguardGatewayMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*WireguardGatewayMetadata) SetLastModifiedByUserId ¶
func (o *WireguardGatewayMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*WireguardGatewayMetadata) SetLastModifiedDate ¶
func (o *WireguardGatewayMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*WireguardGatewayMetadata) SetPublicKey ¶
func (o *WireguardGatewayMetadata) SetPublicKey(v string)
SetPublicKey sets field value
func (*WireguardGatewayMetadata) SetResourceURN ¶
func (o *WireguardGatewayMetadata) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*WireguardGatewayMetadata) SetStatus ¶
func (o *WireguardGatewayMetadata) SetStatus(v string)
SetStatus sets field value
func (*WireguardGatewayMetadata) SetStatusMessage ¶
func (o *WireguardGatewayMetadata) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (WireguardGatewayMetadata) ToMap ¶
func (o WireguardGatewayMetadata) ToMap() (map[string]interface{}, error)
type WireguardGatewayMetadataAllOf ¶
type WireguardGatewayMetadataAllOf struct { // Public key correspondng to the WireGuard Server private key. PublicKey string `json:"publicKey"` }
WireguardGatewayMetadataAllOf struct for WireguardGatewayMetadataAllOf
func NewWireguardGatewayMetadataAllOf ¶
func NewWireguardGatewayMetadataAllOf(publicKey string) *WireguardGatewayMetadataAllOf
NewWireguardGatewayMetadataAllOf instantiates a new WireguardGatewayMetadataAllOf 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 NewWireguardGatewayMetadataAllOfWithDefaults ¶
func NewWireguardGatewayMetadataAllOfWithDefaults() *WireguardGatewayMetadataAllOf
NewWireguardGatewayMetadataAllOfWithDefaults instantiates a new WireguardGatewayMetadataAllOf 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 (*WireguardGatewayMetadataAllOf) GetPublicKey ¶
func (o *WireguardGatewayMetadataAllOf) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*WireguardGatewayMetadataAllOf) GetPublicKeyOk ¶
func (o *WireguardGatewayMetadataAllOf) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*WireguardGatewayMetadataAllOf) SetPublicKey ¶
func (o *WireguardGatewayMetadataAllOf) SetPublicKey(v string)
SetPublicKey sets field value
func (WireguardGatewayMetadataAllOf) ToMap ¶
func (o WireguardGatewayMetadataAllOf) ToMap() (map[string]interface{}, error)
type WireguardGatewayRead ¶
type WireguardGatewayRead struct { // The ID (UUID) of the WireguardGateway. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the WireguardGateway. Href string `json:"href"` Metadata WireguardGatewayMetadata `json:"metadata"` Properties WireguardGateway `json:"properties"` }
WireguardGatewayRead struct for WireguardGatewayRead
func NewWireguardGatewayRead ¶
func NewWireguardGatewayRead(id string, type_ string, href string, metadata WireguardGatewayMetadata, properties WireguardGateway) *WireguardGatewayRead
NewWireguardGatewayRead instantiates a new WireguardGatewayRead 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 NewWireguardGatewayReadWithDefaults ¶
func NewWireguardGatewayReadWithDefaults() *WireguardGatewayRead
NewWireguardGatewayReadWithDefaults instantiates a new WireguardGatewayRead 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 (*WireguardGatewayRead) GetHref ¶
func (o *WireguardGatewayRead) GetHref() string
GetHref returns the Href field value
func (*WireguardGatewayRead) GetHrefOk ¶
func (o *WireguardGatewayRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardGatewayRead) GetId ¶
func (o *WireguardGatewayRead) GetId() string
GetId returns the Id field value
func (*WireguardGatewayRead) GetIdOk ¶
func (o *WireguardGatewayRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardGatewayRead) GetMetadata ¶
func (o *WireguardGatewayRead) GetMetadata() WireguardGatewayMetadata
GetMetadata returns the Metadata field value
func (*WireguardGatewayRead) GetMetadataOk ¶
func (o *WireguardGatewayRead) GetMetadataOk() (*WireguardGatewayMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*WireguardGatewayRead) GetProperties ¶
func (o *WireguardGatewayRead) GetProperties() WireguardGateway
GetProperties returns the Properties field value
func (*WireguardGatewayRead) GetPropertiesOk ¶
func (o *WireguardGatewayRead) GetPropertiesOk() (*WireguardGateway, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardGatewayRead) GetType ¶
func (o *WireguardGatewayRead) GetType() string
GetType returns the Type field value
func (*WireguardGatewayRead) GetTypeOk ¶
func (o *WireguardGatewayRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardGatewayRead) SetHref ¶
func (o *WireguardGatewayRead) SetHref(v string)
SetHref sets field value
func (*WireguardGatewayRead) SetId ¶
func (o *WireguardGatewayRead) SetId(v string)
SetId sets field value
func (*WireguardGatewayRead) SetMetadata ¶
func (o *WireguardGatewayRead) SetMetadata(v WireguardGatewayMetadata)
SetMetadata sets field value
func (*WireguardGatewayRead) SetProperties ¶
func (o *WireguardGatewayRead) SetProperties(v WireguardGateway)
SetProperties sets field value
func (*WireguardGatewayRead) SetType ¶
func (o *WireguardGatewayRead) SetType(v string)
SetType sets field value
func (WireguardGatewayRead) ToMap ¶
func (o WireguardGatewayRead) ToMap() (map[string]interface{}, error)
type WireguardGatewayReadList ¶
type WireguardGatewayReadList struct { // ID of the list of WireguardGateway resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of WireguardGateway resources. Href string `json:"href"` // The list of WireguardGateway resources. Items []WireguardGatewayRead `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"` }
WireguardGatewayReadList struct for WireguardGatewayReadList
func NewWireguardGatewayReadList ¶
func NewWireguardGatewayReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *WireguardGatewayReadList
NewWireguardGatewayReadList instantiates a new WireguardGatewayReadList 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 NewWireguardGatewayReadListWithDefaults ¶
func NewWireguardGatewayReadListWithDefaults() *WireguardGatewayReadList
NewWireguardGatewayReadListWithDefaults instantiates a new WireguardGatewayReadList 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 (*WireguardGatewayReadList) GetHref ¶
func (o *WireguardGatewayReadList) GetHref() string
GetHref returns the Href field value
func (*WireguardGatewayReadList) GetHrefOk ¶
func (o *WireguardGatewayReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetId ¶
func (o *WireguardGatewayReadList) GetId() string
GetId returns the Id field value
func (*WireguardGatewayReadList) GetIdOk ¶
func (o *WireguardGatewayReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetItems ¶
func (o *WireguardGatewayReadList) GetItems() []WireguardGatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*WireguardGatewayReadList) GetItemsOk ¶
func (o *WireguardGatewayReadList) GetItemsOk() ([]WireguardGatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetLimit ¶
func (o *WireguardGatewayReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*WireguardGatewayReadList) GetLimitOk ¶
func (o *WireguardGatewayReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetLinks ¶
func (o *WireguardGatewayReadList) GetLinks() Links
GetLinks returns the Links field value
func (*WireguardGatewayReadList) GetLinksOk ¶
func (o *WireguardGatewayReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetOffset ¶
func (o *WireguardGatewayReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*WireguardGatewayReadList) GetOffsetOk ¶
func (o *WireguardGatewayReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) GetType ¶
func (o *WireguardGatewayReadList) GetType() string
GetType returns the Type field value
func (*WireguardGatewayReadList) GetTypeOk ¶
func (o *WireguardGatewayReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadList) HasItems ¶
func (o *WireguardGatewayReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*WireguardGatewayReadList) SetHref ¶
func (o *WireguardGatewayReadList) SetHref(v string)
SetHref sets field value
func (*WireguardGatewayReadList) SetId ¶
func (o *WireguardGatewayReadList) SetId(v string)
SetId sets field value
func (*WireguardGatewayReadList) SetItems ¶
func (o *WireguardGatewayReadList) SetItems(v []WireguardGatewayRead)
SetItems gets a reference to the given []WireguardGatewayRead and assigns it to the Items field.
func (*WireguardGatewayReadList) SetLimit ¶
func (o *WireguardGatewayReadList) SetLimit(v int32)
SetLimit sets field value
func (*WireguardGatewayReadList) SetLinks ¶
func (o *WireguardGatewayReadList) SetLinks(v Links)
SetLinks sets field value
func (*WireguardGatewayReadList) SetOffset ¶
func (o *WireguardGatewayReadList) SetOffset(v int32)
SetOffset sets field value
func (*WireguardGatewayReadList) SetType ¶
func (o *WireguardGatewayReadList) SetType(v string)
SetType sets field value
func (WireguardGatewayReadList) ToMap ¶
func (o WireguardGatewayReadList) ToMap() (map[string]interface{}, error)
type WireguardGatewayReadListAllOf ¶
type WireguardGatewayReadListAllOf struct { // ID of the list of WireguardGateway resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of WireguardGateway resources. Href string `json:"href"` // The list of WireguardGateway resources. Items []WireguardGatewayRead `json:"items,omitempty"` }
WireguardGatewayReadListAllOf struct for WireguardGatewayReadListAllOf
func NewWireguardGatewayReadListAllOf ¶
func NewWireguardGatewayReadListAllOf(id string, type_ string, href string) *WireguardGatewayReadListAllOf
NewWireguardGatewayReadListAllOf instantiates a new WireguardGatewayReadListAllOf 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 NewWireguardGatewayReadListAllOfWithDefaults ¶
func NewWireguardGatewayReadListAllOfWithDefaults() *WireguardGatewayReadListAllOf
NewWireguardGatewayReadListAllOfWithDefaults instantiates a new WireguardGatewayReadListAllOf 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 (*WireguardGatewayReadListAllOf) GetHref ¶
func (o *WireguardGatewayReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*WireguardGatewayReadListAllOf) GetHrefOk ¶
func (o *WireguardGatewayReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadListAllOf) GetId ¶
func (o *WireguardGatewayReadListAllOf) GetId() string
GetId returns the Id field value
func (*WireguardGatewayReadListAllOf) GetIdOk ¶
func (o *WireguardGatewayReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadListAllOf) GetItems ¶
func (o *WireguardGatewayReadListAllOf) GetItems() []WireguardGatewayRead
GetItems returns the Items field value if set, zero value otherwise.
func (*WireguardGatewayReadListAllOf) GetItemsOk ¶
func (o *WireguardGatewayReadListAllOf) GetItemsOk() ([]WireguardGatewayRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardGatewayReadListAllOf) GetType ¶
func (o *WireguardGatewayReadListAllOf) GetType() string
GetType returns the Type field value
func (*WireguardGatewayReadListAllOf) GetTypeOk ¶
func (o *WireguardGatewayReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardGatewayReadListAllOf) HasItems ¶
func (o *WireguardGatewayReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*WireguardGatewayReadListAllOf) SetHref ¶
func (o *WireguardGatewayReadListAllOf) SetHref(v string)
SetHref sets field value
func (*WireguardGatewayReadListAllOf) SetId ¶
func (o *WireguardGatewayReadListAllOf) SetId(v string)
SetId sets field value
func (*WireguardGatewayReadListAllOf) SetItems ¶
func (o *WireguardGatewayReadListAllOf) SetItems(v []WireguardGatewayRead)
SetItems gets a reference to the given []WireguardGatewayRead and assigns it to the Items field.
func (*WireguardGatewayReadListAllOf) SetType ¶
func (o *WireguardGatewayReadListAllOf) SetType(v string)
SetType sets field value
func (WireguardGatewayReadListAllOf) ToMap ¶
func (o WireguardGatewayReadListAllOf) ToMap() (map[string]interface{}, error)
type WireguardGatewaysApiService ¶
type WireguardGatewaysApiService service
WireguardGatewaysApiService WireguardGatewaysApi service
func (*WireguardGatewaysApiService) WireguardgatewaysDelete ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysDelete(ctx _context.Context, gatewayId string) ApiWireguardgatewaysDeleteRequest
* WireguardgatewaysDelete Delete WireguardGateway * Deletes the specified WireguardGateway. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the WireguardGateway. * @return ApiWireguardgatewaysDeleteRequest
func (*WireguardGatewaysApiService) WireguardgatewaysDeleteExecute ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysDeleteExecute(r ApiWireguardgatewaysDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*WireguardGatewaysApiService) WireguardgatewaysFindById ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysFindById(ctx _context.Context, gatewayId string) ApiWireguardgatewaysFindByIdRequest
* WireguardgatewaysFindById Retrieve WireguardGateway * Returns the WireguardGateway by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the WireguardGateway. * @return ApiWireguardgatewaysFindByIdRequest
func (*WireguardGatewaysApiService) WireguardgatewaysFindByIdExecute ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysFindByIdExecute(r ApiWireguardgatewaysFindByIdRequest) (WireguardGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardGatewayRead
func (*WireguardGatewaysApiService) WireguardgatewaysGet ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysGet(ctx _context.Context) ApiWireguardgatewaysGetRequest
- WireguardgatewaysGet Retrieve all WireguardGateways
- This endpoint enables retrieving all WireguardGateways using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiWireguardgatewaysGetRequest
func (*WireguardGatewaysApiService) WireguardgatewaysGetExecute ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysGetExecute(r ApiWireguardgatewaysGetRequest) (WireguardGatewayReadList, *shared.APIResponse, error)
* Execute executes the request * @return WireguardGatewayReadList
func (*WireguardGatewaysApiService) WireguardgatewaysPost ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysPost(ctx _context.Context) ApiWireguardgatewaysPostRequest
- WireguardgatewaysPost Create WireguardGateway
- Creates a new WireguardGateway.
The full WireguardGateway 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 ApiWireguardgatewaysPostRequest
func (*WireguardGatewaysApiService) WireguardgatewaysPostExecute ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysPostExecute(r ApiWireguardgatewaysPostRequest) (WireguardGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardGatewayRead
func (*WireguardGatewaysApiService) WireguardgatewaysPut ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysPut(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPutRequest
- WireguardgatewaysPut Ensure WireguardGateway
- Ensures that the WireguardGateway with the provided ID is created or modified.
The full WireguardGateway needs to be provided to ensure (either update or create) the WireguardGateway. 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 gatewayId The ID (UUID) of the WireguardGateway.
- @return ApiWireguardgatewaysPutRequest
func (*WireguardGatewaysApiService) WireguardgatewaysPutExecute ¶
func (a *WireguardGatewaysApiService) WireguardgatewaysPutExecute(r ApiWireguardgatewaysPutRequest) (WireguardGatewayRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardGatewayRead
type WireguardPeer ¶
type WireguardPeer struct { // The human readable name of your WireguardGateway Peer. Name string `json:"name"` // Human readable description of the WireguardGateway Peer. Description *string `json:"description,omitempty"` Endpoint *WireguardEndpoint `json:"endpoint,omitempty"` // The subnet CIDRs that are allowed to connect to the WireGuard Gateway. Specify \"a.b.c.d/32\" for an individual IP address. Specify \"0.0.0.0/0\" or \"::/0\" for all addresses. AllowedIPs []string `json:"allowedIPs"` // WireGuard public key of the connecting peer PublicKey string `json:"publicKey"` }
WireguardPeer Properties with all data needed to create a new WireGuard Gateway Peer.\\ __Note__: there is a limit to the total number of peers. Please refer to product documentation.
func NewWireguardPeer ¶
func NewWireguardPeer(name string, allowedIPs []string, publicKey string) *WireguardPeer
NewWireguardPeer instantiates a new WireguardPeer 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 NewWireguardPeerWithDefaults ¶
func NewWireguardPeerWithDefaults() *WireguardPeer
NewWireguardPeerWithDefaults instantiates a new WireguardPeer 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 (*WireguardPeer) GetAllowedIPs ¶
func (o *WireguardPeer) GetAllowedIPs() []string
GetAllowedIPs returns the AllowedIPs field value
func (*WireguardPeer) GetAllowedIPsOk ¶
func (o *WireguardPeer) GetAllowedIPsOk() ([]string, bool)
GetAllowedIPsOk returns a tuple with the AllowedIPs field value and a boolean to check if the value has been set.
func (*WireguardPeer) GetDescription ¶
func (o *WireguardPeer) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*WireguardPeer) GetDescriptionOk ¶
func (o *WireguardPeer) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeer) GetEndpoint ¶
func (o *WireguardPeer) GetEndpoint() WireguardEndpoint
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*WireguardPeer) GetEndpointOk ¶
func (o *WireguardPeer) GetEndpointOk() (*WireguardEndpoint, bool)
GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeer) GetName ¶
func (o *WireguardPeer) GetName() string
GetName returns the Name field value
func (*WireguardPeer) GetNameOk ¶
func (o *WireguardPeer) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*WireguardPeer) GetPublicKey ¶
func (o *WireguardPeer) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*WireguardPeer) GetPublicKeyOk ¶
func (o *WireguardPeer) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*WireguardPeer) HasDescription ¶
func (o *WireguardPeer) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*WireguardPeer) HasEndpoint ¶
func (o *WireguardPeer) HasEndpoint() bool
HasEndpoint returns a boolean if a field has been set.
func (*WireguardPeer) SetAllowedIPs ¶
func (o *WireguardPeer) SetAllowedIPs(v []string)
SetAllowedIPs sets field value
func (*WireguardPeer) SetDescription ¶
func (o *WireguardPeer) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*WireguardPeer) SetEndpoint ¶
func (o *WireguardPeer) SetEndpoint(v WireguardEndpoint)
SetEndpoint gets a reference to the given WireguardEndpoint and assigns it to the Endpoint field.
func (*WireguardPeer) SetPublicKey ¶
func (o *WireguardPeer) SetPublicKey(v string)
SetPublicKey sets field value
func (WireguardPeer) ToMap ¶
func (o WireguardPeer) ToMap() (map[string]interface{}, error)
type WireguardPeerCreate ¶
type WireguardPeerCreate struct { // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties WireguardPeer `json:"properties"` }
WireguardPeerCreate struct for WireguardPeerCreate
func NewWireguardPeerCreate ¶
func NewWireguardPeerCreate(properties WireguardPeer) *WireguardPeerCreate
NewWireguardPeerCreate instantiates a new WireguardPeerCreate 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 NewWireguardPeerCreateWithDefaults ¶
func NewWireguardPeerCreateWithDefaults() *WireguardPeerCreate
NewWireguardPeerCreateWithDefaults instantiates a new WireguardPeerCreate 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 (*WireguardPeerCreate) GetMetadata ¶
func (o *WireguardPeerCreate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*WireguardPeerCreate) GetMetadataOk ¶
func (o *WireguardPeerCreate) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerCreate) GetProperties ¶
func (o *WireguardPeerCreate) GetProperties() WireguardPeer
GetProperties returns the Properties field value
func (*WireguardPeerCreate) GetPropertiesOk ¶
func (o *WireguardPeerCreate) GetPropertiesOk() (*WireguardPeer, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardPeerCreate) HasMetadata ¶
func (o *WireguardPeerCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*WireguardPeerCreate) SetMetadata ¶
func (o *WireguardPeerCreate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*WireguardPeerCreate) SetProperties ¶
func (o *WireguardPeerCreate) SetProperties(v WireguardPeer)
SetProperties sets field value
func (WireguardPeerCreate) ToMap ¶
func (o WireguardPeerCreate) ToMap() (map[string]interface{}, error)
type WireguardPeerEnsure ¶
type WireguardPeerEnsure struct { // The ID (UUID) of the WireguardPeer. Id string `json:"id"` // Metadata Metadata map[string]interface{} `json:"metadata,omitempty"` Properties WireguardPeer `json:"properties"` }
WireguardPeerEnsure struct for WireguardPeerEnsure
func NewWireguardPeerEnsure ¶
func NewWireguardPeerEnsure(id string, properties WireguardPeer) *WireguardPeerEnsure
NewWireguardPeerEnsure instantiates a new WireguardPeerEnsure 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 NewWireguardPeerEnsureWithDefaults ¶
func NewWireguardPeerEnsureWithDefaults() *WireguardPeerEnsure
NewWireguardPeerEnsureWithDefaults instantiates a new WireguardPeerEnsure 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 (*WireguardPeerEnsure) GetId ¶
func (o *WireguardPeerEnsure) GetId() string
GetId returns the Id field value
func (*WireguardPeerEnsure) GetIdOk ¶
func (o *WireguardPeerEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardPeerEnsure) GetMetadata ¶
func (o *WireguardPeerEnsure) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*WireguardPeerEnsure) GetMetadataOk ¶
func (o *WireguardPeerEnsure) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerEnsure) GetProperties ¶
func (o *WireguardPeerEnsure) GetProperties() WireguardPeer
GetProperties returns the Properties field value
func (*WireguardPeerEnsure) GetPropertiesOk ¶
func (o *WireguardPeerEnsure) GetPropertiesOk() (*WireguardPeer, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardPeerEnsure) HasMetadata ¶
func (o *WireguardPeerEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*WireguardPeerEnsure) SetId ¶
func (o *WireguardPeerEnsure) SetId(v string)
SetId sets field value
func (*WireguardPeerEnsure) SetMetadata ¶
func (o *WireguardPeerEnsure) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*WireguardPeerEnsure) SetProperties ¶
func (o *WireguardPeerEnsure) SetProperties(v WireguardPeer)
SetProperties sets field value
func (WireguardPeerEnsure) ToMap ¶
func (o WireguardPeerEnsure) ToMap() (map[string]interface{}, error)
type WireguardPeerMetadata ¶
type WireguardPeerMetadata 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 current status of the resource. 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 `statusMessage`. Status string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
WireguardPeerMetadata WireGuard Peer Metadata
func NewWireguardPeerMetadata ¶
func NewWireguardPeerMetadata(status string) *WireguardPeerMetadata
NewWireguardPeerMetadata instantiates a new WireguardPeerMetadata 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 NewWireguardPeerMetadataWithDefaults ¶
func NewWireguardPeerMetadataWithDefaults() *WireguardPeerMetadata
NewWireguardPeerMetadataWithDefaults instantiates a new WireguardPeerMetadata 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 (*WireguardPeerMetadata) GetCreatedBy ¶
func (o *WireguardPeerMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetCreatedByOk ¶
func (o *WireguardPeerMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetCreatedByUserId ¶
func (o *WireguardPeerMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetCreatedByUserIdOk ¶
func (o *WireguardPeerMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetCreatedDate ¶
func (o *WireguardPeerMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetCreatedDateOk ¶
func (o *WireguardPeerMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetLastModifiedBy ¶
func (o *WireguardPeerMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetLastModifiedByOk ¶
func (o *WireguardPeerMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetLastModifiedByUserId ¶
func (o *WireguardPeerMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetLastModifiedByUserIdOk ¶
func (o *WireguardPeerMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetLastModifiedDate ¶
func (o *WireguardPeerMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetLastModifiedDateOk ¶
func (o *WireguardPeerMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetResourceURN ¶
func (o *WireguardPeerMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetResourceURNOk ¶
func (o *WireguardPeerMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetStatus ¶
func (o *WireguardPeerMetadata) GetStatus() string
GetStatus returns the Status field value
func (*WireguardPeerMetadata) GetStatusMessage ¶
func (o *WireguardPeerMetadata) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*WireguardPeerMetadata) GetStatusMessageOk ¶
func (o *WireguardPeerMetadata) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) GetStatusOk ¶
func (o *WireguardPeerMetadata) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WireguardPeerMetadata) HasCreatedBy ¶
func (o *WireguardPeerMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasCreatedByUserId ¶
func (o *WireguardPeerMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasCreatedDate ¶
func (o *WireguardPeerMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasLastModifiedBy ¶
func (o *WireguardPeerMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasLastModifiedByUserId ¶
func (o *WireguardPeerMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasLastModifiedDate ¶
func (o *WireguardPeerMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasResourceURN ¶
func (o *WireguardPeerMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*WireguardPeerMetadata) HasStatusMessage ¶
func (o *WireguardPeerMetadata) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*WireguardPeerMetadata) SetCreatedBy ¶
func (o *WireguardPeerMetadata) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*WireguardPeerMetadata) SetCreatedByUserId ¶
func (o *WireguardPeerMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*WireguardPeerMetadata) SetCreatedDate ¶
func (o *WireguardPeerMetadata) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*WireguardPeerMetadata) SetLastModifiedBy ¶
func (o *WireguardPeerMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*WireguardPeerMetadata) SetLastModifiedByUserId ¶
func (o *WireguardPeerMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*WireguardPeerMetadata) SetLastModifiedDate ¶
func (o *WireguardPeerMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
func (*WireguardPeerMetadata) SetResourceURN ¶
func (o *WireguardPeerMetadata) SetResourceURN(v string)
SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.
func (*WireguardPeerMetadata) SetStatus ¶
func (o *WireguardPeerMetadata) SetStatus(v string)
SetStatus sets field value
func (*WireguardPeerMetadata) SetStatusMessage ¶
func (o *WireguardPeerMetadata) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (WireguardPeerMetadata) ToMap ¶
func (o WireguardPeerMetadata) ToMap() (map[string]interface{}, error)
type WireguardPeerRead ¶
type WireguardPeerRead struct { // The ID (UUID) of the WireguardPeer. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the WireguardPeer. Href string `json:"href"` Metadata WireguardPeerMetadata `json:"metadata"` Properties WireguardPeer `json:"properties"` }
WireguardPeerRead struct for WireguardPeerRead
func NewWireguardPeerRead ¶
func NewWireguardPeerRead(id string, type_ string, href string, metadata WireguardPeerMetadata, properties WireguardPeer) *WireguardPeerRead
NewWireguardPeerRead instantiates a new WireguardPeerRead 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 NewWireguardPeerReadWithDefaults ¶
func NewWireguardPeerReadWithDefaults() *WireguardPeerRead
NewWireguardPeerReadWithDefaults instantiates a new WireguardPeerRead 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 (*WireguardPeerRead) GetHref ¶
func (o *WireguardPeerRead) GetHref() string
GetHref returns the Href field value
func (*WireguardPeerRead) GetHrefOk ¶
func (o *WireguardPeerRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardPeerRead) GetId ¶
func (o *WireguardPeerRead) GetId() string
GetId returns the Id field value
func (*WireguardPeerRead) GetIdOk ¶
func (o *WireguardPeerRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardPeerRead) GetMetadata ¶
func (o *WireguardPeerRead) GetMetadata() WireguardPeerMetadata
GetMetadata returns the Metadata field value
func (*WireguardPeerRead) GetMetadataOk ¶
func (o *WireguardPeerRead) GetMetadataOk() (*WireguardPeerMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*WireguardPeerRead) GetProperties ¶
func (o *WireguardPeerRead) GetProperties() WireguardPeer
GetProperties returns the Properties field value
func (*WireguardPeerRead) GetPropertiesOk ¶
func (o *WireguardPeerRead) GetPropertiesOk() (*WireguardPeer, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*WireguardPeerRead) GetType ¶
func (o *WireguardPeerRead) GetType() string
GetType returns the Type field value
func (*WireguardPeerRead) GetTypeOk ¶
func (o *WireguardPeerRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardPeerRead) SetHref ¶
func (o *WireguardPeerRead) SetHref(v string)
SetHref sets field value
func (*WireguardPeerRead) SetId ¶
func (o *WireguardPeerRead) SetId(v string)
SetId sets field value
func (*WireguardPeerRead) SetMetadata ¶
func (o *WireguardPeerRead) SetMetadata(v WireguardPeerMetadata)
SetMetadata sets field value
func (*WireguardPeerRead) SetProperties ¶
func (o *WireguardPeerRead) SetProperties(v WireguardPeer)
SetProperties sets field value
func (*WireguardPeerRead) SetType ¶
func (o *WireguardPeerRead) SetType(v string)
SetType sets field value
func (WireguardPeerRead) ToMap ¶
func (o WireguardPeerRead) ToMap() (map[string]interface{}, error)
type WireguardPeerReadList ¶
type WireguardPeerReadList struct { // ID of the list of WireguardPeer resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of WireguardPeer resources. Href string `json:"href"` // The list of WireguardPeer resources. Items []WireguardPeerRead `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"` }
WireguardPeerReadList struct for WireguardPeerReadList
func NewWireguardPeerReadList ¶
func NewWireguardPeerReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *WireguardPeerReadList
NewWireguardPeerReadList instantiates a new WireguardPeerReadList 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 NewWireguardPeerReadListWithDefaults ¶
func NewWireguardPeerReadListWithDefaults() *WireguardPeerReadList
NewWireguardPeerReadListWithDefaults instantiates a new WireguardPeerReadList 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 (*WireguardPeerReadList) GetHref ¶
func (o *WireguardPeerReadList) GetHref() string
GetHref returns the Href field value
func (*WireguardPeerReadList) GetHrefOk ¶
func (o *WireguardPeerReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetId ¶
func (o *WireguardPeerReadList) GetId() string
GetId returns the Id field value
func (*WireguardPeerReadList) GetIdOk ¶
func (o *WireguardPeerReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetItems ¶
func (o *WireguardPeerReadList) GetItems() []WireguardPeerRead
GetItems returns the Items field value if set, zero value otherwise.
func (*WireguardPeerReadList) GetItemsOk ¶
func (o *WireguardPeerReadList) GetItemsOk() ([]WireguardPeerRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetLimit ¶
func (o *WireguardPeerReadList) GetLimit() int32
GetLimit returns the Limit field value
func (*WireguardPeerReadList) GetLimitOk ¶
func (o *WireguardPeerReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetLinks ¶
func (o *WireguardPeerReadList) GetLinks() Links
GetLinks returns the Links field value
func (*WireguardPeerReadList) GetLinksOk ¶
func (o *WireguardPeerReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetOffset ¶
func (o *WireguardPeerReadList) GetOffset() int32
GetOffset returns the Offset field value
func (*WireguardPeerReadList) GetOffsetOk ¶
func (o *WireguardPeerReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) GetType ¶
func (o *WireguardPeerReadList) GetType() string
GetType returns the Type field value
func (*WireguardPeerReadList) GetTypeOk ¶
func (o *WireguardPeerReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardPeerReadList) HasItems ¶
func (o *WireguardPeerReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*WireguardPeerReadList) SetHref ¶
func (o *WireguardPeerReadList) SetHref(v string)
SetHref sets field value
func (*WireguardPeerReadList) SetId ¶
func (o *WireguardPeerReadList) SetId(v string)
SetId sets field value
func (*WireguardPeerReadList) SetItems ¶
func (o *WireguardPeerReadList) SetItems(v []WireguardPeerRead)
SetItems gets a reference to the given []WireguardPeerRead and assigns it to the Items field.
func (*WireguardPeerReadList) SetLimit ¶
func (o *WireguardPeerReadList) SetLimit(v int32)
SetLimit sets field value
func (*WireguardPeerReadList) SetLinks ¶
func (o *WireguardPeerReadList) SetLinks(v Links)
SetLinks sets field value
func (*WireguardPeerReadList) SetOffset ¶
func (o *WireguardPeerReadList) SetOffset(v int32)
SetOffset sets field value
func (*WireguardPeerReadList) SetType ¶
func (o *WireguardPeerReadList) SetType(v string)
SetType sets field value
func (WireguardPeerReadList) ToMap ¶
func (o WireguardPeerReadList) ToMap() (map[string]interface{}, error)
type WireguardPeerReadListAllOf ¶
type WireguardPeerReadListAllOf struct { // ID of the list of WireguardPeer resources. Id string `json:"id"` // The type of the resource. Type string `json:"type"` // The URL of the list of WireguardPeer resources. Href string `json:"href"` // The list of WireguardPeer resources. Items []WireguardPeerRead `json:"items,omitempty"` }
WireguardPeerReadListAllOf struct for WireguardPeerReadListAllOf
func NewWireguardPeerReadListAllOf ¶
func NewWireguardPeerReadListAllOf(id string, type_ string, href string) *WireguardPeerReadListAllOf
NewWireguardPeerReadListAllOf instantiates a new WireguardPeerReadListAllOf 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 NewWireguardPeerReadListAllOfWithDefaults ¶
func NewWireguardPeerReadListAllOfWithDefaults() *WireguardPeerReadListAllOf
NewWireguardPeerReadListAllOfWithDefaults instantiates a new WireguardPeerReadListAllOf 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 (*WireguardPeerReadListAllOf) GetHref ¶
func (o *WireguardPeerReadListAllOf) GetHref() string
GetHref returns the Href field value
func (*WireguardPeerReadListAllOf) GetHrefOk ¶
func (o *WireguardPeerReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*WireguardPeerReadListAllOf) GetId ¶
func (o *WireguardPeerReadListAllOf) GetId() string
GetId returns the Id field value
func (*WireguardPeerReadListAllOf) GetIdOk ¶
func (o *WireguardPeerReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WireguardPeerReadListAllOf) GetItems ¶
func (o *WireguardPeerReadListAllOf) GetItems() []WireguardPeerRead
GetItems returns the Items field value if set, zero value otherwise.
func (*WireguardPeerReadListAllOf) GetItemsOk ¶
func (o *WireguardPeerReadListAllOf) GetItemsOk() ([]WireguardPeerRead, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WireguardPeerReadListAllOf) GetType ¶
func (o *WireguardPeerReadListAllOf) GetType() string
GetType returns the Type field value
func (*WireguardPeerReadListAllOf) GetTypeOk ¶
func (o *WireguardPeerReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WireguardPeerReadListAllOf) HasItems ¶
func (o *WireguardPeerReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*WireguardPeerReadListAllOf) SetHref ¶
func (o *WireguardPeerReadListAllOf) SetHref(v string)
SetHref sets field value
func (*WireguardPeerReadListAllOf) SetId ¶
func (o *WireguardPeerReadListAllOf) SetId(v string)
SetId sets field value
func (*WireguardPeerReadListAllOf) SetItems ¶
func (o *WireguardPeerReadListAllOf) SetItems(v []WireguardPeerRead)
SetItems gets a reference to the given []WireguardPeerRead and assigns it to the Items field.
func (*WireguardPeerReadListAllOf) SetType ¶
func (o *WireguardPeerReadListAllOf) SetType(v string)
SetType sets field value
func (WireguardPeerReadListAllOf) ToMap ¶
func (o WireguardPeerReadListAllOf) ToMap() (map[string]interface{}, error)
type WireguardPeersApiService ¶
type WireguardPeersApiService service
WireguardPeersApiService WireguardPeersApi service
func (*WireguardPeersApiService) WireguardgatewaysPeersDelete ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersDelete(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersDeleteRequest
* WireguardgatewaysPeersDelete Delete WireguardPeer * Deletes the specified WireguardPeer. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the WireguardGateway. * @param peerId The ID (UUID) of the WireguardPeer. * @return ApiWireguardgatewaysPeersDeleteRequest
func (*WireguardPeersApiService) WireguardgatewaysPeersDeleteExecute ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersDeleteExecute(r ApiWireguardgatewaysPeersDeleteRequest) (*shared.APIResponse, error)
* Execute executes the request
func (*WireguardPeersApiService) WireguardgatewaysPeersFindById ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersFindById(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersFindByIdRequest
* WireguardgatewaysPeersFindById Retrieve WireguardPeer * Returns the WireguardPeer by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param gatewayId The ID (UUID) of the WireguardGateway. * @param peerId The ID (UUID) of the WireguardPeer. * @return ApiWireguardgatewaysPeersFindByIdRequest
func (*WireguardPeersApiService) WireguardgatewaysPeersFindByIdExecute ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersFindByIdExecute(r ApiWireguardgatewaysPeersFindByIdRequest) (WireguardPeerRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardPeerRead
func (*WireguardPeersApiService) WireguardgatewaysPeersGet ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersGet(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPeersGetRequest
- WireguardgatewaysPeersGet Retrieve all WireguardPeers
- This endpoint enables retrieving all WireguardPeers using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param gatewayId The ID (UUID) of the WireguardGateway.
- @return ApiWireguardgatewaysPeersGetRequest
func (*WireguardPeersApiService) WireguardgatewaysPeersGetExecute ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersGetExecute(r ApiWireguardgatewaysPeersGetRequest) (WireguardPeerReadList, *shared.APIResponse, error)
* Execute executes the request * @return WireguardPeerReadList
func (*WireguardPeersApiService) WireguardgatewaysPeersPost ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersPost(ctx _context.Context, gatewayId string) ApiWireguardgatewaysPeersPostRequest
- WireguardgatewaysPeersPost Create WireguardPeer
- Creates a new WireguardPeer.
The full WireguardPeer 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 gatewayId The ID (UUID) of the WireguardGateway.
- @return ApiWireguardgatewaysPeersPostRequest
func (*WireguardPeersApiService) WireguardgatewaysPeersPostExecute ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersPostExecute(r ApiWireguardgatewaysPeersPostRequest) (WireguardPeerRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardPeerRead
func (*WireguardPeersApiService) WireguardgatewaysPeersPut ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersPut(ctx _context.Context, gatewayId string, peerId string) ApiWireguardgatewaysPeersPutRequest
- WireguardgatewaysPeersPut Ensure WireguardPeer
- Ensures that the WireguardPeer with the provided ID is created or modified.
The full WireguardPeer needs to be provided to ensure (either update or create) the WireguardPeer. 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 gatewayId The ID (UUID) of the WireguardGateway.
- @param peerId The ID (UUID) of the WireguardPeer.
- @return ApiWireguardgatewaysPeersPutRequest
func (*WireguardPeersApiService) WireguardgatewaysPeersPutExecute ¶
func (a *WireguardPeersApiService) WireguardgatewaysPeersPutExecute(r ApiWireguardgatewaysPeersPutRequest) (WireguardPeerRead, *shared.APIResponse, error)
* Execute executes the request * @return WireguardPeerRead
Source Files
¶
- api_ip_sec_gateways.go
- api_ip_sec_tunnels.go
- api_wireguard_gateways.go
- api_wireguard_peers.go
- client.go
- model_connection.go
- model_day_of_the_week.go
- model_error.go
- model_error_messages.go
- model_esp_encryption.go
- model_ike_encryption.go
- model_ip_sec_gateway.go
- model_ip_sec_gateway_create.go
- model_ip_sec_gateway_ensure.go
- model_ip_sec_gateway_metadata.go
- model_ip_sec_gateway_read.go
- model_ip_sec_gateway_read_list.go
- model_ip_sec_gateway_read_list_all_of.go
- model_ip_sec_psk.go
- model_ip_sec_tunnel.go
- model_ip_sec_tunnel_auth.go
- model_ip_sec_tunnel_create.go
- model_ip_sec_tunnel_ensure.go
- model_ip_sec_tunnel_metadata.go
- model_ip_sec_tunnel_read.go
- model_ip_sec_tunnel_read_list.go
- model_ip_sec_tunnel_read_list_all_of.go
- model_links.go
- model_maintenance_window.go
- model_metadata.go
- model_pagination.go
- model_resource_status.go
- model_wireguard_endpoint.go
- model_wireguard_gateway.go
- model_wireguard_gateway_create.go
- model_wireguard_gateway_ensure.go
- model_wireguard_gateway_metadata.go
- model_wireguard_gateway_metadata_all_of.go
- model_wireguard_gateway_read.go
- model_wireguard_gateway_read_list.go
- model_wireguard_gateway_read_list_all_of.go
- model_wireguard_peer.go
- model_wireguard_peer_create.go
- model_wireguard_peer_ensure.go
- model_wireguard_peer_metadata.go
- model_wireguard_peer_read.go
- model_wireguard_peer_read_list.go
- model_wireguard_peer_read_list_all_of.go
- utils.go