Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIError
- func (o *APIError) GetCode() int32
- func (o *APIError) GetCodeOk() (*int32, bool)
- func (o *APIError) GetDetails() []APIErrorDetail
- func (o *APIError) GetDetailsOk() ([]APIErrorDetail, bool)
- func (o *APIError) GetMessage() string
- func (o *APIError) GetMessageOk() (*string, bool)
- func (o *APIError) GetStatus() string
- func (o *APIError) GetStatusOk() (*string, bool)
- func (o *APIError) HasDetails() bool
- func (o APIError) MarshalJSON() ([]byte, error)
- func (o *APIError) SetCode(v int32)
- func (o *APIError) SetDetails(v []APIErrorDetail)
- func (o *APIError) SetMessage(v string)
- func (o *APIError) SetStatus(v string)
- func (o APIError) ToMap() (map[string]interface{}, error)
- func (o *APIError) UnmarshalJSON(data []byte) (err error)
- type APIErrorDetail
- func (o *APIErrorDetail) GetDomain() string
- func (o *APIErrorDetail) GetDomainOk() (*string, bool)
- func (o *APIErrorDetail) GetMetadata() map[string]interface{}
- func (o *APIErrorDetail) GetMetadataOk() (map[string]interface{}, bool)
- func (o *APIErrorDetail) GetReason() APIErrorDetailReason
- func (o *APIErrorDetail) GetReasonOk() (*APIErrorDetailReason, bool)
- func (o *APIErrorDetail) HasMetadata() bool
- func (o APIErrorDetail) MarshalJSON() ([]byte, error)
- func (o *APIErrorDetail) SetDomain(v string)
- func (o *APIErrorDetail) SetMetadata(v map[string]interface{})
- func (o *APIErrorDetail) SetReason(v APIErrorDetailReason)
- func (o APIErrorDetail) ToMap() (map[string]interface{}, error)
- func (o *APIErrorDetail) UnmarshalJSON(data []byte) (err error)
- type APIErrorDetailReason
- type APIErrorResponse
- func (o *APIErrorResponse) GetError() APIError
- func (o *APIErrorResponse) GetErrorOk() (*APIError, bool)
- func (o APIErrorResponse) MarshalJSON() ([]byte, error)
- func (o *APIErrorResponse) SetError(v APIError)
- func (o APIErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *APIErrorResponse) UnmarshalJSON(data []byte) (err error)
- type APIResponse
- type ApiCreateGatewayConnectionRequest
- type ApiCreateGatewayRequest
- type ApiDeleteGatewayConnectionRequest
- type ApiDeleteGatewayRequest
- type ApiGetGatewayConnectionRequest
- type ApiGetGatewayConnectionStatusRequest
- type ApiGetGatewayRequest
- type ApiGetGatewayStatusRequest
- type ApiListGatewayConnectionsRequest
- type ApiListGatewaysRequest
- type ApiListPlansRequest
- type ApiListQuotasRequest
- type ApiUpdateGatewayConnectionRequest
- type ApiUpdateGatewayRequest
- type BGPGatewayConfig
- func (o *BGPGatewayConfig) GetLocalAsn() int64
- func (o *BGPGatewayConfig) GetLocalAsnOk() (*int64, bool)
- func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutes() []string
- func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutesOk() ([]string, bool)
- func (o *BGPGatewayConfig) HasOverrideAdvertisedRoutes() bool
- func (o BGPGatewayConfig) MarshalJSON() ([]byte, error)
- func (o *BGPGatewayConfig) SetLocalAsn(v int64)
- func (o *BGPGatewayConfig) SetOverrideAdvertisedRoutes(v []string)
- func (o BGPGatewayConfig) ToMap() (map[string]interface{}, error)
- func (o *BGPGatewayConfig) UnmarshalJSON(data []byte) (err error)
- type BGPStatus
- func (o *BGPStatus) GetPeers() []BGPStatusPeers
- func (o *BGPStatus) GetPeersOk() ([]BGPStatusPeers, bool)
- func (o *BGPStatus) GetRoutes() []BGPStatusRoutes
- func (o *BGPStatus) GetRoutesOk() ([]BGPStatusRoutes, bool)
- func (o *BGPStatus) HasPeers() bool
- func (o *BGPStatus) HasRoutes() bool
- func (o BGPStatus) MarshalJSON() ([]byte, error)
- func (o *BGPStatus) SetPeers(v []BGPStatusPeers)
- func (o *BGPStatus) SetRoutes(v []BGPStatusRoutes)
- func (o BGPStatus) ToMap() (map[string]interface{}, error)
- func (o *BGPStatus) UnmarshalJSON(data []byte) (err error)
- type BGPStatusPeers
- func (o *BGPStatusPeers) GetLocalAs() int64
- func (o *BGPStatusPeers) GetLocalAsOk() (*int64, bool)
- func (o *BGPStatusPeers) GetPeerUptime() string
- func (o *BGPStatusPeers) GetPeerUptimeOk() (*string, bool)
- func (o *BGPStatusPeers) GetPfxRcd() int32
- func (o *BGPStatusPeers) GetPfxRcdOk() (*int32, bool)
- func (o *BGPStatusPeers) GetPfxSnt() int32
- func (o *BGPStatusPeers) GetPfxSntOk() (*int32, bool)
- func (o *BGPStatusPeers) GetRemoteAs() int64
- func (o *BGPStatusPeers) GetRemoteAsOk() (*int64, bool)
- func (o *BGPStatusPeers) GetRemoteIP() string
- func (o *BGPStatusPeers) GetRemoteIPOk() (*string, bool)
- func (o *BGPStatusPeers) GetState() string
- func (o *BGPStatusPeers) GetStateOk() (*string, bool)
- func (o BGPStatusPeers) MarshalJSON() ([]byte, error)
- func (o *BGPStatusPeers) SetLocalAs(v int64)
- func (o *BGPStatusPeers) SetPeerUptime(v string)
- func (o *BGPStatusPeers) SetPfxRcd(v int32)
- func (o *BGPStatusPeers) SetPfxSnt(v int32)
- func (o *BGPStatusPeers) SetRemoteAs(v int64)
- func (o *BGPStatusPeers) SetRemoteIP(v string)
- func (o *BGPStatusPeers) SetState(v string)
- func (o BGPStatusPeers) ToMap() (map[string]interface{}, error)
- func (o *BGPStatusPeers) UnmarshalJSON(data []byte) (err error)
- type BGPStatusRoutes
- func (o *BGPStatusRoutes) GetNetwork() string
- func (o *BGPStatusRoutes) GetNetworkOk() (*string, bool)
- func (o *BGPStatusRoutes) GetOrigin() string
- func (o *BGPStatusRoutes) GetOriginOk() (*string, bool)
- func (o *BGPStatusRoutes) GetPath() string
- func (o *BGPStatusRoutes) GetPathOk() (*string, bool)
- func (o *BGPStatusRoutes) GetPeerId() string
- func (o *BGPStatusRoutes) GetPeerIdOk() (*string, bool)
- func (o *BGPStatusRoutes) GetWeight() int32
- func (o *BGPStatusRoutes) GetWeightOk() (*int32, bool)
- func (o BGPStatusRoutes) MarshalJSON() ([]byte, error)
- func (o *BGPStatusRoutes) SetNetwork(v string)
- func (o *BGPStatusRoutes) SetOrigin(v string)
- func (o *BGPStatusRoutes) SetPath(v string)
- func (o *BGPStatusRoutes) SetPeerId(v string)
- func (o *BGPStatusRoutes) SetWeight(v int32)
- func (o BGPStatusRoutes) ToMap() (map[string]interface{}, error)
- func (o *BGPStatusRoutes) UnmarshalJSON(data []byte) (err error)
- type BGPTunnelConfig
- func (o *BGPTunnelConfig) GetRemoteAsn() int64
- func (o *BGPTunnelConfig) GetRemoteAsnOk() (*int64, bool)
- func (o BGPTunnelConfig) MarshalJSON() ([]byte, error)
- func (o *BGPTunnelConfig) SetRemoteAsn(v int64)
- func (o BGPTunnelConfig) ToMap() (map[string]interface{}, error)
- func (o *BGPTunnelConfig) UnmarshalJSON(data []byte) (err error)
- type ConnectionList
- func (o *ConnectionList) GetConnections() []ConnectionResponse
- func (o *ConnectionList) GetConnectionsOk() ([]ConnectionResponse, bool)
- func (o ConnectionList) MarshalJSON() ([]byte, error)
- func (o *ConnectionList) SetConnections(v []ConnectionResponse)
- func (o ConnectionList) ToMap() (map[string]interface{}, error)
- func (o *ConnectionList) UnmarshalJSON(data []byte) (err error)
- type ConnectionResponse
- func (o *ConnectionResponse) GetDisplayName() string
- func (o *ConnectionResponse) GetDisplayNameOk() (*string, bool)
- func (o *ConnectionResponse) GetEnabled() bool
- func (o *ConnectionResponse) GetEnabledOk() (*bool, bool)
- func (o *ConnectionResponse) GetId() string
- func (o *ConnectionResponse) GetIdOk() (*string, bool)
- func (o *ConnectionResponse) GetLabels() map[string]string
- func (o *ConnectionResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *ConnectionResponse) GetLocalSubnets() []string
- func (o *ConnectionResponse) GetLocalSubnetsOk() ([]string, bool)
- func (o *ConnectionResponse) GetRemoteSubnets() []string
- func (o *ConnectionResponse) GetRemoteSubnetsOk() ([]string, bool)
- func (o *ConnectionResponse) GetStaticRoutes() []string
- func (o *ConnectionResponse) GetStaticRoutesOk() ([]string, bool)
- func (o *ConnectionResponse) GetTunnel1() TunnelConfiguration
- func (o *ConnectionResponse) GetTunnel1Ok() (*TunnelConfiguration, bool)
- func (o *ConnectionResponse) GetTunnel2() TunnelConfiguration
- func (o *ConnectionResponse) GetTunnel2Ok() (*TunnelConfiguration, bool)
- func (o *ConnectionResponse) HasEnabled() bool
- func (o *ConnectionResponse) HasId() bool
- func (o *ConnectionResponse) HasLabels() bool
- func (o *ConnectionResponse) HasLocalSubnets() bool
- func (o *ConnectionResponse) HasRemoteSubnets() bool
- func (o *ConnectionResponse) HasStaticRoutes() bool
- func (o ConnectionResponse) MarshalJSON() ([]byte, error)
- func (o *ConnectionResponse) SetDisplayName(v string)
- func (o *ConnectionResponse) SetEnabled(v bool)
- func (o *ConnectionResponse) SetId(v string)
- func (o *ConnectionResponse) SetLabels(v map[string]string)
- func (o *ConnectionResponse) SetLocalSubnets(v []string)
- func (o *ConnectionResponse) SetRemoteSubnets(v []string)
- func (o *ConnectionResponse) SetStaticRoutes(v []string)
- func (o *ConnectionResponse) SetTunnel1(v TunnelConfiguration)
- func (o *ConnectionResponse) SetTunnel2(v TunnelConfiguration)
- func (o ConnectionResponse) ToMap() (map[string]interface{}, error)
- func (o *ConnectionResponse) UnmarshalJSON(data []byte) (err error)
- type ConnectionStatusResponse
- func (o *ConnectionStatusResponse) GetDisplayName() string
- func (o *ConnectionStatusResponse) GetDisplayNameOk() (*string, bool)
- func (o *ConnectionStatusResponse) GetEnabled() bool
- func (o *ConnectionStatusResponse) GetEnabledOk() (*bool, bool)
- func (o *ConnectionStatusResponse) GetId() string
- func (o *ConnectionStatusResponse) GetIdOk() (*string, bool)
- func (o *ConnectionStatusResponse) GetTunnels() []TunnelStatus
- func (o *ConnectionStatusResponse) GetTunnelsOk() ([]TunnelStatus, bool)
- func (o *ConnectionStatusResponse) HasDisplayName() bool
- func (o *ConnectionStatusResponse) HasEnabled() bool
- func (o *ConnectionStatusResponse) HasId() bool
- func (o *ConnectionStatusResponse) HasTunnels() bool
- func (o ConnectionStatusResponse) MarshalJSON() ([]byte, error)
- func (o *ConnectionStatusResponse) SetDisplayName(v string)
- func (o *ConnectionStatusResponse) SetEnabled(v bool)
- func (o *ConnectionStatusResponse) SetId(v string)
- func (o *ConnectionStatusResponse) SetTunnels(v []TunnelStatus)
- func (o ConnectionStatusResponse) ToMap() (map[string]interface{}, error)
- func (o *ConnectionStatusResponse) UnmarshalJSON(data []byte) (err error)
- type CreateGatewayConnectionPayload
- func (o *CreateGatewayConnectionPayload) GetDisplayName() string
- func (o *CreateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateGatewayConnectionPayload) GetEnabled() bool
- func (o *CreateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)
- func (o *CreateGatewayConnectionPayload) GetLabels() map[string]string
- func (o *CreateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateGatewayConnectionPayload) GetLocalSubnets() []string
- func (o *CreateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)
- func (o *CreateGatewayConnectionPayload) GetRemoteSubnets() []string
- func (o *CreateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)
- func (o *CreateGatewayConnectionPayload) GetStaticRoutes() []string
- func (o *CreateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)
- func (o *CreateGatewayConnectionPayload) GetTunnel1() TunnelConfiguration
- func (o *CreateGatewayConnectionPayload) GetTunnel1Ok() (*TunnelConfiguration, bool)
- func (o *CreateGatewayConnectionPayload) GetTunnel2() TunnelConfiguration
- func (o *CreateGatewayConnectionPayload) GetTunnel2Ok() (*TunnelConfiguration, bool)
- func (o *CreateGatewayConnectionPayload) HasEnabled() bool
- func (o *CreateGatewayConnectionPayload) HasLabels() bool
- func (o *CreateGatewayConnectionPayload) HasLocalSubnets() bool
- func (o *CreateGatewayConnectionPayload) HasRemoteSubnets() bool
- func (o *CreateGatewayConnectionPayload) HasStaticRoutes() bool
- func (o CreateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateGatewayConnectionPayload) SetDisplayName(v string)
- func (o *CreateGatewayConnectionPayload) SetEnabled(v bool)
- func (o *CreateGatewayConnectionPayload) SetLabels(v map[string]string)
- func (o *CreateGatewayConnectionPayload) SetLocalSubnets(v []string)
- func (o *CreateGatewayConnectionPayload) SetRemoteSubnets(v []string)
- func (o *CreateGatewayConnectionPayload) SetStaticRoutes(v []string)
- func (o *CreateGatewayConnectionPayload) SetTunnel1(v TunnelConfiguration)
- func (o *CreateGatewayConnectionPayload) SetTunnel2(v TunnelConfiguration)
- func (o CreateGatewayConnectionPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateGatewayConnectionPayload) UnmarshalJSON(data []byte) (err error)
- type CreateGatewayPayload
- func (o *CreateGatewayPayload) GetAvailabilityZones() CreateGatewayPayloadAvailabilityZones
- func (o *CreateGatewayPayload) GetAvailabilityZonesOk() (*CreateGatewayPayloadAvailabilityZones, bool)
- func (o *CreateGatewayPayload) GetBgp() BGPGatewayConfig
- func (o *CreateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *CreateGatewayPayload) GetDisplayName() string
- func (o *CreateGatewayPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateGatewayPayload) GetLabels() map[string]string
- func (o *CreateGatewayPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateGatewayPayload) GetPlanId() string
- func (o *CreateGatewayPayload) GetPlanIdOk() (*string, bool)
- func (o *CreateGatewayPayload) GetRoutingType() RoutingType
- func (o *CreateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *CreateGatewayPayload) HasBgp() bool
- func (o *CreateGatewayPayload) HasLabels() bool
- func (o CreateGatewayPayload) MarshalJSON() ([]byte, error)
- func (o *CreateGatewayPayload) SetAvailabilityZones(v CreateGatewayPayloadAvailabilityZones)
- func (o *CreateGatewayPayload) SetBgp(v BGPGatewayConfig)
- func (o *CreateGatewayPayload) SetDisplayName(v string)
- func (o *CreateGatewayPayload) SetLabels(v map[string]string)
- func (o *CreateGatewayPayload) SetPlanId(v string)
- func (o *CreateGatewayPayload) SetRoutingType(v RoutingType)
- func (o CreateGatewayPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateGatewayPayload) UnmarshalJSON(data []byte) (err error)
- type CreateGatewayPayloadAvailabilityZones
- func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel1() string
- func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
- func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel2() string
- func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
- func (o CreateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (o *CreateGatewayPayloadAvailabilityZones) SetTunnel1(v string)
- func (o *CreateGatewayPayloadAvailabilityZones) SetTunnel2(v string)
- func (o CreateGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
- func (o *CreateGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest
- func (a *DefaultAPIService) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest
- func (a *DefaultAPIService) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a *DefaultAPIService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)
- func (a *DefaultAPIService) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest
- func (a *DefaultAPIService) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiDeleteGatewayConnectionRequest
- func (a *DefaultAPIService) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
- func (a *DefaultAPIService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error
- func (a *DefaultAPIService) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest
- func (a *DefaultAPIService) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiGetGatewayConnectionRequest
- func (a *DefaultAPIService) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a *DefaultAPIService) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiGetGatewayConnectionStatusRequest
- func (a *DefaultAPIService) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
- func (a *DefaultAPIService) GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)
- func (a *DefaultAPIService) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest
- func (a *DefaultAPIService) GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
- func (a *DefaultAPIService) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest
- func (a *DefaultAPIService) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
- func (a *DefaultAPIService) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest
- func (a *DefaultAPIService) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)
- func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest
- func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
- func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
- func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a *DefaultAPIService) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest
- func (a *DefaultAPIService) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiUpdateGatewayConnectionRequest
- func (a *DefaultAPIService) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a *DefaultAPIService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest
- func (a DefaultAPIServiceMock) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest
- func (a DefaultAPIServiceMock) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a DefaultAPIServiceMock) CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)
- func (a DefaultAPIServiceMock) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest
- func (a DefaultAPIServiceMock) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiDeleteGatewayConnectionRequest
- func (a DefaultAPIServiceMock) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
- func (a DefaultAPIServiceMock) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error
- func (a DefaultAPIServiceMock) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest
- func (a DefaultAPIServiceMock) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiGetGatewayConnectionRequest
- func (a DefaultAPIServiceMock) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a DefaultAPIServiceMock) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiGetGatewayConnectionStatusRequest
- func (a DefaultAPIServiceMock) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
- func (a DefaultAPIServiceMock) GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)
- func (a DefaultAPIServiceMock) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest
- func (a DefaultAPIServiceMock) GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
- func (a DefaultAPIServiceMock) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest
- func (a DefaultAPIServiceMock) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
- func (a DefaultAPIServiceMock) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest
- func (a DefaultAPIServiceMock) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)
- func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) ApiListPlansRequest
- func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
- func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
- func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a DefaultAPIServiceMock) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest
- func (a DefaultAPIServiceMock) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, ...) ApiUpdateGatewayConnectionRequest
- func (a DefaultAPIServiceMock) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
- func (a DefaultAPIServiceMock) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
- type Gateway
- func (o *Gateway) GetAvailabilityZones() GatewayAvailabilityZones
- func (o *Gateway) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)
- func (o *Gateway) GetBgp() BGPGatewayConfig
- func (o *Gateway) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *Gateway) GetDisplayName() string
- func (o *Gateway) GetDisplayNameOk() (*string, bool)
- func (o *Gateway) GetLabels() map[string]string
- func (o *Gateway) GetLabelsOk() (*map[string]string, bool)
- func (o *Gateway) GetPlanId() string
- func (o *Gateway) GetPlanIdOk() (*string, bool)
- func (o *Gateway) GetRoutingType() RoutingType
- func (o *Gateway) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *Gateway) HasBgp() bool
- func (o *Gateway) HasLabels() bool
- func (o Gateway) MarshalJSON() ([]byte, error)
- func (o *Gateway) SetAvailabilityZones(v GatewayAvailabilityZones)
- func (o *Gateway) SetBgp(v BGPGatewayConfig)
- func (o *Gateway) SetDisplayName(v string)
- func (o *Gateway) SetLabels(v map[string]string)
- func (o *Gateway) SetPlanId(v string)
- func (o *Gateway) SetRoutingType(v RoutingType)
- func (o Gateway) ToMap() (map[string]interface{}, error)
- func (o *Gateway) UnmarshalJSON(data []byte) (err error)
- type GatewayAvailabilityZones
- func (o *GatewayAvailabilityZones) GetTunnel1() string
- func (o *GatewayAvailabilityZones) GetTunnel1Ok() (*string, bool)
- func (o *GatewayAvailabilityZones) GetTunnel2() string
- func (o *GatewayAvailabilityZones) GetTunnel2Ok() (*string, bool)
- func (o GatewayAvailabilityZones) MarshalJSON() ([]byte, error)
- func (o *GatewayAvailabilityZones) SetTunnel1(v string)
- func (o *GatewayAvailabilityZones) SetTunnel2(v string)
- func (o GatewayAvailabilityZones) ToMap() (map[string]interface{}, error)
- func (o *GatewayAvailabilityZones) UnmarshalJSON(data []byte) (err error)
- type GatewayList
- func (o *GatewayList) GetGateways() []GatewayResponse
- func (o *GatewayList) GetGatewaysOk() ([]GatewayResponse, bool)
- func (o GatewayList) MarshalJSON() ([]byte, error)
- func (o *GatewayList) SetGateways(v []GatewayResponse)
- func (o GatewayList) ToMap() (map[string]interface{}, error)
- func (o *GatewayList) UnmarshalJSON(data []byte) (err error)
- type GatewayResponse
- func (o *GatewayResponse) GetAvailabilityZones() GatewayAvailabilityZones
- func (o *GatewayResponse) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)
- func (o *GatewayResponse) GetBgp() BGPGatewayConfig
- func (o *GatewayResponse) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *GatewayResponse) GetDisplayName() string
- func (o *GatewayResponse) GetDisplayNameOk() (*string, bool)
- func (o *GatewayResponse) GetId() string
- func (o *GatewayResponse) GetIdOk() (*string, bool)
- func (o *GatewayResponse) GetLabels() map[string]string
- func (o *GatewayResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GatewayResponse) GetPlanId() string
- func (o *GatewayResponse) GetPlanIdOk() (*string, bool)
- func (o *GatewayResponse) GetRoutingType() RoutingType
- func (o *GatewayResponse) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *GatewayResponse) GetState() GatewayStatus
- func (o *GatewayResponse) GetStateOk() (*GatewayStatus, bool)
- func (o *GatewayResponse) HasBgp() bool
- func (o *GatewayResponse) HasId() bool
- func (o *GatewayResponse) HasLabels() bool
- func (o *GatewayResponse) HasState() bool
- func (o GatewayResponse) MarshalJSON() ([]byte, error)
- func (o *GatewayResponse) SetAvailabilityZones(v GatewayAvailabilityZones)
- func (o *GatewayResponse) SetBgp(v BGPGatewayConfig)
- func (o *GatewayResponse) SetDisplayName(v string)
- func (o *GatewayResponse) SetId(v string)
- func (o *GatewayResponse) SetLabels(v map[string]string)
- func (o *GatewayResponse) SetPlanId(v string)
- func (o *GatewayResponse) SetRoutingType(v RoutingType)
- func (o *GatewayResponse) SetState(v GatewayStatus)
- func (o GatewayResponse) ToMap() (map[string]interface{}, error)
- func (o *GatewayResponse) UnmarshalJSON(data []byte) (err error)
- type GatewayStatus
- type GatewayStatusResponse
- func (o *GatewayStatusResponse) GetConnections() []ConnectionStatusResponse
- func (o *GatewayStatusResponse) GetConnectionsOk() ([]ConnectionStatusResponse, bool)
- func (o *GatewayStatusResponse) GetDisplayName() string
- func (o *GatewayStatusResponse) GetDisplayNameOk() (*string, bool)
- func (o *GatewayStatusResponse) GetGatewayStatus() GatewayStatus
- func (o *GatewayStatusResponse) GetGatewayStatusOk() (*GatewayStatus, bool)
- func (o *GatewayStatusResponse) GetId() string
- func (o *GatewayStatusResponse) GetIdOk() (*string, bool)
- func (o *GatewayStatusResponse) GetTunnels() []VPNTunnels
- func (o *GatewayStatusResponse) GetTunnelsOk() ([]VPNTunnels, bool)
- func (o *GatewayStatusResponse) HasConnections() bool
- func (o *GatewayStatusResponse) HasDisplayName() bool
- func (o *GatewayStatusResponse) HasGatewayStatus() bool
- func (o *GatewayStatusResponse) HasId() bool
- func (o *GatewayStatusResponse) HasTunnels() bool
- func (o GatewayStatusResponse) MarshalJSON() ([]byte, error)
- func (o *GatewayStatusResponse) SetConnections(v []ConnectionStatusResponse)
- func (o *GatewayStatusResponse) SetDisplayName(v string)
- func (o *GatewayStatusResponse) SetGatewayStatus(v GatewayStatus)
- func (o *GatewayStatusResponse) SetId(v string)
- func (o *GatewayStatusResponse) SetTunnels(v []VPNTunnels)
- func (o GatewayStatusResponse) ToMap() (map[string]interface{}, error)
- func (o *GatewayStatusResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAPIError
- type NullableAPIErrorDetail
- func (v NullableAPIErrorDetail) Get() *APIErrorDetail
- func (v NullableAPIErrorDetail) IsSet() bool
- func (v NullableAPIErrorDetail) MarshalJSON() ([]byte, error)
- func (v *NullableAPIErrorDetail) Set(val *APIErrorDetail)
- func (v *NullableAPIErrorDetail) UnmarshalJSON(src []byte) error
- func (v *NullableAPIErrorDetail) Unset()
- type NullableAPIErrorDetailReason
- func (v NullableAPIErrorDetailReason) Get() *APIErrorDetailReason
- func (v NullableAPIErrorDetailReason) IsSet() bool
- func (v NullableAPIErrorDetailReason) MarshalJSON() ([]byte, error)
- func (v *NullableAPIErrorDetailReason) Set(val *APIErrorDetailReason)
- func (v *NullableAPIErrorDetailReason) UnmarshalJSON(src []byte) error
- func (v *NullableAPIErrorDetailReason) Unset()
- type NullableAPIErrorResponse
- func (v NullableAPIErrorResponse) Get() *APIErrorResponse
- func (v NullableAPIErrorResponse) IsSet() bool
- func (v NullableAPIErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAPIErrorResponse) Set(val *APIErrorResponse)
- func (v *NullableAPIErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAPIErrorResponse) Unset()
- type NullableBGPGatewayConfig
- func (v NullableBGPGatewayConfig) Get() *BGPGatewayConfig
- func (v NullableBGPGatewayConfig) IsSet() bool
- func (v NullableBGPGatewayConfig) MarshalJSON() ([]byte, error)
- func (v *NullableBGPGatewayConfig) Set(val *BGPGatewayConfig)
- func (v *NullableBGPGatewayConfig) UnmarshalJSON(src []byte) error
- func (v *NullableBGPGatewayConfig) Unset()
- type NullableBGPStatus
- type NullableBGPStatusPeers
- func (v NullableBGPStatusPeers) Get() *BGPStatusPeers
- func (v NullableBGPStatusPeers) IsSet() bool
- func (v NullableBGPStatusPeers) MarshalJSON() ([]byte, error)
- func (v *NullableBGPStatusPeers) Set(val *BGPStatusPeers)
- func (v *NullableBGPStatusPeers) UnmarshalJSON(src []byte) error
- func (v *NullableBGPStatusPeers) Unset()
- type NullableBGPStatusRoutes
- func (v NullableBGPStatusRoutes) Get() *BGPStatusRoutes
- func (v NullableBGPStatusRoutes) IsSet() bool
- func (v NullableBGPStatusRoutes) MarshalJSON() ([]byte, error)
- func (v *NullableBGPStatusRoutes) Set(val *BGPStatusRoutes)
- func (v *NullableBGPStatusRoutes) UnmarshalJSON(src []byte) error
- func (v *NullableBGPStatusRoutes) Unset()
- type NullableBGPTunnelConfig
- func (v NullableBGPTunnelConfig) Get() *BGPTunnelConfig
- func (v NullableBGPTunnelConfig) IsSet() bool
- func (v NullableBGPTunnelConfig) MarshalJSON() ([]byte, error)
- func (v *NullableBGPTunnelConfig) Set(val *BGPTunnelConfig)
- func (v *NullableBGPTunnelConfig) UnmarshalJSON(src []byte) error
- func (v *NullableBGPTunnelConfig) Unset()
- type NullableBool
- type NullableConnectionList
- func (v NullableConnectionList) Get() *ConnectionList
- func (v NullableConnectionList) IsSet() bool
- func (v NullableConnectionList) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionList) Set(val *ConnectionList)
- func (v *NullableConnectionList) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionList) Unset()
- type NullableConnectionResponse
- func (v NullableConnectionResponse) Get() *ConnectionResponse
- func (v NullableConnectionResponse) IsSet() bool
- func (v NullableConnectionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionResponse) Set(val *ConnectionResponse)
- func (v *NullableConnectionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionResponse) Unset()
- type NullableConnectionStatusResponse
- func (v NullableConnectionStatusResponse) Get() *ConnectionStatusResponse
- func (v NullableConnectionStatusResponse) IsSet() bool
- func (v NullableConnectionStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionStatusResponse) Set(val *ConnectionStatusResponse)
- func (v *NullableConnectionStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionStatusResponse) Unset()
- type NullableCreateGatewayConnectionPayload
- func (v NullableCreateGatewayConnectionPayload) Get() *CreateGatewayConnectionPayload
- func (v NullableCreateGatewayConnectionPayload) IsSet() bool
- func (v NullableCreateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGatewayConnectionPayload) Set(val *CreateGatewayConnectionPayload)
- func (v *NullableCreateGatewayConnectionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGatewayConnectionPayload) Unset()
- type NullableCreateGatewayPayload
- func (v NullableCreateGatewayPayload) Get() *CreateGatewayPayload
- func (v NullableCreateGatewayPayload) IsSet() bool
- func (v NullableCreateGatewayPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGatewayPayload) Set(val *CreateGatewayPayload)
- func (v *NullableCreateGatewayPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGatewayPayload) Unset()
- type NullableCreateGatewayPayloadAvailabilityZones
- func (v NullableCreateGatewayPayloadAvailabilityZones) Get() *CreateGatewayPayloadAvailabilityZones
- func (v NullableCreateGatewayPayloadAvailabilityZones) IsSet() bool
- func (v NullableCreateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGatewayPayloadAvailabilityZones) Set(val *CreateGatewayPayloadAvailabilityZones)
- func (v *NullableCreateGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGatewayPayloadAvailabilityZones) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGateway
- type NullableGatewayAvailabilityZones
- func (v NullableGatewayAvailabilityZones) Get() *GatewayAvailabilityZones
- func (v NullableGatewayAvailabilityZones) IsSet() bool
- func (v NullableGatewayAvailabilityZones) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayAvailabilityZones) Set(val *GatewayAvailabilityZones)
- func (v *NullableGatewayAvailabilityZones) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayAvailabilityZones) Unset()
- type NullableGatewayList
- func (v NullableGatewayList) Get() *GatewayList
- func (v NullableGatewayList) IsSet() bool
- func (v NullableGatewayList) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayList) Set(val *GatewayList)
- func (v *NullableGatewayList) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayList) Unset()
- type NullableGatewayResponse
- func (v NullableGatewayResponse) Get() *GatewayResponse
- func (v NullableGatewayResponse) IsSet() bool
- func (v NullableGatewayResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayResponse) Set(val *GatewayResponse)
- func (v *NullableGatewayResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayResponse) Unset()
- type NullableGatewayStatus
- func (v NullableGatewayStatus) Get() *GatewayStatus
- func (v NullableGatewayStatus) IsSet() bool
- func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayStatus) Set(val *GatewayStatus)
- func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayStatus) Unset()
- type NullableGatewayStatusResponse
- func (v NullableGatewayStatusResponse) Get() *GatewayStatusResponse
- func (v NullableGatewayStatusResponse) IsSet() bool
- func (v NullableGatewayStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGatewayStatusResponse) Set(val *GatewayStatusResponse)
- func (v *NullableGatewayStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGatewayStatusResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePeeringConfig
- func (v NullablePeeringConfig) Get() *PeeringConfig
- func (v NullablePeeringConfig) IsSet() bool
- func (v NullablePeeringConfig) MarshalJSON() ([]byte, error)
- func (v *NullablePeeringConfig) Set(val *PeeringConfig)
- func (v *NullablePeeringConfig) UnmarshalJSON(src []byte) error
- func (v *NullablePeeringConfig) Unset()
- type NullablePhase
- type NullablePhase1Status
- func (v NullablePhase1Status) Get() *Phase1Status
- func (v NullablePhase1Status) IsSet() bool
- func (v NullablePhase1Status) MarshalJSON() ([]byte, error)
- func (v *NullablePhase1Status) Set(val *Phase1Status)
- func (v *NullablePhase1Status) UnmarshalJSON(src []byte) error
- func (v *NullablePhase1Status) Unset()
- type NullablePhase2Status
- func (v NullablePhase2Status) Get() *Phase2Status
- func (v NullablePhase2Status) IsSet() bool
- func (v NullablePhase2Status) MarshalJSON() ([]byte, error)
- func (v *NullablePhase2Status) Set(val *Phase2Status)
- func (v *NullablePhase2Status) UnmarshalJSON(src []byte) error
- func (v *NullablePhase2Status) Unset()
- type NullablePhaseDhGroupsInner
- func (v NullablePhaseDhGroupsInner) Get() *PhaseDhGroupsInner
- func (v NullablePhaseDhGroupsInner) IsSet() bool
- func (v NullablePhaseDhGroupsInner) MarshalJSON() ([]byte, error)
- func (v *NullablePhaseDhGroupsInner) Set(val *PhaseDhGroupsInner)
- func (v *NullablePhaseDhGroupsInner) UnmarshalJSON(src []byte) error
- func (v *NullablePhaseDhGroupsInner) Unset()
- type NullablePhaseEncryptionAlgorithmsInner
- func (v NullablePhaseEncryptionAlgorithmsInner) Get() *PhaseEncryptionAlgorithmsInner
- func (v NullablePhaseEncryptionAlgorithmsInner) IsSet() bool
- func (v NullablePhaseEncryptionAlgorithmsInner) MarshalJSON() ([]byte, error)
- func (v *NullablePhaseEncryptionAlgorithmsInner) Set(val *PhaseEncryptionAlgorithmsInner)
- func (v *NullablePhaseEncryptionAlgorithmsInner) UnmarshalJSON(src []byte) error
- func (v *NullablePhaseEncryptionAlgorithmsInner) Unset()
- type NullablePhaseIntegrityAlgorithmsInner
- func (v NullablePhaseIntegrityAlgorithmsInner) Get() *PhaseIntegrityAlgorithmsInner
- func (v NullablePhaseIntegrityAlgorithmsInner) IsSet() bool
- func (v NullablePhaseIntegrityAlgorithmsInner) MarshalJSON() ([]byte, error)
- func (v *NullablePhaseIntegrityAlgorithmsInner) Set(val *PhaseIntegrityAlgorithmsInner)
- func (v *NullablePhaseIntegrityAlgorithmsInner) UnmarshalJSON(src []byte) error
- func (v *NullablePhaseIntegrityAlgorithmsInner) Unset()
- type NullablePlan
- type NullablePlanList
- type NullableQuota
- type NullableQuotaList
- type NullableQuotaListResponse
- func (v NullableQuotaListResponse) Get() *QuotaListResponse
- func (v NullableQuotaListResponse) IsSet() bool
- func (v NullableQuotaListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableQuotaListResponse) Set(val *QuotaListResponse)
- func (v *NullableQuotaListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuotaListResponse) Unset()
- type NullableRegion
- type NullableRoutingType
- func (v NullableRoutingType) Get() *RoutingType
- func (v NullableRoutingType) IsSet() bool
- func (v NullableRoutingType) MarshalJSON() ([]byte, error)
- func (v *NullableRoutingType) Set(val *RoutingType)
- func (v *NullableRoutingType) UnmarshalJSON(src []byte) error
- func (v *NullableRoutingType) Unset()
- type NullableString
- type NullableTime
- type NullableTunnelConfiguration
- func (v NullableTunnelConfiguration) Get() *TunnelConfiguration
- func (v NullableTunnelConfiguration) IsSet() bool
- func (v NullableTunnelConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelConfiguration) Set(val *TunnelConfiguration)
- func (v *NullableTunnelConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelConfiguration) Unset()
- type NullableTunnelConfigurationPhase1
- func (v NullableTunnelConfigurationPhase1) Get() *TunnelConfigurationPhase1
- func (v NullableTunnelConfigurationPhase1) IsSet() bool
- func (v NullableTunnelConfigurationPhase1) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelConfigurationPhase1) Set(val *TunnelConfigurationPhase1)
- func (v *NullableTunnelConfigurationPhase1) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelConfigurationPhase1) Unset()
- type NullableTunnelConfigurationPhase2
- func (v NullableTunnelConfigurationPhase2) Get() *TunnelConfigurationPhase2
- func (v NullableTunnelConfigurationPhase2) IsSet() bool
- func (v NullableTunnelConfigurationPhase2) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelConfigurationPhase2) Set(val *TunnelConfigurationPhase2)
- func (v *NullableTunnelConfigurationPhase2) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelConfigurationPhase2) Unset()
- type NullableTunnelConfigurationPhase2AllOfDpdAction
- func (v NullableTunnelConfigurationPhase2AllOfDpdAction) Get() *TunnelConfigurationPhase2AllOfDpdAction
- func (v NullableTunnelConfigurationPhase2AllOfDpdAction) IsSet() bool
- func (v NullableTunnelConfigurationPhase2AllOfDpdAction) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelConfigurationPhase2AllOfDpdAction) Set(val *TunnelConfigurationPhase2AllOfDpdAction)
- func (v *NullableTunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelConfigurationPhase2AllOfDpdAction) Unset()
- type NullableTunnelConfigurationPhase2AllOfStartAction
- func (v NullableTunnelConfigurationPhase2AllOfStartAction) Get() *TunnelConfigurationPhase2AllOfStartAction
- func (v NullableTunnelConfigurationPhase2AllOfStartAction) IsSet() bool
- func (v NullableTunnelConfigurationPhase2AllOfStartAction) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelConfigurationPhase2AllOfStartAction) Set(val *TunnelConfigurationPhase2AllOfStartAction)
- func (v *NullableTunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelConfigurationPhase2AllOfStartAction) Unset()
- type NullableTunnelStatus
- func (v NullableTunnelStatus) Get() *TunnelStatus
- func (v NullableTunnelStatus) IsSet() bool
- func (v NullableTunnelStatus) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelStatus) Set(val *TunnelStatus)
- func (v *NullableTunnelStatus) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelStatus) Unset()
- type NullableTunnelStatusName
- func (v NullableTunnelStatusName) Get() *TunnelStatusName
- func (v NullableTunnelStatusName) IsSet() bool
- func (v NullableTunnelStatusName) MarshalJSON() ([]byte, error)
- func (v *NullableTunnelStatusName) Set(val *TunnelStatusName)
- func (v *NullableTunnelStatusName) UnmarshalJSON(src []byte) error
- func (v *NullableTunnelStatusName) Unset()
- type NullableUpdateGatewayConnectionPayload
- func (v NullableUpdateGatewayConnectionPayload) Get() *UpdateGatewayConnectionPayload
- func (v NullableUpdateGatewayConnectionPayload) IsSet() bool
- func (v NullableUpdateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateGatewayConnectionPayload) Set(val *UpdateGatewayConnectionPayload)
- func (v *NullableUpdateGatewayConnectionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateGatewayConnectionPayload) Unset()
- type NullableUpdateGatewayPayload
- func (v NullableUpdateGatewayPayload) Get() *UpdateGatewayPayload
- func (v NullableUpdateGatewayPayload) IsSet() bool
- func (v NullableUpdateGatewayPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateGatewayPayload) Set(val *UpdateGatewayPayload)
- func (v *NullableUpdateGatewayPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateGatewayPayload) Unset()
- type NullableUpdateGatewayPayloadAvailabilityZones
- func (v NullableUpdateGatewayPayloadAvailabilityZones) Get() *UpdateGatewayPayloadAvailabilityZones
- func (v NullableUpdateGatewayPayloadAvailabilityZones) IsSet() bool
- func (v NullableUpdateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateGatewayPayloadAvailabilityZones) Set(val *UpdateGatewayPayloadAvailabilityZones)
- func (v *NullableUpdateGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateGatewayPayloadAvailabilityZones) Unset()
- type NullableVPNTunnels
- type NullableVPNTunnelsName
- func (v NullableVPNTunnelsName) Get() *VPNTunnelsName
- func (v NullableVPNTunnelsName) IsSet() bool
- func (v NullableVPNTunnelsName) MarshalJSON() ([]byte, error)
- func (v *NullableVPNTunnelsName) Set(val *VPNTunnelsName)
- func (v *NullableVPNTunnelsName) UnmarshalJSON(src []byte) error
- func (v *NullableVPNTunnelsName) Unset()
- type PeeringConfig
- func (o *PeeringConfig) GetLocalAddress() string
- func (o *PeeringConfig) GetLocalAddressOk() (*string, bool)
- func (o *PeeringConfig) GetRemoteAddress() string
- func (o *PeeringConfig) GetRemoteAddressOk() (*string, bool)
- func (o *PeeringConfig) HasLocalAddress() bool
- func (o *PeeringConfig) HasRemoteAddress() bool
- func (o PeeringConfig) MarshalJSON() ([]byte, error)
- func (o *PeeringConfig) SetLocalAddress(v string)
- func (o *PeeringConfig) SetRemoteAddress(v string)
- func (o PeeringConfig) ToMap() (map[string]interface{}, error)
- func (o *PeeringConfig) UnmarshalJSON(data []byte) (err error)
- type Phase
- func (o *Phase) GetDhGroups() []PhaseDhGroupsInner
- func (o *Phase) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
- func (o *Phase) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
- func (o *Phase) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
- func (o *Phase) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
- func (o *Phase) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
- func (o *Phase) HasDhGroups() bool
- func (o Phase) MarshalJSON() ([]byte, error)
- func (o *Phase) SetDhGroups(v []PhaseDhGroupsInner)
- func (o *Phase) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
- func (o *Phase) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
- func (o Phase) ToMap() (map[string]interface{}, error)
- func (o *Phase) UnmarshalJSON(data []byte) (err error)
- type Phase1Status
- func (o *Phase1Status) GetDhGroup() string
- func (o *Phase1Status) GetDhGroupOk() (*string, bool)
- func (o *Phase1Status) GetEncryptionAlgorithm() string
- func (o *Phase1Status) GetEncryptionAlgorithmOk() (*string, bool)
- func (o *Phase1Status) GetIntegrityAlgorithm() string
- func (o *Phase1Status) GetIntegrityAlgorithmOk() (*string, bool)
- func (o *Phase1Status) GetState() string
- func (o *Phase1Status) GetStateOk() (*string, bool)
- func (o *Phase1Status) HasDhGroup() bool
- func (o *Phase1Status) HasEncryptionAlgorithm() bool
- func (o *Phase1Status) HasIntegrityAlgorithm() bool
- func (o *Phase1Status) HasState() bool
- func (o Phase1Status) MarshalJSON() ([]byte, error)
- func (o *Phase1Status) SetDhGroup(v string)
- func (o *Phase1Status) SetEncryptionAlgorithm(v string)
- func (o *Phase1Status) SetIntegrityAlgorithm(v string)
- func (o *Phase1Status) SetState(v string)
- func (o Phase1Status) ToMap() (map[string]interface{}, error)
- func (o *Phase1Status) UnmarshalJSON(data []byte) (err error)
- type Phase2Status
- func (o *Phase2Status) GetBytesIn() string
- func (o *Phase2Status) GetBytesInOk() (*string, bool)
- func (o *Phase2Status) GetBytesOut() string
- func (o *Phase2Status) GetBytesOutOk() (*string, bool)
- func (o *Phase2Status) GetDhGroup() string
- func (o *Phase2Status) GetDhGroupOk() (*string, bool)
- func (o *Phase2Status) GetEncap() string
- func (o *Phase2Status) GetEncapOk() (*string, bool)
- func (o *Phase2Status) GetEncryptionAlgorithm() string
- func (o *Phase2Status) GetEncryptionAlgorithmOk() (*string, bool)
- func (o *Phase2Status) GetIntegrityAlgorithm() string
- func (o *Phase2Status) GetIntegrityAlgorithmOk() (*string, bool)
- func (o *Phase2Status) GetPacketsIn() string
- func (o *Phase2Status) GetPacketsInOk() (*string, bool)
- func (o *Phase2Status) GetPacketsOut() string
- func (o *Phase2Status) GetPacketsOutOk() (*string, bool)
- func (o *Phase2Status) GetProtocol() string
- func (o *Phase2Status) GetProtocolOk() (*string, bool)
- func (o *Phase2Status) GetState() string
- func (o *Phase2Status) GetStateOk() (*string, bool)
- func (o *Phase2Status) HasBytesIn() bool
- func (o *Phase2Status) HasBytesOut() bool
- func (o *Phase2Status) HasDhGroup() bool
- func (o *Phase2Status) HasEncap() bool
- func (o *Phase2Status) HasEncryptionAlgorithm() bool
- func (o *Phase2Status) HasIntegrityAlgorithm() bool
- func (o *Phase2Status) HasPacketsIn() bool
- func (o *Phase2Status) HasPacketsOut() bool
- func (o *Phase2Status) HasProtocol() bool
- func (o *Phase2Status) HasState() bool
- func (o Phase2Status) MarshalJSON() ([]byte, error)
- func (o *Phase2Status) SetBytesIn(v string)
- func (o *Phase2Status) SetBytesOut(v string)
- func (o *Phase2Status) SetDhGroup(v string)
- func (o *Phase2Status) SetEncap(v string)
- func (o *Phase2Status) SetEncryptionAlgorithm(v string)
- func (o *Phase2Status) SetIntegrityAlgorithm(v string)
- func (o *Phase2Status) SetPacketsIn(v string)
- func (o *Phase2Status) SetPacketsOut(v string)
- func (o *Phase2Status) SetProtocol(v string)
- func (o *Phase2Status) SetState(v string)
- func (o Phase2Status) ToMap() (map[string]interface{}, error)
- func (o *Phase2Status) UnmarshalJSON(data []byte) (err error)
- type PhaseDhGroupsInner
- type PhaseEncryptionAlgorithmsInner
- type PhaseIntegrityAlgorithmsInner
- type Plan
- func (o *Plan) GetMaxBandwidth() int32
- func (o *Plan) GetMaxBandwidthOk() (*int32, bool)
- func (o *Plan) GetMaxConnections() int32
- func (o *Plan) GetMaxConnectionsOk() (*int32, bool)
- func (o *Plan) GetName() string
- func (o *Plan) GetNameOk() (*string, bool)
- func (o *Plan) GetPlanId() string
- func (o *Plan) GetPlanIdOk() (*string, bool)
- func (o *Plan) GetSku() string
- func (o *Plan) GetSkuOk() (*string, bool)
- func (o *Plan) HasMaxBandwidth() bool
- func (o *Plan) HasMaxConnections() bool
- func (o *Plan) HasName() bool
- func (o *Plan) HasPlanId() bool
- func (o *Plan) HasSku() bool
- func (o Plan) MarshalJSON() ([]byte, error)
- func (o *Plan) SetMaxBandwidth(v int32)
- func (o *Plan) SetMaxConnections(v int32)
- func (o *Plan) SetName(v string)
- func (o *Plan) SetPlanId(v string)
- func (o *Plan) SetSku(v string)
- func (o Plan) ToMap() (map[string]interface{}, error)
- func (o *Plan) UnmarshalJSON(data []byte) (err error)
- type PlanList
- func (o *PlanList) GetDefaultPlanId() string
- func (o *PlanList) GetDefaultPlanIdOk() (*string, bool)
- func (o *PlanList) GetPlans() []Plan
- func (o *PlanList) GetPlansOk() ([]Plan, bool)
- func (o *PlanList) HasDefaultPlanId() bool
- func (o *PlanList) HasPlans() bool
- func (o PlanList) MarshalJSON() ([]byte, error)
- func (o *PlanList) SetDefaultPlanId(v string)
- func (o *PlanList) SetPlans(v []Plan)
- func (o PlanList) ToMap() (map[string]interface{}, error)
- func (o *PlanList) UnmarshalJSON(data []byte) (err error)
- type Quota
- func (o *Quota) GetLimit() int32
- func (o *Quota) GetLimitOk() (*int32, bool)
- func (o *Quota) GetUsage() int32
- func (o *Quota) GetUsageOk() (*int32, bool)
- func (o Quota) MarshalJSON() ([]byte, error)
- func (o *Quota) SetLimit(v int32)
- func (o *Quota) SetUsage(v int32)
- func (o Quota) ToMap() (map[string]interface{}, error)
- func (o *Quota) UnmarshalJSON(data []byte) (err error)
- type QuotaList
- type QuotaListResponse
- func (o *QuotaListResponse) GetQuotas() QuotaList
- func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)
- func (o QuotaListResponse) MarshalJSON() ([]byte, error)
- func (o *QuotaListResponse) SetQuotas(v QuotaList)
- func (o QuotaListResponse) ToMap() (map[string]interface{}, error)
- func (o *QuotaListResponse) UnmarshalJSON(data []byte) (err error)
- type Region
- type RoutingType
- type TunnelConfiguration
- func (o *TunnelConfiguration) GetBgp() BGPTunnelConfig
- func (o *TunnelConfiguration) GetBgpOk() (*BGPTunnelConfig, bool)
- func (o *TunnelConfiguration) GetPeering() PeeringConfig
- func (o *TunnelConfiguration) GetPeeringOk() (*PeeringConfig, bool)
- func (o *TunnelConfiguration) GetPhase1() TunnelConfigurationPhase1
- func (o *TunnelConfiguration) GetPhase1Ok() (*TunnelConfigurationPhase1, bool)
- func (o *TunnelConfiguration) GetPhase2() TunnelConfigurationPhase2
- func (o *TunnelConfiguration) GetPhase2Ok() (*TunnelConfigurationPhase2, bool)
- func (o *TunnelConfiguration) GetPreSharedKey() string
- func (o *TunnelConfiguration) GetPreSharedKeyOk() (*string, bool)
- func (o *TunnelConfiguration) GetRemoteAddress() string
- func (o *TunnelConfiguration) GetRemoteAddressOk() (*string, bool)
- func (o *TunnelConfiguration) HasBgp() bool
- func (o *TunnelConfiguration) HasPeering() bool
- func (o *TunnelConfiguration) HasPreSharedKey() bool
- func (o TunnelConfiguration) MarshalJSON() ([]byte, error)
- func (o *TunnelConfiguration) SetBgp(v BGPTunnelConfig)
- func (o *TunnelConfiguration) SetPeering(v PeeringConfig)
- func (o *TunnelConfiguration) SetPhase1(v TunnelConfigurationPhase1)
- func (o *TunnelConfiguration) SetPhase2(v TunnelConfigurationPhase2)
- func (o *TunnelConfiguration) SetPreSharedKey(v string)
- func (o *TunnelConfiguration) SetRemoteAddress(v string)
- func (o TunnelConfiguration) ToMap() (map[string]interface{}, error)
- func (o *TunnelConfiguration) UnmarshalJSON(data []byte) (err error)
- type TunnelConfigurationPhase1
- func (o *TunnelConfigurationPhase1) GetDhGroups() []PhaseDhGroupsInner
- func (o *TunnelConfigurationPhase1) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
- func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
- func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
- func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
- func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
- func (o *TunnelConfigurationPhase1) GetRekeyTime() int32
- func (o *TunnelConfigurationPhase1) GetRekeyTimeOk() (*int32, bool)
- func (o *TunnelConfigurationPhase1) HasDhGroups() bool
- func (o *TunnelConfigurationPhase1) HasRekeyTime() bool
- func (o TunnelConfigurationPhase1) MarshalJSON() ([]byte, error)
- func (o *TunnelConfigurationPhase1) SetDhGroups(v []PhaseDhGroupsInner)
- func (o *TunnelConfigurationPhase1) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
- func (o *TunnelConfigurationPhase1) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
- func (o *TunnelConfigurationPhase1) SetRekeyTime(v int32)
- func (o TunnelConfigurationPhase1) ToMap() (map[string]interface{}, error)
- func (o *TunnelConfigurationPhase1) UnmarshalJSON(data []byte) (err error)
- type TunnelConfigurationPhase2
- func (o *TunnelConfigurationPhase2) GetDhGroups() []PhaseDhGroupsInner
- func (o *TunnelConfigurationPhase2) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
- func (o *TunnelConfigurationPhase2) GetDpdAction() TunnelConfigurationPhase2AllOfDpdAction
- func (o *TunnelConfigurationPhase2) GetDpdActionOk() (*TunnelConfigurationPhase2AllOfDpdAction, bool)
- func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
- func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
- func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
- func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
- func (o *TunnelConfigurationPhase2) GetRekeyTime() int32
- func (o *TunnelConfigurationPhase2) GetRekeyTimeOk() (*int32, bool)
- func (o *TunnelConfigurationPhase2) GetStartAction() TunnelConfigurationPhase2AllOfStartAction
- func (o *TunnelConfigurationPhase2) GetStartActionOk() (*TunnelConfigurationPhase2AllOfStartAction, bool)
- func (o *TunnelConfigurationPhase2) HasDhGroups() bool
- func (o *TunnelConfigurationPhase2) HasDpdAction() bool
- func (o *TunnelConfigurationPhase2) HasRekeyTime() bool
- func (o *TunnelConfigurationPhase2) HasStartAction() bool
- func (o TunnelConfigurationPhase2) MarshalJSON() ([]byte, error)
- func (o *TunnelConfigurationPhase2) SetDhGroups(v []PhaseDhGroupsInner)
- func (o *TunnelConfigurationPhase2) SetDpdAction(v TunnelConfigurationPhase2AllOfDpdAction)
- func (o *TunnelConfigurationPhase2) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
- func (o *TunnelConfigurationPhase2) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
- func (o *TunnelConfigurationPhase2) SetRekeyTime(v int32)
- func (o *TunnelConfigurationPhase2) SetStartAction(v TunnelConfigurationPhase2AllOfStartAction)
- func (o TunnelConfigurationPhase2) ToMap() (map[string]interface{}, error)
- func (o *TunnelConfigurationPhase2) UnmarshalJSON(data []byte) (err error)
- type TunnelConfigurationPhase2AllOfDpdAction
- type TunnelConfigurationPhase2AllOfStartAction
- type TunnelStatus
- func (o *TunnelStatus) GetEstablished() bool
- func (o *TunnelStatus) GetEstablishedOk() (*bool, bool)
- func (o *TunnelStatus) GetName() TunnelStatusName
- func (o *TunnelStatus) GetNameOk() (*TunnelStatusName, bool)
- func (o *TunnelStatus) GetPhase1() Phase1Status
- func (o *TunnelStatus) GetPhase1Ok() (*Phase1Status, bool)
- func (o *TunnelStatus) GetPhase2() Phase2Status
- func (o *TunnelStatus) GetPhase2Ok() (*Phase2Status, bool)
- func (o *TunnelStatus) HasEstablished() bool
- func (o *TunnelStatus) HasName() bool
- func (o *TunnelStatus) HasPhase1() bool
- func (o *TunnelStatus) HasPhase2() bool
- func (o TunnelStatus) MarshalJSON() ([]byte, error)
- func (o *TunnelStatus) SetEstablished(v bool)
- func (o *TunnelStatus) SetName(v TunnelStatusName)
- func (o *TunnelStatus) SetPhase1(v Phase1Status)
- func (o *TunnelStatus) SetPhase2(v Phase2Status)
- func (o TunnelStatus) ToMap() (map[string]interface{}, error)
- func (o *TunnelStatus) UnmarshalJSON(data []byte) (err error)
- type TunnelStatusName
- type UpdateGatewayConnectionPayload
- func (o *UpdateGatewayConnectionPayload) GetDisplayName() string
- func (o *UpdateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)
- func (o *UpdateGatewayConnectionPayload) GetEnabled() bool
- func (o *UpdateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)
- func (o *UpdateGatewayConnectionPayload) GetLabels() map[string]string
- func (o *UpdateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateGatewayConnectionPayload) GetLocalSubnets() []string
- func (o *UpdateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)
- func (o *UpdateGatewayConnectionPayload) GetRemoteSubnets() []string
- func (o *UpdateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)
- func (o *UpdateGatewayConnectionPayload) GetStaticRoutes() []string
- func (o *UpdateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)
- func (o *UpdateGatewayConnectionPayload) GetTunnel1() TunnelConfiguration
- func (o *UpdateGatewayConnectionPayload) GetTunnel1Ok() (*TunnelConfiguration, bool)
- func (o *UpdateGatewayConnectionPayload) GetTunnel2() TunnelConfiguration
- func (o *UpdateGatewayConnectionPayload) GetTunnel2Ok() (*TunnelConfiguration, bool)
- func (o *UpdateGatewayConnectionPayload) HasEnabled() bool
- func (o *UpdateGatewayConnectionPayload) HasLabels() bool
- func (o *UpdateGatewayConnectionPayload) HasLocalSubnets() bool
- func (o *UpdateGatewayConnectionPayload) HasRemoteSubnets() bool
- func (o *UpdateGatewayConnectionPayload) HasStaticRoutes() bool
- func (o UpdateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateGatewayConnectionPayload) SetDisplayName(v string)
- func (o *UpdateGatewayConnectionPayload) SetEnabled(v bool)
- func (o *UpdateGatewayConnectionPayload) SetLabels(v map[string]string)
- func (o *UpdateGatewayConnectionPayload) SetLocalSubnets(v []string)
- func (o *UpdateGatewayConnectionPayload) SetRemoteSubnets(v []string)
- func (o *UpdateGatewayConnectionPayload) SetStaticRoutes(v []string)
- func (o *UpdateGatewayConnectionPayload) SetTunnel1(v TunnelConfiguration)
- func (o *UpdateGatewayConnectionPayload) SetTunnel2(v TunnelConfiguration)
- func (o UpdateGatewayConnectionPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateGatewayConnectionPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateGatewayPayload
- func (o *UpdateGatewayPayload) GetAvailabilityZones() UpdateGatewayPayloadAvailabilityZones
- func (o *UpdateGatewayPayload) GetAvailabilityZonesOk() (*UpdateGatewayPayloadAvailabilityZones, bool)
- func (o *UpdateGatewayPayload) GetBgp() BGPGatewayConfig
- func (o *UpdateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *UpdateGatewayPayload) GetDisplayName() string
- func (o *UpdateGatewayPayload) GetDisplayNameOk() (*string, bool)
- func (o *UpdateGatewayPayload) GetLabels() map[string]string
- func (o *UpdateGatewayPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateGatewayPayload) GetPlanId() string
- func (o *UpdateGatewayPayload) GetPlanIdOk() (*string, bool)
- func (o *UpdateGatewayPayload) GetRoutingType() RoutingType
- func (o *UpdateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *UpdateGatewayPayload) HasBgp() bool
- func (o *UpdateGatewayPayload) HasLabels() bool
- func (o UpdateGatewayPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateGatewayPayload) SetAvailabilityZones(v UpdateGatewayPayloadAvailabilityZones)
- func (o *UpdateGatewayPayload) SetBgp(v BGPGatewayConfig)
- func (o *UpdateGatewayPayload) SetDisplayName(v string)
- func (o *UpdateGatewayPayload) SetLabels(v map[string]string)
- func (o *UpdateGatewayPayload) SetPlanId(v string)
- func (o *UpdateGatewayPayload) SetRoutingType(v RoutingType)
- func (o UpdateGatewayPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateGatewayPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateGatewayPayloadAvailabilityZones
- func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel1() string
- func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
- func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel2() string
- func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
- func (o UpdateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (o *UpdateGatewayPayloadAvailabilityZones) SetTunnel1(v string)
- func (o *UpdateGatewayPayloadAvailabilityZones) SetTunnel2(v string)
- func (o UpdateGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
- func (o *UpdateGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
- type VPNTunnels
- func (o *VPNTunnels) GetBgpStatus() BGPStatus
- func (o *VPNTunnels) GetBgpStatusOk() (*BGPStatus, bool)
- func (o *VPNTunnels) GetInstanceState() GatewayStatus
- func (o *VPNTunnels) GetInstanceStateOk() (*GatewayStatus, bool)
- func (o *VPNTunnels) GetInternalNextHopIP() string
- func (o *VPNTunnels) GetInternalNextHopIPOk() (*string, bool)
- func (o *VPNTunnels) GetName() VPNTunnelsName
- func (o *VPNTunnels) GetNameOk() (*VPNTunnelsName, bool)
- func (o *VPNTunnels) GetPublicIP() string
- func (o *VPNTunnels) GetPublicIPOk() (*string, bool)
- func (o *VPNTunnels) HasBgpStatus() bool
- func (o *VPNTunnels) HasInstanceState() bool
- func (o *VPNTunnels) HasInternalNextHopIP() bool
- func (o *VPNTunnels) HasName() bool
- func (o *VPNTunnels) HasPublicIP() bool
- func (o VPNTunnels) MarshalJSON() ([]byte, error)
- func (o *VPNTunnels) SetBgpStatus(v BGPStatus)
- func (o *VPNTunnels) SetBgpStatusNil()
- func (o *VPNTunnels) SetInstanceState(v GatewayStatus)
- func (o *VPNTunnels) SetInternalNextHopIP(v string)
- func (o *VPNTunnels) SetName(v VPNTunnelsName)
- func (o *VPNTunnels) SetPublicIP(v string)
- func (o VPNTunnels) ToMap() (map[string]interface{}, error)
- func (o *VPNTunnels) UnmarshalJSON(data []byte) (err error)
- func (o *VPNTunnels) UnsetBgpStatus()
- type VPNTunnelsName
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedAPIErrorDetailReasonEnumValues = []APIErrorDetailReason{
"INVALID_FIELD",
"INVALID_PATH_PARAMETER",
"unknown_default_open_api",
}
All allowed values of APIErrorDetailReason enum
var AllowedGatewayStatusEnumValues = []GatewayStatus{
"PENDING",
"READY",
"ERROR",
"DELETING",
"unknown_default_open_api",
}
All allowed values of GatewayStatus enum
var AllowedPhaseDhGroupsInnerEnumValues = []PhaseDhGroupsInner{
"modp1024",
"modp2048",
"ecp256",
"ecp384",
"modp2048s256",
"unknown_default_open_api",
}
All allowed values of PhaseDhGroupsInner enum
var AllowedPhaseEncryptionAlgorithmsInnerEnumValues = []PhaseEncryptionAlgorithmsInner{
"aes256",
"aes128gcm16",
"aes256gcm16",
"unknown_default_open_api",
}
All allowed values of PhaseEncryptionAlgorithmsInner enum
var AllowedPhaseIntegrityAlgorithmsInnerEnumValues = []PhaseIntegrityAlgorithmsInner{
"sha1",
"sha2_256",
"sha2_384",
"unknown_default_open_api",
}
All allowed values of PhaseIntegrityAlgorithmsInner enum
var AllowedRegionEnumValues = []Region{
"eu01",
"eu02",
"unknown_default_open_api",
}
All allowed values of Region enum
var AllowedRoutingTypeEnumValues = []RoutingType{
"POLICY_BASED",
"ROUTE_BASED",
"BGP_ROUTE_BASED",
"unknown_default_open_api",
}
All allowed values of RoutingType enum
var AllowedTunnelConfigurationPhase2AllOfDpdActionEnumValues = []TunnelConfigurationPhase2AllOfDpdAction{
"clear",
"restart",
"unknown_default_open_api",
}
All allowed values of TunnelConfigurationPhase2AllOfDpdAction enum
var AllowedTunnelConfigurationPhase2AllOfStartActionEnumValues = []TunnelConfigurationPhase2AllOfStartAction{
"none",
"start",
"unknown_default_open_api",
}
All allowed values of TunnelConfigurationPhase2AllOfStartAction enum
var AllowedTunnelStatusNameEnumValues = []TunnelStatusName{
"tunnel1",
"tunnel2",
"unknown_default_open_api",
}
All allowed values of TunnelStatusName enum
var AllowedVPNTunnelsNameEnumValues = []VPNTunnelsName{
"tunnel1",
"tunnel2",
"unknown_default_open_api",
}
All allowed values of VPNTunnelsName enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT VPN API API v1beta1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 APIError ¶
type APIError struct {
// The HTTP status code.
Code int32 `json:"code"`
// Can contain more details on the error.
Details []APIErrorDetail `json:"details,omitempty"`
// A message describing the error.
Message string `json:"message"`
// The HTTP status code text.
Status string `json:"status"`
AdditionalProperties map[string]interface{}
}
APIError struct for APIError
func NewAPIError ¶
NewAPIError instantiates a new APIError 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 NewAPIErrorWithDefaults ¶
func NewAPIErrorWithDefaults() *APIError
NewAPIErrorWithDefaults instantiates a new APIError 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 (*APIError) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*APIError) GetDetails ¶
func (o *APIError) GetDetails() []APIErrorDetail
GetDetails returns the Details field value if set, zero value otherwise.
func (*APIError) GetDetailsOk ¶
func (o *APIError) GetDetailsOk() ([]APIErrorDetail, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIError) GetMessage ¶
GetMessage returns the Message field value
func (*APIError) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*APIError) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*APIError) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (APIError) MarshalJSON ¶
func (*APIError) SetDetails ¶
func (o *APIError) SetDetails(v []APIErrorDetail)
SetDetails gets a reference to the given []APIErrorDetail and assigns it to the Details field.
func (*APIError) UnmarshalJSON ¶
type APIErrorDetail ¶
type APIErrorDetail struct {
// The domain of the error source.
Domain string `json:"domain"`
// Metadata contains more information. For bad requests this would be field information.
Metadata map[string]interface{} `json:"metadata,omitempty"`
Reason APIErrorDetailReason `json:"reason"`
AdditionalProperties map[string]interface{}
}
APIErrorDetail struct for APIErrorDetail
func NewAPIErrorDetail ¶
func NewAPIErrorDetail(domain string, reason APIErrorDetailReason) *APIErrorDetail
NewAPIErrorDetail instantiates a new APIErrorDetail 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 NewAPIErrorDetailWithDefaults ¶
func NewAPIErrorDetailWithDefaults() *APIErrorDetail
NewAPIErrorDetailWithDefaults instantiates a new APIErrorDetail 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 (*APIErrorDetail) GetDomain ¶
func (o *APIErrorDetail) GetDomain() string
GetDomain returns the Domain field value
func (*APIErrorDetail) GetDomainOk ¶
func (o *APIErrorDetail) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.
func (*APIErrorDetail) GetMetadata ¶
func (o *APIErrorDetail) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*APIErrorDetail) GetMetadataOk ¶
func (o *APIErrorDetail) 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 (*APIErrorDetail) GetReason ¶
func (o *APIErrorDetail) GetReason() APIErrorDetailReason
GetReason returns the Reason field value
func (*APIErrorDetail) GetReasonOk ¶
func (o *APIErrorDetail) GetReasonOk() (*APIErrorDetailReason, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*APIErrorDetail) HasMetadata ¶
func (o *APIErrorDetail) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (APIErrorDetail) MarshalJSON ¶
func (o APIErrorDetail) MarshalJSON() ([]byte, error)
func (*APIErrorDetail) SetDomain ¶
func (o *APIErrorDetail) SetDomain(v string)
SetDomain sets field value
func (*APIErrorDetail) SetMetadata ¶
func (o *APIErrorDetail) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*APIErrorDetail) SetReason ¶
func (o *APIErrorDetail) SetReason(v APIErrorDetailReason)
SetReason sets field value
func (APIErrorDetail) ToMap ¶
func (o APIErrorDetail) ToMap() (map[string]interface{}, error)
func (*APIErrorDetail) UnmarshalJSON ¶
func (o *APIErrorDetail) UnmarshalJSON(data []byte) (err error)
type APIErrorDetailReason ¶ added in v0.12.0
type APIErrorDetailReason string
APIErrorDetailReason The reason why the error occurs.
const ( APIERRORDETAILREASON_INVALID_FIELD APIErrorDetailReason = "INVALID_FIELD" APIERRORDETAILREASON_INVALID_PATH_PARAMETER APIErrorDetailReason = "INVALID_PATH_PARAMETER" APIERRORDETAILREASON_UNKNOWN_DEFAULT_OPEN_API APIErrorDetailReason = "unknown_default_open_api" )
List of APIErrorDetail_reason
func NewAPIErrorDetailReasonFromValue ¶ added in v0.12.0
func NewAPIErrorDetailReasonFromValue(v string) (*APIErrorDetailReason, error)
NewAPIErrorDetailReasonFromValue returns a pointer to a valid APIErrorDetailReason for the value passed as argument, or an error if the value passed is not allowed by the enum
func (APIErrorDetailReason) IsValid ¶ added in v0.12.0
func (v APIErrorDetailReason) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (APIErrorDetailReason) Ptr ¶ added in v0.12.0
func (v APIErrorDetailReason) Ptr() *APIErrorDetailReason
Ptr returns reference to APIErrorDetail_reason value
func (*APIErrorDetailReason) UnmarshalJSON ¶ added in v0.12.0
func (v *APIErrorDetailReason) UnmarshalJSON(src []byte) error
type APIErrorResponse ¶
type APIErrorResponse struct {
Error APIError `json:"error"`
AdditionalProperties map[string]interface{}
}
APIErrorResponse struct for APIErrorResponse
func NewAPIErrorResponse ¶
func NewAPIErrorResponse(error_ APIError) *APIErrorResponse
NewAPIErrorResponse instantiates a new APIErrorResponse 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 NewAPIErrorResponseWithDefaults ¶
func NewAPIErrorResponseWithDefaults() *APIErrorResponse
NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse 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 (*APIErrorResponse) GetError ¶
func (o *APIErrorResponse) GetError() APIError
GetError returns the Error field value
func (*APIErrorResponse) GetErrorOk ¶
func (o *APIErrorResponse) GetErrorOk() (*APIError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (APIErrorResponse) MarshalJSON ¶
func (o APIErrorResponse) MarshalJSON() ([]byte, error)
func (*APIErrorResponse) SetError ¶
func (o *APIErrorResponse) SetError(v APIError)
SetError sets field value
func (APIErrorResponse) ToMap ¶
func (o APIErrorResponse) ToMap() (map[string]interface{}, error)
func (*APIErrorResponse) UnmarshalJSON ¶
func (o *APIErrorResponse) UnmarshalJSON(data []byte) (err error)
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateGatewayConnectionRequest ¶
type ApiCreateGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateGatewayConnectionRequest) CreateGatewayConnectionPayload ¶
func (r ApiCreateGatewayConnectionRequest) CreateGatewayConnectionPayload(createGatewayConnectionPayload CreateGatewayConnectionPayload) ApiCreateGatewayConnectionRequest
func (ApiCreateGatewayConnectionRequest) Execute ¶
func (r ApiCreateGatewayConnectionRequest) Execute() (*ConnectionResponse, error)
type ApiCreateGatewayRequest ¶ added in v0.7.0
type ApiCreateGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateGatewayRequest) CreateGatewayPayload ¶ added in v0.7.0
func (r ApiCreateGatewayRequest) CreateGatewayPayload(createGatewayPayload CreateGatewayPayload) ApiCreateGatewayRequest
func (ApiCreateGatewayRequest) Execute ¶ added in v0.7.0
func (r ApiCreateGatewayRequest) Execute() (*GatewayResponse, error)
type ApiDeleteGatewayConnectionRequest ¶
type ApiDeleteGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteGatewayConnectionRequest) Execute ¶
func (r ApiDeleteGatewayConnectionRequest) Execute() error
type ApiDeleteGatewayRequest ¶ added in v0.7.0
type ApiDeleteGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteGatewayRequest) Execute ¶ added in v0.7.0
func (r ApiDeleteGatewayRequest) Execute() error
type ApiGetGatewayConnectionRequest ¶
type ApiGetGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayConnectionRequest) Execute ¶
func (r ApiGetGatewayConnectionRequest) Execute() (*ConnectionResponse, error)
type ApiGetGatewayConnectionStatusRequest ¶
type ApiGetGatewayConnectionStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayConnectionStatusRequest) Execute ¶
func (r ApiGetGatewayConnectionStatusRequest) Execute() (*ConnectionStatusResponse, error)
type ApiGetGatewayRequest ¶ added in v0.7.0
type ApiGetGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayRequest) Execute ¶ added in v0.7.0
func (r ApiGetGatewayRequest) Execute() (*GatewayResponse, error)
type ApiGetGatewayStatusRequest ¶ added in v0.7.0
type ApiGetGatewayStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayStatusRequest) Execute ¶ added in v0.7.0
func (r ApiGetGatewayStatusRequest) Execute() (*GatewayStatusResponse, error)
type ApiListGatewayConnectionsRequest ¶
type ApiListGatewayConnectionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListGatewayConnectionsRequest) Execute ¶
func (r ApiListGatewayConnectionsRequest) Execute() (*ConnectionList, error)
func (ApiListGatewayConnectionsRequest) LabelSelector ¶
func (r ApiListGatewayConnectionsRequest) LabelSelector(labelSelector map[string]string) ApiListGatewayConnectionsRequest
Filter resources by labels.
type ApiListGatewaysRequest ¶ added in v0.7.0
type ApiListGatewaysRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListGatewaysRequest) Execute ¶ added in v0.7.0
func (r ApiListGatewaysRequest) Execute() (*GatewayList, error)
func (ApiListGatewaysRequest) LabelSelector ¶ added in v0.7.0
func (r ApiListGatewaysRequest) LabelSelector(labelSelector map[string]string) ApiListGatewaysRequest
Filter resources by labels.
type ApiListPlansRequest ¶
type ApiListPlansRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPlansRequest) Execute ¶
func (r ApiListPlansRequest) Execute() (*PlanList, error)
type ApiListQuotasRequest ¶
type ApiListQuotasRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListQuotasRequest) Execute ¶
func (r ApiListQuotasRequest) Execute() (*QuotaListResponse, error)
type ApiUpdateGatewayConnectionRequest ¶
type ApiUpdateGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateGatewayConnectionRequest) Execute ¶
func (r ApiUpdateGatewayConnectionRequest) Execute() (*ConnectionResponse, error)
func (ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload ¶
func (r ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload(updateGatewayConnectionPayload UpdateGatewayConnectionPayload) ApiUpdateGatewayConnectionRequest
type ApiUpdateGatewayRequest ¶ added in v0.7.0
type ApiUpdateGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateGatewayRequest) Execute ¶ added in v0.7.0
func (r ApiUpdateGatewayRequest) Execute() (*GatewayResponse, error)
func (ApiUpdateGatewayRequest) UpdateGatewayPayload ¶ added in v0.7.0
func (r ApiUpdateGatewayRequest) UpdateGatewayPayload(updateGatewayPayload UpdateGatewayPayload) ApiUpdateGatewayRequest
type BGPGatewayConfig ¶
type BGPGatewayConfig struct {
// ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996).
LocalAsn int64 `json:"localAsn"`
// A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised.
OverrideAdvertisedRoutes []string `json:"overrideAdvertisedRoutes,omitempty"`
AdditionalProperties map[string]interface{}
}
BGPGatewayConfig BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED)
func NewBGPGatewayConfig ¶
func NewBGPGatewayConfig(localAsn int64) *BGPGatewayConfig
NewBGPGatewayConfig instantiates a new BGPGatewayConfig 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 NewBGPGatewayConfigWithDefaults ¶
func NewBGPGatewayConfigWithDefaults() *BGPGatewayConfig
NewBGPGatewayConfigWithDefaults instantiates a new BGPGatewayConfig 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 (*BGPGatewayConfig) GetLocalAsn ¶
func (o *BGPGatewayConfig) GetLocalAsn() int64
GetLocalAsn returns the LocalAsn field value
func (*BGPGatewayConfig) GetLocalAsnOk ¶
func (o *BGPGatewayConfig) GetLocalAsnOk() (*int64, bool)
GetLocalAsnOk returns a tuple with the LocalAsn field value and a boolean to check if the value has been set.
func (*BGPGatewayConfig) GetOverrideAdvertisedRoutes ¶
func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutes() []string
GetOverrideAdvertisedRoutes returns the OverrideAdvertisedRoutes field value if set, zero value otherwise.
func (*BGPGatewayConfig) GetOverrideAdvertisedRoutesOk ¶
func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutesOk() ([]string, bool)
GetOverrideAdvertisedRoutesOk returns a tuple with the OverrideAdvertisedRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BGPGatewayConfig) HasOverrideAdvertisedRoutes ¶
func (o *BGPGatewayConfig) HasOverrideAdvertisedRoutes() bool
HasOverrideAdvertisedRoutes returns a boolean if a field has been set.
func (BGPGatewayConfig) MarshalJSON ¶
func (o BGPGatewayConfig) MarshalJSON() ([]byte, error)
func (*BGPGatewayConfig) SetLocalAsn ¶
func (o *BGPGatewayConfig) SetLocalAsn(v int64)
SetLocalAsn sets field value
func (*BGPGatewayConfig) SetOverrideAdvertisedRoutes ¶
func (o *BGPGatewayConfig) SetOverrideAdvertisedRoutes(v []string)
SetOverrideAdvertisedRoutes gets a reference to the given []string and assigns it to the OverrideAdvertisedRoutes field.
func (BGPGatewayConfig) ToMap ¶
func (o BGPGatewayConfig) ToMap() (map[string]interface{}, error)
func (*BGPGatewayConfig) UnmarshalJSON ¶
func (o *BGPGatewayConfig) UnmarshalJSON(data []byte) (err error)
type BGPStatus ¶
type BGPStatus struct {
Peers []BGPStatusPeers `json:"peers,omitempty"`
Routes []BGPStatusRoutes `json:"routes,omitempty"`
AdditionalProperties map[string]interface{}
}
BGPStatus struct for BGPStatus
func NewBGPStatus ¶
func NewBGPStatus() *BGPStatus
NewBGPStatus instantiates a new BGPStatus 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 NewBGPStatusWithDefaults ¶
func NewBGPStatusWithDefaults() *BGPStatus
NewBGPStatusWithDefaults instantiates a new BGPStatus 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 (*BGPStatus) GetPeers ¶
func (o *BGPStatus) GetPeers() []BGPStatusPeers
GetPeers returns the Peers field value if set, zero value otherwise.
func (*BGPStatus) GetPeersOk ¶
func (o *BGPStatus) GetPeersOk() ([]BGPStatusPeers, bool)
GetPeersOk returns a tuple with the Peers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BGPStatus) GetRoutes ¶
func (o *BGPStatus) GetRoutes() []BGPStatusRoutes
GetRoutes returns the Routes field value if set, zero value otherwise.
func (*BGPStatus) GetRoutesOk ¶
func (o *BGPStatus) GetRoutesOk() ([]BGPStatusRoutes, bool)
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (BGPStatus) MarshalJSON ¶
func (*BGPStatus) SetPeers ¶
func (o *BGPStatus) SetPeers(v []BGPStatusPeers)
SetPeers gets a reference to the given []BGPStatusPeers and assigns it to the Peers field.
func (*BGPStatus) SetRoutes ¶
func (o *BGPStatus) SetRoutes(v []BGPStatusRoutes)
SetRoutes gets a reference to the given []BGPStatusRoutes and assigns it to the Routes field.
func (*BGPStatus) UnmarshalJSON ¶
type BGPStatusPeers ¶
type BGPStatusPeers struct {
// The ASN of the local STACKIT gateway.
LocalAs int64 `json:"localAs"`
// Duration the session has been established
PeerUptime string `json:"peerUptime"`
// Count of prefixes received from the neighbor.
PfxRcd int32 `json:"pfxRcd"`
// Count of prefixes advertised to the neighbor.
PfxSnt int32 `json:"pfxSnt"`
// The ASN of the remote neighbor.
RemoteAs int64 `json:"remoteAs"`
// The IP address of the remote BGP neighbor.
RemoteIP string `json:"remoteIP"`
// The current BGP session state.
State string `json:"state"`
AdditionalProperties map[string]interface{}
}
BGPStatusPeers struct for BGPStatusPeers
func NewBGPStatusPeers ¶
func NewBGPStatusPeers(localAs int64, peerUptime string, pfxRcd int32, pfxSnt int32, remoteAs int64, remoteIP string, state string) *BGPStatusPeers
NewBGPStatusPeers instantiates a new BGPStatusPeers 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 NewBGPStatusPeersWithDefaults ¶
func NewBGPStatusPeersWithDefaults() *BGPStatusPeers
NewBGPStatusPeersWithDefaults instantiates a new BGPStatusPeers 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 (*BGPStatusPeers) GetLocalAs ¶
func (o *BGPStatusPeers) GetLocalAs() int64
GetLocalAs returns the LocalAs field value
func (*BGPStatusPeers) GetLocalAsOk ¶
func (o *BGPStatusPeers) GetLocalAsOk() (*int64, bool)
GetLocalAsOk returns a tuple with the LocalAs field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetPeerUptime ¶
func (o *BGPStatusPeers) GetPeerUptime() string
GetPeerUptime returns the PeerUptime field value
func (*BGPStatusPeers) GetPeerUptimeOk ¶
func (o *BGPStatusPeers) GetPeerUptimeOk() (*string, bool)
GetPeerUptimeOk returns a tuple with the PeerUptime field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetPfxRcd ¶
func (o *BGPStatusPeers) GetPfxRcd() int32
GetPfxRcd returns the PfxRcd field value
func (*BGPStatusPeers) GetPfxRcdOk ¶
func (o *BGPStatusPeers) GetPfxRcdOk() (*int32, bool)
GetPfxRcdOk returns a tuple with the PfxRcd field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetPfxSnt ¶
func (o *BGPStatusPeers) GetPfxSnt() int32
GetPfxSnt returns the PfxSnt field value
func (*BGPStatusPeers) GetPfxSntOk ¶
func (o *BGPStatusPeers) GetPfxSntOk() (*int32, bool)
GetPfxSntOk returns a tuple with the PfxSnt field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetRemoteAs ¶
func (o *BGPStatusPeers) GetRemoteAs() int64
GetRemoteAs returns the RemoteAs field value
func (*BGPStatusPeers) GetRemoteAsOk ¶
func (o *BGPStatusPeers) GetRemoteAsOk() (*int64, bool)
GetRemoteAsOk returns a tuple with the RemoteAs field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetRemoteIP ¶
func (o *BGPStatusPeers) GetRemoteIP() string
GetRemoteIP returns the RemoteIP field value
func (*BGPStatusPeers) GetRemoteIPOk ¶
func (o *BGPStatusPeers) GetRemoteIPOk() (*string, bool)
GetRemoteIPOk returns a tuple with the RemoteIP field value and a boolean to check if the value has been set.
func (*BGPStatusPeers) GetState ¶
func (o *BGPStatusPeers) GetState() string
GetState returns the State field value
func (*BGPStatusPeers) GetStateOk ¶
func (o *BGPStatusPeers) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (BGPStatusPeers) MarshalJSON ¶
func (o BGPStatusPeers) MarshalJSON() ([]byte, error)
func (*BGPStatusPeers) SetLocalAs ¶
func (o *BGPStatusPeers) SetLocalAs(v int64)
SetLocalAs sets field value
func (*BGPStatusPeers) SetPeerUptime ¶
func (o *BGPStatusPeers) SetPeerUptime(v string)
SetPeerUptime sets field value
func (*BGPStatusPeers) SetPfxRcd ¶
func (o *BGPStatusPeers) SetPfxRcd(v int32)
SetPfxRcd sets field value
func (*BGPStatusPeers) SetPfxSnt ¶
func (o *BGPStatusPeers) SetPfxSnt(v int32)
SetPfxSnt sets field value
func (*BGPStatusPeers) SetRemoteAs ¶
func (o *BGPStatusPeers) SetRemoteAs(v int64)
SetRemoteAs sets field value
func (*BGPStatusPeers) SetRemoteIP ¶
func (o *BGPStatusPeers) SetRemoteIP(v string)
SetRemoteIP sets field value
func (*BGPStatusPeers) SetState ¶
func (o *BGPStatusPeers) SetState(v string)
SetState sets field value
func (BGPStatusPeers) ToMap ¶
func (o BGPStatusPeers) ToMap() (map[string]interface{}, error)
func (*BGPStatusPeers) UnmarshalJSON ¶
func (o *BGPStatusPeers) UnmarshalJSON(data []byte) (err error)
type BGPStatusRoutes ¶
type BGPStatusRoutes struct {
// The destination network
Network string `json:"network"`
Origin string `json:"origin"`
// The AS-PATH
Path string `json:"path"`
// BGP Router ID of the neighbor that advertised this route
PeerId string `json:"peerId"`
Weight int32 `json:"weight"`
AdditionalProperties map[string]interface{}
}
BGPStatusRoutes struct for BGPStatusRoutes
func NewBGPStatusRoutes ¶
func NewBGPStatusRoutes(network string, origin string, path string, peerId string, weight int32) *BGPStatusRoutes
NewBGPStatusRoutes instantiates a new BGPStatusRoutes 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 NewBGPStatusRoutesWithDefaults ¶
func NewBGPStatusRoutesWithDefaults() *BGPStatusRoutes
NewBGPStatusRoutesWithDefaults instantiates a new BGPStatusRoutes 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 (*BGPStatusRoutes) GetNetwork ¶
func (o *BGPStatusRoutes) GetNetwork() string
GetNetwork returns the Network field value
func (*BGPStatusRoutes) GetNetworkOk ¶
func (o *BGPStatusRoutes) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*BGPStatusRoutes) GetOrigin ¶
func (o *BGPStatusRoutes) GetOrigin() string
GetOrigin returns the Origin field value
func (*BGPStatusRoutes) GetOriginOk ¶
func (o *BGPStatusRoutes) GetOriginOk() (*string, bool)
GetOriginOk returns a tuple with the Origin field value and a boolean to check if the value has been set.
func (*BGPStatusRoutes) GetPath ¶
func (o *BGPStatusRoutes) GetPath() string
GetPath returns the Path field value
func (*BGPStatusRoutes) GetPathOk ¶
func (o *BGPStatusRoutes) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*BGPStatusRoutes) GetPeerId ¶
func (o *BGPStatusRoutes) GetPeerId() string
GetPeerId returns the PeerId field value
func (*BGPStatusRoutes) GetPeerIdOk ¶
func (o *BGPStatusRoutes) GetPeerIdOk() (*string, bool)
GetPeerIdOk returns a tuple with the PeerId field value and a boolean to check if the value has been set.
func (*BGPStatusRoutes) GetWeight ¶
func (o *BGPStatusRoutes) GetWeight() int32
GetWeight returns the Weight field value
func (*BGPStatusRoutes) GetWeightOk ¶
func (o *BGPStatusRoutes) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (BGPStatusRoutes) MarshalJSON ¶
func (o BGPStatusRoutes) MarshalJSON() ([]byte, error)
func (*BGPStatusRoutes) SetNetwork ¶
func (o *BGPStatusRoutes) SetNetwork(v string)
SetNetwork sets field value
func (*BGPStatusRoutes) SetOrigin ¶
func (o *BGPStatusRoutes) SetOrigin(v string)
SetOrigin sets field value
func (*BGPStatusRoutes) SetPath ¶
func (o *BGPStatusRoutes) SetPath(v string)
SetPath sets field value
func (*BGPStatusRoutes) SetPeerId ¶
func (o *BGPStatusRoutes) SetPeerId(v string)
SetPeerId sets field value
func (*BGPStatusRoutes) SetWeight ¶
func (o *BGPStatusRoutes) SetWeight(v int32)
SetWeight sets field value
func (BGPStatusRoutes) ToMap ¶
func (o BGPStatusRoutes) ToMap() (map[string]interface{}, error)
func (*BGPStatusRoutes) UnmarshalJSON ¶
func (o *BGPStatusRoutes) UnmarshalJSON(data []byte) (err error)
type BGPTunnelConfig ¶
type BGPTunnelConfig struct {
// ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996).
RemoteAsn int64 `json:"remoteAsn"`
AdditionalProperties map[string]interface{}
}
BGPTunnelConfig struct for BGPTunnelConfig
func NewBGPTunnelConfig ¶
func NewBGPTunnelConfig(remoteAsn int64) *BGPTunnelConfig
NewBGPTunnelConfig instantiates a new BGPTunnelConfig 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 NewBGPTunnelConfigWithDefaults ¶
func NewBGPTunnelConfigWithDefaults() *BGPTunnelConfig
NewBGPTunnelConfigWithDefaults instantiates a new BGPTunnelConfig 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 (*BGPTunnelConfig) GetRemoteAsn ¶
func (o *BGPTunnelConfig) GetRemoteAsn() int64
GetRemoteAsn returns the RemoteAsn field value
func (*BGPTunnelConfig) GetRemoteAsnOk ¶
func (o *BGPTunnelConfig) GetRemoteAsnOk() (*int64, bool)
GetRemoteAsnOk returns a tuple with the RemoteAsn field value and a boolean to check if the value has been set.
func (BGPTunnelConfig) MarshalJSON ¶
func (o BGPTunnelConfig) MarshalJSON() ([]byte, error)
func (*BGPTunnelConfig) SetRemoteAsn ¶
func (o *BGPTunnelConfig) SetRemoteAsn(v int64)
SetRemoteAsn sets field value
func (BGPTunnelConfig) ToMap ¶
func (o BGPTunnelConfig) ToMap() (map[string]interface{}, error)
func (*BGPTunnelConfig) UnmarshalJSON ¶
func (o *BGPTunnelConfig) UnmarshalJSON(data []byte) (err error)
type ConnectionList ¶
type ConnectionList struct {
Connections []ConnectionResponse `json:"connections"`
AdditionalProperties map[string]interface{}
}
ConnectionList struct for ConnectionList
func NewConnectionList ¶
func NewConnectionList(connections []ConnectionResponse) *ConnectionList
NewConnectionList instantiates a new ConnectionList 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 NewConnectionListWithDefaults ¶
func NewConnectionListWithDefaults() *ConnectionList
NewConnectionListWithDefaults instantiates a new ConnectionList 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 (*ConnectionList) GetConnections ¶
func (o *ConnectionList) GetConnections() []ConnectionResponse
GetConnections returns the Connections field value
func (*ConnectionList) GetConnectionsOk ¶
func (o *ConnectionList) GetConnectionsOk() ([]ConnectionResponse, bool)
GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set.
func (ConnectionList) MarshalJSON ¶
func (o ConnectionList) MarshalJSON() ([]byte, error)
func (*ConnectionList) SetConnections ¶
func (o *ConnectionList) SetConnections(v []ConnectionResponse)
SetConnections sets field value
func (ConnectionList) ToMap ¶
func (o ConnectionList) ToMap() (map[string]interface{}, error)
func (*ConnectionList) UnmarshalJSON ¶
func (o *ConnectionList) UnmarshalJSON(data []byte) (err error)
type ConnectionResponse ¶
type ConnectionResponse struct {
// A user-friendly name for the connection.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// This flag decides whether this connection should be enabled or disabled
Enabled *bool `json:"enabled,omitempty"`
// UUID of the Gateway instance.
Id *string `json:"id,omitempty"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
LocalSubnets []string `json:"localSubnets,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
// Optional. Use this for route-based VPN.
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
ConnectionResponse struct for ConnectionResponse
func NewConnectionResponse ¶
func NewConnectionResponse(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *ConnectionResponse
NewConnectionResponse instantiates a new ConnectionResponse 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 NewConnectionResponseWithDefaults ¶
func NewConnectionResponseWithDefaults() *ConnectionResponse
NewConnectionResponseWithDefaults instantiates a new ConnectionResponse 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 (*ConnectionResponse) GetDisplayName ¶
func (o *ConnectionResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*ConnectionResponse) GetDisplayNameOk ¶
func (o *ConnectionResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*ConnectionResponse) GetEnabled ¶
func (o *ConnectionResponse) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ConnectionResponse) GetEnabledOk ¶
func (o *ConnectionResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetId ¶
func (o *ConnectionResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ConnectionResponse) GetIdOk ¶
func (o *ConnectionResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetLabels ¶
func (o *ConnectionResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ConnectionResponse) GetLabelsOk ¶
func (o *ConnectionResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetLocalSubnets ¶
func (o *ConnectionResponse) GetLocalSubnets() []string
GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.
func (*ConnectionResponse) GetLocalSubnetsOk ¶
func (o *ConnectionResponse) GetLocalSubnetsOk() ([]string, bool)
GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetRemoteSubnets ¶
func (o *ConnectionResponse) GetRemoteSubnets() []string
GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.
func (*ConnectionResponse) GetRemoteSubnetsOk ¶
func (o *ConnectionResponse) GetRemoteSubnetsOk() ([]string, bool)
GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetStaticRoutes ¶
func (o *ConnectionResponse) GetStaticRoutes() []string
GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.
func (*ConnectionResponse) GetStaticRoutesOk ¶
func (o *ConnectionResponse) GetStaticRoutesOk() ([]string, bool)
GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionResponse) GetTunnel1 ¶
func (o *ConnectionResponse) GetTunnel1() TunnelConfiguration
GetTunnel1 returns the Tunnel1 field value
func (*ConnectionResponse) GetTunnel1Ok ¶
func (o *ConnectionResponse) GetTunnel1Ok() (*TunnelConfiguration, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*ConnectionResponse) GetTunnel2 ¶
func (o *ConnectionResponse) GetTunnel2() TunnelConfiguration
GetTunnel2 returns the Tunnel2 field value
func (*ConnectionResponse) GetTunnel2Ok ¶
func (o *ConnectionResponse) GetTunnel2Ok() (*TunnelConfiguration, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (*ConnectionResponse) HasEnabled ¶
func (o *ConnectionResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*ConnectionResponse) HasId ¶
func (o *ConnectionResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ConnectionResponse) HasLabels ¶
func (o *ConnectionResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ConnectionResponse) HasLocalSubnets ¶
func (o *ConnectionResponse) HasLocalSubnets() bool
HasLocalSubnets returns a boolean if a field has been set.
func (*ConnectionResponse) HasRemoteSubnets ¶
func (o *ConnectionResponse) HasRemoteSubnets() bool
HasRemoteSubnets returns a boolean if a field has been set.
func (*ConnectionResponse) HasStaticRoutes ¶
func (o *ConnectionResponse) HasStaticRoutes() bool
HasStaticRoutes returns a boolean if a field has been set.
func (ConnectionResponse) MarshalJSON ¶
func (o ConnectionResponse) MarshalJSON() ([]byte, error)
func (*ConnectionResponse) SetDisplayName ¶
func (o *ConnectionResponse) SetDisplayName(v string)
SetDisplayName sets field value
func (*ConnectionResponse) SetEnabled ¶
func (o *ConnectionResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ConnectionResponse) SetId ¶
func (o *ConnectionResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ConnectionResponse) SetLabels ¶
func (o *ConnectionResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ConnectionResponse) SetLocalSubnets ¶
func (o *ConnectionResponse) SetLocalSubnets(v []string)
SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.
func (*ConnectionResponse) SetRemoteSubnets ¶
func (o *ConnectionResponse) SetRemoteSubnets(v []string)
SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.
func (*ConnectionResponse) SetStaticRoutes ¶
func (o *ConnectionResponse) SetStaticRoutes(v []string)
SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.
func (*ConnectionResponse) SetTunnel1 ¶
func (o *ConnectionResponse) SetTunnel1(v TunnelConfiguration)
SetTunnel1 sets field value
func (*ConnectionResponse) SetTunnel2 ¶
func (o *ConnectionResponse) SetTunnel2(v TunnelConfiguration)
SetTunnel2 sets field value
func (ConnectionResponse) ToMap ¶
func (o ConnectionResponse) ToMap() (map[string]interface{}, error)
func (*ConnectionResponse) UnmarshalJSON ¶
func (o *ConnectionResponse) UnmarshalJSON(data []byte) (err error)
type ConnectionStatusResponse ¶
type ConnectionStatusResponse struct {
// The name of the connection.
DisplayName *string `json:"displayName,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// UUID of the connection.
Id *string `json:"id,omitempty"`
Tunnels []TunnelStatus `json:"tunnels,omitempty"`
AdditionalProperties map[string]interface{}
}
ConnectionStatusResponse struct for ConnectionStatusResponse
func NewConnectionStatusResponse ¶
func NewConnectionStatusResponse() *ConnectionStatusResponse
NewConnectionStatusResponse instantiates a new ConnectionStatusResponse 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 NewConnectionStatusResponseWithDefaults ¶
func NewConnectionStatusResponseWithDefaults() *ConnectionStatusResponse
NewConnectionStatusResponseWithDefaults instantiates a new ConnectionStatusResponse 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 (*ConnectionStatusResponse) GetDisplayName ¶
func (o *ConnectionStatusResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*ConnectionStatusResponse) GetDisplayNameOk ¶
func (o *ConnectionStatusResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatusResponse) GetEnabled ¶
func (o *ConnectionStatusResponse) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ConnectionStatusResponse) GetEnabledOk ¶
func (o *ConnectionStatusResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatusResponse) GetId ¶
func (o *ConnectionStatusResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ConnectionStatusResponse) GetIdOk ¶
func (o *ConnectionStatusResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatusResponse) GetTunnels ¶
func (o *ConnectionStatusResponse) GetTunnels() []TunnelStatus
GetTunnels returns the Tunnels field value if set, zero value otherwise.
func (*ConnectionStatusResponse) GetTunnelsOk ¶
func (o *ConnectionStatusResponse) GetTunnelsOk() ([]TunnelStatus, bool)
GetTunnelsOk returns a tuple with the Tunnels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectionStatusResponse) HasDisplayName ¶
func (o *ConnectionStatusResponse) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*ConnectionStatusResponse) HasEnabled ¶
func (o *ConnectionStatusResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*ConnectionStatusResponse) HasId ¶
func (o *ConnectionStatusResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ConnectionStatusResponse) HasTunnels ¶
func (o *ConnectionStatusResponse) HasTunnels() bool
HasTunnels returns a boolean if a field has been set.
func (ConnectionStatusResponse) MarshalJSON ¶
func (o ConnectionStatusResponse) MarshalJSON() ([]byte, error)
func (*ConnectionStatusResponse) SetDisplayName ¶
func (o *ConnectionStatusResponse) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*ConnectionStatusResponse) SetEnabled ¶
func (o *ConnectionStatusResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ConnectionStatusResponse) SetId ¶
func (o *ConnectionStatusResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ConnectionStatusResponse) SetTunnels ¶
func (o *ConnectionStatusResponse) SetTunnels(v []TunnelStatus)
SetTunnels gets a reference to the given []TunnelStatus and assigns it to the Tunnels field.
func (ConnectionStatusResponse) ToMap ¶
func (o ConnectionStatusResponse) ToMap() (map[string]interface{}, error)
func (*ConnectionStatusResponse) UnmarshalJSON ¶
func (o *ConnectionStatusResponse) UnmarshalJSON(data []byte) (err error)
type CreateGatewayConnectionPayload ¶
type CreateGatewayConnectionPayload struct {
// A user-friendly name for the connection.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// This flag decides whether this connection should be enabled or disabled
Enabled *bool `json:"enabled,omitempty"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
LocalSubnets []string `json:"localSubnets,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
// Optional. Use this for route-based VPN.
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
CreateGatewayConnectionPayload struct for CreateGatewayConnectionPayload
func NewCreateGatewayConnectionPayload ¶
func NewCreateGatewayConnectionPayload(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *CreateGatewayConnectionPayload
NewCreateGatewayConnectionPayload instantiates a new CreateGatewayConnectionPayload 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 NewCreateGatewayConnectionPayloadWithDefaults ¶
func NewCreateGatewayConnectionPayloadWithDefaults() *CreateGatewayConnectionPayload
NewCreateGatewayConnectionPayloadWithDefaults instantiates a new CreateGatewayConnectionPayload 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 (*CreateGatewayConnectionPayload) GetDisplayName ¶
func (o *CreateGatewayConnectionPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*CreateGatewayConnectionPayload) GetDisplayNameOk ¶
func (o *CreateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetEnabled ¶
func (o *CreateGatewayConnectionPayload) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetEnabledOk ¶
func (o *CreateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetLabels ¶ added in v0.11.0
func (o *CreateGatewayConnectionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetLabelsOk ¶ added in v0.11.0
func (o *CreateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetLocalSubnets ¶
func (o *CreateGatewayConnectionPayload) GetLocalSubnets() []string
GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetLocalSubnetsOk ¶
func (o *CreateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)
GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetRemoteSubnets ¶
func (o *CreateGatewayConnectionPayload) GetRemoteSubnets() []string
GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetRemoteSubnetsOk ¶
func (o *CreateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)
GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetStaticRoutes ¶
func (o *CreateGatewayConnectionPayload) GetStaticRoutes() []string
GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetStaticRoutesOk ¶
func (o *CreateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)
GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetTunnel1 ¶
func (o *CreateGatewayConnectionPayload) GetTunnel1() TunnelConfiguration
GetTunnel1 returns the Tunnel1 field value
func (*CreateGatewayConnectionPayload) GetTunnel1Ok ¶
func (o *CreateGatewayConnectionPayload) GetTunnel1Ok() (*TunnelConfiguration, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) GetTunnel2 ¶
func (o *CreateGatewayConnectionPayload) GetTunnel2() TunnelConfiguration
GetTunnel2 returns the Tunnel2 field value
func (*CreateGatewayConnectionPayload) GetTunnel2Ok ¶
func (o *CreateGatewayConnectionPayload) GetTunnel2Ok() (*TunnelConfiguration, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (*CreateGatewayConnectionPayload) HasEnabled ¶
func (o *CreateGatewayConnectionPayload) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateGatewayConnectionPayload) HasLabels ¶ added in v0.11.0
func (o *CreateGatewayConnectionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateGatewayConnectionPayload) HasLocalSubnets ¶
func (o *CreateGatewayConnectionPayload) HasLocalSubnets() bool
HasLocalSubnets returns a boolean if a field has been set.
func (*CreateGatewayConnectionPayload) HasRemoteSubnets ¶
func (o *CreateGatewayConnectionPayload) HasRemoteSubnets() bool
HasRemoteSubnets returns a boolean if a field has been set.
func (*CreateGatewayConnectionPayload) HasStaticRoutes ¶
func (o *CreateGatewayConnectionPayload) HasStaticRoutes() bool
HasStaticRoutes returns a boolean if a field has been set.
func (CreateGatewayConnectionPayload) MarshalJSON ¶
func (o CreateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
func (*CreateGatewayConnectionPayload) SetDisplayName ¶
func (o *CreateGatewayConnectionPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateGatewayConnectionPayload) SetEnabled ¶
func (o *CreateGatewayConnectionPayload) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateGatewayConnectionPayload) SetLabels ¶ added in v0.11.0
func (o *CreateGatewayConnectionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateGatewayConnectionPayload) SetLocalSubnets ¶
func (o *CreateGatewayConnectionPayload) SetLocalSubnets(v []string)
SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.
func (*CreateGatewayConnectionPayload) SetRemoteSubnets ¶
func (o *CreateGatewayConnectionPayload) SetRemoteSubnets(v []string)
SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.
func (*CreateGatewayConnectionPayload) SetStaticRoutes ¶
func (o *CreateGatewayConnectionPayload) SetStaticRoutes(v []string)
SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.
func (*CreateGatewayConnectionPayload) SetTunnel1 ¶
func (o *CreateGatewayConnectionPayload) SetTunnel1(v TunnelConfiguration)
SetTunnel1 sets field value
func (*CreateGatewayConnectionPayload) SetTunnel2 ¶
func (o *CreateGatewayConnectionPayload) SetTunnel2(v TunnelConfiguration)
SetTunnel2 sets field value
func (CreateGatewayConnectionPayload) ToMap ¶
func (o CreateGatewayConnectionPayload) ToMap() (map[string]interface{}, error)
func (*CreateGatewayConnectionPayload) UnmarshalJSON ¶
func (o *CreateGatewayConnectionPayload) UnmarshalJSON(data []byte) (err error)
type CreateGatewayPayload ¶ added in v0.7.0
type CreateGatewayPayload struct {
AvailabilityZones CreateGatewayPayloadAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,omitempty"`
// A user-friendly name for the VPN gateway.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// The service plan identifier.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
AdditionalProperties map[string]interface{}
}
CreateGatewayPayload struct for CreateGatewayPayload
func NewCreateGatewayPayload ¶ added in v0.7.0
func NewCreateGatewayPayload(availabilityZones CreateGatewayPayloadAvailabilityZones, displayName string, planId string, routingType RoutingType) *CreateGatewayPayload
NewCreateGatewayPayload instantiates a new CreateGatewayPayload 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 NewCreateGatewayPayloadWithDefaults ¶ added in v0.7.0
func NewCreateGatewayPayloadWithDefaults() *CreateGatewayPayload
NewCreateGatewayPayloadWithDefaults instantiates a new CreateGatewayPayload 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 (*CreateGatewayPayload) GetAvailabilityZones ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetAvailabilityZones() CreateGatewayPayloadAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*CreateGatewayPayload) GetAvailabilityZonesOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetAvailabilityZonesOk() (*CreateGatewayPayloadAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*CreateGatewayPayload) GetBgp ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*CreateGatewayPayload) GetBgpOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayPayload) GetDisplayName ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*CreateGatewayPayload) GetDisplayNameOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateGatewayPayload) GetLabels ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateGatewayPayload) GetLabelsOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGatewayPayload) GetPlanId ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetPlanId() string
GetPlanId returns the PlanId field value
func (*CreateGatewayPayload) GetPlanIdOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*CreateGatewayPayload) GetRoutingType ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*CreateGatewayPayload) GetRoutingTypeOk ¶ added in v0.7.0
func (o *CreateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (*CreateGatewayPayload) HasBgp ¶ added in v0.7.0
func (o *CreateGatewayPayload) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*CreateGatewayPayload) HasLabels ¶ added in v0.7.0
func (o *CreateGatewayPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateGatewayPayload) MarshalJSON ¶ added in v0.7.0
func (o CreateGatewayPayload) MarshalJSON() ([]byte, error)
func (*CreateGatewayPayload) SetAvailabilityZones ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetAvailabilityZones(v CreateGatewayPayloadAvailabilityZones)
SetAvailabilityZones sets field value
func (*CreateGatewayPayload) SetBgp ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*CreateGatewayPayload) SetDisplayName ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateGatewayPayload) SetLabels ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateGatewayPayload) SetPlanId ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetPlanId(v string)
SetPlanId sets field value
func (*CreateGatewayPayload) SetRoutingType ¶ added in v0.7.0
func (o *CreateGatewayPayload) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (CreateGatewayPayload) ToMap ¶ added in v0.7.0
func (o CreateGatewayPayload) ToMap() (map[string]interface{}, error)
func (*CreateGatewayPayload) UnmarshalJSON ¶ added in v0.7.0
func (o *CreateGatewayPayload) UnmarshalJSON(data []byte) (err error)
type CreateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
type CreateGatewayPayloadAvailabilityZones struct {
// Object that represents an availability zone.
Tunnel1 string `json:"tunnel1"`
// Object that represents an availability zone.
Tunnel2 string `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
CreateGatewayPayloadAvailabilityZones struct for CreateGatewayPayloadAvailabilityZones
func NewCreateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
func NewCreateGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *CreateGatewayPayloadAvailabilityZones
NewCreateGatewayPayloadAvailabilityZones instantiates a new CreateGatewayPayloadAvailabilityZones 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 NewCreateGatewayPayloadAvailabilityZonesWithDefaults ¶ added in v0.7.0
func NewCreateGatewayPayloadAvailabilityZonesWithDefaults() *CreateGatewayPayloadAvailabilityZones
NewCreateGatewayPayloadAvailabilityZonesWithDefaults instantiates a new CreateGatewayPayloadAvailabilityZones 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 (*CreateGatewayPayloadAvailabilityZones) GetTunnel1 ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel1() string
GetTunnel1 returns the Tunnel1 field value
func (*CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*CreateGatewayPayloadAvailabilityZones) GetTunnel2 ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel2() string
GetTunnel2 returns the Tunnel2 field value
func (*CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (CreateGatewayPayloadAvailabilityZones) MarshalJSON ¶ added in v0.7.0
func (o CreateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*CreateGatewayPayloadAvailabilityZones) SetTunnel1 ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) SetTunnel1(v string)
SetTunnel1 sets field value
func (*CreateGatewayPayloadAvailabilityZones) SetTunnel2 ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) SetTunnel2(v string)
SetTunnel2 sets field value
func (CreateGatewayPayloadAvailabilityZones) ToMap ¶ added in v0.7.0
func (o CreateGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
func (*CreateGatewayPayloadAvailabilityZones) UnmarshalJSON ¶ added in v0.7.0
func (o *CreateGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateGateway Create a VPN gateway in a project.
Provision a new VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateGatewayRequest
*/
CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest
// CreateGatewayExecute executes the request
// @return GatewayResponse
CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)
/*
CreateGatewayConnection Create a new connection on an existing VPN gateway.
Create a new connection on an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiCreateGatewayConnectionRequest
*/
CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest
// CreateGatewayConnectionExecute executes the request
// @return ConnectionResponse
CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
/*
DeleteGateway Delete a existing VPN gateway in a project.
Permanently remove a VPN gateway and all its associated connections.
This operation is irreversible.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiDeleteGatewayRequest
*/
DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest
// DeleteGatewayExecute executes the request
DeleteGatewayExecute(r ApiDeleteGatewayRequest) error
/*
DeleteGatewayConnection Delete a certain connection from an existing VPN gateway.
Delete a certain connection from an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiDeleteGatewayConnectionRequest
*/
DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest
// DeleteGatewayConnectionExecute executes the request
DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
/*
GetGateway Get details of a VPN Gateway in a project.
Get details of a VPN Gateway in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiGetGatewayRequest
*/
GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest
// GetGatewayExecute executes the request
// @return GatewayResponse
GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)
/*
GetGatewayConnection Get a certain connection for an existing VPN gateway.
Get a certain connection for an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiGetGatewayConnectionRequest
*/
GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest
// GetGatewayConnectionExecute executes the request
// @return ConnectionResponse
GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
/*
GetGatewayConnectionStatus Gets the status for a specific connection.
Get the status for a specific connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiGetGatewayConnectionStatusRequest
*/
GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest
// GetGatewayConnectionStatusExecute executes the request
// @return ConnectionStatusResponse
GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
/*
GetGatewayStatus Get the status of a VPN gateway in a project.
Get the status of a VPN gateway in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiGetGatewayStatusRequest
*/
GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest
// GetGatewayStatusExecute executes the request
// @return GatewayStatusResponse
GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
/*
ListGatewayConnections List connections for an existing VPN gateway.
List connections for an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiListGatewayConnectionsRequest
*/
ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest
// ListGatewayConnectionsExecute executes the request
// @return ConnectionList
ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
/*
ListGateways List VPN gateways in a project with label filtering
Retrieve a list of all VPN gateways in a project.
Filter the results using the `label_selector` query parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListGatewaysRequest
*/
ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest
// ListGatewaysExecute executes the request
// @return GatewayList
ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)
/*
ListPlans List available service plans for a project.
Retrieve a list of available service plans available for provisioning a VPN in a specific `region`.
Use this to identify the `planId` required for gateway creation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@return ApiListPlansRequest
*/
ListPlans(ctx context.Context, region string) ApiListPlansRequest
// ListPlansExecute executes the request
// @return PlanList
ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
/*
ListQuotas List project quotas.
Retrieve the resource quotas and current usage for STACKIT VPN within a specific project and region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListQuotasRequest
*/
ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
// ListQuotasExecute executes the request
// @return QuotaListResponse
ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
/*
UpdateGateway Update a VPN gateway in a project.
Modify the configuration of an existing VPN gateway.
Certain changes may trigger infrastructure updates or temporary connection re-negotiations.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiUpdateGatewayRequest
*/
UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest
// UpdateGatewayExecute executes the request
// @return GatewayResponse
UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
/*
UpdateGatewayConnection Update a connection on an existing VPN gateway.
Updating the configuration of an existing connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiUpdateGatewayConnectionRequest
*/
UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest
// UpdateGatewayConnectionExecute executes the request
// @return ConnectionResponse
UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateGateway ¶ added in v0.7.0
func (a *DefaultAPIService) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest
CreateGateway Create a VPN gateway in a project.
Provision a new VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateGatewayRequest
func (*DefaultAPIService) CreateGatewayConnection ¶
func (a *DefaultAPIService) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest
CreateGatewayConnection Create a new connection on an existing VPN gateway.
Create a new connection on an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiCreateGatewayConnectionRequest
func (*DefaultAPIService) CreateGatewayConnectionExecute ¶
func (a *DefaultAPIService) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
Execute executes the request
@return ConnectionResponse
func (*DefaultAPIService) CreateGatewayExecute ¶ added in v0.7.0
func (a *DefaultAPIService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
func (*DefaultAPIService) DeleteGateway ¶ added in v0.7.0
func (a *DefaultAPIService) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest
DeleteGateway Delete a existing VPN gateway in a project.
Permanently remove a VPN gateway and all its associated connections. This operation is irreversible.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiDeleteGatewayRequest
func (*DefaultAPIService) DeleteGatewayConnection ¶
func (a *DefaultAPIService) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest
DeleteGatewayConnection Delete a certain connection from an existing VPN gateway.
Delete a certain connection from an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @param connectionId @return ApiDeleteGatewayConnectionRequest
func (*DefaultAPIService) DeleteGatewayConnectionExecute ¶
func (a *DefaultAPIService) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteGatewayExecute ¶ added in v0.7.0
func (a *DefaultAPIService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error
Execute executes the request
func (*DefaultAPIService) GetGateway ¶ added in v0.7.0
func (a *DefaultAPIService) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest
GetGateway Get details of a VPN Gateway in a project.
Get details of a VPN Gateway in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiGetGatewayRequest
func (*DefaultAPIService) GetGatewayConnection ¶
func (a *DefaultAPIService) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest
GetGatewayConnection Get a certain connection for an existing VPN gateway.
Get a certain connection for an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @param connectionId @return ApiGetGatewayConnectionRequest
func (*DefaultAPIService) GetGatewayConnectionExecute ¶
func (a *DefaultAPIService) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
Execute executes the request
@return ConnectionResponse
func (*DefaultAPIService) GetGatewayConnectionStatus ¶
func (a *DefaultAPIService) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest
GetGatewayConnectionStatus Gets the status for a specific connection.
Get the status for a specific connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @param connectionId @return ApiGetGatewayConnectionStatusRequest
func (*DefaultAPIService) GetGatewayConnectionStatusExecute ¶
func (a *DefaultAPIService) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
Execute executes the request
@return ConnectionStatusResponse
func (*DefaultAPIService) GetGatewayExecute ¶ added in v0.7.0
func (a *DefaultAPIService) GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
func (*DefaultAPIService) GetGatewayStatus ¶ added in v0.7.0
func (a *DefaultAPIService) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest
GetGatewayStatus Get the status of a VPN gateway in a project.
Get the status of a VPN gateway in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiGetGatewayStatusRequest
func (*DefaultAPIService) GetGatewayStatusExecute ¶ added in v0.7.0
func (a *DefaultAPIService) GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
Execute executes the request
@return GatewayStatusResponse
func (*DefaultAPIService) ListGatewayConnections ¶
func (a *DefaultAPIService) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest
ListGatewayConnections List connections for an existing VPN gateway.
List connections for an existing VPN gateway.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiListGatewayConnectionsRequest
func (*DefaultAPIService) ListGatewayConnectionsExecute ¶
func (a *DefaultAPIService) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
Execute executes the request
@return ConnectionList
func (*DefaultAPIService) ListGateways ¶ added in v0.7.0
func (a *DefaultAPIService) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest
ListGateways List VPN gateways in a project with label filtering
Retrieve a list of all VPN gateways in a project. Filter the results using the `label_selector` query parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListGatewaysRequest
func (*DefaultAPIService) ListGatewaysExecute ¶ added in v0.7.0
func (a *DefaultAPIService) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)
Execute executes the request
@return GatewayList
func (*DefaultAPIService) ListPlans ¶
func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest
ListPlans List available service plans for a project.
Retrieve a list of available service plans available for provisioning a VPN in a specific `region`. Use this to identify the `planId` required for gateway creation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @return ApiListPlansRequest
func (*DefaultAPIService) ListPlansExecute ¶
func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
Execute executes the request
@return PlanList
func (*DefaultAPIService) ListQuotas ¶
func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
ListQuotas List project quotas.
Retrieve the resource quotas and current usage for STACKIT VPN within a specific project and region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListQuotasRequest
func (*DefaultAPIService) ListQuotasExecute ¶
func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
Execute executes the request
@return QuotaListResponse
func (*DefaultAPIService) UpdateGateway ¶ added in v0.7.0
func (a *DefaultAPIService) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest
UpdateGateway Update a VPN gateway in a project.
Modify the configuration of an existing VPN gateway. Certain changes may trigger infrastructure updates or temporary connection re-negotiations.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @return ApiUpdateGatewayRequest
func (*DefaultAPIService) UpdateGatewayConnection ¶
func (a *DefaultAPIService) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest
UpdateGatewayConnection Update a connection on an existing VPN gateway.
Updating the configuration of an existing connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param gatewayId @param connectionId @return ApiUpdateGatewayConnectionRequest
func (*DefaultAPIService) UpdateGatewayConnectionExecute ¶
func (a *DefaultAPIService) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
Execute executes the request
@return ConnectionResponse
func (*DefaultAPIService) UpdateGatewayExecute ¶ added in v0.7.0
func (a *DefaultAPIService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateGatewayExecuteMock can be populated to implement the behavior of the CreateGatewayExecute function of this mock
CreateGatewayExecuteMock *func(r ApiCreateGatewayRequest) (*GatewayResponse, error)
// CreateGatewayConnectionExecuteMock can be populated to implement the behavior of the CreateGatewayConnectionExecute function of this mock
CreateGatewayConnectionExecuteMock *func(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
// DeleteGatewayExecuteMock can be populated to implement the behavior of the DeleteGatewayExecute function of this mock
DeleteGatewayExecuteMock *func(r ApiDeleteGatewayRequest) error
// DeleteGatewayConnectionExecuteMock can be populated to implement the behavior of the DeleteGatewayConnectionExecute function of this mock
DeleteGatewayConnectionExecuteMock *func(r ApiDeleteGatewayConnectionRequest) error
// GetGatewayExecuteMock can be populated to implement the behavior of the GetGatewayExecute function of this mock
GetGatewayExecuteMock *func(r ApiGetGatewayRequest) (*GatewayResponse, error)
// GetGatewayConnectionExecuteMock can be populated to implement the behavior of the GetGatewayConnectionExecute function of this mock
GetGatewayConnectionExecuteMock *func(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
// GetGatewayConnectionStatusExecuteMock can be populated to implement the behavior of the GetGatewayConnectionStatusExecute function of this mock
GetGatewayConnectionStatusExecuteMock *func(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
// GetGatewayStatusExecuteMock can be populated to implement the behavior of the GetGatewayStatusExecute function of this mock
GetGatewayStatusExecuteMock *func(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
// ListGatewayConnectionsExecuteMock can be populated to implement the behavior of the ListGatewayConnectionsExecute function of this mock
ListGatewayConnectionsExecuteMock *func(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
// ListGatewaysExecuteMock can be populated to implement the behavior of the ListGatewaysExecute function of this mock
ListGatewaysExecuteMock *func(r ApiListGatewaysRequest) (*GatewayList, error)
// ListPlansExecuteMock can be populated to implement the behavior of the ListPlansExecute function of this mock
ListPlansExecuteMock *func(r ApiListPlansRequest) (*PlanList, error)
// ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
// UpdateGatewayExecuteMock can be populated to implement the behavior of the UpdateGatewayExecute function of this mock
UpdateGatewayExecuteMock *func(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
// UpdateGatewayConnectionExecuteMock can be populated to implement the behavior of the UpdateGatewayConnectionExecute function of this mock
UpdateGatewayConnectionExecuteMock *func(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateGateway ¶ added in v0.7.0
func (a DefaultAPIServiceMock) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest
func (DefaultAPIServiceMock) CreateGatewayConnection ¶
func (a DefaultAPIServiceMock) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest
func (DefaultAPIServiceMock) CreateGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
CreateGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateGatewayExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)
CreateGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteGateway ¶ added in v0.7.0
func (a DefaultAPIServiceMock) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest
func (DefaultAPIServiceMock) DeleteGatewayConnection ¶
func (a DefaultAPIServiceMock) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest
func (DefaultAPIServiceMock) DeleteGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
DeleteGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteGatewayExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error
DeleteGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetGateway ¶ added in v0.7.0
func (a DefaultAPIServiceMock) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest
func (DefaultAPIServiceMock) GetGatewayConnection ¶
func (a DefaultAPIServiceMock) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest
func (DefaultAPIServiceMock) GetGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
GetGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetGatewayConnectionStatus ¶
func (a DefaultAPIServiceMock) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest
func (DefaultAPIServiceMock) GetGatewayConnectionStatusExecute ¶
func (a DefaultAPIServiceMock) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
GetGatewayConnectionStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayConnectionStatusExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetGatewayExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)
GetGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetGatewayStatus ¶ added in v0.7.0
func (a DefaultAPIServiceMock) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest
func (DefaultAPIServiceMock) GetGatewayStatusExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
GetGatewayStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayStatusExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListGatewayConnections ¶
func (a DefaultAPIServiceMock) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest
func (DefaultAPIServiceMock) ListGatewayConnectionsExecute ¶
func (a DefaultAPIServiceMock) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
ListGatewayConnectionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewayConnectionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListGateways ¶ added in v0.7.0
func (a DefaultAPIServiceMock) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest
func (DefaultAPIServiceMock) ListGatewaysExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)
ListGatewaysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewaysExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPlans ¶
func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) ApiListPlansRequest
func (DefaultAPIServiceMock) ListPlansExecute ¶
func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
ListPlansExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListQuotas ¶
func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
func (DefaultAPIServiceMock) ListQuotasExecute ¶
func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
ListQuotasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListQuotasExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateGateway ¶ added in v0.7.0
func (a DefaultAPIServiceMock) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest
func (DefaultAPIServiceMock) UpdateGatewayConnection ¶
func (a DefaultAPIServiceMock) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest
func (DefaultAPIServiceMock) UpdateGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
UpdateGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateGatewayExecute ¶ added in v0.7.0
func (a DefaultAPIServiceMock) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
UpdateGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayExecuteMock field in the DefaultAPIServiceMock struct.
type Gateway ¶
type Gateway struct {
AvailabilityZones GatewayAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,omitempty"`
// A user-friendly name for the VPN gateway.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// The service plan identifier.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
AdditionalProperties map[string]interface{}
}
Gateway struct for Gateway
func NewGateway ¶
func NewGateway(availabilityZones GatewayAvailabilityZones, displayName string, planId string, routingType RoutingType) *Gateway
NewGateway instantiates a new Gateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGatewayWithDefaults ¶
func NewGatewayWithDefaults() *Gateway
NewGatewayWithDefaults instantiates a new Gateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Gateway) GetAvailabilityZones ¶
func (o *Gateway) GetAvailabilityZones() GatewayAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*Gateway) GetAvailabilityZonesOk ¶
func (o *Gateway) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*Gateway) GetBgp ¶
func (o *Gateway) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*Gateway) GetBgpOk ¶
func (o *Gateway) GetBgpOk() (*BGPGatewayConfig, bool)
GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetDisplayName ¶
GetDisplayName returns the DisplayName field value
func (*Gateway) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Gateway) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Gateway) GetPlanIdOk ¶
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*Gateway) GetRoutingType ¶
func (o *Gateway) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*Gateway) GetRoutingTypeOk ¶
func (o *Gateway) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (Gateway) MarshalJSON ¶
func (*Gateway) SetAvailabilityZones ¶
func (o *Gateway) SetAvailabilityZones(v GatewayAvailabilityZones)
SetAvailabilityZones sets field value
func (*Gateway) SetBgp ¶
func (o *Gateway) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*Gateway) SetDisplayName ¶
SetDisplayName sets field value
func (*Gateway) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Gateway) SetRoutingType ¶
func (o *Gateway) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (*Gateway) UnmarshalJSON ¶
type GatewayAvailabilityZones ¶
type GatewayAvailabilityZones struct {
// Object that represents an availability zone.
Tunnel1 string `json:"tunnel1"`
// Object that represents an availability zone.
Tunnel2 string `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
GatewayAvailabilityZones struct for GatewayAvailabilityZones
func NewGatewayAvailabilityZones ¶
func NewGatewayAvailabilityZones(tunnel1 string, tunnel2 string) *GatewayAvailabilityZones
NewGatewayAvailabilityZones instantiates a new GatewayAvailabilityZones 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 NewGatewayAvailabilityZonesWithDefaults ¶
func NewGatewayAvailabilityZonesWithDefaults() *GatewayAvailabilityZones
NewGatewayAvailabilityZonesWithDefaults instantiates a new GatewayAvailabilityZones 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 (*GatewayAvailabilityZones) GetTunnel1 ¶
func (o *GatewayAvailabilityZones) GetTunnel1() string
GetTunnel1 returns the Tunnel1 field value
func (*GatewayAvailabilityZones) GetTunnel1Ok ¶
func (o *GatewayAvailabilityZones) GetTunnel1Ok() (*string, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*GatewayAvailabilityZones) GetTunnel2 ¶
func (o *GatewayAvailabilityZones) GetTunnel2() string
GetTunnel2 returns the Tunnel2 field value
func (*GatewayAvailabilityZones) GetTunnel2Ok ¶
func (o *GatewayAvailabilityZones) GetTunnel2Ok() (*string, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (GatewayAvailabilityZones) MarshalJSON ¶
func (o GatewayAvailabilityZones) MarshalJSON() ([]byte, error)
func (*GatewayAvailabilityZones) SetTunnel1 ¶
func (o *GatewayAvailabilityZones) SetTunnel1(v string)
SetTunnel1 sets field value
func (*GatewayAvailabilityZones) SetTunnel2 ¶
func (o *GatewayAvailabilityZones) SetTunnel2(v string)
SetTunnel2 sets field value
func (GatewayAvailabilityZones) ToMap ¶
func (o GatewayAvailabilityZones) ToMap() (map[string]interface{}, error)
func (*GatewayAvailabilityZones) UnmarshalJSON ¶
func (o *GatewayAvailabilityZones) UnmarshalJSON(data []byte) (err error)
type GatewayList ¶
type GatewayList struct {
Gateways []GatewayResponse `json:"gateways"`
AdditionalProperties map[string]interface{}
}
GatewayList struct for GatewayList
func NewGatewayList ¶
func NewGatewayList(gateways []GatewayResponse) *GatewayList
NewGatewayList instantiates a new GatewayList 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 NewGatewayListWithDefaults ¶
func NewGatewayListWithDefaults() *GatewayList
NewGatewayListWithDefaults instantiates a new GatewayList 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 (*GatewayList) GetGateways ¶
func (o *GatewayList) GetGateways() []GatewayResponse
GetGateways returns the Gateways field value
func (*GatewayList) GetGatewaysOk ¶
func (o *GatewayList) GetGatewaysOk() ([]GatewayResponse, bool)
GetGatewaysOk returns a tuple with the Gateways field value and a boolean to check if the value has been set.
func (GatewayList) MarshalJSON ¶
func (o GatewayList) MarshalJSON() ([]byte, error)
func (*GatewayList) SetGateways ¶
func (o *GatewayList) SetGateways(v []GatewayResponse)
SetGateways sets field value
func (GatewayList) ToMap ¶
func (o GatewayList) ToMap() (map[string]interface{}, error)
func (*GatewayList) UnmarshalJSON ¶
func (o *GatewayList) UnmarshalJSON(data []byte) (err error)
type GatewayResponse ¶
type GatewayResponse struct {
AvailabilityZones GatewayAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,omitempty"`
// A user-friendly name for the VPN gateway.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// The service plan identifier.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
// The server-generated UUID of the VPN gateway.
Id *string `json:"id,omitempty"`
State *GatewayStatus `json:"state,omitempty"`
AdditionalProperties map[string]interface{}
}
GatewayResponse struct for GatewayResponse
func NewGatewayResponse ¶
func NewGatewayResponse(availabilityZones GatewayAvailabilityZones, displayName string, planId string, routingType RoutingType) *GatewayResponse
NewGatewayResponse instantiates a new GatewayResponse 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 NewGatewayResponseWithDefaults ¶
func NewGatewayResponseWithDefaults() *GatewayResponse
NewGatewayResponseWithDefaults instantiates a new GatewayResponse 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 (*GatewayResponse) GetAvailabilityZones ¶
func (o *GatewayResponse) GetAvailabilityZones() GatewayAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*GatewayResponse) GetAvailabilityZonesOk ¶
func (o *GatewayResponse) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*GatewayResponse) GetBgp ¶
func (o *GatewayResponse) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*GatewayResponse) GetBgpOk ¶
func (o *GatewayResponse) GetBgpOk() (*BGPGatewayConfig, bool)
GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayResponse) GetDisplayName ¶
func (o *GatewayResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*GatewayResponse) GetDisplayNameOk ¶
func (o *GatewayResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*GatewayResponse) GetId ¶
func (o *GatewayResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GatewayResponse) GetIdOk ¶
func (o *GatewayResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayResponse) GetLabels ¶
func (o *GatewayResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GatewayResponse) GetLabelsOk ¶
func (o *GatewayResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayResponse) GetPlanId ¶
func (o *GatewayResponse) GetPlanId() string
GetPlanId returns the PlanId field value
func (*GatewayResponse) GetPlanIdOk ¶
func (o *GatewayResponse) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*GatewayResponse) GetRoutingType ¶
func (o *GatewayResponse) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*GatewayResponse) GetRoutingTypeOk ¶
func (o *GatewayResponse) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (*GatewayResponse) GetState ¶
func (o *GatewayResponse) GetState() GatewayStatus
GetState returns the State field value if set, zero value otherwise.
func (*GatewayResponse) GetStateOk ¶
func (o *GatewayResponse) GetStateOk() (*GatewayStatus, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayResponse) HasBgp ¶
func (o *GatewayResponse) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*GatewayResponse) HasId ¶
func (o *GatewayResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayResponse) HasLabels ¶
func (o *GatewayResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GatewayResponse) HasState ¶
func (o *GatewayResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (GatewayResponse) MarshalJSON ¶
func (o GatewayResponse) MarshalJSON() ([]byte, error)
func (*GatewayResponse) SetAvailabilityZones ¶
func (o *GatewayResponse) SetAvailabilityZones(v GatewayAvailabilityZones)
SetAvailabilityZones sets field value
func (*GatewayResponse) SetBgp ¶
func (o *GatewayResponse) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*GatewayResponse) SetDisplayName ¶
func (o *GatewayResponse) SetDisplayName(v string)
SetDisplayName sets field value
func (*GatewayResponse) SetId ¶
func (o *GatewayResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GatewayResponse) SetLabels ¶
func (o *GatewayResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GatewayResponse) SetPlanId ¶
func (o *GatewayResponse) SetPlanId(v string)
SetPlanId sets field value
func (*GatewayResponse) SetRoutingType ¶
func (o *GatewayResponse) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (*GatewayResponse) SetState ¶
func (o *GatewayResponse) SetState(v GatewayStatus)
SetState gets a reference to the given GatewayStatus and assigns it to the State field.
func (GatewayResponse) ToMap ¶
func (o GatewayResponse) ToMap() (map[string]interface{}, error)
func (*GatewayResponse) UnmarshalJSON ¶
func (o *GatewayResponse) UnmarshalJSON(data []byte) (err error)
type GatewayStatus ¶
type GatewayStatus string
GatewayStatus The current lifecycle state of the gateway infrastructure. - `PENDING`: Provisioning or update is in progress. - `READY`: The gateway is fully operational. - `ERROR`: A failure occurred. - `DELETING`: The resource is being removed.
const ( GATEWAYSTATUS_PENDING GatewayStatus = "PENDING" GATEWAYSTATUS_READY GatewayStatus = "READY" GATEWAYSTATUS_ERROR GatewayStatus = "ERROR" GATEWAYSTATUS_DELETING GatewayStatus = "DELETING" GATEWAYSTATUS_UNKNOWN_DEFAULT_OPEN_API GatewayStatus = "unknown_default_open_api" )
List of GatewayStatus
func NewGatewayStatusFromValue ¶
func NewGatewayStatusFromValue(v string) (*GatewayStatus, error)
NewGatewayStatusFromValue returns a pointer to a valid GatewayStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GatewayStatus) IsValid ¶
func (v GatewayStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GatewayStatus) Ptr ¶
func (v GatewayStatus) Ptr() *GatewayStatus
Ptr returns reference to GatewayStatus value
func (*GatewayStatus) UnmarshalJSON ¶
func (v *GatewayStatus) UnmarshalJSON(src []byte) error
type GatewayStatusResponse ¶
type GatewayStatusResponse struct {
Connections []ConnectionStatusResponse `json:"connections,omitempty"`
// Name of the Gateway instance.
DisplayName *string `json:"displayName,omitempty"`
GatewayStatus *GatewayStatus `json:"gatewayStatus,omitempty"`
// UUID of the Gateway instance.
Id *string `json:"id,omitempty"`
Tunnels []VPNTunnels `json:"tunnels,omitempty"`
AdditionalProperties map[string]interface{}
}
GatewayStatusResponse struct for GatewayStatusResponse
func NewGatewayStatusResponse ¶
func NewGatewayStatusResponse() *GatewayStatusResponse
NewGatewayStatusResponse instantiates a new GatewayStatusResponse 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 NewGatewayStatusResponseWithDefaults ¶
func NewGatewayStatusResponseWithDefaults() *GatewayStatusResponse
NewGatewayStatusResponseWithDefaults instantiates a new GatewayStatusResponse 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 (*GatewayStatusResponse) GetConnections ¶
func (o *GatewayStatusResponse) GetConnections() []ConnectionStatusResponse
GetConnections returns the Connections field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetConnectionsOk ¶
func (o *GatewayStatusResponse) GetConnectionsOk() ([]ConnectionStatusResponse, bool)
GetConnectionsOk returns a tuple with the Connections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStatusResponse) GetDisplayName ¶
func (o *GatewayStatusResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetDisplayNameOk ¶
func (o *GatewayStatusResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStatusResponse) GetGatewayStatus ¶
func (o *GatewayStatusResponse) GetGatewayStatus() GatewayStatus
GetGatewayStatus returns the GatewayStatus field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetGatewayStatusOk ¶
func (o *GatewayStatusResponse) GetGatewayStatusOk() (*GatewayStatus, bool)
GetGatewayStatusOk returns a tuple with the GatewayStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStatusResponse) GetId ¶
func (o *GatewayStatusResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetIdOk ¶
func (o *GatewayStatusResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStatusResponse) GetTunnels ¶
func (o *GatewayStatusResponse) GetTunnels() []VPNTunnels
GetTunnels returns the Tunnels field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetTunnelsOk ¶
func (o *GatewayStatusResponse) GetTunnelsOk() ([]VPNTunnels, bool)
GetTunnelsOk returns a tuple with the Tunnels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GatewayStatusResponse) HasConnections ¶
func (o *GatewayStatusResponse) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (*GatewayStatusResponse) HasDisplayName ¶
func (o *GatewayStatusResponse) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*GatewayStatusResponse) HasGatewayStatus ¶
func (o *GatewayStatusResponse) HasGatewayStatus() bool
HasGatewayStatus returns a boolean if a field has been set.
func (*GatewayStatusResponse) HasId ¶
func (o *GatewayStatusResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*GatewayStatusResponse) HasTunnels ¶
func (o *GatewayStatusResponse) HasTunnels() bool
HasTunnels returns a boolean if a field has been set.
func (GatewayStatusResponse) MarshalJSON ¶
func (o GatewayStatusResponse) MarshalJSON() ([]byte, error)
func (*GatewayStatusResponse) SetConnections ¶
func (o *GatewayStatusResponse) SetConnections(v []ConnectionStatusResponse)
SetConnections gets a reference to the given []ConnectionStatusResponse and assigns it to the Connections field.
func (*GatewayStatusResponse) SetDisplayName ¶
func (o *GatewayStatusResponse) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*GatewayStatusResponse) SetGatewayStatus ¶
func (o *GatewayStatusResponse) SetGatewayStatus(v GatewayStatus)
SetGatewayStatus gets a reference to the given GatewayStatus and assigns it to the GatewayStatus field.
func (*GatewayStatusResponse) SetId ¶
func (o *GatewayStatusResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GatewayStatusResponse) SetTunnels ¶
func (o *GatewayStatusResponse) SetTunnels(v []VPNTunnels)
SetTunnels gets a reference to the given []VPNTunnels and assigns it to the Tunnels field.
func (GatewayStatusResponse) ToMap ¶
func (o GatewayStatusResponse) ToMap() (map[string]interface{}, error)
func (*GatewayStatusResponse) UnmarshalJSON ¶
func (o *GatewayStatusResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAPIError ¶
type NullableAPIError struct {
// contains filtered or unexported fields
}
func NewNullableAPIError ¶
func NewNullableAPIError(val *APIError) *NullableAPIError
func (NullableAPIError) Get ¶
func (v NullableAPIError) Get() *APIError
func (NullableAPIError) IsSet ¶
func (v NullableAPIError) IsSet() bool
func (NullableAPIError) MarshalJSON ¶
func (v NullableAPIError) MarshalJSON() ([]byte, error)
func (*NullableAPIError) Set ¶
func (v *NullableAPIError) Set(val *APIError)
func (*NullableAPIError) UnmarshalJSON ¶
func (v *NullableAPIError) UnmarshalJSON(src []byte) error
func (*NullableAPIError) Unset ¶
func (v *NullableAPIError) Unset()
type NullableAPIErrorDetail ¶
type NullableAPIErrorDetail struct {
// contains filtered or unexported fields
}
func NewNullableAPIErrorDetail ¶
func NewNullableAPIErrorDetail(val *APIErrorDetail) *NullableAPIErrorDetail
func (NullableAPIErrorDetail) Get ¶
func (v NullableAPIErrorDetail) Get() *APIErrorDetail
func (NullableAPIErrorDetail) IsSet ¶
func (v NullableAPIErrorDetail) IsSet() bool
func (NullableAPIErrorDetail) MarshalJSON ¶
func (v NullableAPIErrorDetail) MarshalJSON() ([]byte, error)
func (*NullableAPIErrorDetail) Set ¶
func (v *NullableAPIErrorDetail) Set(val *APIErrorDetail)
func (*NullableAPIErrorDetail) UnmarshalJSON ¶
func (v *NullableAPIErrorDetail) UnmarshalJSON(src []byte) error
func (*NullableAPIErrorDetail) Unset ¶
func (v *NullableAPIErrorDetail) Unset()
type NullableAPIErrorDetailReason ¶ added in v0.12.0
type NullableAPIErrorDetailReason struct {
// contains filtered or unexported fields
}
func NewNullableAPIErrorDetailReason ¶ added in v0.12.0
func NewNullableAPIErrorDetailReason(val *APIErrorDetailReason) *NullableAPIErrorDetailReason
func (NullableAPIErrorDetailReason) Get ¶ added in v0.12.0
func (v NullableAPIErrorDetailReason) Get() *APIErrorDetailReason
func (NullableAPIErrorDetailReason) IsSet ¶ added in v0.12.0
func (v NullableAPIErrorDetailReason) IsSet() bool
func (NullableAPIErrorDetailReason) MarshalJSON ¶ added in v0.12.0
func (v NullableAPIErrorDetailReason) MarshalJSON() ([]byte, error)
func (*NullableAPIErrorDetailReason) Set ¶ added in v0.12.0
func (v *NullableAPIErrorDetailReason) Set(val *APIErrorDetailReason)
func (*NullableAPIErrorDetailReason) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableAPIErrorDetailReason) UnmarshalJSON(src []byte) error
func (*NullableAPIErrorDetailReason) Unset ¶ added in v0.12.0
func (v *NullableAPIErrorDetailReason) Unset()
type NullableAPIErrorResponse ¶
type NullableAPIErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableAPIErrorResponse ¶
func NewNullableAPIErrorResponse(val *APIErrorResponse) *NullableAPIErrorResponse
func (NullableAPIErrorResponse) Get ¶
func (v NullableAPIErrorResponse) Get() *APIErrorResponse
func (NullableAPIErrorResponse) IsSet ¶
func (v NullableAPIErrorResponse) IsSet() bool
func (NullableAPIErrorResponse) MarshalJSON ¶
func (v NullableAPIErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableAPIErrorResponse) Set ¶
func (v *NullableAPIErrorResponse) Set(val *APIErrorResponse)
func (*NullableAPIErrorResponse) UnmarshalJSON ¶
func (v *NullableAPIErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableAPIErrorResponse) Unset ¶
func (v *NullableAPIErrorResponse) Unset()
type NullableBGPGatewayConfig ¶
type NullableBGPGatewayConfig struct {
// contains filtered or unexported fields
}
func NewNullableBGPGatewayConfig ¶
func NewNullableBGPGatewayConfig(val *BGPGatewayConfig) *NullableBGPGatewayConfig
func (NullableBGPGatewayConfig) Get ¶
func (v NullableBGPGatewayConfig) Get() *BGPGatewayConfig
func (NullableBGPGatewayConfig) IsSet ¶
func (v NullableBGPGatewayConfig) IsSet() bool
func (NullableBGPGatewayConfig) MarshalJSON ¶
func (v NullableBGPGatewayConfig) MarshalJSON() ([]byte, error)
func (*NullableBGPGatewayConfig) Set ¶
func (v *NullableBGPGatewayConfig) Set(val *BGPGatewayConfig)
func (*NullableBGPGatewayConfig) UnmarshalJSON ¶
func (v *NullableBGPGatewayConfig) UnmarshalJSON(src []byte) error
func (*NullableBGPGatewayConfig) Unset ¶
func (v *NullableBGPGatewayConfig) Unset()
type NullableBGPStatus ¶
type NullableBGPStatus struct {
// contains filtered or unexported fields
}
func NewNullableBGPStatus ¶
func NewNullableBGPStatus(val *BGPStatus) *NullableBGPStatus
func (NullableBGPStatus) Get ¶
func (v NullableBGPStatus) Get() *BGPStatus
func (NullableBGPStatus) IsSet ¶
func (v NullableBGPStatus) IsSet() bool
func (NullableBGPStatus) MarshalJSON ¶
func (v NullableBGPStatus) MarshalJSON() ([]byte, error)
func (*NullableBGPStatus) Set ¶
func (v *NullableBGPStatus) Set(val *BGPStatus)
func (*NullableBGPStatus) UnmarshalJSON ¶
func (v *NullableBGPStatus) UnmarshalJSON(src []byte) error
func (*NullableBGPStatus) Unset ¶
func (v *NullableBGPStatus) Unset()
type NullableBGPStatusPeers ¶
type NullableBGPStatusPeers struct {
// contains filtered or unexported fields
}
func NewNullableBGPStatusPeers ¶
func NewNullableBGPStatusPeers(val *BGPStatusPeers) *NullableBGPStatusPeers
func (NullableBGPStatusPeers) Get ¶
func (v NullableBGPStatusPeers) Get() *BGPStatusPeers
func (NullableBGPStatusPeers) IsSet ¶
func (v NullableBGPStatusPeers) IsSet() bool
func (NullableBGPStatusPeers) MarshalJSON ¶
func (v NullableBGPStatusPeers) MarshalJSON() ([]byte, error)
func (*NullableBGPStatusPeers) Set ¶
func (v *NullableBGPStatusPeers) Set(val *BGPStatusPeers)
func (*NullableBGPStatusPeers) UnmarshalJSON ¶
func (v *NullableBGPStatusPeers) UnmarshalJSON(src []byte) error
func (*NullableBGPStatusPeers) Unset ¶
func (v *NullableBGPStatusPeers) Unset()
type NullableBGPStatusRoutes ¶
type NullableBGPStatusRoutes struct {
// contains filtered or unexported fields
}
func NewNullableBGPStatusRoutes ¶
func NewNullableBGPStatusRoutes(val *BGPStatusRoutes) *NullableBGPStatusRoutes
func (NullableBGPStatusRoutes) Get ¶
func (v NullableBGPStatusRoutes) Get() *BGPStatusRoutes
func (NullableBGPStatusRoutes) IsSet ¶
func (v NullableBGPStatusRoutes) IsSet() bool
func (NullableBGPStatusRoutes) MarshalJSON ¶
func (v NullableBGPStatusRoutes) MarshalJSON() ([]byte, error)
func (*NullableBGPStatusRoutes) Set ¶
func (v *NullableBGPStatusRoutes) Set(val *BGPStatusRoutes)
func (*NullableBGPStatusRoutes) UnmarshalJSON ¶
func (v *NullableBGPStatusRoutes) UnmarshalJSON(src []byte) error
func (*NullableBGPStatusRoutes) Unset ¶
func (v *NullableBGPStatusRoutes) Unset()
type NullableBGPTunnelConfig ¶
type NullableBGPTunnelConfig struct {
// contains filtered or unexported fields
}
func NewNullableBGPTunnelConfig ¶
func NewNullableBGPTunnelConfig(val *BGPTunnelConfig) *NullableBGPTunnelConfig
func (NullableBGPTunnelConfig) Get ¶
func (v NullableBGPTunnelConfig) Get() *BGPTunnelConfig
func (NullableBGPTunnelConfig) IsSet ¶
func (v NullableBGPTunnelConfig) IsSet() bool
func (NullableBGPTunnelConfig) MarshalJSON ¶
func (v NullableBGPTunnelConfig) MarshalJSON() ([]byte, error)
func (*NullableBGPTunnelConfig) Set ¶
func (v *NullableBGPTunnelConfig) Set(val *BGPTunnelConfig)
func (*NullableBGPTunnelConfig) UnmarshalJSON ¶
func (v *NullableBGPTunnelConfig) UnmarshalJSON(src []byte) error
func (*NullableBGPTunnelConfig) Unset ¶
func (v *NullableBGPTunnelConfig) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConnectionList ¶
type NullableConnectionList struct {
// contains filtered or unexported fields
}
func NewNullableConnectionList ¶
func NewNullableConnectionList(val *ConnectionList) *NullableConnectionList
func (NullableConnectionList) Get ¶
func (v NullableConnectionList) Get() *ConnectionList
func (NullableConnectionList) IsSet ¶
func (v NullableConnectionList) IsSet() bool
func (NullableConnectionList) MarshalJSON ¶
func (v NullableConnectionList) MarshalJSON() ([]byte, error)
func (*NullableConnectionList) Set ¶
func (v *NullableConnectionList) Set(val *ConnectionList)
func (*NullableConnectionList) UnmarshalJSON ¶
func (v *NullableConnectionList) UnmarshalJSON(src []byte) error
func (*NullableConnectionList) Unset ¶
func (v *NullableConnectionList) Unset()
type NullableConnectionResponse ¶
type NullableConnectionResponse struct {
// contains filtered or unexported fields
}
func NewNullableConnectionResponse ¶
func NewNullableConnectionResponse(val *ConnectionResponse) *NullableConnectionResponse
func (NullableConnectionResponse) Get ¶
func (v NullableConnectionResponse) Get() *ConnectionResponse
func (NullableConnectionResponse) IsSet ¶
func (v NullableConnectionResponse) IsSet() bool
func (NullableConnectionResponse) MarshalJSON ¶
func (v NullableConnectionResponse) MarshalJSON() ([]byte, error)
func (*NullableConnectionResponse) Set ¶
func (v *NullableConnectionResponse) Set(val *ConnectionResponse)
func (*NullableConnectionResponse) UnmarshalJSON ¶
func (v *NullableConnectionResponse) UnmarshalJSON(src []byte) error
func (*NullableConnectionResponse) Unset ¶
func (v *NullableConnectionResponse) Unset()
type NullableConnectionStatusResponse ¶
type NullableConnectionStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableConnectionStatusResponse ¶
func NewNullableConnectionStatusResponse(val *ConnectionStatusResponse) *NullableConnectionStatusResponse
func (NullableConnectionStatusResponse) Get ¶
func (v NullableConnectionStatusResponse) Get() *ConnectionStatusResponse
func (NullableConnectionStatusResponse) IsSet ¶
func (v NullableConnectionStatusResponse) IsSet() bool
func (NullableConnectionStatusResponse) MarshalJSON ¶
func (v NullableConnectionStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableConnectionStatusResponse) Set ¶
func (v *NullableConnectionStatusResponse) Set(val *ConnectionStatusResponse)
func (*NullableConnectionStatusResponse) UnmarshalJSON ¶
func (v *NullableConnectionStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableConnectionStatusResponse) Unset ¶
func (v *NullableConnectionStatusResponse) Unset()
type NullableCreateGatewayConnectionPayload ¶
type NullableCreateGatewayConnectionPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateGatewayConnectionPayload ¶
func NewNullableCreateGatewayConnectionPayload(val *CreateGatewayConnectionPayload) *NullableCreateGatewayConnectionPayload
func (NullableCreateGatewayConnectionPayload) Get ¶
func (v NullableCreateGatewayConnectionPayload) Get() *CreateGatewayConnectionPayload
func (NullableCreateGatewayConnectionPayload) IsSet ¶
func (v NullableCreateGatewayConnectionPayload) IsSet() bool
func (NullableCreateGatewayConnectionPayload) MarshalJSON ¶
func (v NullableCreateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateGatewayConnectionPayload) Set ¶
func (v *NullableCreateGatewayConnectionPayload) Set(val *CreateGatewayConnectionPayload)
func (*NullableCreateGatewayConnectionPayload) UnmarshalJSON ¶
func (v *NullableCreateGatewayConnectionPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateGatewayConnectionPayload) Unset ¶
func (v *NullableCreateGatewayConnectionPayload) Unset()
type NullableCreateGatewayPayload ¶ added in v0.7.0
type NullableCreateGatewayPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateGatewayPayload ¶ added in v0.7.0
func NewNullableCreateGatewayPayload(val *CreateGatewayPayload) *NullableCreateGatewayPayload
func (NullableCreateGatewayPayload) Get ¶ added in v0.7.0
func (v NullableCreateGatewayPayload) Get() *CreateGatewayPayload
func (NullableCreateGatewayPayload) IsSet ¶ added in v0.7.0
func (v NullableCreateGatewayPayload) IsSet() bool
func (NullableCreateGatewayPayload) MarshalJSON ¶ added in v0.7.0
func (v NullableCreateGatewayPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateGatewayPayload) Set ¶ added in v0.7.0
func (v *NullableCreateGatewayPayload) Set(val *CreateGatewayPayload)
func (*NullableCreateGatewayPayload) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableCreateGatewayPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateGatewayPayload) Unset ¶ added in v0.7.0
func (v *NullableCreateGatewayPayload) Unset()
type NullableCreateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
type NullableCreateGatewayPayloadAvailabilityZones struct {
// contains filtered or unexported fields
}
func NewNullableCreateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
func NewNullableCreateGatewayPayloadAvailabilityZones(val *CreateGatewayPayloadAvailabilityZones) *NullableCreateGatewayPayloadAvailabilityZones
func (NullableCreateGatewayPayloadAvailabilityZones) IsSet ¶ added in v0.7.0
func (v NullableCreateGatewayPayloadAvailabilityZones) IsSet() bool
func (NullableCreateGatewayPayloadAvailabilityZones) MarshalJSON ¶ added in v0.7.0
func (v NullableCreateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*NullableCreateGatewayPayloadAvailabilityZones) Set ¶ added in v0.7.0
func (v *NullableCreateGatewayPayloadAvailabilityZones) Set(val *CreateGatewayPayloadAvailabilityZones)
func (*NullableCreateGatewayPayloadAvailabilityZones) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableCreateGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
func (*NullableCreateGatewayPayloadAvailabilityZones) Unset ¶ added in v0.7.0
func (v *NullableCreateGatewayPayloadAvailabilityZones) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGateway ¶
type NullableGateway struct {
// contains filtered or unexported fields
}
func NewNullableGateway ¶
func NewNullableGateway(val *Gateway) *NullableGateway
func (NullableGateway) Get ¶
func (v NullableGateway) Get() *Gateway
func (NullableGateway) IsSet ¶
func (v NullableGateway) IsSet() bool
func (NullableGateway) MarshalJSON ¶
func (v NullableGateway) MarshalJSON() ([]byte, error)
func (*NullableGateway) Set ¶
func (v *NullableGateway) Set(val *Gateway)
func (*NullableGateway) UnmarshalJSON ¶
func (v *NullableGateway) UnmarshalJSON(src []byte) error
func (*NullableGateway) Unset ¶
func (v *NullableGateway) Unset()
type NullableGatewayAvailabilityZones ¶
type NullableGatewayAvailabilityZones struct {
// contains filtered or unexported fields
}
func NewNullableGatewayAvailabilityZones ¶
func NewNullableGatewayAvailabilityZones(val *GatewayAvailabilityZones) *NullableGatewayAvailabilityZones
func (NullableGatewayAvailabilityZones) Get ¶
func (v NullableGatewayAvailabilityZones) Get() *GatewayAvailabilityZones
func (NullableGatewayAvailabilityZones) IsSet ¶
func (v NullableGatewayAvailabilityZones) IsSet() bool
func (NullableGatewayAvailabilityZones) MarshalJSON ¶
func (v NullableGatewayAvailabilityZones) MarshalJSON() ([]byte, error)
func (*NullableGatewayAvailabilityZones) Set ¶
func (v *NullableGatewayAvailabilityZones) Set(val *GatewayAvailabilityZones)
func (*NullableGatewayAvailabilityZones) UnmarshalJSON ¶
func (v *NullableGatewayAvailabilityZones) UnmarshalJSON(src []byte) error
func (*NullableGatewayAvailabilityZones) Unset ¶
func (v *NullableGatewayAvailabilityZones) Unset()
type NullableGatewayList ¶
type NullableGatewayList struct {
// contains filtered or unexported fields
}
func NewNullableGatewayList ¶
func NewNullableGatewayList(val *GatewayList) *NullableGatewayList
func (NullableGatewayList) Get ¶
func (v NullableGatewayList) Get() *GatewayList
func (NullableGatewayList) IsSet ¶
func (v NullableGatewayList) IsSet() bool
func (NullableGatewayList) MarshalJSON ¶
func (v NullableGatewayList) MarshalJSON() ([]byte, error)
func (*NullableGatewayList) Set ¶
func (v *NullableGatewayList) Set(val *GatewayList)
func (*NullableGatewayList) UnmarshalJSON ¶
func (v *NullableGatewayList) UnmarshalJSON(src []byte) error
func (*NullableGatewayList) Unset ¶
func (v *NullableGatewayList) Unset()
type NullableGatewayResponse ¶
type NullableGatewayResponse struct {
// contains filtered or unexported fields
}
func NewNullableGatewayResponse ¶
func NewNullableGatewayResponse(val *GatewayResponse) *NullableGatewayResponse
func (NullableGatewayResponse) Get ¶
func (v NullableGatewayResponse) Get() *GatewayResponse
func (NullableGatewayResponse) IsSet ¶
func (v NullableGatewayResponse) IsSet() bool
func (NullableGatewayResponse) MarshalJSON ¶
func (v NullableGatewayResponse) MarshalJSON() ([]byte, error)
func (*NullableGatewayResponse) Set ¶
func (v *NullableGatewayResponse) Set(val *GatewayResponse)
func (*NullableGatewayResponse) UnmarshalJSON ¶
func (v *NullableGatewayResponse) UnmarshalJSON(src []byte) error
func (*NullableGatewayResponse) Unset ¶
func (v *NullableGatewayResponse) Unset()
type NullableGatewayStatus ¶
type NullableGatewayStatus struct {
// contains filtered or unexported fields
}
func NewNullableGatewayStatus ¶
func NewNullableGatewayStatus(val *GatewayStatus) *NullableGatewayStatus
func (NullableGatewayStatus) Get ¶
func (v NullableGatewayStatus) Get() *GatewayStatus
func (NullableGatewayStatus) IsSet ¶
func (v NullableGatewayStatus) IsSet() bool
func (NullableGatewayStatus) MarshalJSON ¶
func (v NullableGatewayStatus) MarshalJSON() ([]byte, error)
func (*NullableGatewayStatus) Set ¶
func (v *NullableGatewayStatus) Set(val *GatewayStatus)
func (*NullableGatewayStatus) UnmarshalJSON ¶
func (v *NullableGatewayStatus) UnmarshalJSON(src []byte) error
func (*NullableGatewayStatus) Unset ¶
func (v *NullableGatewayStatus) Unset()
type NullableGatewayStatusResponse ¶
type NullableGatewayStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableGatewayStatusResponse ¶
func NewNullableGatewayStatusResponse(val *GatewayStatusResponse) *NullableGatewayStatusResponse
func (NullableGatewayStatusResponse) Get ¶
func (v NullableGatewayStatusResponse) Get() *GatewayStatusResponse
func (NullableGatewayStatusResponse) IsSet ¶
func (v NullableGatewayStatusResponse) IsSet() bool
func (NullableGatewayStatusResponse) MarshalJSON ¶
func (v NullableGatewayStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableGatewayStatusResponse) Set ¶
func (v *NullableGatewayStatusResponse) Set(val *GatewayStatusResponse)
func (*NullableGatewayStatusResponse) UnmarshalJSON ¶
func (v *NullableGatewayStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableGatewayStatusResponse) Unset ¶
func (v *NullableGatewayStatusResponse) 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 NullablePeeringConfig ¶
type NullablePeeringConfig struct {
// contains filtered or unexported fields
}
func NewNullablePeeringConfig ¶
func NewNullablePeeringConfig(val *PeeringConfig) *NullablePeeringConfig
func (NullablePeeringConfig) Get ¶
func (v NullablePeeringConfig) Get() *PeeringConfig
func (NullablePeeringConfig) IsSet ¶
func (v NullablePeeringConfig) IsSet() bool
func (NullablePeeringConfig) MarshalJSON ¶
func (v NullablePeeringConfig) MarshalJSON() ([]byte, error)
func (*NullablePeeringConfig) Set ¶
func (v *NullablePeeringConfig) Set(val *PeeringConfig)
func (*NullablePeeringConfig) UnmarshalJSON ¶
func (v *NullablePeeringConfig) UnmarshalJSON(src []byte) error
func (*NullablePeeringConfig) Unset ¶
func (v *NullablePeeringConfig) Unset()
type NullablePhase ¶
type NullablePhase struct {
// contains filtered or unexported fields
}
func NewNullablePhase ¶
func NewNullablePhase(val *Phase) *NullablePhase
func (NullablePhase) Get ¶
func (v NullablePhase) Get() *Phase
func (NullablePhase) IsSet ¶
func (v NullablePhase) IsSet() bool
func (NullablePhase) MarshalJSON ¶
func (v NullablePhase) MarshalJSON() ([]byte, error)
func (*NullablePhase) Set ¶
func (v *NullablePhase) Set(val *Phase)
func (*NullablePhase) UnmarshalJSON ¶
func (v *NullablePhase) UnmarshalJSON(src []byte) error
func (*NullablePhase) Unset ¶
func (v *NullablePhase) Unset()
type NullablePhase1Status ¶
type NullablePhase1Status struct {
// contains filtered or unexported fields
}
func NewNullablePhase1Status ¶
func NewNullablePhase1Status(val *Phase1Status) *NullablePhase1Status
func (NullablePhase1Status) Get ¶
func (v NullablePhase1Status) Get() *Phase1Status
func (NullablePhase1Status) IsSet ¶
func (v NullablePhase1Status) IsSet() bool
func (NullablePhase1Status) MarshalJSON ¶
func (v NullablePhase1Status) MarshalJSON() ([]byte, error)
func (*NullablePhase1Status) Set ¶
func (v *NullablePhase1Status) Set(val *Phase1Status)
func (*NullablePhase1Status) UnmarshalJSON ¶
func (v *NullablePhase1Status) UnmarshalJSON(src []byte) error
func (*NullablePhase1Status) Unset ¶
func (v *NullablePhase1Status) Unset()
type NullablePhase2Status ¶
type NullablePhase2Status struct {
// contains filtered or unexported fields
}
func NewNullablePhase2Status ¶
func NewNullablePhase2Status(val *Phase2Status) *NullablePhase2Status
func (NullablePhase2Status) Get ¶
func (v NullablePhase2Status) Get() *Phase2Status
func (NullablePhase2Status) IsSet ¶
func (v NullablePhase2Status) IsSet() bool
func (NullablePhase2Status) MarshalJSON ¶
func (v NullablePhase2Status) MarshalJSON() ([]byte, error)
func (*NullablePhase2Status) Set ¶
func (v *NullablePhase2Status) Set(val *Phase2Status)
func (*NullablePhase2Status) UnmarshalJSON ¶
func (v *NullablePhase2Status) UnmarshalJSON(src []byte) error
func (*NullablePhase2Status) Unset ¶
func (v *NullablePhase2Status) Unset()
type NullablePhaseDhGroupsInner ¶ added in v0.12.0
type NullablePhaseDhGroupsInner struct {
// contains filtered or unexported fields
}
func NewNullablePhaseDhGroupsInner ¶ added in v0.12.0
func NewNullablePhaseDhGroupsInner(val *PhaseDhGroupsInner) *NullablePhaseDhGroupsInner
func (NullablePhaseDhGroupsInner) Get ¶ added in v0.12.0
func (v NullablePhaseDhGroupsInner) Get() *PhaseDhGroupsInner
func (NullablePhaseDhGroupsInner) IsSet ¶ added in v0.12.0
func (v NullablePhaseDhGroupsInner) IsSet() bool
func (NullablePhaseDhGroupsInner) MarshalJSON ¶ added in v0.12.0
func (v NullablePhaseDhGroupsInner) MarshalJSON() ([]byte, error)
func (*NullablePhaseDhGroupsInner) Set ¶ added in v0.12.0
func (v *NullablePhaseDhGroupsInner) Set(val *PhaseDhGroupsInner)
func (*NullablePhaseDhGroupsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *NullablePhaseDhGroupsInner) UnmarshalJSON(src []byte) error
func (*NullablePhaseDhGroupsInner) Unset ¶ added in v0.12.0
func (v *NullablePhaseDhGroupsInner) Unset()
type NullablePhaseEncryptionAlgorithmsInner ¶ added in v0.12.0
type NullablePhaseEncryptionAlgorithmsInner struct {
// contains filtered or unexported fields
}
func NewNullablePhaseEncryptionAlgorithmsInner ¶ added in v0.12.0
func NewNullablePhaseEncryptionAlgorithmsInner(val *PhaseEncryptionAlgorithmsInner) *NullablePhaseEncryptionAlgorithmsInner
func (NullablePhaseEncryptionAlgorithmsInner) Get ¶ added in v0.12.0
func (v NullablePhaseEncryptionAlgorithmsInner) Get() *PhaseEncryptionAlgorithmsInner
func (NullablePhaseEncryptionAlgorithmsInner) IsSet ¶ added in v0.12.0
func (v NullablePhaseEncryptionAlgorithmsInner) IsSet() bool
func (NullablePhaseEncryptionAlgorithmsInner) MarshalJSON ¶ added in v0.12.0
func (v NullablePhaseEncryptionAlgorithmsInner) MarshalJSON() ([]byte, error)
func (*NullablePhaseEncryptionAlgorithmsInner) Set ¶ added in v0.12.0
func (v *NullablePhaseEncryptionAlgorithmsInner) Set(val *PhaseEncryptionAlgorithmsInner)
func (*NullablePhaseEncryptionAlgorithmsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *NullablePhaseEncryptionAlgorithmsInner) UnmarshalJSON(src []byte) error
func (*NullablePhaseEncryptionAlgorithmsInner) Unset ¶ added in v0.12.0
func (v *NullablePhaseEncryptionAlgorithmsInner) Unset()
type NullablePhaseIntegrityAlgorithmsInner ¶ added in v0.12.0
type NullablePhaseIntegrityAlgorithmsInner struct {
// contains filtered or unexported fields
}
func NewNullablePhaseIntegrityAlgorithmsInner ¶ added in v0.12.0
func NewNullablePhaseIntegrityAlgorithmsInner(val *PhaseIntegrityAlgorithmsInner) *NullablePhaseIntegrityAlgorithmsInner
func (NullablePhaseIntegrityAlgorithmsInner) Get ¶ added in v0.12.0
func (v NullablePhaseIntegrityAlgorithmsInner) Get() *PhaseIntegrityAlgorithmsInner
func (NullablePhaseIntegrityAlgorithmsInner) IsSet ¶ added in v0.12.0
func (v NullablePhaseIntegrityAlgorithmsInner) IsSet() bool
func (NullablePhaseIntegrityAlgorithmsInner) MarshalJSON ¶ added in v0.12.0
func (v NullablePhaseIntegrityAlgorithmsInner) MarshalJSON() ([]byte, error)
func (*NullablePhaseIntegrityAlgorithmsInner) Set ¶ added in v0.12.0
func (v *NullablePhaseIntegrityAlgorithmsInner) Set(val *PhaseIntegrityAlgorithmsInner)
func (*NullablePhaseIntegrityAlgorithmsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *NullablePhaseIntegrityAlgorithmsInner) UnmarshalJSON(src []byte) error
func (*NullablePhaseIntegrityAlgorithmsInner) Unset ¶ added in v0.12.0
func (v *NullablePhaseIntegrityAlgorithmsInner) Unset()
type NullablePlan ¶
type NullablePlan struct {
// contains filtered or unexported fields
}
func NewNullablePlan ¶
func NewNullablePlan(val *Plan) *NullablePlan
func (NullablePlan) Get ¶
func (v NullablePlan) Get() *Plan
func (NullablePlan) IsSet ¶
func (v NullablePlan) IsSet() bool
func (NullablePlan) MarshalJSON ¶
func (v NullablePlan) MarshalJSON() ([]byte, error)
func (*NullablePlan) Set ¶
func (v *NullablePlan) Set(val *Plan)
func (*NullablePlan) UnmarshalJSON ¶
func (v *NullablePlan) UnmarshalJSON(src []byte) error
func (*NullablePlan) Unset ¶
func (v *NullablePlan) Unset()
type NullablePlanList ¶
type NullablePlanList struct {
// contains filtered or unexported fields
}
func NewNullablePlanList ¶
func NewNullablePlanList(val *PlanList) *NullablePlanList
func (NullablePlanList) Get ¶
func (v NullablePlanList) Get() *PlanList
func (NullablePlanList) IsSet ¶
func (v NullablePlanList) IsSet() bool
func (NullablePlanList) MarshalJSON ¶
func (v NullablePlanList) MarshalJSON() ([]byte, error)
func (*NullablePlanList) Set ¶
func (v *NullablePlanList) Set(val *PlanList)
func (*NullablePlanList) UnmarshalJSON ¶
func (v *NullablePlanList) UnmarshalJSON(src []byte) error
func (*NullablePlanList) Unset ¶
func (v *NullablePlanList) Unset()
type NullableQuota ¶
type NullableQuota struct {
// contains filtered or unexported fields
}
func NewNullableQuota ¶
func NewNullableQuota(val *Quota) *NullableQuota
func (NullableQuota) Get ¶
func (v NullableQuota) Get() *Quota
func (NullableQuota) IsSet ¶
func (v NullableQuota) IsSet() bool
func (NullableQuota) MarshalJSON ¶
func (v NullableQuota) MarshalJSON() ([]byte, error)
func (*NullableQuota) Set ¶
func (v *NullableQuota) Set(val *Quota)
func (*NullableQuota) UnmarshalJSON ¶
func (v *NullableQuota) UnmarshalJSON(src []byte) error
func (*NullableQuota) Unset ¶
func (v *NullableQuota) Unset()
type NullableQuotaList ¶
type NullableQuotaList struct {
// contains filtered or unexported fields
}
func NewNullableQuotaList ¶
func NewNullableQuotaList(val *QuotaList) *NullableQuotaList
func (NullableQuotaList) Get ¶
func (v NullableQuotaList) Get() *QuotaList
func (NullableQuotaList) IsSet ¶
func (v NullableQuotaList) IsSet() bool
func (NullableQuotaList) MarshalJSON ¶
func (v NullableQuotaList) MarshalJSON() ([]byte, error)
func (*NullableQuotaList) Set ¶
func (v *NullableQuotaList) Set(val *QuotaList)
func (*NullableQuotaList) UnmarshalJSON ¶
func (v *NullableQuotaList) UnmarshalJSON(src []byte) error
func (*NullableQuotaList) Unset ¶
func (v *NullableQuotaList) Unset()
type NullableQuotaListResponse ¶
type NullableQuotaListResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuotaListResponse ¶
func NewNullableQuotaListResponse(val *QuotaListResponse) *NullableQuotaListResponse
func (NullableQuotaListResponse) Get ¶
func (v NullableQuotaListResponse) Get() *QuotaListResponse
func (NullableQuotaListResponse) IsSet ¶
func (v NullableQuotaListResponse) IsSet() bool
func (NullableQuotaListResponse) MarshalJSON ¶
func (v NullableQuotaListResponse) MarshalJSON() ([]byte, error)
func (*NullableQuotaListResponse) Set ¶
func (v *NullableQuotaListResponse) Set(val *QuotaListResponse)
func (*NullableQuotaListResponse) UnmarshalJSON ¶
func (v *NullableQuotaListResponse) UnmarshalJSON(src []byte) error
func (*NullableQuotaListResponse) Unset ¶
func (v *NullableQuotaListResponse) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableRoutingType ¶
type NullableRoutingType struct {
// contains filtered or unexported fields
}
func NewNullableRoutingType ¶
func NewNullableRoutingType(val *RoutingType) *NullableRoutingType
func (NullableRoutingType) Get ¶
func (v NullableRoutingType) Get() *RoutingType
func (NullableRoutingType) IsSet ¶
func (v NullableRoutingType) IsSet() bool
func (NullableRoutingType) MarshalJSON ¶
func (v NullableRoutingType) MarshalJSON() ([]byte, error)
func (*NullableRoutingType) Set ¶
func (v *NullableRoutingType) Set(val *RoutingType)
func (*NullableRoutingType) UnmarshalJSON ¶
func (v *NullableRoutingType) UnmarshalJSON(src []byte) error
func (*NullableRoutingType) Unset ¶
func (v *NullableRoutingType) 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 NullableTunnelConfiguration ¶
type NullableTunnelConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableTunnelConfiguration ¶
func NewNullableTunnelConfiguration(val *TunnelConfiguration) *NullableTunnelConfiguration
func (NullableTunnelConfiguration) Get ¶
func (v NullableTunnelConfiguration) Get() *TunnelConfiguration
func (NullableTunnelConfiguration) IsSet ¶
func (v NullableTunnelConfiguration) IsSet() bool
func (NullableTunnelConfiguration) MarshalJSON ¶
func (v NullableTunnelConfiguration) MarshalJSON() ([]byte, error)
func (*NullableTunnelConfiguration) Set ¶
func (v *NullableTunnelConfiguration) Set(val *TunnelConfiguration)
func (*NullableTunnelConfiguration) UnmarshalJSON ¶
func (v *NullableTunnelConfiguration) UnmarshalJSON(src []byte) error
func (*NullableTunnelConfiguration) Unset ¶
func (v *NullableTunnelConfiguration) Unset()
type NullableTunnelConfigurationPhase1 ¶
type NullableTunnelConfigurationPhase1 struct {
// contains filtered or unexported fields
}
func NewNullableTunnelConfigurationPhase1 ¶
func NewNullableTunnelConfigurationPhase1(val *TunnelConfigurationPhase1) *NullableTunnelConfigurationPhase1
func (NullableTunnelConfigurationPhase1) Get ¶
func (v NullableTunnelConfigurationPhase1) Get() *TunnelConfigurationPhase1
func (NullableTunnelConfigurationPhase1) IsSet ¶
func (v NullableTunnelConfigurationPhase1) IsSet() bool
func (NullableTunnelConfigurationPhase1) MarshalJSON ¶
func (v NullableTunnelConfigurationPhase1) MarshalJSON() ([]byte, error)
func (*NullableTunnelConfigurationPhase1) Set ¶
func (v *NullableTunnelConfigurationPhase1) Set(val *TunnelConfigurationPhase1)
func (*NullableTunnelConfigurationPhase1) UnmarshalJSON ¶
func (v *NullableTunnelConfigurationPhase1) UnmarshalJSON(src []byte) error
func (*NullableTunnelConfigurationPhase1) Unset ¶
func (v *NullableTunnelConfigurationPhase1) Unset()
type NullableTunnelConfigurationPhase2 ¶
type NullableTunnelConfigurationPhase2 struct {
// contains filtered or unexported fields
}
func NewNullableTunnelConfigurationPhase2 ¶
func NewNullableTunnelConfigurationPhase2(val *TunnelConfigurationPhase2) *NullableTunnelConfigurationPhase2
func (NullableTunnelConfigurationPhase2) Get ¶
func (v NullableTunnelConfigurationPhase2) Get() *TunnelConfigurationPhase2
func (NullableTunnelConfigurationPhase2) IsSet ¶
func (v NullableTunnelConfigurationPhase2) IsSet() bool
func (NullableTunnelConfigurationPhase2) MarshalJSON ¶
func (v NullableTunnelConfigurationPhase2) MarshalJSON() ([]byte, error)
func (*NullableTunnelConfigurationPhase2) Set ¶
func (v *NullableTunnelConfigurationPhase2) Set(val *TunnelConfigurationPhase2)
func (*NullableTunnelConfigurationPhase2) UnmarshalJSON ¶
func (v *NullableTunnelConfigurationPhase2) UnmarshalJSON(src []byte) error
func (*NullableTunnelConfigurationPhase2) Unset ¶
func (v *NullableTunnelConfigurationPhase2) Unset()
type NullableTunnelConfigurationPhase2AllOfDpdAction ¶ added in v0.12.0
type NullableTunnelConfigurationPhase2AllOfDpdAction struct {
// contains filtered or unexported fields
}
func NewNullableTunnelConfigurationPhase2AllOfDpdAction ¶ added in v0.12.0
func NewNullableTunnelConfigurationPhase2AllOfDpdAction(val *TunnelConfigurationPhase2AllOfDpdAction) *NullableTunnelConfigurationPhase2AllOfDpdAction
func (NullableTunnelConfigurationPhase2AllOfDpdAction) IsSet ¶ added in v0.12.0
func (v NullableTunnelConfigurationPhase2AllOfDpdAction) IsSet() bool
func (NullableTunnelConfigurationPhase2AllOfDpdAction) MarshalJSON ¶ added in v0.12.0
func (v NullableTunnelConfigurationPhase2AllOfDpdAction) MarshalJSON() ([]byte, error)
func (*NullableTunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableTunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON(src []byte) error
func (*NullableTunnelConfigurationPhase2AllOfDpdAction) Unset ¶ added in v0.12.0
func (v *NullableTunnelConfigurationPhase2AllOfDpdAction) Unset()
type NullableTunnelConfigurationPhase2AllOfStartAction ¶ added in v0.12.0
type NullableTunnelConfigurationPhase2AllOfStartAction struct {
// contains filtered or unexported fields
}
func NewNullableTunnelConfigurationPhase2AllOfStartAction ¶ added in v0.12.0
func NewNullableTunnelConfigurationPhase2AllOfStartAction(val *TunnelConfigurationPhase2AllOfStartAction) *NullableTunnelConfigurationPhase2AllOfStartAction
func (NullableTunnelConfigurationPhase2AllOfStartAction) IsSet ¶ added in v0.12.0
func (v NullableTunnelConfigurationPhase2AllOfStartAction) IsSet() bool
func (NullableTunnelConfigurationPhase2AllOfStartAction) MarshalJSON ¶ added in v0.12.0
func (v NullableTunnelConfigurationPhase2AllOfStartAction) MarshalJSON() ([]byte, error)
func (*NullableTunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableTunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON(src []byte) error
func (*NullableTunnelConfigurationPhase2AllOfStartAction) Unset ¶ added in v0.12.0
func (v *NullableTunnelConfigurationPhase2AllOfStartAction) Unset()
type NullableTunnelStatus ¶
type NullableTunnelStatus struct {
// contains filtered or unexported fields
}
func NewNullableTunnelStatus ¶
func NewNullableTunnelStatus(val *TunnelStatus) *NullableTunnelStatus
func (NullableTunnelStatus) Get ¶
func (v NullableTunnelStatus) Get() *TunnelStatus
func (NullableTunnelStatus) IsSet ¶
func (v NullableTunnelStatus) IsSet() bool
func (NullableTunnelStatus) MarshalJSON ¶
func (v NullableTunnelStatus) MarshalJSON() ([]byte, error)
func (*NullableTunnelStatus) Set ¶
func (v *NullableTunnelStatus) Set(val *TunnelStatus)
func (*NullableTunnelStatus) UnmarshalJSON ¶
func (v *NullableTunnelStatus) UnmarshalJSON(src []byte) error
func (*NullableTunnelStatus) Unset ¶
func (v *NullableTunnelStatus) Unset()
type NullableTunnelStatusName ¶ added in v0.12.0
type NullableTunnelStatusName struct {
// contains filtered or unexported fields
}
func NewNullableTunnelStatusName ¶ added in v0.12.0
func NewNullableTunnelStatusName(val *TunnelStatusName) *NullableTunnelStatusName
func (NullableTunnelStatusName) Get ¶ added in v0.12.0
func (v NullableTunnelStatusName) Get() *TunnelStatusName
func (NullableTunnelStatusName) IsSet ¶ added in v0.12.0
func (v NullableTunnelStatusName) IsSet() bool
func (NullableTunnelStatusName) MarshalJSON ¶ added in v0.12.0
func (v NullableTunnelStatusName) MarshalJSON() ([]byte, error)
func (*NullableTunnelStatusName) Set ¶ added in v0.12.0
func (v *NullableTunnelStatusName) Set(val *TunnelStatusName)
func (*NullableTunnelStatusName) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableTunnelStatusName) UnmarshalJSON(src []byte) error
func (*NullableTunnelStatusName) Unset ¶ added in v0.12.0
func (v *NullableTunnelStatusName) Unset()
type NullableUpdateGatewayConnectionPayload ¶
type NullableUpdateGatewayConnectionPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateGatewayConnectionPayload ¶
func NewNullableUpdateGatewayConnectionPayload(val *UpdateGatewayConnectionPayload) *NullableUpdateGatewayConnectionPayload
func (NullableUpdateGatewayConnectionPayload) Get ¶
func (v NullableUpdateGatewayConnectionPayload) Get() *UpdateGatewayConnectionPayload
func (NullableUpdateGatewayConnectionPayload) IsSet ¶
func (v NullableUpdateGatewayConnectionPayload) IsSet() bool
func (NullableUpdateGatewayConnectionPayload) MarshalJSON ¶
func (v NullableUpdateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateGatewayConnectionPayload) Set ¶
func (v *NullableUpdateGatewayConnectionPayload) Set(val *UpdateGatewayConnectionPayload)
func (*NullableUpdateGatewayConnectionPayload) UnmarshalJSON ¶
func (v *NullableUpdateGatewayConnectionPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateGatewayConnectionPayload) Unset ¶
func (v *NullableUpdateGatewayConnectionPayload) Unset()
type NullableUpdateGatewayPayload ¶ added in v0.7.0
type NullableUpdateGatewayPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateGatewayPayload ¶ added in v0.7.0
func NewNullableUpdateGatewayPayload(val *UpdateGatewayPayload) *NullableUpdateGatewayPayload
func (NullableUpdateGatewayPayload) Get ¶ added in v0.7.0
func (v NullableUpdateGatewayPayload) Get() *UpdateGatewayPayload
func (NullableUpdateGatewayPayload) IsSet ¶ added in v0.7.0
func (v NullableUpdateGatewayPayload) IsSet() bool
func (NullableUpdateGatewayPayload) MarshalJSON ¶ added in v0.7.0
func (v NullableUpdateGatewayPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateGatewayPayload) Set ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayload) Set(val *UpdateGatewayPayload)
func (*NullableUpdateGatewayPayload) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateGatewayPayload) Unset ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayload) Unset()
type NullableUpdateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
type NullableUpdateGatewayPayloadAvailabilityZones struct {
// contains filtered or unexported fields
}
func NewNullableUpdateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
func NewNullableUpdateGatewayPayloadAvailabilityZones(val *UpdateGatewayPayloadAvailabilityZones) *NullableUpdateGatewayPayloadAvailabilityZones
func (NullableUpdateGatewayPayloadAvailabilityZones) IsSet ¶ added in v0.7.0
func (v NullableUpdateGatewayPayloadAvailabilityZones) IsSet() bool
func (NullableUpdateGatewayPayloadAvailabilityZones) MarshalJSON ¶ added in v0.7.0
func (v NullableUpdateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*NullableUpdateGatewayPayloadAvailabilityZones) Set ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayloadAvailabilityZones) Set(val *UpdateGatewayPayloadAvailabilityZones)
func (*NullableUpdateGatewayPayloadAvailabilityZones) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
func (*NullableUpdateGatewayPayloadAvailabilityZones) Unset ¶ added in v0.7.0
func (v *NullableUpdateGatewayPayloadAvailabilityZones) Unset()
type NullableVPNTunnels ¶
type NullableVPNTunnels struct {
// contains filtered or unexported fields
}
func NewNullableVPNTunnels ¶
func NewNullableVPNTunnels(val *VPNTunnels) *NullableVPNTunnels
func (NullableVPNTunnels) Get ¶
func (v NullableVPNTunnels) Get() *VPNTunnels
func (NullableVPNTunnels) IsSet ¶
func (v NullableVPNTunnels) IsSet() bool
func (NullableVPNTunnels) MarshalJSON ¶
func (v NullableVPNTunnels) MarshalJSON() ([]byte, error)
func (*NullableVPNTunnels) Set ¶
func (v *NullableVPNTunnels) Set(val *VPNTunnels)
func (*NullableVPNTunnels) UnmarshalJSON ¶
func (v *NullableVPNTunnels) UnmarshalJSON(src []byte) error
func (*NullableVPNTunnels) Unset ¶
func (v *NullableVPNTunnels) Unset()
type NullableVPNTunnelsName ¶ added in v0.12.0
type NullableVPNTunnelsName struct {
// contains filtered or unexported fields
}
func NewNullableVPNTunnelsName ¶ added in v0.12.0
func NewNullableVPNTunnelsName(val *VPNTunnelsName) *NullableVPNTunnelsName
func (NullableVPNTunnelsName) Get ¶ added in v0.12.0
func (v NullableVPNTunnelsName) Get() *VPNTunnelsName
func (NullableVPNTunnelsName) IsSet ¶ added in v0.12.0
func (v NullableVPNTunnelsName) IsSet() bool
func (NullableVPNTunnelsName) MarshalJSON ¶ added in v0.12.0
func (v NullableVPNTunnelsName) MarshalJSON() ([]byte, error)
func (*NullableVPNTunnelsName) Set ¶ added in v0.12.0
func (v *NullableVPNTunnelsName) Set(val *VPNTunnelsName)
func (*NullableVPNTunnelsName) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableVPNTunnelsName) UnmarshalJSON(src []byte) error
func (*NullableVPNTunnelsName) Unset ¶ added in v0.12.0
func (v *NullableVPNTunnelsName) Unset()
type PeeringConfig ¶
type PeeringConfig struct {
LocalAddress *string `json:"localAddress,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}$"`
RemoteAddress *string `json:"remoteAddress,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}$"`
AdditionalProperties map[string]interface{}
}
PeeringConfig The peering object defines the point-to-point IP configuration for the Tunnel Interface. These addresses serve as next-hop identifiers and are used for BGP peering sessions and can be used in Static Route-Based connectivity.
func NewPeeringConfig ¶
func NewPeeringConfig() *PeeringConfig
NewPeeringConfig instantiates a new PeeringConfig 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 NewPeeringConfigWithDefaults ¶
func NewPeeringConfigWithDefaults() *PeeringConfig
NewPeeringConfigWithDefaults instantiates a new PeeringConfig 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 (*PeeringConfig) GetLocalAddress ¶
func (o *PeeringConfig) GetLocalAddress() string
GetLocalAddress returns the LocalAddress field value if set, zero value otherwise.
func (*PeeringConfig) GetLocalAddressOk ¶
func (o *PeeringConfig) GetLocalAddressOk() (*string, bool)
GetLocalAddressOk returns a tuple with the LocalAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeeringConfig) GetRemoteAddress ¶
func (o *PeeringConfig) GetRemoteAddress() string
GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.
func (*PeeringConfig) GetRemoteAddressOk ¶
func (o *PeeringConfig) GetRemoteAddressOk() (*string, bool)
GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeeringConfig) HasLocalAddress ¶
func (o *PeeringConfig) HasLocalAddress() bool
HasLocalAddress returns a boolean if a field has been set.
func (*PeeringConfig) HasRemoteAddress ¶
func (o *PeeringConfig) HasRemoteAddress() bool
HasRemoteAddress returns a boolean if a field has been set.
func (PeeringConfig) MarshalJSON ¶
func (o PeeringConfig) MarshalJSON() ([]byte, error)
func (*PeeringConfig) SetLocalAddress ¶
func (o *PeeringConfig) SetLocalAddress(v string)
SetLocalAddress gets a reference to the given string and assigns it to the LocalAddress field.
func (*PeeringConfig) SetRemoteAddress ¶
func (o *PeeringConfig) SetRemoteAddress(v string)
SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.
func (PeeringConfig) ToMap ¶
func (o PeeringConfig) ToMap() (map[string]interface{}, error)
func (*PeeringConfig) UnmarshalJSON ¶
func (o *PeeringConfig) UnmarshalJSON(data []byte) (err error)
type Phase ¶
type Phase struct {
// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
DhGroups []PhaseDhGroupsInner `json:"dhGroups,omitempty"`
EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
IntegrityAlgorithms []PhaseIntegrityAlgorithmsInner `json:"integrityAlgorithms"`
AdditionalProperties map[string]interface{}
}
Phase struct for Phase
func NewPhase ¶
func NewPhase(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *Phase
NewPhase instantiates a new Phase 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 NewPhaseWithDefaults ¶
func NewPhaseWithDefaults() *Phase
NewPhaseWithDefaults instantiates a new Phase 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 (*Phase) GetDhGroups ¶
func (o *Phase) GetDhGroups() []PhaseDhGroupsInner
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*Phase) GetDhGroupsOk ¶
func (o *Phase) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase) GetEncryptionAlgorithms ¶
func (o *Phase) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*Phase) GetEncryptionAlgorithmsOk ¶
func (o *Phase) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.
func (*Phase) GetIntegrityAlgorithms ¶
func (o *Phase) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*Phase) GetIntegrityAlgorithmsOk ¶
func (o *Phase) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.
func (*Phase) HasDhGroups ¶
HasDhGroups returns a boolean if a field has been set.
func (Phase) MarshalJSON ¶
func (*Phase) SetDhGroups ¶
func (o *Phase) SetDhGroups(v []PhaseDhGroupsInner)
SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.
func (*Phase) SetEncryptionAlgorithms ¶
func (o *Phase) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
SetEncryptionAlgorithms sets field value
func (*Phase) SetIntegrityAlgorithms ¶
func (o *Phase) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
SetIntegrityAlgorithms sets field value
func (*Phase) UnmarshalJSON ¶
type Phase1Status ¶
type Phase1Status struct {
// The negotiated Diffie-Hellman Group
DhGroup *string `json:"dhGroup,omitempty"`
// The negotiated encryption algorithm.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
// The negotiated integrity algorithm or pseudo-random-function.
IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"`
State *string `json:"state,omitempty"`
AdditionalProperties map[string]interface{}
}
Phase1Status struct for Phase1Status
func NewPhase1Status ¶
func NewPhase1Status() *Phase1Status
NewPhase1Status instantiates a new Phase1Status 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 NewPhase1StatusWithDefaults ¶
func NewPhase1StatusWithDefaults() *Phase1Status
NewPhase1StatusWithDefaults instantiates a new Phase1Status 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 (*Phase1Status) GetDhGroup ¶
func (o *Phase1Status) GetDhGroup() string
GetDhGroup returns the DhGroup field value if set, zero value otherwise.
func (*Phase1Status) GetDhGroupOk ¶
func (o *Phase1Status) GetDhGroupOk() (*string, bool)
GetDhGroupOk returns a tuple with the DhGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase1Status) GetEncryptionAlgorithm ¶
func (o *Phase1Status) GetEncryptionAlgorithm() string
GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.
func (*Phase1Status) GetEncryptionAlgorithmOk ¶
func (o *Phase1Status) 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 (*Phase1Status) GetIntegrityAlgorithm ¶
func (o *Phase1Status) GetIntegrityAlgorithm() string
GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.
func (*Phase1Status) GetIntegrityAlgorithmOk ¶
func (o *Phase1Status) 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 (*Phase1Status) GetState ¶
func (o *Phase1Status) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*Phase1Status) GetStateOk ¶
func (o *Phase1Status) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase1Status) HasDhGroup ¶
func (o *Phase1Status) HasDhGroup() bool
HasDhGroup returns a boolean if a field has been set.
func (*Phase1Status) HasEncryptionAlgorithm ¶
func (o *Phase1Status) HasEncryptionAlgorithm() bool
HasEncryptionAlgorithm returns a boolean if a field has been set.
func (*Phase1Status) HasIntegrityAlgorithm ¶
func (o *Phase1Status) HasIntegrityAlgorithm() bool
HasIntegrityAlgorithm returns a boolean if a field has been set.
func (*Phase1Status) HasState ¶
func (o *Phase1Status) HasState() bool
HasState returns a boolean if a field has been set.
func (Phase1Status) MarshalJSON ¶
func (o Phase1Status) MarshalJSON() ([]byte, error)
func (*Phase1Status) SetDhGroup ¶
func (o *Phase1Status) SetDhGroup(v string)
SetDhGroup gets a reference to the given string and assigns it to the DhGroup field.
func (*Phase1Status) SetEncryptionAlgorithm ¶
func (o *Phase1Status) SetEncryptionAlgorithm(v string)
SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.
func (*Phase1Status) SetIntegrityAlgorithm ¶
func (o *Phase1Status) SetIntegrityAlgorithm(v string)
SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.
func (*Phase1Status) SetState ¶
func (o *Phase1Status) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (Phase1Status) ToMap ¶
func (o Phase1Status) ToMap() (map[string]interface{}, error)
func (*Phase1Status) UnmarshalJSON ¶
func (o *Phase1Status) UnmarshalJSON(data []byte) (err error)
type Phase2Status ¶
type Phase2Status struct {
// The total data volume received through this Security Association, measured in bytes.
BytesIn *string `json:"bytesIn,omitempty"`
// The total data volume sent through this Security Association, measured in bytes.
BytesOut *string `json:"bytesOut,omitempty"`
// The negotiated Diffie-Hellman Group
DhGroup *string `json:"dhGroup,omitempty"`
// Indicates whether NAT traversal encapsulation is active for the connection.
Encap *string `json:"encap,omitempty"`
// The negotiated encryption algorithm.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
// The negotiated integrity algorithm or pseudo-random-function.
IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"`
// The total number of packets received through this IPsec Security Association.
PacketsIn *string `json:"packetsIn,omitempty"`
// The total number of packets sent through this IPsec Security Association
PacketsOut *string `json:"packetsOut,omitempty"`
// The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload).
Protocol *string `json:"protocol,omitempty"`
State *string `json:"state,omitempty"`
AdditionalProperties map[string]interface{}
}
Phase2Status struct for Phase2Status
func NewPhase2Status ¶
func NewPhase2Status() *Phase2Status
NewPhase2Status instantiates a new Phase2Status 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 NewPhase2StatusWithDefaults ¶
func NewPhase2StatusWithDefaults() *Phase2Status
NewPhase2StatusWithDefaults instantiates a new Phase2Status 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 (*Phase2Status) GetBytesIn ¶
func (o *Phase2Status) GetBytesIn() string
GetBytesIn returns the BytesIn field value if set, zero value otherwise.
func (*Phase2Status) GetBytesInOk ¶
func (o *Phase2Status) GetBytesInOk() (*string, bool)
GetBytesInOk returns a tuple with the BytesIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetBytesOut ¶
func (o *Phase2Status) GetBytesOut() string
GetBytesOut returns the BytesOut field value if set, zero value otherwise.
func (*Phase2Status) GetBytesOutOk ¶
func (o *Phase2Status) GetBytesOutOk() (*string, bool)
GetBytesOutOk returns a tuple with the BytesOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetDhGroup ¶
func (o *Phase2Status) GetDhGroup() string
GetDhGroup returns the DhGroup field value if set, zero value otherwise.
func (*Phase2Status) GetDhGroupOk ¶
func (o *Phase2Status) GetDhGroupOk() (*string, bool)
GetDhGroupOk returns a tuple with the DhGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetEncap ¶
func (o *Phase2Status) GetEncap() string
GetEncap returns the Encap field value if set, zero value otherwise.
func (*Phase2Status) GetEncapOk ¶
func (o *Phase2Status) GetEncapOk() (*string, bool)
GetEncapOk returns a tuple with the Encap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetEncryptionAlgorithm ¶
func (o *Phase2Status) GetEncryptionAlgorithm() string
GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.
func (*Phase2Status) GetEncryptionAlgorithmOk ¶
func (o *Phase2Status) 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 (*Phase2Status) GetIntegrityAlgorithm ¶
func (o *Phase2Status) GetIntegrityAlgorithm() string
GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.
func (*Phase2Status) GetIntegrityAlgorithmOk ¶
func (o *Phase2Status) 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 (*Phase2Status) GetPacketsIn ¶
func (o *Phase2Status) GetPacketsIn() string
GetPacketsIn returns the PacketsIn field value if set, zero value otherwise.
func (*Phase2Status) GetPacketsInOk ¶
func (o *Phase2Status) GetPacketsInOk() (*string, bool)
GetPacketsInOk returns a tuple with the PacketsIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetPacketsOut ¶
func (o *Phase2Status) GetPacketsOut() string
GetPacketsOut returns the PacketsOut field value if set, zero value otherwise.
func (*Phase2Status) GetPacketsOutOk ¶
func (o *Phase2Status) GetPacketsOutOk() (*string, bool)
GetPacketsOutOk returns a tuple with the PacketsOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetProtocol ¶
func (o *Phase2Status) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*Phase2Status) GetProtocolOk ¶
func (o *Phase2Status) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) GetState ¶
func (o *Phase2Status) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*Phase2Status) GetStateOk ¶
func (o *Phase2Status) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Phase2Status) HasBytesIn ¶
func (o *Phase2Status) HasBytesIn() bool
HasBytesIn returns a boolean if a field has been set.
func (*Phase2Status) HasBytesOut ¶
func (o *Phase2Status) HasBytesOut() bool
HasBytesOut returns a boolean if a field has been set.
func (*Phase2Status) HasDhGroup ¶
func (o *Phase2Status) HasDhGroup() bool
HasDhGroup returns a boolean if a field has been set.
func (*Phase2Status) HasEncap ¶
func (o *Phase2Status) HasEncap() bool
HasEncap returns a boolean if a field has been set.
func (*Phase2Status) HasEncryptionAlgorithm ¶
func (o *Phase2Status) HasEncryptionAlgorithm() bool
HasEncryptionAlgorithm returns a boolean if a field has been set.
func (*Phase2Status) HasIntegrityAlgorithm ¶
func (o *Phase2Status) HasIntegrityAlgorithm() bool
HasIntegrityAlgorithm returns a boolean if a field has been set.
func (*Phase2Status) HasPacketsIn ¶
func (o *Phase2Status) HasPacketsIn() bool
HasPacketsIn returns a boolean if a field has been set.
func (*Phase2Status) HasPacketsOut ¶
func (o *Phase2Status) HasPacketsOut() bool
HasPacketsOut returns a boolean if a field has been set.
func (*Phase2Status) HasProtocol ¶
func (o *Phase2Status) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*Phase2Status) HasState ¶
func (o *Phase2Status) HasState() bool
HasState returns a boolean if a field has been set.
func (Phase2Status) MarshalJSON ¶
func (o Phase2Status) MarshalJSON() ([]byte, error)
func (*Phase2Status) SetBytesIn ¶
func (o *Phase2Status) SetBytesIn(v string)
SetBytesIn gets a reference to the given string and assigns it to the BytesIn field.
func (*Phase2Status) SetBytesOut ¶
func (o *Phase2Status) SetBytesOut(v string)
SetBytesOut gets a reference to the given string and assigns it to the BytesOut field.
func (*Phase2Status) SetDhGroup ¶
func (o *Phase2Status) SetDhGroup(v string)
SetDhGroup gets a reference to the given string and assigns it to the DhGroup field.
func (*Phase2Status) SetEncap ¶
func (o *Phase2Status) SetEncap(v string)
SetEncap gets a reference to the given string and assigns it to the Encap field.
func (*Phase2Status) SetEncryptionAlgorithm ¶
func (o *Phase2Status) SetEncryptionAlgorithm(v string)
SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.
func (*Phase2Status) SetIntegrityAlgorithm ¶
func (o *Phase2Status) SetIntegrityAlgorithm(v string)
SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.
func (*Phase2Status) SetPacketsIn ¶
func (o *Phase2Status) SetPacketsIn(v string)
SetPacketsIn gets a reference to the given string and assigns it to the PacketsIn field.
func (*Phase2Status) SetPacketsOut ¶
func (o *Phase2Status) SetPacketsOut(v string)
SetPacketsOut gets a reference to the given string and assigns it to the PacketsOut field.
func (*Phase2Status) SetProtocol ¶
func (o *Phase2Status) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*Phase2Status) SetState ¶
func (o *Phase2Status) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (Phase2Status) ToMap ¶
func (o Phase2Status) ToMap() (map[string]interface{}, error)
func (*Phase2Status) UnmarshalJSON ¶
func (o *Phase2Status) UnmarshalJSON(data []byte) (err error)
type PhaseDhGroupsInner ¶ added in v0.12.0
type PhaseDhGroupsInner string
PhaseDhGroupsInner the model 'PhaseDhGroupsInner'
const ( PHASEDHGROUPSINNER_MODP1024 PhaseDhGroupsInner = "modp1024" PHASEDHGROUPSINNER_MODP2048 PhaseDhGroupsInner = "modp2048" PHASEDHGROUPSINNER_ECP256 PhaseDhGroupsInner = "ecp256" PHASEDHGROUPSINNER_ECP384 PhaseDhGroupsInner = "ecp384" PHASEDHGROUPSINNER_MODP2048S256 PhaseDhGroupsInner = "modp2048s256" PHASEDHGROUPSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseDhGroupsInner = "unknown_default_open_api" )
List of Phase_dhGroups_inner
func NewPhaseDhGroupsInnerFromValue ¶ added in v0.12.0
func NewPhaseDhGroupsInnerFromValue(v string) (*PhaseDhGroupsInner, error)
NewPhaseDhGroupsInnerFromValue returns a pointer to a valid PhaseDhGroupsInner for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PhaseDhGroupsInner) IsValid ¶ added in v0.12.0
func (v PhaseDhGroupsInner) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PhaseDhGroupsInner) Ptr ¶ added in v0.12.0
func (v PhaseDhGroupsInner) Ptr() *PhaseDhGroupsInner
Ptr returns reference to Phase_dhGroups_inner value
func (*PhaseDhGroupsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *PhaseDhGroupsInner) UnmarshalJSON(src []byte) error
type PhaseEncryptionAlgorithmsInner ¶ added in v0.12.0
type PhaseEncryptionAlgorithmsInner string
PhaseEncryptionAlgorithmsInner the model 'PhaseEncryptionAlgorithmsInner'
const ( PHASEENCRYPTIONALGORITHMSINNER_AES256 PhaseEncryptionAlgorithmsInner = "aes256" PHASEENCRYPTIONALGORITHMSINNER_AES128GCM16 PhaseEncryptionAlgorithmsInner = "aes128gcm16" PHASEENCRYPTIONALGORITHMSINNER_AES256GCM16 PhaseEncryptionAlgorithmsInner = "aes256gcm16" PHASEENCRYPTIONALGORITHMSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseEncryptionAlgorithmsInner = "unknown_default_open_api" )
List of Phase_encryptionAlgorithms_inner
func NewPhaseEncryptionAlgorithmsInnerFromValue ¶ added in v0.12.0
func NewPhaseEncryptionAlgorithmsInnerFromValue(v string) (*PhaseEncryptionAlgorithmsInner, error)
NewPhaseEncryptionAlgorithmsInnerFromValue returns a pointer to a valid PhaseEncryptionAlgorithmsInner for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PhaseEncryptionAlgorithmsInner) IsValid ¶ added in v0.12.0
func (v PhaseEncryptionAlgorithmsInner) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PhaseEncryptionAlgorithmsInner) Ptr ¶ added in v0.12.0
func (v PhaseEncryptionAlgorithmsInner) Ptr() *PhaseEncryptionAlgorithmsInner
Ptr returns reference to Phase_encryptionAlgorithms_inner value
func (*PhaseEncryptionAlgorithmsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *PhaseEncryptionAlgorithmsInner) UnmarshalJSON(src []byte) error
type PhaseIntegrityAlgorithmsInner ¶ added in v0.12.0
type PhaseIntegrityAlgorithmsInner string
PhaseIntegrityAlgorithmsInner the model 'PhaseIntegrityAlgorithmsInner'
const ( PHASEINTEGRITYALGORITHMSINNER_SHA1 PhaseIntegrityAlgorithmsInner = "sha1" PHASEINTEGRITYALGORITHMSINNER_SHA2_256 PhaseIntegrityAlgorithmsInner = "sha2_256" PHASEINTEGRITYALGORITHMSINNER_SHA2_384 PhaseIntegrityAlgorithmsInner = "sha2_384" PHASEINTEGRITYALGORITHMSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseIntegrityAlgorithmsInner = "unknown_default_open_api" )
List of Phase_integrityAlgorithms_inner
func NewPhaseIntegrityAlgorithmsInnerFromValue ¶ added in v0.12.0
func NewPhaseIntegrityAlgorithmsInnerFromValue(v string) (*PhaseIntegrityAlgorithmsInner, error)
NewPhaseIntegrityAlgorithmsInnerFromValue returns a pointer to a valid PhaseIntegrityAlgorithmsInner for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PhaseIntegrityAlgorithmsInner) IsValid ¶ added in v0.12.0
func (v PhaseIntegrityAlgorithmsInner) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PhaseIntegrityAlgorithmsInner) Ptr ¶ added in v0.12.0
func (v PhaseIntegrityAlgorithmsInner) Ptr() *PhaseIntegrityAlgorithmsInner
Ptr returns reference to Phase_integrityAlgorithms_inner value
func (*PhaseIntegrityAlgorithmsInner) UnmarshalJSON ¶ added in v0.12.0
func (v *PhaseIntegrityAlgorithmsInner) UnmarshalJSON(src []byte) error
type Plan ¶
type Plan struct {
// The maximum throughput supported by the gateway in each direction, measured in MBit/s
MaxBandwidth *int32 `json:"maxBandwidth,omitempty"`
// The maximum number of connections supported by the VPN Gateway.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// The name of the service plan.
Name *string `json:"name,omitempty"`
// The service plan identifier.
PlanId *string `json:"planId,omitempty"`
// The SKU identifier used for billing.
Sku *string `json:"sku,omitempty"`
AdditionalProperties map[string]interface{}
}
Plan struct for Plan
func NewPlan ¶
func NewPlan() *Plan
NewPlan instantiates a new Plan 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 NewPlanWithDefaults ¶
func NewPlanWithDefaults() *Plan
NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetMaxBandwidth ¶
GetMaxBandwidth returns the MaxBandwidth field value if set, zero value otherwise.
func (*Plan) GetMaxBandwidthOk ¶
GetMaxBandwidthOk returns a tuple with the MaxBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetMaxConnections ¶
GetMaxConnections returns the MaxConnections field value if set, zero value otherwise.
func (*Plan) GetMaxConnectionsOk ¶
GetMaxConnectionsOk returns a tuple with the MaxConnections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetPlanIdOk ¶
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetSkuOk ¶
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) HasMaxBandwidth ¶
HasMaxBandwidth returns a boolean if a field has been set.
func (*Plan) HasMaxConnections ¶
HasMaxConnections returns a boolean if a field has been set.
func (Plan) MarshalJSON ¶
func (*Plan) SetMaxBandwidth ¶
SetMaxBandwidth gets a reference to the given int32 and assigns it to the MaxBandwidth field.
func (*Plan) SetMaxConnections ¶
SetMaxConnections gets a reference to the given int32 and assigns it to the MaxConnections field.
func (*Plan) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Plan) SetPlanId ¶
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (*Plan) UnmarshalJSON ¶
type PlanList ¶
type PlanList struct {
// The service plan identifier.
DefaultPlanId *string `json:"defaultPlanId,omitempty"`
Plans []Plan `json:"plans,omitempty"`
AdditionalProperties map[string]interface{}
}
PlanList struct for PlanList
func NewPlanList ¶
func NewPlanList() *PlanList
NewPlanList instantiates a new PlanList 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 NewPlanListWithDefaults ¶
func NewPlanListWithDefaults() *PlanList
NewPlanListWithDefaults instantiates a new PlanList 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 (*PlanList) GetDefaultPlanId ¶
GetDefaultPlanId returns the DefaultPlanId field value if set, zero value otherwise.
func (*PlanList) GetDefaultPlanIdOk ¶
GetDefaultPlanIdOk returns a tuple with the DefaultPlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanList) GetPlansOk ¶
GetPlansOk returns a tuple with the Plans field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanList) HasDefaultPlanId ¶
HasDefaultPlanId returns a boolean if a field has been set.
func (PlanList) MarshalJSON ¶
func (*PlanList) SetDefaultPlanId ¶
SetDefaultPlanId gets a reference to the given string and assigns it to the DefaultPlanId field.
func (*PlanList) SetPlans ¶
SetPlans gets a reference to the given []Plan and assigns it to the Plans field.
func (*PlanList) UnmarshalJSON ¶
type Quota ¶
type Quota struct {
Limit int32 `json:"limit"`
Usage int32 `json:"usage"`
AdditionalProperties map[string]interface{}
}
Quota struct for Quota
func NewQuota ¶
NewQuota instantiates a new Quota 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 NewQuotaWithDefaults ¶
func NewQuotaWithDefaults() *Quota
NewQuotaWithDefaults instantiates a new Quota 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 (*Quota) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*Quota) GetUsageOk ¶
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (Quota) MarshalJSON ¶
func (*Quota) UnmarshalJSON ¶
type QuotaList ¶
type QuotaList struct {
// Current limit and usage for VPN gateways.
Gateways Quota `json:"gateways"`
AdditionalProperties map[string]interface{}
}
QuotaList struct for QuotaList
func NewQuotaList ¶
NewQuotaList instantiates a new QuotaList 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 NewQuotaListWithDefaults ¶
func NewQuotaListWithDefaults() *QuotaList
NewQuotaListWithDefaults instantiates a new QuotaList 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 (*QuotaList) GetGateways ¶
GetGateways returns the Gateways field value
func (*QuotaList) GetGatewaysOk ¶
GetGatewaysOk returns a tuple with the Gateways field value and a boolean to check if the value has been set.
func (QuotaList) MarshalJSON ¶
func (*QuotaList) SetGateways ¶
SetGateways sets field value
func (*QuotaList) UnmarshalJSON ¶
type QuotaListResponse ¶
type QuotaListResponse struct {
Quotas QuotaList `json:"quotas"`
AdditionalProperties map[string]interface{}
}
QuotaListResponse struct for QuotaListResponse
func NewQuotaListResponse ¶
func NewQuotaListResponse(quotas QuotaList) *QuotaListResponse
NewQuotaListResponse instantiates a new QuotaListResponse 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 NewQuotaListResponseWithDefaults ¶
func NewQuotaListResponseWithDefaults() *QuotaListResponse
NewQuotaListResponseWithDefaults instantiates a new QuotaListResponse 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 (*QuotaListResponse) GetQuotas ¶
func (o *QuotaListResponse) GetQuotas() QuotaList
GetQuotas returns the Quotas field value
func (*QuotaListResponse) GetQuotasOk ¶
func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)
GetQuotasOk returns a tuple with the Quotas field value and a boolean to check if the value has been set.
func (QuotaListResponse) MarshalJSON ¶
func (o QuotaListResponse) MarshalJSON() ([]byte, error)
func (*QuotaListResponse) SetQuotas ¶
func (o *QuotaListResponse) SetQuotas(v QuotaList)
SetQuotas sets field value
func (QuotaListResponse) ToMap ¶
func (o QuotaListResponse) ToMap() (map[string]interface{}, error)
func (*QuotaListResponse) UnmarshalJSON ¶
func (o *QuotaListResponse) UnmarshalJSON(data []byte) (err error)
type Region ¶
type Region string
Region The region in which the resource is located.
const ( REGION_EU01 Region = "eu01" REGION_EU02 Region = "eu02" REGION_UNKNOWN_DEFAULT_OPEN_API Region = "unknown_default_open_api" )
List of Region
func NewRegionFromValue ¶
NewRegionFromValue returns a pointer to a valid Region for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Region) UnmarshalJSON ¶
type RoutingType ¶
type RoutingType string
RoutingType the model 'RoutingType'
const ( ROUTINGTYPE_POLICY_BASED RoutingType = "POLICY_BASED" ROUTINGTYPE_ROUTE_BASED RoutingType = "ROUTE_BASED" ROUTINGTYPE_BGP_ROUTE_BASED RoutingType = "BGP_ROUTE_BASED" ROUTINGTYPE_UNKNOWN_DEFAULT_OPEN_API RoutingType = "unknown_default_open_api" )
List of RoutingType
func NewRoutingTypeFromValue ¶
func NewRoutingTypeFromValue(v string) (*RoutingType, error)
NewRoutingTypeFromValue returns a pointer to a valid RoutingType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RoutingType) IsValid ¶
func (v RoutingType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RoutingType) Ptr ¶
func (v RoutingType) Ptr() *RoutingType
Ptr returns reference to RoutingType value
func (*RoutingType) UnmarshalJSON ¶
func (v *RoutingType) UnmarshalJSON(src []byte) error
type TunnelConfiguration ¶
type TunnelConfiguration struct {
Bgp *BGPTunnelConfig `json:"bgp,omitempty"`
Peering *PeeringConfig `json:"peering,omitempty"`
Phase1 TunnelConfigurationPhase1 `json:"phase1"`
Phase2 TunnelConfigurationPhase2 `json:"phase2"`
// A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response.
RemoteAddress string `json:"remoteAddress" validate:"regexp=^((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}$"`
AdditionalProperties map[string]interface{}
}
TunnelConfiguration struct for TunnelConfiguration
func NewTunnelConfiguration ¶
func NewTunnelConfiguration(phase1 TunnelConfigurationPhase1, phase2 TunnelConfigurationPhase2, remoteAddress string) *TunnelConfiguration
NewTunnelConfiguration instantiates a new TunnelConfiguration 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 NewTunnelConfigurationWithDefaults ¶
func NewTunnelConfigurationWithDefaults() *TunnelConfiguration
NewTunnelConfigurationWithDefaults instantiates a new TunnelConfiguration 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 (*TunnelConfiguration) GetBgp ¶
func (o *TunnelConfiguration) GetBgp() BGPTunnelConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*TunnelConfiguration) GetBgpOk ¶
func (o *TunnelConfiguration) GetBgpOk() (*BGPTunnelConfig, bool)
GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfiguration) GetPeering ¶
func (o *TunnelConfiguration) GetPeering() PeeringConfig
GetPeering returns the Peering field value if set, zero value otherwise.
func (*TunnelConfiguration) GetPeeringOk ¶
func (o *TunnelConfiguration) GetPeeringOk() (*PeeringConfig, bool)
GetPeeringOk returns a tuple with the Peering field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfiguration) GetPhase1 ¶
func (o *TunnelConfiguration) GetPhase1() TunnelConfigurationPhase1
GetPhase1 returns the Phase1 field value
func (*TunnelConfiguration) GetPhase1Ok ¶
func (o *TunnelConfiguration) GetPhase1Ok() (*TunnelConfigurationPhase1, bool)
GetPhase1Ok returns a tuple with the Phase1 field value and a boolean to check if the value has been set.
func (*TunnelConfiguration) GetPhase2 ¶
func (o *TunnelConfiguration) GetPhase2() TunnelConfigurationPhase2
GetPhase2 returns the Phase2 field value
func (*TunnelConfiguration) GetPhase2Ok ¶
func (o *TunnelConfiguration) GetPhase2Ok() (*TunnelConfigurationPhase2, bool)
GetPhase2Ok returns a tuple with the Phase2 field value and a boolean to check if the value has been set.
func (*TunnelConfiguration) GetPreSharedKey ¶
func (o *TunnelConfiguration) GetPreSharedKey() string
GetPreSharedKey returns the PreSharedKey field value if set, zero value otherwise.
func (*TunnelConfiguration) GetPreSharedKeyOk ¶
func (o *TunnelConfiguration) GetPreSharedKeyOk() (*string, bool)
GetPreSharedKeyOk returns a tuple with the PreSharedKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfiguration) GetRemoteAddress ¶
func (o *TunnelConfiguration) GetRemoteAddress() string
GetRemoteAddress returns the RemoteAddress field value
func (*TunnelConfiguration) GetRemoteAddressOk ¶
func (o *TunnelConfiguration) GetRemoteAddressOk() (*string, bool)
GetRemoteAddressOk returns a tuple with the RemoteAddress field value and a boolean to check if the value has been set.
func (*TunnelConfiguration) HasBgp ¶
func (o *TunnelConfiguration) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*TunnelConfiguration) HasPeering ¶
func (o *TunnelConfiguration) HasPeering() bool
HasPeering returns a boolean if a field has been set.
func (*TunnelConfiguration) HasPreSharedKey ¶
func (o *TunnelConfiguration) HasPreSharedKey() bool
HasPreSharedKey returns a boolean if a field has been set.
func (TunnelConfiguration) MarshalJSON ¶
func (o TunnelConfiguration) MarshalJSON() ([]byte, error)
func (*TunnelConfiguration) SetBgp ¶
func (o *TunnelConfiguration) SetBgp(v BGPTunnelConfig)
SetBgp gets a reference to the given BGPTunnelConfig and assigns it to the Bgp field.
func (*TunnelConfiguration) SetPeering ¶
func (o *TunnelConfiguration) SetPeering(v PeeringConfig)
SetPeering gets a reference to the given PeeringConfig and assigns it to the Peering field.
func (*TunnelConfiguration) SetPhase1 ¶
func (o *TunnelConfiguration) SetPhase1(v TunnelConfigurationPhase1)
SetPhase1 sets field value
func (*TunnelConfiguration) SetPhase2 ¶
func (o *TunnelConfiguration) SetPhase2(v TunnelConfigurationPhase2)
SetPhase2 sets field value
func (*TunnelConfiguration) SetPreSharedKey ¶
func (o *TunnelConfiguration) SetPreSharedKey(v string)
SetPreSharedKey gets a reference to the given string and assigns it to the PreSharedKey field.
func (*TunnelConfiguration) SetRemoteAddress ¶
func (o *TunnelConfiguration) SetRemoteAddress(v string)
SetRemoteAddress sets field value
func (TunnelConfiguration) ToMap ¶
func (o TunnelConfiguration) ToMap() (map[string]interface{}, error)
func (*TunnelConfiguration) UnmarshalJSON ¶
func (o *TunnelConfiguration) UnmarshalJSON(data []byte) (err error)
type TunnelConfigurationPhase1 ¶
type TunnelConfigurationPhase1 struct {
// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
DhGroups []PhaseDhGroupsInner `json:"dhGroups,omitempty"`
EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
IntegrityAlgorithms []PhaseIntegrityAlgorithmsInner `json:"integrityAlgorithms"`
// Time to schedule a IKE re-keying (in seconds).
RekeyTime *int32 `json:"rekeyTime,omitempty"`
AdditionalProperties map[string]interface{}
}
TunnelConfigurationPhase1 struct for TunnelConfigurationPhase1
func NewTunnelConfigurationPhase1 ¶
func NewTunnelConfigurationPhase1(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *TunnelConfigurationPhase1
NewTunnelConfigurationPhase1 instantiates a new TunnelConfigurationPhase1 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 NewTunnelConfigurationPhase1WithDefaults ¶
func NewTunnelConfigurationPhase1WithDefaults() *TunnelConfigurationPhase1
NewTunnelConfigurationPhase1WithDefaults instantiates a new TunnelConfigurationPhase1 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 (*TunnelConfigurationPhase1) GetDhGroups ¶
func (o *TunnelConfigurationPhase1) GetDhGroups() []PhaseDhGroupsInner
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*TunnelConfigurationPhase1) GetDhGroupsOk ¶
func (o *TunnelConfigurationPhase1) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase1) GetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk ¶
func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase1) GetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk ¶
func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase1) GetRekeyTime ¶
func (o *TunnelConfigurationPhase1) GetRekeyTime() int32
GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.
func (*TunnelConfigurationPhase1) GetRekeyTimeOk ¶
func (o *TunnelConfigurationPhase1) GetRekeyTimeOk() (*int32, bool)
GetRekeyTimeOk returns a tuple with the RekeyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase1) HasDhGroups ¶
func (o *TunnelConfigurationPhase1) HasDhGroups() bool
HasDhGroups returns a boolean if a field has been set.
func (*TunnelConfigurationPhase1) HasRekeyTime ¶
func (o *TunnelConfigurationPhase1) HasRekeyTime() bool
HasRekeyTime returns a boolean if a field has been set.
func (TunnelConfigurationPhase1) MarshalJSON ¶
func (o TunnelConfigurationPhase1) MarshalJSON() ([]byte, error)
func (*TunnelConfigurationPhase1) SetDhGroups ¶
func (o *TunnelConfigurationPhase1) SetDhGroups(v []PhaseDhGroupsInner)
SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.
func (*TunnelConfigurationPhase1) SetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase1) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
SetEncryptionAlgorithms sets field value
func (*TunnelConfigurationPhase1) SetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase1) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
SetIntegrityAlgorithms sets field value
func (*TunnelConfigurationPhase1) SetRekeyTime ¶
func (o *TunnelConfigurationPhase1) SetRekeyTime(v int32)
SetRekeyTime gets a reference to the given int32 and assigns it to the RekeyTime field.
func (TunnelConfigurationPhase1) ToMap ¶
func (o TunnelConfigurationPhase1) ToMap() (map[string]interface{}, error)
func (*TunnelConfigurationPhase1) UnmarshalJSON ¶
func (o *TunnelConfigurationPhase1) UnmarshalJSON(data []byte) (err error)
type TunnelConfigurationPhase2 ¶
type TunnelConfigurationPhase2 struct {
// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
DhGroups []PhaseDhGroupsInner `json:"dhGroups,omitempty"`
EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
IntegrityAlgorithms []PhaseIntegrityAlgorithmsInner `json:"integrityAlgorithms"`
DpdAction *TunnelConfigurationPhase2AllOfDpdAction `json:"dpdAction,omitempty"`
// Time to schedule a Child SA re-keying (in seconds).
RekeyTime *int32 `json:"rekeyTime,omitempty"`
StartAction *TunnelConfigurationPhase2AllOfStartAction `json:"startAction,omitempty"`
AdditionalProperties map[string]interface{}
}
TunnelConfigurationPhase2 struct for TunnelConfigurationPhase2
func NewTunnelConfigurationPhase2 ¶
func NewTunnelConfigurationPhase2(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *TunnelConfigurationPhase2
NewTunnelConfigurationPhase2 instantiates a new TunnelConfigurationPhase2 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 NewTunnelConfigurationPhase2WithDefaults ¶
func NewTunnelConfigurationPhase2WithDefaults() *TunnelConfigurationPhase2
NewTunnelConfigurationPhase2WithDefaults instantiates a new TunnelConfigurationPhase2 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 (*TunnelConfigurationPhase2) GetDhGroups ¶
func (o *TunnelConfigurationPhase2) GetDhGroups() []PhaseDhGroupsInner
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetDhGroupsOk ¶
func (o *TunnelConfigurationPhase2) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)
GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) GetDpdAction ¶
func (o *TunnelConfigurationPhase2) GetDpdAction() TunnelConfigurationPhase2AllOfDpdAction
GetDpdAction returns the DpdAction field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetDpdActionOk ¶
func (o *TunnelConfigurationPhase2) GetDpdActionOk() (*TunnelConfigurationPhase2AllOfDpdAction, bool)
GetDpdActionOk returns a tuple with the DpdAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) GetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk ¶
func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)
GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) GetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk ¶
func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)
GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) GetRekeyTime ¶
func (o *TunnelConfigurationPhase2) GetRekeyTime() int32
GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetRekeyTimeOk ¶
func (o *TunnelConfigurationPhase2) GetRekeyTimeOk() (*int32, bool)
GetRekeyTimeOk returns a tuple with the RekeyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) GetStartAction ¶
func (o *TunnelConfigurationPhase2) GetStartAction() TunnelConfigurationPhase2AllOfStartAction
GetStartAction returns the StartAction field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetStartActionOk ¶
func (o *TunnelConfigurationPhase2) GetStartActionOk() (*TunnelConfigurationPhase2AllOfStartAction, bool)
GetStartActionOk returns a tuple with the StartAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelConfigurationPhase2) HasDhGroups ¶
func (o *TunnelConfigurationPhase2) HasDhGroups() bool
HasDhGroups returns a boolean if a field has been set.
func (*TunnelConfigurationPhase2) HasDpdAction ¶
func (o *TunnelConfigurationPhase2) HasDpdAction() bool
HasDpdAction returns a boolean if a field has been set.
func (*TunnelConfigurationPhase2) HasRekeyTime ¶
func (o *TunnelConfigurationPhase2) HasRekeyTime() bool
HasRekeyTime returns a boolean if a field has been set.
func (*TunnelConfigurationPhase2) HasStartAction ¶
func (o *TunnelConfigurationPhase2) HasStartAction() bool
HasStartAction returns a boolean if a field has been set.
func (TunnelConfigurationPhase2) MarshalJSON ¶
func (o TunnelConfigurationPhase2) MarshalJSON() ([]byte, error)
func (*TunnelConfigurationPhase2) SetDhGroups ¶
func (o *TunnelConfigurationPhase2) SetDhGroups(v []PhaseDhGroupsInner)
SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.
func (*TunnelConfigurationPhase2) SetDpdAction ¶
func (o *TunnelConfigurationPhase2) SetDpdAction(v TunnelConfigurationPhase2AllOfDpdAction)
SetDpdAction gets a reference to the given TunnelConfigurationPhase2AllOfDpdAction and assigns it to the DpdAction field.
func (*TunnelConfigurationPhase2) SetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase2) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)
SetEncryptionAlgorithms sets field value
func (*TunnelConfigurationPhase2) SetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase2) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)
SetIntegrityAlgorithms sets field value
func (*TunnelConfigurationPhase2) SetRekeyTime ¶
func (o *TunnelConfigurationPhase2) SetRekeyTime(v int32)
SetRekeyTime gets a reference to the given int32 and assigns it to the RekeyTime field.
func (*TunnelConfigurationPhase2) SetStartAction ¶
func (o *TunnelConfigurationPhase2) SetStartAction(v TunnelConfigurationPhase2AllOfStartAction)
SetStartAction gets a reference to the given TunnelConfigurationPhase2AllOfStartAction and assigns it to the StartAction field.
func (TunnelConfigurationPhase2) ToMap ¶
func (o TunnelConfigurationPhase2) ToMap() (map[string]interface{}, error)
func (*TunnelConfigurationPhase2) UnmarshalJSON ¶
func (o *TunnelConfigurationPhase2) UnmarshalJSON(data []byte) (err error)
type TunnelConfigurationPhase2AllOfDpdAction ¶ added in v0.12.0
type TunnelConfigurationPhase2AllOfDpdAction string
TunnelConfigurationPhase2AllOfDpdAction Action to perform for this CHILD_SA on DPD timeout. \"clear\": Closes the CHILD_SA and does not take further action. \"restart\": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA.
const ( TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_CLEAR TunnelConfigurationPhase2AllOfDpdAction = "clear" TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_RESTART TunnelConfigurationPhase2AllOfDpdAction = "restart" TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_UNKNOWN_DEFAULT_OPEN_API TunnelConfigurationPhase2AllOfDpdAction = "unknown_default_open_api" )
List of TunnelConfiguration_phase2_allOf_dpdAction
func NewTunnelConfigurationPhase2AllOfDpdActionFromValue ¶ added in v0.12.0
func NewTunnelConfigurationPhase2AllOfDpdActionFromValue(v string) (*TunnelConfigurationPhase2AllOfDpdAction, error)
NewTunnelConfigurationPhase2AllOfDpdActionFromValue returns a pointer to a valid TunnelConfigurationPhase2AllOfDpdAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TunnelConfigurationPhase2AllOfDpdAction) IsValid ¶ added in v0.12.0
func (v TunnelConfigurationPhase2AllOfDpdAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TunnelConfigurationPhase2AllOfDpdAction) Ptr ¶ added in v0.12.0
Ptr returns reference to TunnelConfiguration_phase2_allOf_dpdAction value
func (*TunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON ¶ added in v0.12.0
func (v *TunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON(src []byte) error
type TunnelConfigurationPhase2AllOfStartAction ¶ added in v0.12.0
type TunnelConfigurationPhase2AllOfStartAction string
TunnelConfigurationPhase2AllOfStartAction Action to perform after loading the connection configuration. \"none\": The connection will be loaded but needs to be manually initiated. \"start\": initiates the connection actively.
const ( TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_NONE TunnelConfigurationPhase2AllOfStartAction = "none" TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_START TunnelConfigurationPhase2AllOfStartAction = "start" TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_UNKNOWN_DEFAULT_OPEN_API TunnelConfigurationPhase2AllOfStartAction = "unknown_default_open_api" )
List of TunnelConfiguration_phase2_allOf_startAction
func NewTunnelConfigurationPhase2AllOfStartActionFromValue ¶ added in v0.12.0
func NewTunnelConfigurationPhase2AllOfStartActionFromValue(v string) (*TunnelConfigurationPhase2AllOfStartAction, error)
NewTunnelConfigurationPhase2AllOfStartActionFromValue returns a pointer to a valid TunnelConfigurationPhase2AllOfStartAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TunnelConfigurationPhase2AllOfStartAction) IsValid ¶ added in v0.12.0
func (v TunnelConfigurationPhase2AllOfStartAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TunnelConfigurationPhase2AllOfStartAction) Ptr ¶ added in v0.12.0
Ptr returns reference to TunnelConfiguration_phase2_allOf_startAction value
func (*TunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON ¶ added in v0.12.0
func (v *TunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON(src []byte) error
type TunnelStatus ¶
type TunnelStatus struct {
Established *bool `json:"established,omitempty"`
Name *TunnelStatusName `json:"name,omitempty"`
Phase1 *Phase1Status `json:"phase1,omitempty"`
Phase2 *Phase2Status `json:"phase2,omitempty"`
AdditionalProperties map[string]interface{}
}
TunnelStatus Describes the status of the VPN itself.
func NewTunnelStatus ¶
func NewTunnelStatus() *TunnelStatus
NewTunnelStatus instantiates a new TunnelStatus 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 NewTunnelStatusWithDefaults ¶
func NewTunnelStatusWithDefaults() *TunnelStatus
NewTunnelStatusWithDefaults instantiates a new TunnelStatus 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 (*TunnelStatus) GetEstablished ¶
func (o *TunnelStatus) GetEstablished() bool
GetEstablished returns the Established field value if set, zero value otherwise.
func (*TunnelStatus) GetEstablishedOk ¶
func (o *TunnelStatus) GetEstablishedOk() (*bool, bool)
GetEstablishedOk returns a tuple with the Established field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelStatus) GetName ¶
func (o *TunnelStatus) GetName() TunnelStatusName
GetName returns the Name field value if set, zero value otherwise.
func (*TunnelStatus) GetNameOk ¶
func (o *TunnelStatus) GetNameOk() (*TunnelStatusName, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelStatus) GetPhase1 ¶
func (o *TunnelStatus) GetPhase1() Phase1Status
GetPhase1 returns the Phase1 field value if set, zero value otherwise.
func (*TunnelStatus) GetPhase1Ok ¶
func (o *TunnelStatus) GetPhase1Ok() (*Phase1Status, bool)
GetPhase1Ok returns a tuple with the Phase1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelStatus) GetPhase2 ¶
func (o *TunnelStatus) GetPhase2() Phase2Status
GetPhase2 returns the Phase2 field value if set, zero value otherwise.
func (*TunnelStatus) GetPhase2Ok ¶
func (o *TunnelStatus) GetPhase2Ok() (*Phase2Status, bool)
GetPhase2Ok returns a tuple with the Phase2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TunnelStatus) HasEstablished ¶
func (o *TunnelStatus) HasEstablished() bool
HasEstablished returns a boolean if a field has been set.
func (*TunnelStatus) HasName ¶
func (o *TunnelStatus) HasName() bool
HasName returns a boolean if a field has been set.
func (*TunnelStatus) HasPhase1 ¶
func (o *TunnelStatus) HasPhase1() bool
HasPhase1 returns a boolean if a field has been set.
func (*TunnelStatus) HasPhase2 ¶
func (o *TunnelStatus) HasPhase2() bool
HasPhase2 returns a boolean if a field has been set.
func (TunnelStatus) MarshalJSON ¶
func (o TunnelStatus) MarshalJSON() ([]byte, error)
func (*TunnelStatus) SetEstablished ¶
func (o *TunnelStatus) SetEstablished(v bool)
SetEstablished gets a reference to the given bool and assigns it to the Established field.
func (*TunnelStatus) SetName ¶
func (o *TunnelStatus) SetName(v TunnelStatusName)
SetName gets a reference to the given TunnelStatusName and assigns it to the Name field.
func (*TunnelStatus) SetPhase1 ¶
func (o *TunnelStatus) SetPhase1(v Phase1Status)
SetPhase1 gets a reference to the given Phase1Status and assigns it to the Phase1 field.
func (*TunnelStatus) SetPhase2 ¶
func (o *TunnelStatus) SetPhase2(v Phase2Status)
SetPhase2 gets a reference to the given Phase2Status and assigns it to the Phase2 field.
func (TunnelStatus) ToMap ¶
func (o TunnelStatus) ToMap() (map[string]interface{}, error)
func (*TunnelStatus) UnmarshalJSON ¶
func (o *TunnelStatus) UnmarshalJSON(data []byte) (err error)
type TunnelStatusName ¶ added in v0.12.0
type TunnelStatusName string
TunnelStatusName the model 'TunnelStatusName'
const ( TUNNELSTATUSNAME_TUNNEL1 TunnelStatusName = "tunnel1" TUNNELSTATUSNAME_TUNNEL2 TunnelStatusName = "tunnel2" TUNNELSTATUSNAME_UNKNOWN_DEFAULT_OPEN_API TunnelStatusName = "unknown_default_open_api" )
List of TunnelStatus_name
func NewTunnelStatusNameFromValue ¶ added in v0.12.0
func NewTunnelStatusNameFromValue(v string) (*TunnelStatusName, error)
NewTunnelStatusNameFromValue returns a pointer to a valid TunnelStatusName for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TunnelStatusName) IsValid ¶ added in v0.12.0
func (v TunnelStatusName) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TunnelStatusName) Ptr ¶ added in v0.12.0
func (v TunnelStatusName) Ptr() *TunnelStatusName
Ptr returns reference to TunnelStatus_name value
func (*TunnelStatusName) UnmarshalJSON ¶ added in v0.12.0
func (v *TunnelStatusName) UnmarshalJSON(src []byte) error
type UpdateGatewayConnectionPayload ¶
type UpdateGatewayConnectionPayload struct {
// A user-friendly name for the connection.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// This flag decides whether this connection should be enabled or disabled
Enabled *bool `json:"enabled,omitempty"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
LocalSubnets []string `json:"localSubnets,omitempty"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
// Optional. Use this for route-based VPN.
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
UpdateGatewayConnectionPayload struct for UpdateGatewayConnectionPayload
func NewUpdateGatewayConnectionPayload ¶
func NewUpdateGatewayConnectionPayload(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *UpdateGatewayConnectionPayload
NewUpdateGatewayConnectionPayload instantiates a new UpdateGatewayConnectionPayload 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 NewUpdateGatewayConnectionPayloadWithDefaults ¶
func NewUpdateGatewayConnectionPayloadWithDefaults() *UpdateGatewayConnectionPayload
NewUpdateGatewayConnectionPayloadWithDefaults instantiates a new UpdateGatewayConnectionPayload 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 (*UpdateGatewayConnectionPayload) GetDisplayName ¶
func (o *UpdateGatewayConnectionPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*UpdateGatewayConnectionPayload) GetDisplayNameOk ¶
func (o *UpdateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetEnabled ¶
func (o *UpdateGatewayConnectionPayload) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetEnabledOk ¶
func (o *UpdateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetLabels ¶ added in v0.11.0
func (o *UpdateGatewayConnectionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetLabelsOk ¶ added in v0.11.0
func (o *UpdateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetLocalSubnets ¶
func (o *UpdateGatewayConnectionPayload) GetLocalSubnets() []string
GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetLocalSubnetsOk ¶
func (o *UpdateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)
GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetRemoteSubnets ¶
func (o *UpdateGatewayConnectionPayload) GetRemoteSubnets() []string
GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetRemoteSubnetsOk ¶
func (o *UpdateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)
GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetStaticRoutes ¶
func (o *UpdateGatewayConnectionPayload) GetStaticRoutes() []string
GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetStaticRoutesOk ¶
func (o *UpdateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)
GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetTunnel1 ¶
func (o *UpdateGatewayConnectionPayload) GetTunnel1() TunnelConfiguration
GetTunnel1 returns the Tunnel1 field value
func (*UpdateGatewayConnectionPayload) GetTunnel1Ok ¶
func (o *UpdateGatewayConnectionPayload) GetTunnel1Ok() (*TunnelConfiguration, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) GetTunnel2 ¶
func (o *UpdateGatewayConnectionPayload) GetTunnel2() TunnelConfiguration
GetTunnel2 returns the Tunnel2 field value
func (*UpdateGatewayConnectionPayload) GetTunnel2Ok ¶
func (o *UpdateGatewayConnectionPayload) GetTunnel2Ok() (*TunnelConfiguration, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (*UpdateGatewayConnectionPayload) HasEnabled ¶
func (o *UpdateGatewayConnectionPayload) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateGatewayConnectionPayload) HasLabels ¶ added in v0.11.0
func (o *UpdateGatewayConnectionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateGatewayConnectionPayload) HasLocalSubnets ¶
func (o *UpdateGatewayConnectionPayload) HasLocalSubnets() bool
HasLocalSubnets returns a boolean if a field has been set.
func (*UpdateGatewayConnectionPayload) HasRemoteSubnets ¶
func (o *UpdateGatewayConnectionPayload) HasRemoteSubnets() bool
HasRemoteSubnets returns a boolean if a field has been set.
func (*UpdateGatewayConnectionPayload) HasStaticRoutes ¶
func (o *UpdateGatewayConnectionPayload) HasStaticRoutes() bool
HasStaticRoutes returns a boolean if a field has been set.
func (UpdateGatewayConnectionPayload) MarshalJSON ¶
func (o UpdateGatewayConnectionPayload) MarshalJSON() ([]byte, error)
func (*UpdateGatewayConnectionPayload) SetDisplayName ¶
func (o *UpdateGatewayConnectionPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*UpdateGatewayConnectionPayload) SetEnabled ¶
func (o *UpdateGatewayConnectionPayload) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateGatewayConnectionPayload) SetLabels ¶ added in v0.11.0
func (o *UpdateGatewayConnectionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateGatewayConnectionPayload) SetLocalSubnets ¶
func (o *UpdateGatewayConnectionPayload) SetLocalSubnets(v []string)
SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.
func (*UpdateGatewayConnectionPayload) SetRemoteSubnets ¶
func (o *UpdateGatewayConnectionPayload) SetRemoteSubnets(v []string)
SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.
func (*UpdateGatewayConnectionPayload) SetStaticRoutes ¶
func (o *UpdateGatewayConnectionPayload) SetStaticRoutes(v []string)
SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.
func (*UpdateGatewayConnectionPayload) SetTunnel1 ¶
func (o *UpdateGatewayConnectionPayload) SetTunnel1(v TunnelConfiguration)
SetTunnel1 sets field value
func (*UpdateGatewayConnectionPayload) SetTunnel2 ¶
func (o *UpdateGatewayConnectionPayload) SetTunnel2(v TunnelConfiguration)
SetTunnel2 sets field value
func (UpdateGatewayConnectionPayload) ToMap ¶
func (o UpdateGatewayConnectionPayload) ToMap() (map[string]interface{}, error)
func (*UpdateGatewayConnectionPayload) UnmarshalJSON ¶
func (o *UpdateGatewayConnectionPayload) UnmarshalJSON(data []byte) (err error)
type UpdateGatewayPayload ¶ added in v0.7.0
type UpdateGatewayPayload struct {
AvailabilityZones UpdateGatewayPayloadAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,omitempty"`
// A user-friendly name for the VPN gateway.
DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"`
// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
Labels *map[string]string `json:"labels,omitempty"`
// The service plan identifier.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
AdditionalProperties map[string]interface{}
}
UpdateGatewayPayload struct for UpdateGatewayPayload
func NewUpdateGatewayPayload ¶ added in v0.7.0
func NewUpdateGatewayPayload(availabilityZones UpdateGatewayPayloadAvailabilityZones, displayName string, planId string, routingType RoutingType) *UpdateGatewayPayload
NewUpdateGatewayPayload instantiates a new UpdateGatewayPayload 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 NewUpdateGatewayPayloadWithDefaults ¶ added in v0.7.0
func NewUpdateGatewayPayloadWithDefaults() *UpdateGatewayPayload
NewUpdateGatewayPayloadWithDefaults instantiates a new UpdateGatewayPayload 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 (*UpdateGatewayPayload) GetAvailabilityZones ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetAvailabilityZones() UpdateGatewayPayloadAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*UpdateGatewayPayload) GetAvailabilityZonesOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetAvailabilityZonesOk() (*UpdateGatewayPayloadAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) GetBgp ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*UpdateGatewayPayload) GetBgpOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) GetDisplayName ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*UpdateGatewayPayload) GetDisplayNameOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) GetLabels ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateGatewayPayload) GetLabelsOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) GetPlanId ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetPlanId() string
GetPlanId returns the PlanId field value
func (*UpdateGatewayPayload) GetPlanIdOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) GetRoutingType ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*UpdateGatewayPayload) GetRoutingTypeOk ¶ added in v0.7.0
func (o *UpdateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (*UpdateGatewayPayload) HasBgp ¶ added in v0.7.0
func (o *UpdateGatewayPayload) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*UpdateGatewayPayload) HasLabels ¶ added in v0.7.0
func (o *UpdateGatewayPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateGatewayPayload) MarshalJSON ¶ added in v0.7.0
func (o UpdateGatewayPayload) MarshalJSON() ([]byte, error)
func (*UpdateGatewayPayload) SetAvailabilityZones ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetAvailabilityZones(v UpdateGatewayPayloadAvailabilityZones)
SetAvailabilityZones sets field value
func (*UpdateGatewayPayload) SetBgp ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*UpdateGatewayPayload) SetDisplayName ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetDisplayName(v string)
SetDisplayName sets field value
func (*UpdateGatewayPayload) SetLabels ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateGatewayPayload) SetPlanId ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetPlanId(v string)
SetPlanId sets field value
func (*UpdateGatewayPayload) SetRoutingType ¶ added in v0.7.0
func (o *UpdateGatewayPayload) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (UpdateGatewayPayload) ToMap ¶ added in v0.7.0
func (o UpdateGatewayPayload) ToMap() (map[string]interface{}, error)
func (*UpdateGatewayPayload) UnmarshalJSON ¶ added in v0.7.0
func (o *UpdateGatewayPayload) UnmarshalJSON(data []byte) (err error)
type UpdateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
type UpdateGatewayPayloadAvailabilityZones struct {
// Object that represents an availability zone.
Tunnel1 string `json:"tunnel1"`
// Object that represents an availability zone.
Tunnel2 string `json:"tunnel2"`
AdditionalProperties map[string]interface{}
}
UpdateGatewayPayloadAvailabilityZones struct for UpdateGatewayPayloadAvailabilityZones
func NewUpdateGatewayPayloadAvailabilityZones ¶ added in v0.7.0
func NewUpdateGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *UpdateGatewayPayloadAvailabilityZones
NewUpdateGatewayPayloadAvailabilityZones instantiates a new UpdateGatewayPayloadAvailabilityZones 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 NewUpdateGatewayPayloadAvailabilityZonesWithDefaults ¶ added in v0.7.0
func NewUpdateGatewayPayloadAvailabilityZonesWithDefaults() *UpdateGatewayPayloadAvailabilityZones
NewUpdateGatewayPayloadAvailabilityZonesWithDefaults instantiates a new UpdateGatewayPayloadAvailabilityZones 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 (*UpdateGatewayPayloadAvailabilityZones) GetTunnel1 ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel1() string
GetTunnel1 returns the Tunnel1 field value
func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel2 ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel2() string
GetTunnel2 returns the Tunnel2 field value
func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (UpdateGatewayPayloadAvailabilityZones) MarshalJSON ¶ added in v0.7.0
func (o UpdateGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel1 ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) SetTunnel1(v string)
SetTunnel1 sets field value
func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel2 ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) SetTunnel2(v string)
SetTunnel2 sets field value
func (UpdateGatewayPayloadAvailabilityZones) ToMap ¶ added in v0.7.0
func (o UpdateGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
func (*UpdateGatewayPayloadAvailabilityZones) UnmarshalJSON ¶ added in v0.7.0
func (o *UpdateGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
type VPNTunnels ¶
type VPNTunnels struct {
BgpStatus NullableBGPStatus `json:"bgpStatus,omitempty"`
InstanceState *GatewayStatus `json:"instanceState,omitempty"`
// The IPv4 address of the endpoint in the SNA.
InternalNextHopIP *string `json:"internalNextHopIP,omitempty"`
Name *VPNTunnelsName `json:"name,omitempty"`
// The public IPv4 address of this endpoint.
PublicIP *string `json:"publicIP,omitempty"`
AdditionalProperties map[string]interface{}
}
VPNTunnels Status of the underlying tunnel instances.
func NewVPNTunnels ¶
func NewVPNTunnels() *VPNTunnels
NewVPNTunnels instantiates a new VPNTunnels 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 NewVPNTunnelsWithDefaults ¶
func NewVPNTunnelsWithDefaults() *VPNTunnels
NewVPNTunnelsWithDefaults instantiates a new VPNTunnels 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 (*VPNTunnels) GetBgpStatus ¶
func (o *VPNTunnels) GetBgpStatus() BGPStatus
GetBgpStatus returns the BgpStatus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VPNTunnels) GetBgpStatusOk ¶
func (o *VPNTunnels) GetBgpStatusOk() (*BGPStatus, bool)
GetBgpStatusOk returns a tuple with the BgpStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VPNTunnels) GetInstanceState ¶
func (o *VPNTunnels) GetInstanceState() GatewayStatus
GetInstanceState returns the InstanceState field value if set, zero value otherwise.
func (*VPNTunnels) GetInstanceStateOk ¶
func (o *VPNTunnels) GetInstanceStateOk() (*GatewayStatus, bool)
GetInstanceStateOk returns a tuple with the InstanceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnels) GetInternalNextHopIP ¶ added in v0.10.0
func (o *VPNTunnels) GetInternalNextHopIP() string
GetInternalNextHopIP returns the InternalNextHopIP field value if set, zero value otherwise.
func (*VPNTunnels) GetInternalNextHopIPOk ¶ added in v0.10.0
func (o *VPNTunnels) GetInternalNextHopIPOk() (*string, bool)
GetInternalNextHopIPOk returns a tuple with the InternalNextHopIP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnels) GetName ¶
func (o *VPNTunnels) GetName() VPNTunnelsName
GetName returns the Name field value if set, zero value otherwise.
func (*VPNTunnels) GetNameOk ¶
func (o *VPNTunnels) GetNameOk() (*VPNTunnelsName, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnels) GetPublicIP ¶
func (o *VPNTunnels) GetPublicIP() string
GetPublicIP returns the PublicIP field value if set, zero value otherwise.
func (*VPNTunnels) GetPublicIPOk ¶
func (o *VPNTunnels) GetPublicIPOk() (*string, bool)
GetPublicIPOk returns a tuple with the PublicIP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnels) HasBgpStatus ¶
func (o *VPNTunnels) HasBgpStatus() bool
HasBgpStatus returns a boolean if a field has been set.
func (*VPNTunnels) HasInstanceState ¶
func (o *VPNTunnels) HasInstanceState() bool
HasInstanceState returns a boolean if a field has been set.
func (*VPNTunnels) HasInternalNextHopIP ¶ added in v0.10.0
func (o *VPNTunnels) HasInternalNextHopIP() bool
HasInternalNextHopIP returns a boolean if a field has been set.
func (*VPNTunnels) HasName ¶
func (o *VPNTunnels) HasName() bool
HasName returns a boolean if a field has been set.
func (*VPNTunnels) HasPublicIP ¶
func (o *VPNTunnels) HasPublicIP() bool
HasPublicIP returns a boolean if a field has been set.
func (VPNTunnels) MarshalJSON ¶
func (o VPNTunnels) MarshalJSON() ([]byte, error)
func (*VPNTunnels) SetBgpStatus ¶
func (o *VPNTunnels) SetBgpStatus(v BGPStatus)
SetBgpStatus gets a reference to the given NullableBGPStatus and assigns it to the BgpStatus field.
func (*VPNTunnels) SetBgpStatusNil ¶
func (o *VPNTunnels) SetBgpStatusNil()
SetBgpStatusNil sets the value for BgpStatus to be an explicit nil
func (*VPNTunnels) SetInstanceState ¶
func (o *VPNTunnels) SetInstanceState(v GatewayStatus)
SetInstanceState gets a reference to the given GatewayStatus and assigns it to the InstanceState field.
func (*VPNTunnels) SetInternalNextHopIP ¶ added in v0.10.0
func (o *VPNTunnels) SetInternalNextHopIP(v string)
SetInternalNextHopIP gets a reference to the given string and assigns it to the InternalNextHopIP field.
func (*VPNTunnels) SetName ¶
func (o *VPNTunnels) SetName(v VPNTunnelsName)
SetName gets a reference to the given VPNTunnelsName and assigns it to the Name field.
func (*VPNTunnels) SetPublicIP ¶
func (o *VPNTunnels) SetPublicIP(v string)
SetPublicIP gets a reference to the given string and assigns it to the PublicIP field.
func (VPNTunnels) ToMap ¶
func (o VPNTunnels) ToMap() (map[string]interface{}, error)
func (*VPNTunnels) UnmarshalJSON ¶
func (o *VPNTunnels) UnmarshalJSON(data []byte) (err error)
func (*VPNTunnels) UnsetBgpStatus ¶
func (o *VPNTunnels) UnsetBgpStatus()
UnsetBgpStatus ensures that no value is present for BgpStatus, not even an explicit nil
type VPNTunnelsName ¶ added in v0.12.0
type VPNTunnelsName string
VPNTunnelsName the model 'VPNTunnelsName'
const ( VPNTUNNELSNAME_TUNNEL1 VPNTunnelsName = "tunnel1" VPNTUNNELSNAME_TUNNEL2 VPNTunnelsName = "tunnel2" VPNTUNNELSNAME_UNKNOWN_DEFAULT_OPEN_API VPNTunnelsName = "unknown_default_open_api" )
List of VPNTunnels_name
func NewVPNTunnelsNameFromValue ¶ added in v0.12.0
func NewVPNTunnelsNameFromValue(v string) (*VPNTunnelsName, error)
NewVPNTunnelsNameFromValue returns a pointer to a valid VPNTunnelsName for the value passed as argument, or an error if the value passed is not allowed by the enum
func (VPNTunnelsName) IsValid ¶ added in v0.12.0
func (v VPNTunnelsName) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VPNTunnelsName) Ptr ¶ added in v0.12.0
func (v VPNTunnelsName) Ptr() *VPNTunnelsName
Ptr returns reference to VPNTunnels_name value
func (*VPNTunnelsName) UnmarshalJSON ¶ added in v0.12.0
func (v *VPNTunnelsName) UnmarshalJSON(src []byte) error
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_api_error.go
- model_api_error_detail.go
- model_api_error_detail_reason.go
- model_api_error_response.go
- model_bgp_gateway_config.go
- model_bgp_status.go
- model_bgp_status_peers.go
- model_bgp_status_routes.go
- model_bgp_tunnel_config.go
- model_connection_list.go
- model_connection_response.go
- model_connection_status_response.go
- model_create_gateway_connection_payload.go
- model_create_gateway_payload.go
- model_create_gateway_payload_availability_zones.go
- model_gateway.go
- model_gateway_availability_zones.go
- model_gateway_list.go
- model_gateway_response.go
- model_gateway_status.go
- model_gateway_status_response.go
- model_peering_config.go
- model_phase.go
- model_phase1_status.go
- model_phase2_status.go
- model_phase_dh_groups_inner.go
- model_phase_encryption_algorithms_inner.go
- model_phase_integrity_algorithms_inner.go
- model_plan.go
- model_plan_list.go
- model_quota.go
- model_quota_list.go
- model_quota_list_response.go
- model_region.go
- model_routing_type.go
- model_tunnel_configuration.go
- model_tunnel_configuration_phase1.go
- model_tunnel_configuration_phase2.go
- model_tunnel_configuration_phase2_all_of_dpd_action.go
- model_tunnel_configuration_phase2_all_of_start_action.go
- model_tunnel_status.go
- model_tunnel_status_name.go
- model_update_gateway_connection_payload.go
- model_update_gateway_payload.go
- model_update_gateway_payload_availability_zones.go
- model_vpn_tunnels.go
- model_vpn_tunnels_name.go
- response.go
- utils.go