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) HasStatus() 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() string
- func (o *APIErrorDetail) GetReasonOk() (*string, 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 string)
- func (o APIErrorDetail) ToMap() (map[string]interface{}, error)
- func (o *APIErrorDetail) UnmarshalJSON(data []byte) (err error)
- 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 ApiCreateVPNGatewayRequest
- type ApiDeleteGatewayConnectionRequest
- type ApiDeleteVPNGatewayRequest
- type ApiGetGatewayConnectionRequest
- type ApiGetGatewayConnectionStatusRequest
- type ApiGetVPNGatewayRequest
- type ApiGetVPNGatewayStatusRequest
- type ApiListGatewayConnectionsRequest
- type ApiListPlansRequest
- type ApiListQuotasRequest
- type ApiListVPNGatewaysRequest
- type ApiUpdateGatewayConnectionRequest
- type ApiUpdateVPNGatewayRequest
- type BGPGatewayConfig
- func (o *BGPGatewayConfig) GetLocalAsn() int32
- func (o *BGPGatewayConfig) GetLocalAsnOk() (*int32, bool)
- func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutes() []string
- func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutesOk() ([]string, bool)
- func (o *BGPGatewayConfig) HasLocalAsn() bool
- func (o *BGPGatewayConfig) HasOverrideAdvertisedRoutes() bool
- func (o BGPGatewayConfig) MarshalJSON() ([]byte, error)
- func (o *BGPGatewayConfig) SetLocalAsn(v int32)
- func (o *BGPGatewayConfig) SetOverrideAdvertisedRoutes(v []string)
- func (o BGPGatewayConfig) ToMap() (map[string]interface{}, 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)
- type BGPStatusPeers
- func (o *BGPStatusPeers) GetLocalAs() float32
- func (o *BGPStatusPeers) GetLocalAsOk() (*float32, bool)
- func (o *BGPStatusPeers) GetPeerUptime() string
- func (o *BGPStatusPeers) GetPeerUptimeOk() (*string, bool)
- func (o *BGPStatusPeers) GetPfxRcd() float32
- func (o *BGPStatusPeers) GetPfxRcdOk() (*float32, bool)
- func (o *BGPStatusPeers) GetPfxSnt() float32
- func (o *BGPStatusPeers) GetPfxSntOk() (*float32, bool)
- func (o *BGPStatusPeers) GetRemoteAs() float32
- func (o *BGPStatusPeers) GetRemoteAsOk() (*float32, 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 float32)
- func (o *BGPStatusPeers) SetPeerUptime(v string)
- func (o *BGPStatusPeers) SetPfxRcd(v float32)
- func (o *BGPStatusPeers) SetPfxSnt(v float32)
- func (o *BGPStatusPeers) SetRemoteAs(v float32)
- 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() float32
- func (o *BGPStatusRoutes) GetWeightOk() (*float32, 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 float32)
- func (o BGPStatusRoutes) ToMap() (map[string]interface{}, error)
- func (o *BGPStatusRoutes) UnmarshalJSON(data []byte) (err error)
- type BGPTunnelConfig
- func (o *BGPTunnelConfig) GetRemoteAsn() int32
- func (o *BGPTunnelConfig) GetRemoteAsnOk() (*int32, bool)
- func (o BGPTunnelConfig) MarshalJSON() ([]byte, error)
- func (o *BGPTunnelConfig) SetRemoteAsn(v int32)
- func (o BGPTunnelConfig) ToMap() (map[string]interface{}, error)
- func (o *BGPTunnelConfig) UnmarshalJSON(data []byte) (err error)
- type Connection
- func (o *Connection) GetEnabled() bool
- func (o *Connection) GetEnabledOk() (*bool, bool)
- func (o *Connection) GetLabels() map[string]string
- func (o *Connection) GetLabelsOk() (*map[string]string, bool)
- func (o *Connection) GetLocalSubnets() []string
- func (o *Connection) GetLocalSubnetsOk() ([]string, bool)
- func (o *Connection) GetName() string
- func (o *Connection) GetNameOk() (*string, bool)
- func (o *Connection) GetRemoteSubnets() []string
- func (o *Connection) GetRemoteSubnetsOk() ([]string, bool)
- func (o *Connection) GetStaticRoutes() []string
- func (o *Connection) GetStaticRoutesOk() ([]string, bool)
- func (o *Connection) GetTunnel1() TunnelConfiguration
- func (o *Connection) GetTunnel1Ok() (*TunnelConfiguration, bool)
- func (o *Connection) GetTunnel2() TunnelConfiguration
- func (o *Connection) GetTunnel2Ok() (*TunnelConfiguration, bool)
- func (o *Connection) HasEnabled() bool
- func (o *Connection) HasLabels() bool
- func (o *Connection) HasLocalSubnets() bool
- func (o *Connection) HasRemoteSubnets() bool
- func (o *Connection) HasStaticRoutes() bool
- func (o Connection) MarshalJSON() ([]byte, error)
- func (o *Connection) SetEnabled(v bool)
- func (o *Connection) SetLabels(v map[string]string)
- func (o *Connection) SetLocalSubnets(v []string)
- func (o *Connection) SetName(v string)
- func (o *Connection) SetRemoteSubnets(v []string)
- func (o *Connection) SetStaticRoutes(v []string)
- func (o *Connection) SetTunnel1(v TunnelConfiguration)
- func (o *Connection) SetTunnel2(v TunnelConfiguration)
- func (o Connection) ToMap() (map[string]interface{}, error)
- func (o *Connection) UnmarshalJSON(data []byte) (err error)
- type ConnectionList
- func (o *ConnectionList) GetConnections() []Connection
- func (o *ConnectionList) GetConnectionsOk() ([]Connection, bool)
- func (o ConnectionList) MarshalJSON() ([]byte, error)
- func (o *ConnectionList) SetConnections(v []Connection)
- func (o ConnectionList) ToMap() (map[string]interface{}, error)
- func (o *ConnectionList) UnmarshalJSON(data []byte) (err error)
- type ConnectionStatusResponse
- func (o *ConnectionStatusResponse) GetEnabled() bool
- func (o *ConnectionStatusResponse) GetEnabledOk() (*bool, bool)
- func (o *ConnectionStatusResponse) GetName() string
- func (o *ConnectionStatusResponse) GetNameOk() (*string, bool)
- func (o *ConnectionStatusResponse) GetTunnels() []TunnelStatus
- func (o *ConnectionStatusResponse) GetTunnelsOk() ([]TunnelStatus, bool)
- func (o *ConnectionStatusResponse) HasEnabled() bool
- func (o *ConnectionStatusResponse) HasName() bool
- func (o *ConnectionStatusResponse) HasTunnels() bool
- func (o ConnectionStatusResponse) MarshalJSON() ([]byte, error)
- func (o *ConnectionStatusResponse) SetEnabled(v bool)
- func (o *ConnectionStatusResponse) SetName(v string)
- func (o *ConnectionStatusResponse) SetTunnels(v []TunnelStatus)
- func (o ConnectionStatusResponse) ToMap() (map[string]interface{}, error)
- type CreateGatewayConnectionPayload
- 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) GetName() string
- func (o *CreateGatewayConnectionPayload) GetNameOk() (*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) SetEnabled(v bool)
- func (o *CreateGatewayConnectionPayload) SetLabels(v map[string]string)
- func (o *CreateGatewayConnectionPayload) SetLocalSubnets(v []string)
- func (o *CreateGatewayConnectionPayload) SetName(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 CreateVPNGatewayPayload
- func (o *CreateVPNGatewayPayload) GetAvailabilityZones() CreateVPNGatewayPayloadAvailabilityZones
- func (o *CreateVPNGatewayPayload) GetAvailabilityZonesOk() (*CreateVPNGatewayPayloadAvailabilityZones, bool)
- func (o *CreateVPNGatewayPayload) GetBgp() BGPGatewayConfig
- func (o *CreateVPNGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *CreateVPNGatewayPayload) GetLabels() map[string]string
- func (o *CreateVPNGatewayPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateVPNGatewayPayload) GetName() string
- func (o *CreateVPNGatewayPayload) GetNameOk() (*string, bool)
- func (o *CreateVPNGatewayPayload) GetPlanId() string
- func (o *CreateVPNGatewayPayload) GetPlanIdOk() (*string, bool)
- func (o *CreateVPNGatewayPayload) GetRoutingType() RoutingType
- func (o *CreateVPNGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *CreateVPNGatewayPayload) HasBgp() bool
- func (o *CreateVPNGatewayPayload) HasLabels() bool
- func (o CreateVPNGatewayPayload) MarshalJSON() ([]byte, error)
- func (o *CreateVPNGatewayPayload) SetAvailabilityZones(v CreateVPNGatewayPayloadAvailabilityZones)
- func (o *CreateVPNGatewayPayload) SetBgp(v BGPGatewayConfig)
- func (o *CreateVPNGatewayPayload) SetLabels(v map[string]string)
- func (o *CreateVPNGatewayPayload) SetName(v string)
- func (o *CreateVPNGatewayPayload) SetPlanId(v string)
- func (o *CreateVPNGatewayPayload) SetRoutingType(v RoutingType)
- func (o CreateVPNGatewayPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateVPNGatewayPayload) UnmarshalJSON(data []byte) (err error)
- type CreateVPNGatewayPayloadAvailabilityZones
- func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1() string
- func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
- func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2() string
- func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
- func (o CreateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (o *CreateVPNGatewayPayloadAvailabilityZones) SetTunnel1(v string)
- func (o *CreateVPNGatewayPayloadAvailabilityZones) SetTunnel2(v string)
- func (o CreateVPNGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
- func (o *CreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string) ApiCreateGatewayConnectionRequest
- func (a *DefaultAPIService) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*Connection, error)
- func (a *DefaultAPIService) CreateVPNGateway(ctx context.Context, projectId string, region Region) ApiCreateVPNGatewayRequest
- func (a *DefaultAPIService) CreateVPNGatewayExecute(r ApiCreateVPNGatewayRequest) (*GatewayResponse, error)
- func (a *DefaultAPIService) DeleteGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiDeleteGatewayConnectionRequest
- func (a *DefaultAPIService) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
- func (a *DefaultAPIService) DeleteVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiDeleteVPNGatewayRequest
- func (a *DefaultAPIService) DeleteVPNGatewayExecute(r ApiDeleteVPNGatewayRequest) error
- func (a *DefaultAPIService) GetGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiGetGatewayConnectionRequest
- func (a *DefaultAPIService) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*Connection, error)
- func (a *DefaultAPIService) GetGatewayConnectionStatus(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiGetGatewayConnectionStatusRequest
- func (a *DefaultAPIService) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
- func (a *DefaultAPIService) GetVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayRequest
- func (a *DefaultAPIService) GetVPNGatewayExecute(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
- func (a *DefaultAPIService) GetVPNGatewayStatus(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayStatusRequest
- func (a *DefaultAPIService) GetVPNGatewayStatusExecute(r ApiGetVPNGatewayStatusRequest) (*GatewayStatusResponse, error)
- func (a *DefaultAPIService) ListGatewayConnections(ctx context.Context, projectId string, region Region, gatewayName string) ApiListGatewayConnectionsRequest
- func (a *DefaultAPIService) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
- func (a *DefaultAPIService) ListPlans(ctx context.Context, region Region) ApiListPlansRequest
- func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
- func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region Region) ApiListQuotasRequest
- func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a *DefaultAPIService) ListVPNGateways(ctx context.Context, projectId string, region Region) ApiListVPNGatewaysRequest
- func (a *DefaultAPIService) ListVPNGatewaysExecute(r ApiListVPNGatewaysRequest) (*GatewayList, error)
- func (a *DefaultAPIService) UpdateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiUpdateGatewayConnectionRequest
- func (a *DefaultAPIService) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*Connection, error)
- func (a *DefaultAPIService) UpdateVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiUpdateVPNGatewayRequest
- func (a *DefaultAPIService) UpdateVPNGatewayExecute(r ApiUpdateVPNGatewayRequest) (*GatewayResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string) ApiCreateGatewayConnectionRequest
- func (a DefaultAPIServiceMock) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*Connection, error)
- func (a DefaultAPIServiceMock) CreateVPNGateway(ctx context.Context, projectId string, region Region) ApiCreateVPNGatewayRequest
- func (a DefaultAPIServiceMock) CreateVPNGatewayExecute(r ApiCreateVPNGatewayRequest) (*GatewayResponse, error)
- func (a DefaultAPIServiceMock) DeleteGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiDeleteGatewayConnectionRequest
- func (a DefaultAPIServiceMock) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
- func (a DefaultAPIServiceMock) DeleteVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiDeleteVPNGatewayRequest
- func (a DefaultAPIServiceMock) DeleteVPNGatewayExecute(r ApiDeleteVPNGatewayRequest) error
- func (a DefaultAPIServiceMock) GetGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiGetGatewayConnectionRequest
- func (a DefaultAPIServiceMock) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*Connection, error)
- func (a DefaultAPIServiceMock) GetGatewayConnectionStatus(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiGetGatewayConnectionStatusRequest
- func (a DefaultAPIServiceMock) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
- func (a DefaultAPIServiceMock) GetVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayRequest
- func (a DefaultAPIServiceMock) GetVPNGatewayExecute(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
- func (a DefaultAPIServiceMock) GetVPNGatewayStatus(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayStatusRequest
- func (a DefaultAPIServiceMock) GetVPNGatewayStatusExecute(r ApiGetVPNGatewayStatusRequest) (*GatewayStatusResponse, error)
- func (a DefaultAPIServiceMock) ListGatewayConnections(ctx context.Context, projectId string, region Region, gatewayName string) ApiListGatewayConnectionsRequest
- func (a DefaultAPIServiceMock) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
- func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region Region) ApiListPlansRequest
- func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
- func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region Region) ApiListQuotasRequest
- func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a DefaultAPIServiceMock) ListVPNGateways(ctx context.Context, projectId string, region Region) ApiListVPNGatewaysRequest
- func (a DefaultAPIServiceMock) ListVPNGatewaysExecute(r ApiListVPNGatewaysRequest) (*GatewayList, error)
- func (a DefaultAPIServiceMock) UpdateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, ...) ApiUpdateGatewayConnectionRequest
- func (a DefaultAPIServiceMock) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*Connection, error)
- func (a DefaultAPIServiceMock) UpdateVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiUpdateVPNGatewayRequest
- func (a DefaultAPIServiceMock) UpdateVPNGatewayExecute(r ApiUpdateVPNGatewayRequest) (*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) GetLabels() map[string]string
- func (o *Gateway) GetLabelsOk() (*map[string]string, bool)
- func (o *Gateway) GetName() string
- func (o *Gateway) GetNameOk() (*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) SetLabels(v map[string]string)
- func (o *Gateway) SetName(v 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) GetLabels() map[string]string
- func (o *GatewayResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GatewayResponse) GetName() string
- func (o *GatewayResponse) GetNameOk() (*string, bool)
- func (o *GatewayResponse) GetPlanId() string
- func (o *GatewayResponse) GetPlanIdOk() (*string, bool)
- func (o *GatewayResponse) GetRegion() Region
- func (o *GatewayResponse) GetRegionOk() (*Region, 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) HasLabels() bool
- func (o *GatewayResponse) HasRegion() 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) SetLabels(v map[string]string)
- func (o *GatewayResponse) SetName(v string)
- func (o *GatewayResponse) SetPlanId(v string)
- func (o *GatewayResponse) SetRegion(v Region)
- 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) GetGatewayName() string
- func (o *GatewayStatusResponse) GetGatewayNameOk() (*string, bool)
- func (o *GatewayStatusResponse) GetGatewayStatus() GatewayStatus
- func (o *GatewayStatusResponse) GetGatewayStatusOk() (*GatewayStatus, bool)
- func (o *GatewayStatusResponse) GetTunnels() []VPNTunnels
- func (o *GatewayStatusResponse) GetTunnelsOk() ([]VPNTunnels, bool)
- func (o *GatewayStatusResponse) HasGatewayName() bool
- func (o *GatewayStatusResponse) HasGatewayStatus() bool
- func (o *GatewayStatusResponse) HasTunnels() bool
- func (o GatewayStatusResponse) MarshalJSON() ([]byte, error)
- func (o *GatewayStatusResponse) SetGatewayName(v string)
- func (o *GatewayStatusResponse) SetGatewayStatus(v GatewayStatus)
- func (o *GatewayStatusResponse) SetTunnels(v []VPNTunnels)
- func (o GatewayStatusResponse) ToMap() (map[string]interface{}, 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 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 NullableConnection
- 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 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 NullableCreateVPNGatewayPayload
- func (v NullableCreateVPNGatewayPayload) Get() *CreateVPNGatewayPayload
- func (v NullableCreateVPNGatewayPayload) IsSet() bool
- func (v NullableCreateVPNGatewayPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVPNGatewayPayload) Set(val *CreateVPNGatewayPayload)
- func (v *NullableCreateVPNGatewayPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVPNGatewayPayload) Unset()
- type NullableCreateVPNGatewayPayloadAvailabilityZones
- func (v NullableCreateVPNGatewayPayloadAvailabilityZones) Get() *CreateVPNGatewayPayloadAvailabilityZones
- func (v NullableCreateVPNGatewayPayloadAvailabilityZones) IsSet() bool
- func (v NullableCreateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVPNGatewayPayloadAvailabilityZones) Set(val *CreateVPNGatewayPayloadAvailabilityZones)
- func (v *NullableCreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVPNGatewayPayloadAvailabilityZones) 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 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 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 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 NullableUpdateVPNGatewayPayload
- func (v NullableUpdateVPNGatewayPayload) Get() *UpdateVPNGatewayPayload
- func (v NullableUpdateVPNGatewayPayload) IsSet() bool
- func (v NullableUpdateVPNGatewayPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVPNGatewayPayload) Set(val *UpdateVPNGatewayPayload)
- func (v *NullableUpdateVPNGatewayPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVPNGatewayPayload) Unset()
- type NullableUpdateVPNGatewayPayloadAvailabilityZones
- func (v NullableUpdateVPNGatewayPayloadAvailabilityZones) Get() *UpdateVPNGatewayPayloadAvailabilityZones
- func (v NullableUpdateVPNGatewayPayloadAvailabilityZones) IsSet() bool
- func (v NullableUpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVPNGatewayPayloadAvailabilityZones) Set(val *UpdateVPNGatewayPayloadAvailabilityZones)
- func (v *NullableUpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVPNGatewayPayloadAvailabilityZones) Unset()
- type NullableVPNTunnelPlan
- func (v NullableVPNTunnelPlan) Get() *VPNTunnelPlan
- func (v NullableVPNTunnelPlan) IsSet() bool
- func (v NullableVPNTunnelPlan) MarshalJSON() ([]byte, error)
- func (v *NullableVPNTunnelPlan) Set(val *VPNTunnelPlan)
- func (v *NullableVPNTunnelPlan) UnmarshalJSON(src []byte) error
- func (v *NullableVPNTunnelPlan) Unset()
- type NullableVPNTunnels
- 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)
- type Phase
- func (o *Phase) GetDhGroups() []string
- func (o *Phase) GetDhGroupsOk() ([]string, bool)
- func (o *Phase) GetEncryptionAlgorithms() []string
- func (o *Phase) GetEncryptionAlgorithmsOk() ([]string, bool)
- func (o *Phase) GetIntegrityAlgorithms() []string
- func (o *Phase) GetIntegrityAlgorithmsOk() ([]string, bool)
- func (o *Phase) HasDhGroups() bool
- func (o Phase) MarshalJSON() ([]byte, error)
- func (o *Phase) SetDhGroups(v []string)
- func (o *Phase) SetEncryptionAlgorithms(v []string)
- func (o *Phase) SetIntegrityAlgorithms(v []string)
- 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)
- 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)
- 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) GetRegion() string
- func (o *Plan) GetRegionOk() (*string, bool)
- func (o *Plan) GetSku() string
- func (o *Plan) GetSkuOk() (*string, bool)
- func (o *Plan) GetType() string
- func (o *Plan) GetTypeOk() (*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) HasRegion() bool
- func (o *Plan) HasSku() bool
- func (o *Plan) HasType() 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) SetRegion(v string)
- func (o *Plan) SetSku(v string)
- func (o *Plan) SetType(v string)
- func (o Plan) ToMap() (map[string]interface{}, 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) GetTunnel() VPNTunnelPlan
- func (o *PlanList) GetTunnelOk() (*VPNTunnelPlan, bool)
- func (o *PlanList) HasDefaultPlanId() bool
- func (o *PlanList) HasPlans() bool
- func (o *PlanList) HasTunnel() bool
- func (o PlanList) MarshalJSON() ([]byte, error)
- func (o *PlanList) SetDefaultPlanId(v string)
- func (o *PlanList) SetPlans(v []Plan)
- func (o *PlanList) SetTunnel(v VPNTunnelPlan)
- func (o PlanList) ToMap() (map[string]interface{}, 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() []string
- func (o *TunnelConfigurationPhase1) GetDhGroupsOk() ([]string, bool)
- func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithms() []string
- func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk() ([]string, bool)
- func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithms() []string
- func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk() ([]string, 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 []string)
- func (o *TunnelConfigurationPhase1) SetEncryptionAlgorithms(v []string)
- func (o *TunnelConfigurationPhase1) SetIntegrityAlgorithms(v []string)
- 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() []string
- func (o *TunnelConfigurationPhase2) GetDhGroupsOk() ([]string, bool)
- func (o *TunnelConfigurationPhase2) GetDpdAction() string
- func (o *TunnelConfigurationPhase2) GetDpdActionOk() (*string, bool)
- func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithms() []string
- func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk() ([]string, bool)
- func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithms() []string
- func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk() ([]string, bool)
- func (o *TunnelConfigurationPhase2) GetRekeyTime() int32
- func (o *TunnelConfigurationPhase2) GetRekeyTimeOk() (*int32, bool)
- func (o *TunnelConfigurationPhase2) GetStartAction() string
- func (o *TunnelConfigurationPhase2) GetStartActionOk() (*string, 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 []string)
- func (o *TunnelConfigurationPhase2) SetDpdAction(v string)
- func (o *TunnelConfigurationPhase2) SetEncryptionAlgorithms(v []string)
- func (o *TunnelConfigurationPhase2) SetIntegrityAlgorithms(v []string)
- func (o *TunnelConfigurationPhase2) SetRekeyTime(v int32)
- func (o *TunnelConfigurationPhase2) SetStartAction(v string)
- func (o TunnelConfigurationPhase2) ToMap() (map[string]interface{}, error)
- func (o *TunnelConfigurationPhase2) UnmarshalJSON(data []byte) (err error)
- type TunnelStatus
- func (o *TunnelStatus) GetEstablished() bool
- func (o *TunnelStatus) GetEstablishedOk() (*bool, bool)
- func (o *TunnelStatus) GetName() string
- func (o *TunnelStatus) GetNameOk() (*string, 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 string)
- func (o *TunnelStatus) SetPhase1(v Phase1Status)
- func (o *TunnelStatus) SetPhase2(v Phase2Status)
- func (o TunnelStatus) ToMap() (map[string]interface{}, error)
- type UpdateGatewayConnectionPayload
- 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) GetName() string
- func (o *UpdateGatewayConnectionPayload) GetNameOk() (*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) SetEnabled(v bool)
- func (o *UpdateGatewayConnectionPayload) SetLabels(v map[string]string)
- func (o *UpdateGatewayConnectionPayload) SetLocalSubnets(v []string)
- func (o *UpdateGatewayConnectionPayload) SetName(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 UpdateVPNGatewayPayload
- func (o *UpdateVPNGatewayPayload) GetAvailabilityZones() UpdateVPNGatewayPayloadAvailabilityZones
- func (o *UpdateVPNGatewayPayload) GetAvailabilityZonesOk() (*UpdateVPNGatewayPayloadAvailabilityZones, bool)
- func (o *UpdateVPNGatewayPayload) GetBgp() BGPGatewayConfig
- func (o *UpdateVPNGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)
- func (o *UpdateVPNGatewayPayload) GetLabels() map[string]string
- func (o *UpdateVPNGatewayPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateVPNGatewayPayload) GetName() string
- func (o *UpdateVPNGatewayPayload) GetNameOk() (*string, bool)
- func (o *UpdateVPNGatewayPayload) GetPlanId() string
- func (o *UpdateVPNGatewayPayload) GetPlanIdOk() (*string, bool)
- func (o *UpdateVPNGatewayPayload) GetRoutingType() RoutingType
- func (o *UpdateVPNGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
- func (o *UpdateVPNGatewayPayload) HasBgp() bool
- func (o *UpdateVPNGatewayPayload) HasLabels() bool
- func (o UpdateVPNGatewayPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateVPNGatewayPayload) SetAvailabilityZones(v UpdateVPNGatewayPayloadAvailabilityZones)
- func (o *UpdateVPNGatewayPayload) SetBgp(v BGPGatewayConfig)
- func (o *UpdateVPNGatewayPayload) SetLabels(v map[string]string)
- func (o *UpdateVPNGatewayPayload) SetName(v string)
- func (o *UpdateVPNGatewayPayload) SetPlanId(v string)
- func (o *UpdateVPNGatewayPayload) SetRoutingType(v RoutingType)
- func (o UpdateVPNGatewayPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateVPNGatewayPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateVPNGatewayPayloadAvailabilityZones
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1() string
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2() string
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
- func (o UpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel1(v string)
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel2(v string)
- func (o UpdateVPNGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
- func (o *UpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
- type VPNTunnelPlan
- func (o *VPNTunnelPlan) GetName() string
- func (o *VPNTunnelPlan) GetNameOk() (*string, bool)
- func (o *VPNTunnelPlan) GetRegion() string
- func (o *VPNTunnelPlan) GetRegionOk() (*string, bool)
- func (o *VPNTunnelPlan) GetSku() string
- func (o *VPNTunnelPlan) GetSkuOk() (*string, bool)
- func (o *VPNTunnelPlan) HasName() bool
- func (o *VPNTunnelPlan) HasRegion() bool
- func (o *VPNTunnelPlan) HasSku() bool
- func (o VPNTunnelPlan) MarshalJSON() ([]byte, error)
- func (o *VPNTunnelPlan) SetName(v string)
- func (o *VPNTunnelPlan) SetRegion(v string)
- func (o *VPNTunnelPlan) SetSku(v string)
- func (o VPNTunnelPlan) ToMap() (map[string]interface{}, 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) GetName() string
- func (o *VPNTunnels) GetNameOk() (*string, 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) 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) SetName(v string)
- func (o *VPNTunnels) SetPublicIP(v string)
- func (o VPNTunnels) ToMap() (map[string]interface{}, error)
- func (o *VPNTunnels) UnsetBgpStatus()
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedGatewayStatusEnumValues = []GatewayStatus{
"PENDING",
"READY",
"ERROR",
"DELETING",
}
All allowed values of GatewayStatus enum
var AllowedRegionEnumValues = []Region{
"eu01",
"eu02",
}
All allowed values of Region enum
var AllowedRoutingTypeEnumValues = []RoutingType{
"POLICY_BASED",
"ROUTE_BASED",
"BGP_ROUTE_BASED",
}
All allowed values of RoutingType 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 v1alpha1 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,omitempty"`
}
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 if set, nil otherwise 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) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status 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"`
// The reason why the error occurs.
Reason string `json:"reason"`
}
APIErrorDetail struct for APIErrorDetail
func NewAPIErrorDetail ¶
func NewAPIErrorDetail(domain string, reason string) *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() string
GetReason returns the Reason field value
func (*APIErrorDetail) GetReasonOk ¶
func (o *APIErrorDetail) GetReasonOk() (*string, 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 string)
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 APIErrorResponse ¶
type APIErrorResponse struct {
Error APIError `json:"error"`
}
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() (*Connection, error)
type ApiCreateVPNGatewayRequest ¶
type ApiCreateVPNGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateVPNGatewayRequest) CreateVPNGatewayPayload ¶
func (r ApiCreateVPNGatewayRequest) CreateVPNGatewayPayload(createVPNGatewayPayload CreateVPNGatewayPayload) ApiCreateVPNGatewayRequest
func (ApiCreateVPNGatewayRequest) Execute ¶
func (r ApiCreateVPNGatewayRequest) Execute() (*GatewayResponse, error)
type ApiDeleteGatewayConnectionRequest ¶
type ApiDeleteGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteGatewayConnectionRequest) Execute ¶
func (r ApiDeleteGatewayConnectionRequest) Execute() error
type ApiDeleteVPNGatewayRequest ¶
type ApiDeleteVPNGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteVPNGatewayRequest) Execute ¶
func (r ApiDeleteVPNGatewayRequest) Execute() error
type ApiGetGatewayConnectionRequest ¶
type ApiGetGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayConnectionRequest) Execute ¶
func (r ApiGetGatewayConnectionRequest) Execute() (*Connection, error)
type ApiGetGatewayConnectionStatusRequest ¶
type ApiGetGatewayConnectionStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetGatewayConnectionStatusRequest) Execute ¶
func (r ApiGetGatewayConnectionStatusRequest) Execute() (*ConnectionStatusResponse, error)
type ApiGetVPNGatewayRequest ¶
type ApiGetVPNGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVPNGatewayRequest) Execute ¶
func (r ApiGetVPNGatewayRequest) Execute() (*GatewayResponse, error)
type ApiGetVPNGatewayStatusRequest ¶
type ApiGetVPNGatewayStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVPNGatewayStatusRequest) Execute ¶
func (r ApiGetVPNGatewayStatusRequest) 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
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 ApiListVPNGatewaysRequest ¶
type ApiListVPNGatewaysRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVPNGatewaysRequest) Execute ¶
func (r ApiListVPNGatewaysRequest) Execute() (*GatewayList, error)
func (ApiListVPNGatewaysRequest) LabelSelector ¶
func (r ApiListVPNGatewaysRequest) LabelSelector(labelSelector map[string]string) ApiListVPNGatewaysRequest
type ApiUpdateGatewayConnectionRequest ¶
type ApiUpdateGatewayConnectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateGatewayConnectionRequest) Execute ¶
func (r ApiUpdateGatewayConnectionRequest) Execute() (*Connection, error)
func (ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload ¶
func (r ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload(updateGatewayConnectionPayload UpdateGatewayConnectionPayload) ApiUpdateGatewayConnectionRequest
type ApiUpdateVPNGatewayRequest ¶
type ApiUpdateVPNGatewayRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateVPNGatewayRequest) Execute ¶
func (r ApiUpdateVPNGatewayRequest) Execute() (*GatewayResponse, error)
func (ApiUpdateVPNGatewayRequest) UpdateVPNGatewayPayload ¶
func (r ApiUpdateVPNGatewayRequest) UpdateVPNGatewayPayload(updateVPNGatewayPayload UpdateVPNGatewayPayload) ApiUpdateVPNGatewayRequest
type BGPGatewayConfig ¶
type BGPGatewayConfig struct {
// ASN for private use (reserved by IANA). Allowed values are 64512-65534 (16-bit range) and 4200000000-4294967294 (32-bit range).
LocalAsn *int32 `json:"localAsn,omitempty"`
// List of routes (IPv4 CIDR).
OverrideAdvertisedRoutes []string `json:"overrideAdvertisedRoutes,omitempty"`
}
BGPGatewayConfig BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED)
func NewBGPGatewayConfig ¶
func NewBGPGatewayConfig() *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() int32
GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.
func (*BGPGatewayConfig) GetLocalAsnOk ¶
func (o *BGPGatewayConfig) GetLocalAsnOk() (*int32, bool)
GetLocalAsnOk returns a tuple with the LocalAsn field value if set, nil otherwise 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) HasLocalAsn ¶
func (o *BGPGatewayConfig) HasLocalAsn() bool
HasLocalAsn returns a boolean if a field 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 int32)
SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.
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)
type BGPStatus ¶
type BGPStatus struct {
Peers []BGPStatusPeers `json:"peers,omitempty"`
Routes []BGPStatusRoutes `json:"routes,omitempty"`
}
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.
type BGPStatusPeers ¶
type BGPStatusPeers struct {
LocalAs float32 `json:"localAs"`
PeerUptime string `json:"peerUptime"`
PfxRcd float32 `json:"pfxRcd"`
PfxSnt float32 `json:"pfxSnt"`
RemoteAs float32 `json:"remoteAs"`
RemoteIP string `json:"remoteIP"`
State string `json:"state"`
}
BGPStatusPeers struct for BGPStatusPeers
func NewBGPStatusPeers ¶
func NewBGPStatusPeers(localAs float32, peerUptime string, pfxRcd float32, pfxSnt float32, remoteAs float32, 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() float32
GetLocalAs returns the LocalAs field value
func (*BGPStatusPeers) GetLocalAsOk ¶
func (o *BGPStatusPeers) GetLocalAsOk() (*float32, 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() float32
GetPfxRcd returns the PfxRcd field value
func (*BGPStatusPeers) GetPfxRcdOk ¶
func (o *BGPStatusPeers) GetPfxRcdOk() (*float32, 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() float32
GetPfxSnt returns the PfxSnt field value
func (*BGPStatusPeers) GetPfxSntOk ¶
func (o *BGPStatusPeers) GetPfxSntOk() (*float32, 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() float32
GetRemoteAs returns the RemoteAs field value
func (*BGPStatusPeers) GetRemoteAsOk ¶
func (o *BGPStatusPeers) GetRemoteAsOk() (*float32, 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 float32)
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 float32)
SetPfxRcd sets field value
func (*BGPStatusPeers) SetPfxSnt ¶
func (o *BGPStatusPeers) SetPfxSnt(v float32)
SetPfxSnt sets field value
func (*BGPStatusPeers) SetRemoteAs ¶
func (o *BGPStatusPeers) SetRemoteAs(v float32)
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 {
Network string `json:"network"`
Origin string `json:"origin"`
Path string `json:"path"`
PeerId string `json:"peerId"`
Weight float32 `json:"weight"`
}
BGPStatusRoutes struct for BGPStatusRoutes
func NewBGPStatusRoutes ¶
func NewBGPStatusRoutes(network string, origin string, path string, peerId string, weight float32) *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() float32
GetWeight returns the Weight field value
func (*BGPStatusRoutes) GetWeightOk ¶
func (o *BGPStatusRoutes) GetWeightOk() (*float32, 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 float32)
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). Allowed values are 64512-65534 (16-bit range) and 4200000000-4294967294 (32-bit range).
RemoteAsn int32 `json:"remoteAsn"`
}
BGPTunnelConfig struct for BGPTunnelConfig
func NewBGPTunnelConfig ¶
func NewBGPTunnelConfig(remoteAsn int32) *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() int32
GetRemoteAsn returns the RemoteAsn field value
func (*BGPTunnelConfig) GetRemoteAsnOk ¶
func (o *BGPTunnelConfig) GetRemoteAsnOk() (*int32, 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 int32)
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 Connection ¶
type Connection struct {
// 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"`
// The name of the connection. Maximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. Currently renaming is not possible therefore deleting and re-creating the connection is necessary.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
}
Connection struct for Connection
func NewConnection ¶
func NewConnection(name string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *Connection
NewConnection instantiates a new Connection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConnectionWithDefaults ¶
func NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Connection) GetEnabled ¶
func (o *Connection) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Connection) GetEnabledOk ¶
func (o *Connection) 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 (*Connection) GetLabels ¶
func (o *Connection) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*Connection) GetLabelsOk ¶
func (o *Connection) 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 (*Connection) GetLocalSubnets ¶
func (o *Connection) GetLocalSubnets() []string
GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.
func (*Connection) GetLocalSubnetsOk ¶
func (o *Connection) 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 (*Connection) GetName ¶
func (o *Connection) GetName() string
GetName returns the Name field value
func (*Connection) GetNameOk ¶
func (o *Connection) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Connection) GetRemoteSubnets ¶
func (o *Connection) GetRemoteSubnets() []string
GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.
func (*Connection) GetRemoteSubnetsOk ¶
func (o *Connection) 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 (*Connection) GetStaticRoutes ¶
func (o *Connection) GetStaticRoutes() []string
GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.
func (*Connection) GetStaticRoutesOk ¶
func (o *Connection) 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 (*Connection) GetTunnel1 ¶
func (o *Connection) GetTunnel1() TunnelConfiguration
GetTunnel1 returns the Tunnel1 field value
func (*Connection) GetTunnel1Ok ¶
func (o *Connection) GetTunnel1Ok() (*TunnelConfiguration, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*Connection) GetTunnel2 ¶
func (o *Connection) GetTunnel2() TunnelConfiguration
GetTunnel2 returns the Tunnel2 field value
func (*Connection) GetTunnel2Ok ¶
func (o *Connection) GetTunnel2Ok() (*TunnelConfiguration, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (*Connection) HasEnabled ¶
func (o *Connection) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*Connection) HasLabels ¶
func (o *Connection) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*Connection) HasLocalSubnets ¶
func (o *Connection) HasLocalSubnets() bool
HasLocalSubnets returns a boolean if a field has been set.
func (*Connection) HasRemoteSubnets ¶
func (o *Connection) HasRemoteSubnets() bool
HasRemoteSubnets returns a boolean if a field has been set.
func (*Connection) HasStaticRoutes ¶
func (o *Connection) HasStaticRoutes() bool
HasStaticRoutes returns a boolean if a field has been set.
func (Connection) MarshalJSON ¶
func (o Connection) MarshalJSON() ([]byte, error)
func (*Connection) SetEnabled ¶
func (o *Connection) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Connection) SetLabels ¶
func (o *Connection) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Connection) SetLocalSubnets ¶
func (o *Connection) SetLocalSubnets(v []string)
SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.
func (*Connection) SetRemoteSubnets ¶
func (o *Connection) SetRemoteSubnets(v []string)
SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.
func (*Connection) SetStaticRoutes ¶
func (o *Connection) SetStaticRoutes(v []string)
SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.
func (*Connection) SetTunnel1 ¶
func (o *Connection) SetTunnel1(v TunnelConfiguration)
SetTunnel1 sets field value
func (*Connection) SetTunnel2 ¶
func (o *Connection) SetTunnel2(v TunnelConfiguration)
SetTunnel2 sets field value
func (Connection) ToMap ¶
func (o Connection) ToMap() (map[string]interface{}, error)
func (*Connection) UnmarshalJSON ¶
func (o *Connection) UnmarshalJSON(data []byte) (err error)
type ConnectionList ¶
type ConnectionList struct {
Connections []Connection `json:"connections"`
}
ConnectionList struct for ConnectionList
func NewConnectionList ¶
func NewConnectionList(connections []Connection) *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() []Connection
GetConnections returns the Connections field value
func (*ConnectionList) GetConnectionsOk ¶
func (o *ConnectionList) GetConnectionsOk() ([]Connection, 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 []Connection)
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 ConnectionStatusResponse ¶
type ConnectionStatusResponse struct {
Enabled *bool `json:"enabled,omitempty"`
// The name of the connection.
Name *string `json:"name,omitempty"`
Tunnels []TunnelStatus `json:"tunnels,omitempty"`
}
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) 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) GetName ¶
func (o *ConnectionStatusResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConnectionStatusResponse) GetNameOk ¶
func (o *ConnectionStatusResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) HasEnabled ¶
func (o *ConnectionStatusResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*ConnectionStatusResponse) HasName ¶
func (o *ConnectionStatusResponse) HasName() bool
HasName 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) SetEnabled ¶
func (o *ConnectionStatusResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ConnectionStatusResponse) SetName ¶
func (o *ConnectionStatusResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name 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)
type CreateGatewayConnectionPayload ¶
type CreateGatewayConnectionPayload struct {
// 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"`
// The name of the connection. Maximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. Currently renaming is not possible therefore deleting and re-creating the connection is necessary.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
}
CreateGatewayConnectionPayload struct for CreateGatewayConnectionPayload
func NewCreateGatewayConnectionPayload ¶
func NewCreateGatewayConnectionPayload(name 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) 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 ¶
func (o *CreateGatewayConnectionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateGatewayConnectionPayload) GetLabelsOk ¶
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) GetName ¶
func (o *CreateGatewayConnectionPayload) GetName() string
GetName returns the Name field value
func (*CreateGatewayConnectionPayload) GetNameOk ¶
func (o *CreateGatewayConnectionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value 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 ¶
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) 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 ¶
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) SetName ¶
func (o *CreateGatewayConnectionPayload) SetName(v string)
SetName sets field value
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 CreateVPNGatewayPayload ¶
type CreateVPNGatewayPayload struct {
AvailabilityZones CreateVPNGatewayPayloadAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,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"`
// The name of the VPN gateway. Maximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
}
CreateVPNGatewayPayload struct for CreateVPNGatewayPayload
func NewCreateVPNGatewayPayload ¶
func NewCreateVPNGatewayPayload(availabilityZones CreateVPNGatewayPayloadAvailabilityZones, name string, planId string, routingType RoutingType) *CreateVPNGatewayPayload
NewCreateVPNGatewayPayload instantiates a new CreateVPNGatewayPayload 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 NewCreateVPNGatewayPayloadWithDefaults ¶
func NewCreateVPNGatewayPayloadWithDefaults() *CreateVPNGatewayPayload
NewCreateVPNGatewayPayloadWithDefaults instantiates a new CreateVPNGatewayPayload 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 (*CreateVPNGatewayPayload) GetAvailabilityZones ¶
func (o *CreateVPNGatewayPayload) GetAvailabilityZones() CreateVPNGatewayPayloadAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*CreateVPNGatewayPayload) GetAvailabilityZonesOk ¶
func (o *CreateVPNGatewayPayload) GetAvailabilityZonesOk() (*CreateVPNGatewayPayloadAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*CreateVPNGatewayPayload) GetBgp ¶
func (o *CreateVPNGatewayPayload) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*CreateVPNGatewayPayload) GetBgpOk ¶
func (o *CreateVPNGatewayPayload) 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 (*CreateVPNGatewayPayload) GetLabels ¶
func (o *CreateVPNGatewayPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateVPNGatewayPayload) GetLabelsOk ¶
func (o *CreateVPNGatewayPayload) 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 (*CreateVPNGatewayPayload) GetName ¶
func (o *CreateVPNGatewayPayload) GetName() string
GetName returns the Name field value
func (*CreateVPNGatewayPayload) GetNameOk ¶
func (o *CreateVPNGatewayPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateVPNGatewayPayload) GetPlanId ¶
func (o *CreateVPNGatewayPayload) GetPlanId() string
GetPlanId returns the PlanId field value
func (*CreateVPNGatewayPayload) GetPlanIdOk ¶
func (o *CreateVPNGatewayPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*CreateVPNGatewayPayload) GetRoutingType ¶
func (o *CreateVPNGatewayPayload) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*CreateVPNGatewayPayload) GetRoutingTypeOk ¶
func (o *CreateVPNGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (*CreateVPNGatewayPayload) HasBgp ¶
func (o *CreateVPNGatewayPayload) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*CreateVPNGatewayPayload) HasLabels ¶
func (o *CreateVPNGatewayPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateVPNGatewayPayload) MarshalJSON ¶
func (o CreateVPNGatewayPayload) MarshalJSON() ([]byte, error)
func (*CreateVPNGatewayPayload) SetAvailabilityZones ¶
func (o *CreateVPNGatewayPayload) SetAvailabilityZones(v CreateVPNGatewayPayloadAvailabilityZones)
SetAvailabilityZones sets field value
func (*CreateVPNGatewayPayload) SetBgp ¶
func (o *CreateVPNGatewayPayload) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*CreateVPNGatewayPayload) SetLabels ¶
func (o *CreateVPNGatewayPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateVPNGatewayPayload) SetName ¶
func (o *CreateVPNGatewayPayload) SetName(v string)
SetName sets field value
func (*CreateVPNGatewayPayload) SetPlanId ¶
func (o *CreateVPNGatewayPayload) SetPlanId(v string)
SetPlanId sets field value
func (*CreateVPNGatewayPayload) SetRoutingType ¶
func (o *CreateVPNGatewayPayload) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (CreateVPNGatewayPayload) ToMap ¶
func (o CreateVPNGatewayPayload) ToMap() (map[string]interface{}, error)
func (*CreateVPNGatewayPayload) UnmarshalJSON ¶
func (o *CreateVPNGatewayPayload) UnmarshalJSON(data []byte) (err error)
type CreateVPNGatewayPayloadAvailabilityZones ¶
type CreateVPNGatewayPayloadAvailabilityZones struct {
// Object that represents an availability zone.
Tunnel1 string `json:"tunnel1"`
// Object that represents an availability zone.
Tunnel2 string `json:"tunnel2"`
}
CreateVPNGatewayPayloadAvailabilityZones struct for CreateVPNGatewayPayloadAvailabilityZones
func NewCreateVPNGatewayPayloadAvailabilityZones ¶
func NewCreateVPNGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *CreateVPNGatewayPayloadAvailabilityZones
NewCreateVPNGatewayPayloadAvailabilityZones instantiates a new CreateVPNGatewayPayloadAvailabilityZones 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 NewCreateVPNGatewayPayloadAvailabilityZonesWithDefaults ¶
func NewCreateVPNGatewayPayloadAvailabilityZonesWithDefaults() *CreateVPNGatewayPayloadAvailabilityZones
NewCreateVPNGatewayPayloadAvailabilityZonesWithDefaults instantiates a new CreateVPNGatewayPayloadAvailabilityZones 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 (*CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1 ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1() string
GetTunnel1 returns the Tunnel1 field value
func (*CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2 ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2() string
GetTunnel2 returns the Tunnel2 field value
func (*CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (CreateVPNGatewayPayloadAvailabilityZones) MarshalJSON ¶
func (o CreateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*CreateVPNGatewayPayloadAvailabilityZones) SetTunnel1 ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) SetTunnel1(v string)
SetTunnel1 sets field value
func (*CreateVPNGatewayPayloadAvailabilityZones) SetTunnel2 ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) SetTunnel2(v string)
SetTunnel2 sets field value
func (CreateVPNGatewayPayloadAvailabilityZones) ToMap ¶
func (o CreateVPNGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
func (*CreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON ¶
func (o *CreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateGatewayConnection Create a connection for an existing VPN gateway.
Create a 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 gatewayName
@return ApiCreateGatewayConnectionRequest
*/
CreateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string) ApiCreateGatewayConnectionRequest
// CreateGatewayConnectionExecute executes the request
// @return Connection
CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*Connection, error)
/*
CreateVPNGateway Create a VPN gateway in a project.
Create 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
@return ApiCreateVPNGatewayRequest
*/
CreateVPNGateway(ctx context.Context, projectId string, region Region) ApiCreateVPNGatewayRequest
// CreateVPNGatewayExecute executes the request
// @return GatewayResponse
CreateVPNGatewayExecute(r ApiCreateVPNGatewayRequest) (*GatewayResponse, 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 gatewayName
@param connectionName
@return ApiDeleteGatewayConnectionRequest
*/
DeleteGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiDeleteGatewayConnectionRequest
// DeleteGatewayConnectionExecute executes the request
DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
/*
DeleteVPNGateway Delete a existing VPN gateway in a project.
Delete a existing VPN gateway and all it's connections 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 gatewayName
@return ApiDeleteVPNGatewayRequest
*/
DeleteVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiDeleteVPNGatewayRequest
// DeleteVPNGatewayExecute executes the request
DeleteVPNGatewayExecute(r ApiDeleteVPNGatewayRequest) 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 gatewayName
@param connectionName
@return ApiGetGatewayConnectionRequest
*/
GetGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiGetGatewayConnectionRequest
// GetGatewayConnectionExecute executes the request
// @return Connection
GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*Connection, error)
/*
GetGatewayConnectionStatus Gets the status for a specific connection in an existing VPN gateway.
Gets the status for a specific connection in 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 gatewayName
@param connectionName
@return ApiGetGatewayConnectionStatusRequest
*/
GetGatewayConnectionStatus(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiGetGatewayConnectionStatusRequest
// GetGatewayConnectionStatusExecute executes the request
// @return ConnectionStatusResponse
GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
/*
GetVPNGateway 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 gatewayName
@return ApiGetVPNGatewayRequest
*/
GetVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayRequest
// GetVPNGatewayExecute executes the request
// @return GatewayResponse
GetVPNGatewayExecute(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
/*
GetVPNGatewayStatus 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 gatewayName
@return ApiGetVPNGatewayStatusRequest
*/
GetVPNGatewayStatus(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayStatusRequest
// GetVPNGatewayStatusExecute executes the request
// @return GatewayStatusResponse
GetVPNGatewayStatusExecute(r ApiGetVPNGatewayStatusRequest) (*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 gatewayName
@return ApiListGatewayConnectionsRequest
*/
ListGatewayConnections(ctx context.Context, projectId string, region Region, gatewayName string) ApiListGatewayConnectionsRequest
// ListGatewayConnectionsExecute executes the request
// @return ConnectionList
ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
/*
ListPlans List available service plans for a project.
List available service plans for a project.
@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 Region) ApiListPlansRequest
// ListPlansExecute executes the request
// @return PlanList
ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)
/*
ListQuotas List project quotas.
List project quotas.
@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 Region) ApiListQuotasRequest
// ListQuotasExecute executes the request
// @return QuotaListResponse
ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
/*
ListVPNGateways List VPN gateways in a project with label filtering
Retrieve VPN gateways in a project filtered by a custom label selector format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListVPNGatewaysRequest
*/
ListVPNGateways(ctx context.Context, projectId string, region Region) ApiListVPNGatewaysRequest
// ListVPNGatewaysExecute executes the request
// @return GatewayList
ListVPNGatewaysExecute(r ApiListVPNGatewaysRequest) (*GatewayList, error)
/*
UpdateGatewayConnection Update a connection for an existing VPN gateway.
Update a 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 gatewayName
@param connectionName
@return ApiUpdateGatewayConnectionRequest
*/
UpdateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiUpdateGatewayConnectionRequest
// UpdateGatewayConnectionExecute executes the request
// @return Connection
UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*Connection, error)
/*
UpdateVPNGateway Update a VPN gateway in a project.
Update 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 gatewayName
@return ApiUpdateVPNGatewayRequest
*/
UpdateVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiUpdateVPNGatewayRequest
// UpdateVPNGatewayExecute executes the request
// @return GatewayResponse
UpdateVPNGatewayExecute(r ApiUpdateVPNGatewayRequest) (*GatewayResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateGatewayConnection ¶
func (a *DefaultAPIService) CreateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string) ApiCreateGatewayConnectionRequest
CreateGatewayConnection Create a connection for an existing VPN gateway.
Create a 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 gatewayName @return ApiCreateGatewayConnectionRequest
func (*DefaultAPIService) CreateGatewayConnectionExecute ¶
func (a *DefaultAPIService) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*Connection, error)
Execute executes the request
@return Connection
func (*DefaultAPIService) CreateVPNGateway ¶
func (a *DefaultAPIService) CreateVPNGateway(ctx context.Context, projectId string, region Region) ApiCreateVPNGatewayRequest
CreateVPNGateway Create a VPN gateway in a project.
Create 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 @return ApiCreateVPNGatewayRequest
func (*DefaultAPIService) CreateVPNGatewayExecute ¶
func (a *DefaultAPIService) CreateVPNGatewayExecute(r ApiCreateVPNGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
func (*DefaultAPIService) DeleteGatewayConnection ¶
func (a *DefaultAPIService) DeleteGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName 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 gatewayName @param connectionName @return ApiDeleteGatewayConnectionRequest
func (*DefaultAPIService) DeleteGatewayConnectionExecute ¶
func (a *DefaultAPIService) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteVPNGateway ¶
func (a *DefaultAPIService) DeleteVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiDeleteVPNGatewayRequest
DeleteVPNGateway Delete a existing VPN gateway in a project.
Delete a existing VPN gateway and all it's connections 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 gatewayName @return ApiDeleteVPNGatewayRequest
func (*DefaultAPIService) DeleteVPNGatewayExecute ¶
func (a *DefaultAPIService) DeleteVPNGatewayExecute(r ApiDeleteVPNGatewayRequest) error
Execute executes the request
func (*DefaultAPIService) GetGatewayConnection ¶
func (a *DefaultAPIService) GetGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName 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 gatewayName @param connectionName @return ApiGetGatewayConnectionRequest
func (*DefaultAPIService) GetGatewayConnectionExecute ¶
func (a *DefaultAPIService) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*Connection, error)
Execute executes the request
@return Connection
func (*DefaultAPIService) GetGatewayConnectionStatus ¶
func (a *DefaultAPIService) GetGatewayConnectionStatus(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiGetGatewayConnectionStatusRequest
GetGatewayConnectionStatus Gets the status for a specific connection in an existing VPN gateway.
Gets the status for a specific connection in 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 gatewayName @param connectionName @return ApiGetGatewayConnectionStatusRequest
func (*DefaultAPIService) GetGatewayConnectionStatusExecute ¶
func (a *DefaultAPIService) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
Execute executes the request
@return ConnectionStatusResponse
func (*DefaultAPIService) GetVPNGateway ¶
func (a *DefaultAPIService) GetVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayRequest
GetVPNGateway 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 gatewayName @return ApiGetVPNGatewayRequest
func (*DefaultAPIService) GetVPNGatewayExecute ¶
func (a *DefaultAPIService) GetVPNGatewayExecute(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
func (*DefaultAPIService) GetVPNGatewayStatus ¶
func (a *DefaultAPIService) GetVPNGatewayStatus(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayStatusRequest
GetVPNGatewayStatus 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 gatewayName @return ApiGetVPNGatewayStatusRequest
func (*DefaultAPIService) GetVPNGatewayStatusExecute ¶
func (a *DefaultAPIService) GetVPNGatewayStatusExecute(r ApiGetVPNGatewayStatusRequest) (*GatewayStatusResponse, error)
Execute executes the request
@return GatewayStatusResponse
func (*DefaultAPIService) ListGatewayConnections ¶
func (a *DefaultAPIService) ListGatewayConnections(ctx context.Context, projectId string, region Region, gatewayName 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 gatewayName @return ApiListGatewayConnectionsRequest
func (*DefaultAPIService) ListGatewayConnectionsExecute ¶
func (a *DefaultAPIService) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
Execute executes the request
@return ConnectionList
func (*DefaultAPIService) ListPlans ¶
func (a *DefaultAPIService) ListPlans(ctx context.Context, region Region) ApiListPlansRequest
ListPlans List available service plans for a project.
List available service plans for a project.
@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 Region) ApiListQuotasRequest
ListQuotas List project quotas.
List project quotas.
@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) ListVPNGateways ¶
func (a *DefaultAPIService) ListVPNGateways(ctx context.Context, projectId string, region Region) ApiListVPNGatewaysRequest
ListVPNGateways List VPN gateways in a project with label filtering
Retrieve VPN gateways in a project filtered by a custom label selector format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListVPNGatewaysRequest
func (*DefaultAPIService) ListVPNGatewaysExecute ¶
func (a *DefaultAPIService) ListVPNGatewaysExecute(r ApiListVPNGatewaysRequest) (*GatewayList, error)
Execute executes the request
@return GatewayList
func (*DefaultAPIService) UpdateGatewayConnection ¶
func (a *DefaultAPIService) UpdateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiUpdateGatewayConnectionRequest
UpdateGatewayConnection Update a connection for an existing VPN gateway.
Update a 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 gatewayName @param connectionName @return ApiUpdateGatewayConnectionRequest
func (*DefaultAPIService) UpdateGatewayConnectionExecute ¶
func (a *DefaultAPIService) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*Connection, error)
Execute executes the request
@return Connection
func (*DefaultAPIService) UpdateVPNGateway ¶
func (a *DefaultAPIService) UpdateVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiUpdateVPNGatewayRequest
UpdateVPNGateway Update a VPN gateway in a project.
Update 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 gatewayName @return ApiUpdateVPNGatewayRequest
func (*DefaultAPIService) UpdateVPNGatewayExecute ¶
func (a *DefaultAPIService) UpdateVPNGatewayExecute(r ApiUpdateVPNGatewayRequest) (*GatewayResponse, error)
Execute executes the request
@return GatewayResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateGatewayConnectionExecuteMock can be populated to implement the behavior of the CreateGatewayConnectionExecute function of this mock
CreateGatewayConnectionExecuteMock *func(r ApiCreateGatewayConnectionRequest) (*Connection, error)
// CreateVPNGatewayExecuteMock can be populated to implement the behavior of the CreateVPNGatewayExecute function of this mock
CreateVPNGatewayExecuteMock *func(r ApiCreateVPNGatewayRequest) (*GatewayResponse, error)
// DeleteGatewayConnectionExecuteMock can be populated to implement the behavior of the DeleteGatewayConnectionExecute function of this mock
DeleteGatewayConnectionExecuteMock *func(r ApiDeleteGatewayConnectionRequest) error
// DeleteVPNGatewayExecuteMock can be populated to implement the behavior of the DeleteVPNGatewayExecute function of this mock
DeleteVPNGatewayExecuteMock *func(r ApiDeleteVPNGatewayRequest) error
// GetGatewayConnectionExecuteMock can be populated to implement the behavior of the GetGatewayConnectionExecute function of this mock
GetGatewayConnectionExecuteMock *func(r ApiGetGatewayConnectionRequest) (*Connection, error)
// GetGatewayConnectionStatusExecuteMock can be populated to implement the behavior of the GetGatewayConnectionStatusExecute function of this mock
GetGatewayConnectionStatusExecuteMock *func(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
// GetVPNGatewayExecuteMock can be populated to implement the behavior of the GetVPNGatewayExecute function of this mock
GetVPNGatewayExecuteMock *func(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
// GetVPNGatewayStatusExecuteMock can be populated to implement the behavior of the GetVPNGatewayStatusExecute function of this mock
GetVPNGatewayStatusExecuteMock *func(r ApiGetVPNGatewayStatusRequest) (*GatewayStatusResponse, error)
// ListGatewayConnectionsExecuteMock can be populated to implement the behavior of the ListGatewayConnectionsExecute function of this mock
ListGatewayConnectionsExecuteMock *func(r ApiListGatewayConnectionsRequest) (*ConnectionList, 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)
// ListVPNGatewaysExecuteMock can be populated to implement the behavior of the ListVPNGatewaysExecute function of this mock
ListVPNGatewaysExecuteMock *func(r ApiListVPNGatewaysRequest) (*GatewayList, error)
// UpdateGatewayConnectionExecuteMock can be populated to implement the behavior of the UpdateGatewayConnectionExecute function of this mock
UpdateGatewayConnectionExecuteMock *func(r ApiUpdateGatewayConnectionRequest) (*Connection, error)
// UpdateVPNGatewayExecuteMock can be populated to implement the behavior of the UpdateVPNGatewayExecute function of this mock
UpdateVPNGatewayExecuteMock *func(r ApiUpdateVPNGatewayRequest) (*GatewayResponse, 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) CreateGatewayConnection ¶
func (a DefaultAPIServiceMock) CreateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string) ApiCreateGatewayConnectionRequest
func (DefaultAPIServiceMock) CreateGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*Connection, 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) CreateVPNGateway ¶
func (a DefaultAPIServiceMock) CreateVPNGateway(ctx context.Context, projectId string, region Region) ApiCreateVPNGatewayRequest
func (DefaultAPIServiceMock) CreateVPNGatewayExecute ¶
func (a DefaultAPIServiceMock) CreateVPNGatewayExecute(r ApiCreateVPNGatewayRequest) (*GatewayResponse, error)
CreateVPNGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateVPNGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteGatewayConnection ¶
func (a DefaultAPIServiceMock) DeleteGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName 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) DeleteVPNGateway ¶
func (a DefaultAPIServiceMock) DeleteVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiDeleteVPNGatewayRequest
func (DefaultAPIServiceMock) DeleteVPNGatewayExecute ¶
func (a DefaultAPIServiceMock) DeleteVPNGatewayExecute(r ApiDeleteVPNGatewayRequest) error
DeleteVPNGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVPNGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetGatewayConnection ¶
func (a DefaultAPIServiceMock) GetGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiGetGatewayConnectionRequest
func (DefaultAPIServiceMock) GetGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*Connection, 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 Region, gatewayName string, connectionName 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) GetVPNGateway ¶
func (a DefaultAPIServiceMock) GetVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayRequest
func (DefaultAPIServiceMock) GetVPNGatewayExecute ¶
func (a DefaultAPIServiceMock) GetVPNGatewayExecute(r ApiGetVPNGatewayRequest) (*GatewayResponse, error)
GetVPNGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVPNGatewayExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetVPNGatewayStatus ¶
func (a DefaultAPIServiceMock) GetVPNGatewayStatus(ctx context.Context, projectId string, region Region, gatewayName string) ApiGetVPNGatewayStatusRequest
func (DefaultAPIServiceMock) GetVPNGatewayStatusExecute ¶
func (a DefaultAPIServiceMock) GetVPNGatewayStatusExecute(r ApiGetVPNGatewayStatusRequest) (*GatewayStatusResponse, error)
GetVPNGatewayStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVPNGatewayStatusExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListGatewayConnections ¶
func (a DefaultAPIServiceMock) ListGatewayConnections(ctx context.Context, projectId string, region Region, gatewayName 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) ListPlans ¶
func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region Region) 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 Region) 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) ListVPNGateways ¶
func (a DefaultAPIServiceMock) ListVPNGateways(ctx context.Context, projectId string, region Region) ApiListVPNGatewaysRequest
func (DefaultAPIServiceMock) ListVPNGatewaysExecute ¶
func (a DefaultAPIServiceMock) ListVPNGatewaysExecute(r ApiListVPNGatewaysRequest) (*GatewayList, error)
ListVPNGatewaysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVPNGatewaysExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateGatewayConnection ¶
func (a DefaultAPIServiceMock) UpdateGatewayConnection(ctx context.Context, projectId string, region Region, gatewayName string, connectionName string) ApiUpdateGatewayConnectionRequest
func (DefaultAPIServiceMock) UpdateGatewayConnectionExecute ¶
func (a DefaultAPIServiceMock) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*Connection, 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) UpdateVPNGateway ¶
func (a DefaultAPIServiceMock) UpdateVPNGateway(ctx context.Context, projectId string, region Region, gatewayName string) ApiUpdateVPNGatewayRequest
func (DefaultAPIServiceMock) UpdateVPNGatewayExecute ¶
func (a DefaultAPIServiceMock) UpdateVPNGatewayExecute(r ApiUpdateVPNGatewayRequest) (*GatewayResponse, error)
UpdateVPNGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateVPNGatewayExecuteMock field in the DefaultAPIServiceMock struct.
type Gateway ¶
type Gateway struct {
AvailabilityZones GatewayAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,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"`
// The name of the VPN gateway. Maximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
}
Gateway struct for Gateway
func NewGateway ¶
func NewGateway(availabilityZones GatewayAvailabilityZones, name 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) 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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value 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) 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"`
}
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"`
}
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"`
// 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 name of the VPN gateway. Maximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
Region *Region `json:"region,omitempty"`
State *GatewayStatus `json:"state,omitempty"`
}
GatewayResponse struct for GatewayResponse
func NewGatewayResponse ¶
func NewGatewayResponse(availabilityZones GatewayAvailabilityZones, name 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) 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) GetName ¶
func (o *GatewayResponse) GetName() string
GetName returns the Name field value
func (*GatewayResponse) GetNameOk ¶
func (o *GatewayResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value 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) GetRegion ¶
func (o *GatewayResponse) GetRegion() Region
GetRegion returns the Region field value if set, zero value otherwise.
func (*GatewayResponse) GetRegionOk ¶
func (o *GatewayResponse) GetRegionOk() (*Region, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise 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) HasLabels ¶
func (o *GatewayResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GatewayResponse) HasRegion ¶
func (o *GatewayResponse) HasRegion() bool
HasRegion 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) 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) SetName ¶
func (o *GatewayResponse) SetName(v string)
SetName sets field value
func (*GatewayResponse) SetPlanId ¶
func (o *GatewayResponse) SetPlanId(v string)
SetPlanId sets field value
func (*GatewayResponse) SetRegion ¶
func (o *GatewayResponse) SetRegion(v Region)
SetRegion gets a reference to the given Region and assigns it to the Region field.
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 Describes the status of the surrounding infrastructure.
const ( GATEWAYSTATUS_PENDING GatewayStatus = "PENDING" GATEWAYSTATUS_READY GatewayStatus = "READY" GATEWAYSTATUS_ERROR GatewayStatus = "ERROR" GATEWAYSTATUS_DELETING GatewayStatus = "DELETING" )
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 {
// Name of the Gateway instance.
GatewayName *string `json:"gatewayName,omitempty"`
GatewayStatus *GatewayStatus `json:"gatewayStatus,omitempty"`
Tunnels []VPNTunnels `json:"tunnels,omitempty"`
}
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) GetGatewayName ¶
func (o *GatewayStatusResponse) GetGatewayName() string
GetGatewayName returns the GatewayName field value if set, zero value otherwise.
func (*GatewayStatusResponse) GetGatewayNameOk ¶
func (o *GatewayStatusResponse) GetGatewayNameOk() (*string, bool)
GetGatewayNameOk returns a tuple with the GatewayName 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) 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) HasGatewayName ¶
func (o *GatewayStatusResponse) HasGatewayName() bool
HasGatewayName 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) 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) SetGatewayName ¶
func (o *GatewayStatusResponse) SetGatewayName(v string)
SetGatewayName gets a reference to the given string and assigns it to the GatewayName 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) 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)
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 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 NullableConnection ¶
type NullableConnection struct {
// contains filtered or unexported fields
}
func NewNullableConnection ¶
func NewNullableConnection(val *Connection) *NullableConnection
func (NullableConnection) Get ¶
func (v NullableConnection) Get() *Connection
func (NullableConnection) IsSet ¶
func (v NullableConnection) IsSet() bool
func (NullableConnection) MarshalJSON ¶
func (v NullableConnection) MarshalJSON() ([]byte, error)
func (*NullableConnection) Set ¶
func (v *NullableConnection) Set(val *Connection)
func (*NullableConnection) UnmarshalJSON ¶
func (v *NullableConnection) UnmarshalJSON(src []byte) error
func (*NullableConnection) Unset ¶
func (v *NullableConnection) Unset()
type 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 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 NullableCreateVPNGatewayPayload ¶
type NullableCreateVPNGatewayPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateVPNGatewayPayload ¶
func NewNullableCreateVPNGatewayPayload(val *CreateVPNGatewayPayload) *NullableCreateVPNGatewayPayload
func (NullableCreateVPNGatewayPayload) Get ¶
func (v NullableCreateVPNGatewayPayload) Get() *CreateVPNGatewayPayload
func (NullableCreateVPNGatewayPayload) IsSet ¶
func (v NullableCreateVPNGatewayPayload) IsSet() bool
func (NullableCreateVPNGatewayPayload) MarshalJSON ¶
func (v NullableCreateVPNGatewayPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateVPNGatewayPayload) Set ¶
func (v *NullableCreateVPNGatewayPayload) Set(val *CreateVPNGatewayPayload)
func (*NullableCreateVPNGatewayPayload) UnmarshalJSON ¶
func (v *NullableCreateVPNGatewayPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateVPNGatewayPayload) Unset ¶
func (v *NullableCreateVPNGatewayPayload) Unset()
type NullableCreateVPNGatewayPayloadAvailabilityZones ¶
type NullableCreateVPNGatewayPayloadAvailabilityZones struct {
// contains filtered or unexported fields
}
func NewNullableCreateVPNGatewayPayloadAvailabilityZones ¶
func NewNullableCreateVPNGatewayPayloadAvailabilityZones(val *CreateVPNGatewayPayloadAvailabilityZones) *NullableCreateVPNGatewayPayloadAvailabilityZones
func (NullableCreateVPNGatewayPayloadAvailabilityZones) IsSet ¶
func (v NullableCreateVPNGatewayPayloadAvailabilityZones) IsSet() bool
func (NullableCreateVPNGatewayPayloadAvailabilityZones) MarshalJSON ¶
func (v NullableCreateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*NullableCreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON ¶
func (v *NullableCreateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
func (*NullableCreateVPNGatewayPayloadAvailabilityZones) Unset ¶
func (v *NullableCreateVPNGatewayPayloadAvailabilityZones) 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 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 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 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 NullableUpdateVPNGatewayPayload ¶
type NullableUpdateVPNGatewayPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVPNGatewayPayload ¶
func NewNullableUpdateVPNGatewayPayload(val *UpdateVPNGatewayPayload) *NullableUpdateVPNGatewayPayload
func (NullableUpdateVPNGatewayPayload) Get ¶
func (v NullableUpdateVPNGatewayPayload) Get() *UpdateVPNGatewayPayload
func (NullableUpdateVPNGatewayPayload) IsSet ¶
func (v NullableUpdateVPNGatewayPayload) IsSet() bool
func (NullableUpdateVPNGatewayPayload) MarshalJSON ¶
func (v NullableUpdateVPNGatewayPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateVPNGatewayPayload) Set ¶
func (v *NullableUpdateVPNGatewayPayload) Set(val *UpdateVPNGatewayPayload)
func (*NullableUpdateVPNGatewayPayload) UnmarshalJSON ¶
func (v *NullableUpdateVPNGatewayPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateVPNGatewayPayload) Unset ¶
func (v *NullableUpdateVPNGatewayPayload) Unset()
type NullableUpdateVPNGatewayPayloadAvailabilityZones ¶
type NullableUpdateVPNGatewayPayloadAvailabilityZones struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVPNGatewayPayloadAvailabilityZones ¶
func NewNullableUpdateVPNGatewayPayloadAvailabilityZones(val *UpdateVPNGatewayPayloadAvailabilityZones) *NullableUpdateVPNGatewayPayloadAvailabilityZones
func (NullableUpdateVPNGatewayPayloadAvailabilityZones) IsSet ¶
func (v NullableUpdateVPNGatewayPayloadAvailabilityZones) IsSet() bool
func (NullableUpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON ¶
func (v NullableUpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*NullableUpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON ¶
func (v *NullableUpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(src []byte) error
func (*NullableUpdateVPNGatewayPayloadAvailabilityZones) Unset ¶
func (v *NullableUpdateVPNGatewayPayloadAvailabilityZones) Unset()
type NullableVPNTunnelPlan ¶
type NullableVPNTunnelPlan struct {
// contains filtered or unexported fields
}
func NewNullableVPNTunnelPlan ¶
func NewNullableVPNTunnelPlan(val *VPNTunnelPlan) *NullableVPNTunnelPlan
func (NullableVPNTunnelPlan) Get ¶
func (v NullableVPNTunnelPlan) Get() *VPNTunnelPlan
func (NullableVPNTunnelPlan) IsSet ¶
func (v NullableVPNTunnelPlan) IsSet() bool
func (NullableVPNTunnelPlan) MarshalJSON ¶
func (v NullableVPNTunnelPlan) MarshalJSON() ([]byte, error)
func (*NullableVPNTunnelPlan) Set ¶
func (v *NullableVPNTunnelPlan) Set(val *VPNTunnelPlan)
func (*NullableVPNTunnelPlan) UnmarshalJSON ¶
func (v *NullableVPNTunnelPlan) UnmarshalJSON(src []byte) error
func (*NullableVPNTunnelPlan) Unset ¶
func (v *NullableVPNTunnelPlan) 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 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}$"`
}
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)
type Phase ¶
type Phase struct {
// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
DhGroups []string `json:"dhGroups,omitempty"`
EncryptionAlgorithms []string `json:"encryptionAlgorithms"`
IntegrityAlgorithms []string `json:"integrityAlgorithms"`
}
Phase struct for Phase
func NewPhase ¶
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 ¶
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*Phase) GetDhGroupsOk ¶
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 ¶
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*Phase) GetEncryptionAlgorithmsOk ¶
GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.
func (*Phase) GetIntegrityAlgorithms ¶
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*Phase) GetIntegrityAlgorithmsOk ¶
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 ¶
SetDhGroups gets a reference to the given []string and assigns it to the DhGroups field.
func (*Phase) SetEncryptionAlgorithms ¶
SetEncryptionAlgorithms sets field value
func (*Phase) SetIntegrityAlgorithms ¶
SetIntegrityAlgorithms sets field value
func (*Phase) UnmarshalJSON ¶
type Phase1Status ¶
type Phase1Status struct {
// Negotiated Diffie-Hellman Group
DhGroup *string `json:"dhGroup,omitempty"`
// Negotiated encryption algorithm.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
// Negotiated integrity algorithm or pseudo-random-function.
IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"`
State *string `json:"state,omitempty"`
}
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)
type Phase2Status ¶
type Phase2Status struct {
// Bytes received.
BytesIn *string `json:"bytesIn,omitempty"`
// Bytes sent.
BytesOut *string `json:"bytesOut,omitempty"`
// Negotiated Diffie-Hellman Group
DhGroup *string `json:"dhGroup,omitempty"`
Encap *string `json:"encap,omitempty"`
// Negotiated encryption algorithm.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
// Negotiated integrity algorithm or pseudo-random-function.
IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"`
// Packets received.
PacketsIn *string `json:"packetsIn,omitempty"`
// Packets sent.
PacketsOut *string `json:"packetsOut,omitempty"`
Protocol *string `json:"protocol,omitempty"`
State *string `json:"state,omitempty"`
}
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)
type Plan ¶
type Plan struct {
// Maximum bandwidth of a VPN instance.
MaxBandwidth *int32 `json:"maxBandwidth,omitempty"`
// Maximum concurrent connections of a VPN Gateway.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Service plan name
Name *string `json:"name,omitempty"`
// Service plan identifier
PlanId *string `json:"planId,omitempty"`
// Region (read-only)
Region *string `json:"region,omitempty"`
// Plan SKU
Sku *string `json:"sku,omitempty"`
// Service plan type
Type *string `json:"type,omitempty"`
}
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) GetRegionOk ¶
GetRegionOk returns a tuple with the Region 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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type 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) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
type PlanList ¶
type PlanList struct {
// Default Plan ID for the current region
DefaultPlanId *string `json:"defaultPlanId,omitempty"`
Plans []Plan `json:"plans,omitempty"`
Tunnel *VPNTunnelPlan `json:"tunnel,omitempty"`
}
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) GetTunnel ¶
func (o *PlanList) GetTunnel() VPNTunnelPlan
GetTunnel returns the Tunnel field value if set, zero value otherwise.
func (*PlanList) GetTunnelOk ¶
func (o *PlanList) GetTunnelOk() (*VPNTunnelPlan, bool)
GetTunnelOk returns a tuple with the Tunnel 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) SetTunnel ¶
func (o *PlanList) SetTunnel(v VPNTunnelPlan)
SetTunnel gets a reference to the given VPNTunnelPlan and assigns it to the Tunnel field.
type Quota ¶
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 {
// The number of gateways.
Gateways Quota `json:"gateways"`
}
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"`
}
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.
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" )
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}$"`
}
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 []string `json:"dhGroups,omitempty"`
EncryptionAlgorithms []string `json:"encryptionAlgorithms"`
IntegrityAlgorithms []string `json:"integrityAlgorithms"`
// Time to schedule a IKE re-keying (in seconds).
RekeyTime *int32 `json:"rekeyTime,omitempty"`
}
TunnelConfigurationPhase1 struct for TunnelConfigurationPhase1
func NewTunnelConfigurationPhase1 ¶
func NewTunnelConfigurationPhase1(encryptionAlgorithms []string, integrityAlgorithms []string) *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() []string
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*TunnelConfigurationPhase1) GetDhGroupsOk ¶
func (o *TunnelConfigurationPhase1) GetDhGroupsOk() ([]string, 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() []string
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk ¶
func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk() ([]string, 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() []string
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk ¶
func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk() ([]string, 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 []string)
SetDhGroups gets a reference to the given []string and assigns it to the DhGroups field.
func (*TunnelConfigurationPhase1) SetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase1) SetEncryptionAlgorithms(v []string)
SetEncryptionAlgorithms sets field value
func (*TunnelConfigurationPhase1) SetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase1) SetIntegrityAlgorithms(v []string)
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 []string `json:"dhGroups,omitempty"`
EncryptionAlgorithms []string `json:"encryptionAlgorithms"`
IntegrityAlgorithms []string `json:"integrityAlgorithms"`
// Action to perform for this CHILD_SA on DPD timeout. \"clear\": Closes the CHILD_SA and does not take further action. \"trap\": installs a trap policy which will catch matching traffic and tries to re-negotiate the tunnel on-demand). \"restart\": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA.
DpdAction *string `json:"dpdAction,omitempty"`
// Time to schedule a Child SA re-keying (in seconds).
RekeyTime *int32 `json:"rekeyTime,omitempty"`
// Action to perform after loading the connection configuration. \"none\": The connection will be loaded but needs to be manually initiated. \"trap\": installs a trap policy which triggers the tunnel as soon as matching traffic has been detected. \"start\": initiates the connection actively. \"start|stop\": Immediately initiate a connection for which trap policies have been installed.
StartAction *string `json:"startAction,omitempty"`
}
TunnelConfigurationPhase2 struct for TunnelConfigurationPhase2
func NewTunnelConfigurationPhase2 ¶
func NewTunnelConfigurationPhase2(encryptionAlgorithms []string, integrityAlgorithms []string) *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() []string
GetDhGroups returns the DhGroups field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetDhGroupsOk ¶
func (o *TunnelConfigurationPhase2) GetDhGroupsOk() ([]string, 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() string
GetDpdAction returns the DpdAction field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetDpdActionOk ¶
func (o *TunnelConfigurationPhase2) GetDpdActionOk() (*string, 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() []string
GetEncryptionAlgorithms returns the EncryptionAlgorithms field value
func (*TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk ¶
func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk() ([]string, 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() []string
GetIntegrityAlgorithms returns the IntegrityAlgorithms field value
func (*TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk ¶
func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk() ([]string, 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() string
GetStartAction returns the StartAction field value if set, zero value otherwise.
func (*TunnelConfigurationPhase2) GetStartActionOk ¶
func (o *TunnelConfigurationPhase2) GetStartActionOk() (*string, 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 []string)
SetDhGroups gets a reference to the given []string and assigns it to the DhGroups field.
func (*TunnelConfigurationPhase2) SetDpdAction ¶
func (o *TunnelConfigurationPhase2) SetDpdAction(v string)
SetDpdAction gets a reference to the given string and assigns it to the DpdAction field.
func (*TunnelConfigurationPhase2) SetEncryptionAlgorithms ¶
func (o *TunnelConfigurationPhase2) SetEncryptionAlgorithms(v []string)
SetEncryptionAlgorithms sets field value
func (*TunnelConfigurationPhase2) SetIntegrityAlgorithms ¶
func (o *TunnelConfigurationPhase2) SetIntegrityAlgorithms(v []string)
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 string)
SetStartAction gets a reference to the given string 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 TunnelStatus ¶
type TunnelStatus struct {
Established *bool `json:"established,omitempty"`
Name *string `json:"name,omitempty"`
Phase1 *Phase1Status `json:"phase1,omitempty"`
Phase2 *Phase2Status `json:"phase2,omitempty"`
}
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() string
GetName returns the Name field value if set, zero value otherwise.
func (*TunnelStatus) GetNameOk ¶
func (o *TunnelStatus) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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 string)
SetName gets a reference to the given string 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)
type UpdateGatewayConnectionPayload ¶
type UpdateGatewayConnectionPayload struct {
// 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"`
// The name of the connection. Maximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. Currently renaming is not possible therefore deleting and re-creating the connection is necessary.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
RemoteSubnets []string `json:"remoteSubnets,omitempty"`
StaticRoutes []string `json:"staticRoutes,omitempty"`
Tunnel1 TunnelConfiguration `json:"tunnel1"`
Tunnel2 TunnelConfiguration `json:"tunnel2"`
}
UpdateGatewayConnectionPayload struct for UpdateGatewayConnectionPayload
func NewUpdateGatewayConnectionPayload ¶
func NewUpdateGatewayConnectionPayload(name 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) 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 ¶
func (o *UpdateGatewayConnectionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateGatewayConnectionPayload) GetLabelsOk ¶
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) GetName ¶
func (o *UpdateGatewayConnectionPayload) GetName() string
GetName returns the Name field value
func (*UpdateGatewayConnectionPayload) GetNameOk ¶
func (o *UpdateGatewayConnectionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value 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 ¶
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) 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 ¶
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) SetName ¶
func (o *UpdateGatewayConnectionPayload) SetName(v string)
SetName sets field value
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 UpdateVPNGatewayPayload ¶
type UpdateVPNGatewayPayload struct {
AvailabilityZones UpdateVPNGatewayPayloadAvailabilityZones `json:"availabilityZones"`
Bgp *BGPGatewayConfig `json:"bgp,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"`
// The name of the VPN gateway. Maximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.
Name string `json:"name" validate:"regexp=^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$"`
// Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId string `json:"planId"`
RoutingType RoutingType `json:"routingType"`
}
UpdateVPNGatewayPayload struct for UpdateVPNGatewayPayload
func NewUpdateVPNGatewayPayload ¶
func NewUpdateVPNGatewayPayload(availabilityZones UpdateVPNGatewayPayloadAvailabilityZones, name string, planId string, routingType RoutingType) *UpdateVPNGatewayPayload
NewUpdateVPNGatewayPayload instantiates a new UpdateVPNGatewayPayload 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 NewUpdateVPNGatewayPayloadWithDefaults ¶
func NewUpdateVPNGatewayPayloadWithDefaults() *UpdateVPNGatewayPayload
NewUpdateVPNGatewayPayloadWithDefaults instantiates a new UpdateVPNGatewayPayload 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 (*UpdateVPNGatewayPayload) GetAvailabilityZones ¶
func (o *UpdateVPNGatewayPayload) GetAvailabilityZones() UpdateVPNGatewayPayloadAvailabilityZones
GetAvailabilityZones returns the AvailabilityZones field value
func (*UpdateVPNGatewayPayload) GetAvailabilityZonesOk ¶
func (o *UpdateVPNGatewayPayload) GetAvailabilityZonesOk() (*UpdateVPNGatewayPayloadAvailabilityZones, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*UpdateVPNGatewayPayload) GetBgp ¶
func (o *UpdateVPNGatewayPayload) GetBgp() BGPGatewayConfig
GetBgp returns the Bgp field value if set, zero value otherwise.
func (*UpdateVPNGatewayPayload) GetBgpOk ¶
func (o *UpdateVPNGatewayPayload) 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 (*UpdateVPNGatewayPayload) GetLabels ¶
func (o *UpdateVPNGatewayPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateVPNGatewayPayload) GetLabelsOk ¶
func (o *UpdateVPNGatewayPayload) 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 (*UpdateVPNGatewayPayload) GetName ¶
func (o *UpdateVPNGatewayPayload) GetName() string
GetName returns the Name field value
func (*UpdateVPNGatewayPayload) GetNameOk ¶
func (o *UpdateVPNGatewayPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateVPNGatewayPayload) GetPlanId ¶
func (o *UpdateVPNGatewayPayload) GetPlanId() string
GetPlanId returns the PlanId field value
func (*UpdateVPNGatewayPayload) GetPlanIdOk ¶
func (o *UpdateVPNGatewayPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*UpdateVPNGatewayPayload) GetRoutingType ¶
func (o *UpdateVPNGatewayPayload) GetRoutingType() RoutingType
GetRoutingType returns the RoutingType field value
func (*UpdateVPNGatewayPayload) GetRoutingTypeOk ¶
func (o *UpdateVPNGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)
GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.
func (*UpdateVPNGatewayPayload) HasBgp ¶
func (o *UpdateVPNGatewayPayload) HasBgp() bool
HasBgp returns a boolean if a field has been set.
func (*UpdateVPNGatewayPayload) HasLabels ¶
func (o *UpdateVPNGatewayPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateVPNGatewayPayload) MarshalJSON ¶
func (o UpdateVPNGatewayPayload) MarshalJSON() ([]byte, error)
func (*UpdateVPNGatewayPayload) SetAvailabilityZones ¶
func (o *UpdateVPNGatewayPayload) SetAvailabilityZones(v UpdateVPNGatewayPayloadAvailabilityZones)
SetAvailabilityZones sets field value
func (*UpdateVPNGatewayPayload) SetBgp ¶
func (o *UpdateVPNGatewayPayload) SetBgp(v BGPGatewayConfig)
SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.
func (*UpdateVPNGatewayPayload) SetLabels ¶
func (o *UpdateVPNGatewayPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateVPNGatewayPayload) SetName ¶
func (o *UpdateVPNGatewayPayload) SetName(v string)
SetName sets field value
func (*UpdateVPNGatewayPayload) SetPlanId ¶
func (o *UpdateVPNGatewayPayload) SetPlanId(v string)
SetPlanId sets field value
func (*UpdateVPNGatewayPayload) SetRoutingType ¶
func (o *UpdateVPNGatewayPayload) SetRoutingType(v RoutingType)
SetRoutingType sets field value
func (UpdateVPNGatewayPayload) ToMap ¶
func (o UpdateVPNGatewayPayload) ToMap() (map[string]interface{}, error)
func (*UpdateVPNGatewayPayload) UnmarshalJSON ¶
func (o *UpdateVPNGatewayPayload) UnmarshalJSON(data []byte) (err error)
type UpdateVPNGatewayPayloadAvailabilityZones ¶
type UpdateVPNGatewayPayloadAvailabilityZones struct {
// Object that represents an availability zone.
Tunnel1 string `json:"tunnel1"`
// Object that represents an availability zone.
Tunnel2 string `json:"tunnel2"`
}
UpdateVPNGatewayPayloadAvailabilityZones struct for UpdateVPNGatewayPayloadAvailabilityZones
func NewUpdateVPNGatewayPayloadAvailabilityZones ¶
func NewUpdateVPNGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *UpdateVPNGatewayPayloadAvailabilityZones
NewUpdateVPNGatewayPayloadAvailabilityZones instantiates a new UpdateVPNGatewayPayloadAvailabilityZones 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 NewUpdateVPNGatewayPayloadAvailabilityZonesWithDefaults ¶
func NewUpdateVPNGatewayPayloadAvailabilityZonesWithDefaults() *UpdateVPNGatewayPayloadAvailabilityZones
NewUpdateVPNGatewayPayloadAvailabilityZonesWithDefaults instantiates a new UpdateVPNGatewayPayloadAvailabilityZones 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 (*UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1 ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1() string
GetTunnel1 returns the Tunnel1 field value
func (*UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)
GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.
func (*UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2 ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2() string
GetTunnel2 returns the Tunnel2 field value
func (*UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)
GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.
func (UpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON ¶
func (o UpdateVPNGatewayPayloadAvailabilityZones) MarshalJSON() ([]byte, error)
func (*UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel1 ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel1(v string)
SetTunnel1 sets field value
func (*UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel2 ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) SetTunnel2(v string)
SetTunnel2 sets field value
func (UpdateVPNGatewayPayloadAvailabilityZones) ToMap ¶
func (o UpdateVPNGatewayPayloadAvailabilityZones) ToMap() (map[string]interface{}, error)
func (*UpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON ¶
func (o *UpdateVPNGatewayPayloadAvailabilityZones) UnmarshalJSON(data []byte) (err error)
type VPNTunnelPlan ¶
type VPNTunnelPlan struct {
// Tunnel model name
Name *string `json:"name,omitempty"`
// Tunnel model region
Region *string `json:"region,omitempty"`
// Tunnel model SKU
Sku *string `json:"sku,omitempty"`
}
VPNTunnelPlan struct for VPNTunnelPlan
func NewVPNTunnelPlan ¶
func NewVPNTunnelPlan() *VPNTunnelPlan
NewVPNTunnelPlan instantiates a new VPNTunnelPlan 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 NewVPNTunnelPlanWithDefaults ¶
func NewVPNTunnelPlanWithDefaults() *VPNTunnelPlan
NewVPNTunnelPlanWithDefaults instantiates a new VPNTunnelPlan 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 (*VPNTunnelPlan) GetName ¶
func (o *VPNTunnelPlan) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VPNTunnelPlan) GetNameOk ¶
func (o *VPNTunnelPlan) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnelPlan) GetRegion ¶
func (o *VPNTunnelPlan) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*VPNTunnelPlan) GetRegionOk ¶
func (o *VPNTunnelPlan) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VPNTunnelPlan) GetSku ¶
func (o *VPNTunnelPlan) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise.
func (*VPNTunnelPlan) GetSkuOk ¶
func (o *VPNTunnelPlan) GetSkuOk() (*string, bool)
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 (*VPNTunnelPlan) HasName ¶
func (o *VPNTunnelPlan) HasName() bool
HasName returns a boolean if a field has been set.
func (*VPNTunnelPlan) HasRegion ¶
func (o *VPNTunnelPlan) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*VPNTunnelPlan) HasSku ¶
func (o *VPNTunnelPlan) HasSku() bool
HasSku returns a boolean if a field has been set.
func (VPNTunnelPlan) MarshalJSON ¶
func (o VPNTunnelPlan) MarshalJSON() ([]byte, error)
func (*VPNTunnelPlan) SetName ¶
func (o *VPNTunnelPlan) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VPNTunnelPlan) SetRegion ¶
func (o *VPNTunnelPlan) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*VPNTunnelPlan) SetSku ¶
func (o *VPNTunnelPlan) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (VPNTunnelPlan) ToMap ¶
func (o VPNTunnelPlan) ToMap() (map[string]interface{}, error)
type VPNTunnels ¶
type VPNTunnels struct {
BgpStatus NullableBGPStatus `json:"bgpStatus,omitempty"`
InstanceState *GatewayStatus `json:"instanceState,omitempty"`
Name *string `json:"name,omitempty"`
PublicIP *string `json:"publicIP,omitempty"`
}
VPNTunnels List all available tunnels with public IP and status
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) GetName ¶
func (o *VPNTunnels) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VPNTunnels) GetNameOk ¶
func (o *VPNTunnels) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) 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) SetName ¶
func (o *VPNTunnels) SetName(v string)
SetName gets a reference to the given string 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) UnsetBgpStatus ¶
func (o *VPNTunnels) UnsetBgpStatus()
UnsetBgpStatus ensures that no value is present for BgpStatus, not even an explicit nil
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_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.go
- model_connection_list.go
- model_connection_status_response.go
- model_create_gateway_connection_payload.go
- model_create_vpn_gateway_payload.go
- model_create_vpn_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_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_status.go
- model_update_gateway_connection_payload.go
- model_update_vpn_gateway_payload.go
- model_update_vpn_gateway_payload_availability_zones.go
- model_vpn_tunnel_plan.go
- model_vpn_tunnels.go
- response.go
- utils.go