Documentation ¶
Index ¶
- type AssociateHVNWithAWSRoute53PrivateHostedZoneDefault
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Code() int
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Error() string
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsClientError() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsCode(code int) bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsRedirect() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsServerError() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsSuccess() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) String() string
- type AssociateHVNWithAWSRoute53PrivateHostedZoneOK
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Code() int
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Error() string
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) GetPayload() interface{}
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsClientError() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsCode(code int) bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsRedirect() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsServerError() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsSuccess() bool
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) String() string
- type AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParams() *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithContext(ctx context.Context) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithHTTPClient(client *http.Client) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithTimeout(timeout time.Duration) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetBody(...)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetContext(ctx context.Context)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetDefaults()
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHTTPClient(client *http.Client)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHvnID(hvnID string)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationProjectID(locationProjectID string)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetTimeout(timeout time.Duration)
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithBody(...) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithContext(ctx context.Context) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithDefaults() *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHTTPClient(client *http.Client) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHvnID(hvnID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationOrganizationID(locationOrganizationID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationProjectID(locationProjectID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithTimeout(timeout time.Duration) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
- func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssociateHVNWithAWSRoute53PrivateHostedZoneReader
- type Client
- func (a *Client) AssociateHVNWithAWSRoute53PrivateHostedZone(params *AssociateHVNWithAWSRoute53PrivateHostedZoneParams, ...) (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK, error)
- func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOK, error)
- func (a *Client) CreateHVNRoute(params *CreateHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHVNRouteOK, error)
- func (a *Client) CreatePeering(params *CreatePeeringParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePeeringOK, error)
- func (a *Client) CreateTGWAttachment(params *CreateTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTGWAttachmentOK, error)
- func (a *Client) CreateToken(params *CreateTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTokenOK, error)
- func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOK, error)
- func (a *Client) DeleteHVNRoute(params *DeleteHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHVNRouteOK, error)
- func (a *Client) DeletePeering(params *DeletePeeringParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePeeringOK, error)
- func (a *Client) DeleteTGWAttachment(params *DeleteTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTGWAttachmentOK, error)
- func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
- func (a *Client) GetHVNRoute(params *GetHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHVNRouteOK, error)
- func (a *Client) GetPeering(params *GetPeeringParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPeeringOK, error)
- func (a *Client) GetTGWAttachment(params *GetTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTGWAttachmentOK, error)
- func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOK, error)
- func (a *Client) ListDependencies(params *ListDependenciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDependenciesOK, error)
- func (a *Client) ListHVNRoutes(params *ListHVNRoutesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListHVNRoutesOK, error)
- func (a *Client) ListPeerings(params *ListPeeringsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPeeringsOK, error)
- func (a *Client) ListTGWAttachments(params *ListTGWAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTGWAttachmentsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDefault
- func (o *CreateDefault) Code() int
- func (o *CreateDefault) Error() string
- func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateDefault) IsClientError() bool
- func (o *CreateDefault) IsCode(code int) bool
- func (o *CreateDefault) IsRedirect() bool
- func (o *CreateDefault) IsServerError() bool
- func (o *CreateDefault) IsSuccess() bool
- func (o *CreateDefault) String() string
- type CreateHVNRouteDefault
- func (o *CreateHVNRouteDefault) Code() int
- func (o *CreateHVNRouteDefault) Error() string
- func (o *CreateHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateHVNRouteDefault) IsClientError() bool
- func (o *CreateHVNRouteDefault) IsCode(code int) bool
- func (o *CreateHVNRouteDefault) IsRedirect() bool
- func (o *CreateHVNRouteDefault) IsServerError() bool
- func (o *CreateHVNRouteDefault) IsSuccess() bool
- func (o *CreateHVNRouteDefault) String() string
- type CreateHVNRouteOK
- func (o *CreateHVNRouteOK) Code() int
- func (o *CreateHVNRouteOK) Error() string
- func (o *CreateHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateHVNRouteResponse
- func (o *CreateHVNRouteOK) IsClientError() bool
- func (o *CreateHVNRouteOK) IsCode(code int) bool
- func (o *CreateHVNRouteOK) IsRedirect() bool
- func (o *CreateHVNRouteOK) IsServerError() bool
- func (o *CreateHVNRouteOK) IsSuccess() bool
- func (o *CreateHVNRouteOK) String() string
- type CreateHVNRouteParams
- func NewCreateHVNRouteParams() *CreateHVNRouteParams
- func NewCreateHVNRouteParamsWithContext(ctx context.Context) *CreateHVNRouteParams
- func NewCreateHVNRouteParamsWithHTTPClient(client *http.Client) *CreateHVNRouteParams
- func NewCreateHVNRouteParamsWithTimeout(timeout time.Duration) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateHVNRouteRequest)
- func (o *CreateHVNRouteParams) SetContext(ctx context.Context)
- func (o *CreateHVNRouteParams) SetDefaults()
- func (o *CreateHVNRouteParams) SetHTTPClient(client *http.Client)
- func (o *CreateHVNRouteParams) SetHvnID(hvnID string)
- func (o *CreateHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *CreateHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *CreateHVNRouteParams) SetTimeout(timeout time.Duration)
- func (o *CreateHVNRouteParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateHVNRouteRequest) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithContext(ctx context.Context) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithDefaults() *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithHTTPClient(client *http.Client) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithHvnID(hvnID string) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WithTimeout(timeout time.Duration) *CreateHVNRouteParams
- func (o *CreateHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHVNRouteReader
- type CreateOK
- func (o *CreateOK) Code() int
- func (o *CreateOK) Error() string
- func (o *CreateOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateResponse
- func (o *CreateOK) IsClientError() bool
- func (o *CreateOK) IsCode(code int) bool
- func (o *CreateOK) IsRedirect() bool
- func (o *CreateOK) IsServerError() bool
- func (o *CreateOK) IsSuccess() bool
- func (o *CreateOK) String() string
- type CreateParams
- func (o *CreateParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateRequest)
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetDefaults()
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetNetworkLocationOrganizationID(networkLocationOrganizationID string)
- func (o *CreateParams) SetNetworkLocationProjectID(networkLocationProjectID string)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateRequest) *CreateParams
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithDefaults() *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithNetworkLocationOrganizationID(networkLocationOrganizationID string) *CreateParams
- func (o *CreateParams) WithNetworkLocationProjectID(networkLocationProjectID string) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePeeringDefault
- func (o *CreatePeeringDefault) Code() int
- func (o *CreatePeeringDefault) Error() string
- func (o *CreatePeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreatePeeringDefault) IsClientError() bool
- func (o *CreatePeeringDefault) IsCode(code int) bool
- func (o *CreatePeeringDefault) IsRedirect() bool
- func (o *CreatePeeringDefault) IsServerError() bool
- func (o *CreatePeeringDefault) IsSuccess() bool
- func (o *CreatePeeringDefault) String() string
- type CreatePeeringOK
- func (o *CreatePeeringOK) Code() int
- func (o *CreatePeeringOK) Error() string
- func (o *CreatePeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907CreatePeeringResponse
- func (o *CreatePeeringOK) IsClientError() bool
- func (o *CreatePeeringOK) IsCode(code int) bool
- func (o *CreatePeeringOK) IsRedirect() bool
- func (o *CreatePeeringOK) IsServerError() bool
- func (o *CreatePeeringOK) IsSuccess() bool
- func (o *CreatePeeringOK) String() string
- type CreatePeeringParams
- func (o *CreatePeeringParams) SetBody(body *models.HashicorpCloudNetwork20200907CreatePeeringRequest)
- func (o *CreatePeeringParams) SetContext(ctx context.Context)
- func (o *CreatePeeringParams) SetDefaults()
- func (o *CreatePeeringParams) SetHTTPClient(client *http.Client)
- func (o *CreatePeeringParams) SetPeeringHvnID(peeringHvnID string)
- func (o *CreatePeeringParams) SetPeeringHvnLocationOrganizationID(peeringHvnLocationOrganizationID string)
- func (o *CreatePeeringParams) SetPeeringHvnLocationProjectID(peeringHvnLocationProjectID string)
- func (o *CreatePeeringParams) SetTimeout(timeout time.Duration)
- func (o *CreatePeeringParams) WithBody(body *models.HashicorpCloudNetwork20200907CreatePeeringRequest) *CreatePeeringParams
- func (o *CreatePeeringParams) WithContext(ctx context.Context) *CreatePeeringParams
- func (o *CreatePeeringParams) WithDefaults() *CreatePeeringParams
- func (o *CreatePeeringParams) WithHTTPClient(client *http.Client) *CreatePeeringParams
- func (o *CreatePeeringParams) WithPeeringHvnID(peeringHvnID string) *CreatePeeringParams
- func (o *CreatePeeringParams) WithPeeringHvnLocationOrganizationID(peeringHvnLocationOrganizationID string) *CreatePeeringParams
- func (o *CreatePeeringParams) WithPeeringHvnLocationProjectID(peeringHvnLocationProjectID string) *CreatePeeringParams
- func (o *CreatePeeringParams) WithTimeout(timeout time.Duration) *CreatePeeringParams
- func (o *CreatePeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePeeringReader
- type CreateReader
- type CreateTGWAttachmentDefault
- func (o *CreateTGWAttachmentDefault) Code() int
- func (o *CreateTGWAttachmentDefault) Error() string
- func (o *CreateTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateTGWAttachmentDefault) IsClientError() bool
- func (o *CreateTGWAttachmentDefault) IsCode(code int) bool
- func (o *CreateTGWAttachmentDefault) IsRedirect() bool
- func (o *CreateTGWAttachmentDefault) IsServerError() bool
- func (o *CreateTGWAttachmentDefault) IsSuccess() bool
- func (o *CreateTGWAttachmentDefault) String() string
- type CreateTGWAttachmentOK
- func (o *CreateTGWAttachmentOK) Code() int
- func (o *CreateTGWAttachmentOK) Error() string
- func (o *CreateTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateTGWAttachmentResponse
- func (o *CreateTGWAttachmentOK) IsClientError() bool
- func (o *CreateTGWAttachmentOK) IsCode(code int) bool
- func (o *CreateTGWAttachmentOK) IsRedirect() bool
- func (o *CreateTGWAttachmentOK) IsServerError() bool
- func (o *CreateTGWAttachmentOK) IsSuccess() bool
- func (o *CreateTGWAttachmentOK) String() string
- type CreateTGWAttachmentParams
- func NewCreateTGWAttachmentParams() *CreateTGWAttachmentParams
- func NewCreateTGWAttachmentParamsWithContext(ctx context.Context) *CreateTGWAttachmentParams
- func NewCreateTGWAttachmentParamsWithHTTPClient(client *http.Client) *CreateTGWAttachmentParams
- func NewCreateTGWAttachmentParamsWithTimeout(timeout time.Duration) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateTGWAttachmentRequest)
- func (o *CreateTGWAttachmentParams) SetContext(ctx context.Context)
- func (o *CreateTGWAttachmentParams) SetDefaults()
- func (o *CreateTGWAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateTGWAttachmentParams) SetHvnID(hvnID string)
- func (o *CreateTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *CreateTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *CreateTGWAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateTGWAttachmentParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithContext(ctx context.Context) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithDefaults() *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithHTTPClient(client *http.Client) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithHvnID(hvnID string) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WithTimeout(timeout time.Duration) *CreateTGWAttachmentParams
- func (o *CreateTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTGWAttachmentReader
- type CreateTokenDefault
- func (o *CreateTokenDefault) Code() int
- func (o *CreateTokenDefault) Error() string
- func (o *CreateTokenDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateTokenDefault) IsClientError() bool
- func (o *CreateTokenDefault) IsCode(code int) bool
- func (o *CreateTokenDefault) IsRedirect() bool
- func (o *CreateTokenDefault) IsServerError() bool
- func (o *CreateTokenDefault) IsSuccess() bool
- func (o *CreateTokenDefault) String() string
- type CreateTokenOK
- func (o *CreateTokenOK) Code() int
- func (o *CreateTokenOK) Error() string
- func (o *CreateTokenOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateTokenResponse
- func (o *CreateTokenOK) IsClientError() bool
- func (o *CreateTokenOK) IsCode(code int) bool
- func (o *CreateTokenOK) IsRedirect() bool
- func (o *CreateTokenOK) IsServerError() bool
- func (o *CreateTokenOK) IsSuccess() bool
- func (o *CreateTokenOK) String() string
- type CreateTokenParams
- func (o *CreateTokenParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateTokenRequest)
- func (o *CreateTokenParams) SetContext(ctx context.Context)
- func (o *CreateTokenParams) SetDefaults()
- func (o *CreateTokenParams) SetHTTPClient(client *http.Client)
- func (o *CreateTokenParams) SetID(id string)
- func (o *CreateTokenParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *CreateTokenParams) SetLocationProjectID(locationProjectID string)
- func (o *CreateTokenParams) SetTimeout(timeout time.Duration)
- func (o *CreateTokenParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateTokenRequest) *CreateTokenParams
- func (o *CreateTokenParams) WithContext(ctx context.Context) *CreateTokenParams
- func (o *CreateTokenParams) WithDefaults() *CreateTokenParams
- func (o *CreateTokenParams) WithHTTPClient(client *http.Client) *CreateTokenParams
- func (o *CreateTokenParams) WithID(id string) *CreateTokenParams
- func (o *CreateTokenParams) WithLocationOrganizationID(locationOrganizationID string) *CreateTokenParams
- func (o *CreateTokenParams) WithLocationProjectID(locationProjectID string) *CreateTokenParams
- func (o *CreateTokenParams) WithTimeout(timeout time.Duration) *CreateTokenParams
- func (o *CreateTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTokenReader
- type DeleteDefault
- func (o *DeleteDefault) Code() int
- func (o *DeleteDefault) Error() string
- func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteDefault) IsClientError() bool
- func (o *DeleteDefault) IsCode(code int) bool
- func (o *DeleteDefault) IsRedirect() bool
- func (o *DeleteDefault) IsServerError() bool
- func (o *DeleteDefault) IsSuccess() bool
- func (o *DeleteDefault) String() string
- type DeleteHVNRouteDefault
- func (o *DeleteHVNRouteDefault) Code() int
- func (o *DeleteHVNRouteDefault) Error() string
- func (o *DeleteHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteHVNRouteDefault) IsClientError() bool
- func (o *DeleteHVNRouteDefault) IsCode(code int) bool
- func (o *DeleteHVNRouteDefault) IsRedirect() bool
- func (o *DeleteHVNRouteDefault) IsServerError() bool
- func (o *DeleteHVNRouteDefault) IsSuccess() bool
- func (o *DeleteHVNRouteDefault) String() string
- type DeleteHVNRouteOK
- func (o *DeleteHVNRouteOK) Code() int
- func (o *DeleteHVNRouteOK) Error() string
- func (o *DeleteHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteHVNRouteResponse
- func (o *DeleteHVNRouteOK) IsClientError() bool
- func (o *DeleteHVNRouteOK) IsCode(code int) bool
- func (o *DeleteHVNRouteOK) IsRedirect() bool
- func (o *DeleteHVNRouteOK) IsServerError() bool
- func (o *DeleteHVNRouteOK) IsSuccess() bool
- func (o *DeleteHVNRouteOK) String() string
- type DeleteHVNRouteParams
- func NewDeleteHVNRouteParams() *DeleteHVNRouteParams
- func NewDeleteHVNRouteParamsWithContext(ctx context.Context) *DeleteHVNRouteParams
- func NewDeleteHVNRouteParamsWithHTTPClient(client *http.Client) *DeleteHVNRouteParams
- func NewDeleteHVNRouteParamsWithTimeout(timeout time.Duration) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) SetContext(ctx context.Context)
- func (o *DeleteHVNRouteParams) SetDefaults()
- func (o *DeleteHVNRouteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHVNRouteParams) SetHvnDescription(hvnDescription *string)
- func (o *DeleteHVNRouteParams) SetHvnID(hvnID string)
- func (o *DeleteHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *DeleteHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *DeleteHVNRouteParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *DeleteHVNRouteParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *DeleteHVNRouteParams) SetHvnType(hvnType *string)
- func (o *DeleteHVNRouteParams) SetHvnUUID(hvnUUID *string)
- func (o *DeleteHVNRouteParams) SetID(id string)
- func (o *DeleteHVNRouteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHVNRouteParams) WithContext(ctx context.Context) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithDefaults() *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHTTPClient(client *http.Client) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnDescription(hvnDescription *string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnID(hvnID string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnType(hvnType *string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithHvnUUID(hvnUUID *string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithID(id string) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WithTimeout(timeout time.Duration) *DeleteHVNRouteParams
- func (o *DeleteHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHVNRouteReader
- type DeleteOK
- func (o *DeleteOK) Code() int
- func (o *DeleteOK) Error() string
- func (o *DeleteOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteResponse
- func (o *DeleteOK) IsClientError() bool
- func (o *DeleteOK) IsCode(code int) bool
- func (o *DeleteOK) IsRedirect() bool
- func (o *DeleteOK) IsServerError() bool
- func (o *DeleteOK) IsSuccess() bool
- func (o *DeleteOK) String() string
- type DeleteParams
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetDefaults()
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetID(id string)
- func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeleteParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithDefaults() *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithID(id string) *DeleteParams
- func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams
- func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePeeringDefault
- func (o *DeletePeeringDefault) Code() int
- func (o *DeletePeeringDefault) Error() string
- func (o *DeletePeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeletePeeringDefault) IsClientError() bool
- func (o *DeletePeeringDefault) IsCode(code int) bool
- func (o *DeletePeeringDefault) IsRedirect() bool
- func (o *DeletePeeringDefault) IsServerError() bool
- func (o *DeletePeeringDefault) IsSuccess() bool
- func (o *DeletePeeringDefault) String() string
- type DeletePeeringOK
- func (o *DeletePeeringOK) Code() int
- func (o *DeletePeeringOK) Error() string
- func (o *DeletePeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907DeletePeeringResponse
- func (o *DeletePeeringOK) IsClientError() bool
- func (o *DeletePeeringOK) IsCode(code int) bool
- func (o *DeletePeeringOK) IsRedirect() bool
- func (o *DeletePeeringOK) IsServerError() bool
- func (o *DeletePeeringOK) IsSuccess() bool
- func (o *DeletePeeringOK) String() string
- type DeletePeeringParams
- func (o *DeletePeeringParams) SetContext(ctx context.Context)
- func (o *DeletePeeringParams) SetDefaults()
- func (o *DeletePeeringParams) SetHTTPClient(client *http.Client)
- func (o *DeletePeeringParams) SetHvnID(hvnID string)
- func (o *DeletePeeringParams) SetID(id string)
- func (o *DeletePeeringParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeletePeeringParams) SetLocationProjectID(locationProjectID string)
- func (o *DeletePeeringParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeletePeeringParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeletePeeringParams) SetTimeout(timeout time.Duration)
- func (o *DeletePeeringParams) WithContext(ctx context.Context) *DeletePeeringParams
- func (o *DeletePeeringParams) WithDefaults() *DeletePeeringParams
- func (o *DeletePeeringParams) WithHTTPClient(client *http.Client) *DeletePeeringParams
- func (o *DeletePeeringParams) WithHvnID(hvnID string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithID(id string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithLocationOrganizationID(locationOrganizationID string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithLocationProjectID(locationProjectID string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithLocationRegionProvider(locationRegionProvider *string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithLocationRegionRegion(locationRegionRegion *string) *DeletePeeringParams
- func (o *DeletePeeringParams) WithTimeout(timeout time.Duration) *DeletePeeringParams
- func (o *DeletePeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePeeringReader
- type DeleteReader
- type DeleteTGWAttachmentDefault
- func (o *DeleteTGWAttachmentDefault) Code() int
- func (o *DeleteTGWAttachmentDefault) Error() string
- func (o *DeleteTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteTGWAttachmentDefault) IsClientError() bool
- func (o *DeleteTGWAttachmentDefault) IsCode(code int) bool
- func (o *DeleteTGWAttachmentDefault) IsRedirect() bool
- func (o *DeleteTGWAttachmentDefault) IsServerError() bool
- func (o *DeleteTGWAttachmentDefault) IsSuccess() bool
- func (o *DeleteTGWAttachmentDefault) String() string
- type DeleteTGWAttachmentOK
- func (o *DeleteTGWAttachmentOK) Code() int
- func (o *DeleteTGWAttachmentOK) Error() string
- func (o *DeleteTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse
- func (o *DeleteTGWAttachmentOK) IsClientError() bool
- func (o *DeleteTGWAttachmentOK) IsCode(code int) bool
- func (o *DeleteTGWAttachmentOK) IsRedirect() bool
- func (o *DeleteTGWAttachmentOK) IsServerError() bool
- func (o *DeleteTGWAttachmentOK) IsSuccess() bool
- func (o *DeleteTGWAttachmentOK) String() string
- type DeleteTGWAttachmentParams
- func NewDeleteTGWAttachmentParams() *DeleteTGWAttachmentParams
- func NewDeleteTGWAttachmentParamsWithContext(ctx context.Context) *DeleteTGWAttachmentParams
- func NewDeleteTGWAttachmentParamsWithHTTPClient(client *http.Client) *DeleteTGWAttachmentParams
- func NewDeleteTGWAttachmentParamsWithTimeout(timeout time.Duration) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) SetContext(ctx context.Context)
- func (o *DeleteTGWAttachmentParams) SetDefaults()
- func (o *DeleteTGWAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTGWAttachmentParams) SetHvnDescription(hvnDescription *string)
- func (o *DeleteTGWAttachmentParams) SetHvnID(hvnID string)
- func (o *DeleteTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *DeleteTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *DeleteTGWAttachmentParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *DeleteTGWAttachmentParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *DeleteTGWAttachmentParams) SetHvnType(hvnType *string)
- func (o *DeleteTGWAttachmentParams) SetHvnUUID(hvnUUID *string)
- func (o *DeleteTGWAttachmentParams) SetID(id string)
- func (o *DeleteTGWAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTGWAttachmentParams) WithContext(ctx context.Context) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithDefaults() *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHTTPClient(client *http.Client) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnDescription(hvnDescription *string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnID(hvnID string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnType(hvnType *string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithHvnUUID(hvnUUID *string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithID(id string) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WithTimeout(timeout time.Duration) *DeleteTGWAttachmentParams
- func (o *DeleteTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTGWAttachmentReader
- type GetDefault
- func (o *GetDefault) Code() int
- func (o *GetDefault) Error() string
- func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetDefault) IsClientError() bool
- func (o *GetDefault) IsCode(code int) bool
- func (o *GetDefault) IsRedirect() bool
- func (o *GetDefault) IsServerError() bool
- func (o *GetDefault) IsSuccess() bool
- func (o *GetDefault) String() string
- type GetHVNRouteDefault
- func (o *GetHVNRouteDefault) Code() int
- func (o *GetHVNRouteDefault) Error() string
- func (o *GetHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetHVNRouteDefault) IsClientError() bool
- func (o *GetHVNRouteDefault) IsCode(code int) bool
- func (o *GetHVNRouteDefault) IsRedirect() bool
- func (o *GetHVNRouteDefault) IsServerError() bool
- func (o *GetHVNRouteDefault) IsSuccess() bool
- func (o *GetHVNRouteDefault) String() string
- type GetHVNRouteOK
- func (o *GetHVNRouteOK) Code() int
- func (o *GetHVNRouteOK) Error() string
- func (o *GetHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907GetHVNRouteResponse
- func (o *GetHVNRouteOK) IsClientError() bool
- func (o *GetHVNRouteOK) IsCode(code int) bool
- func (o *GetHVNRouteOK) IsRedirect() bool
- func (o *GetHVNRouteOK) IsServerError() bool
- func (o *GetHVNRouteOK) IsSuccess() bool
- func (o *GetHVNRouteOK) String() string
- type GetHVNRouteParams
- func (o *GetHVNRouteParams) SetContext(ctx context.Context)
- func (o *GetHVNRouteParams) SetDefaults()
- func (o *GetHVNRouteParams) SetHTTPClient(client *http.Client)
- func (o *GetHVNRouteParams) SetHvnDescription(hvnDescription *string)
- func (o *GetHVNRouteParams) SetHvnID(hvnID string)
- func (o *GetHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *GetHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *GetHVNRouteParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *GetHVNRouteParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *GetHVNRouteParams) SetHvnType(hvnType *string)
- func (o *GetHVNRouteParams) SetHvnUUID(hvnUUID *string)
- func (o *GetHVNRouteParams) SetID(id string)
- func (o *GetHVNRouteParams) SetTimeout(timeout time.Duration)
- func (o *GetHVNRouteParams) WithContext(ctx context.Context) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithDefaults() *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHTTPClient(client *http.Client) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnDescription(hvnDescription *string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnID(hvnID string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnType(hvnType *string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithHvnUUID(hvnUUID *string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithID(id string) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WithTimeout(timeout time.Duration) *GetHVNRouteParams
- func (o *GetHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHVNRouteReader
- type GetOK
- func (o *GetOK) Code() int
- func (o *GetOK) Error() string
- func (o *GetOK) GetPayload() *models.HashicorpCloudNetwork20200907GetResponse
- func (o *GetOK) IsClientError() bool
- func (o *GetOK) IsCode(code int) bool
- func (o *GetOK) IsRedirect() bool
- func (o *GetOK) IsServerError() bool
- func (o *GetOK) IsSuccess() bool
- func (o *GetOK) String() string
- type GetParams
- func (o *GetParams) SetContext(ctx context.Context)
- func (o *GetParams) SetDefaults()
- func (o *GetParams) SetHTTPClient(client *http.Client)
- func (o *GetParams) SetID(id string)
- func (o *GetParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetParams) SetLocationProjectID(locationProjectID string)
- func (o *GetParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetParams) SetTimeout(timeout time.Duration)
- func (o *GetParams) WithContext(ctx context.Context) *GetParams
- func (o *GetParams) WithDefaults() *GetParams
- func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams
- func (o *GetParams) WithID(id string) *GetParams
- func (o *GetParams) WithLocationOrganizationID(locationOrganizationID string) *GetParams
- func (o *GetParams) WithLocationProjectID(locationProjectID string) *GetParams
- func (o *GetParams) WithLocationRegionProvider(locationRegionProvider *string) *GetParams
- func (o *GetParams) WithLocationRegionRegion(locationRegionRegion *string) *GetParams
- func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams
- func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPeeringDefault
- func (o *GetPeeringDefault) Code() int
- func (o *GetPeeringDefault) Error() string
- func (o *GetPeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetPeeringDefault) IsClientError() bool
- func (o *GetPeeringDefault) IsCode(code int) bool
- func (o *GetPeeringDefault) IsRedirect() bool
- func (o *GetPeeringDefault) IsServerError() bool
- func (o *GetPeeringDefault) IsSuccess() bool
- func (o *GetPeeringDefault) String() string
- type GetPeeringOK
- func (o *GetPeeringOK) Code() int
- func (o *GetPeeringOK) Error() string
- func (o *GetPeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907GetPeeringResponse
- func (o *GetPeeringOK) IsClientError() bool
- func (o *GetPeeringOK) IsCode(code int) bool
- func (o *GetPeeringOK) IsRedirect() bool
- func (o *GetPeeringOK) IsServerError() bool
- func (o *GetPeeringOK) IsSuccess() bool
- func (o *GetPeeringOK) String() string
- type GetPeeringParams
- func (o *GetPeeringParams) SetContext(ctx context.Context)
- func (o *GetPeeringParams) SetDefaults()
- func (o *GetPeeringParams) SetHTTPClient(client *http.Client)
- func (o *GetPeeringParams) SetHvnID(hvnID string)
- func (o *GetPeeringParams) SetID(id string)
- func (o *GetPeeringParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetPeeringParams) SetLocationProjectID(locationProjectID string)
- func (o *GetPeeringParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetPeeringParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetPeeringParams) SetTimeout(timeout time.Duration)
- func (o *GetPeeringParams) WithContext(ctx context.Context) *GetPeeringParams
- func (o *GetPeeringParams) WithDefaults() *GetPeeringParams
- func (o *GetPeeringParams) WithHTTPClient(client *http.Client) *GetPeeringParams
- func (o *GetPeeringParams) WithHvnID(hvnID string) *GetPeeringParams
- func (o *GetPeeringParams) WithID(id string) *GetPeeringParams
- func (o *GetPeeringParams) WithLocationOrganizationID(locationOrganizationID string) *GetPeeringParams
- func (o *GetPeeringParams) WithLocationProjectID(locationProjectID string) *GetPeeringParams
- func (o *GetPeeringParams) WithLocationRegionProvider(locationRegionProvider *string) *GetPeeringParams
- func (o *GetPeeringParams) WithLocationRegionRegion(locationRegionRegion *string) *GetPeeringParams
- func (o *GetPeeringParams) WithTimeout(timeout time.Duration) *GetPeeringParams
- func (o *GetPeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPeeringReader
- type GetReader
- type GetTGWAttachmentDefault
- func (o *GetTGWAttachmentDefault) Code() int
- func (o *GetTGWAttachmentDefault) Error() string
- func (o *GetTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetTGWAttachmentDefault) IsClientError() bool
- func (o *GetTGWAttachmentDefault) IsCode(code int) bool
- func (o *GetTGWAttachmentDefault) IsRedirect() bool
- func (o *GetTGWAttachmentDefault) IsServerError() bool
- func (o *GetTGWAttachmentDefault) IsSuccess() bool
- func (o *GetTGWAttachmentDefault) String() string
- type GetTGWAttachmentOK
- func (o *GetTGWAttachmentOK) Code() int
- func (o *GetTGWAttachmentOK) Error() string
- func (o *GetTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907GetTGWAttachmentResponse
- func (o *GetTGWAttachmentOK) IsClientError() bool
- func (o *GetTGWAttachmentOK) IsCode(code int) bool
- func (o *GetTGWAttachmentOK) IsRedirect() bool
- func (o *GetTGWAttachmentOK) IsServerError() bool
- func (o *GetTGWAttachmentOK) IsSuccess() bool
- func (o *GetTGWAttachmentOK) String() string
- type GetTGWAttachmentParams
- func NewGetTGWAttachmentParams() *GetTGWAttachmentParams
- func NewGetTGWAttachmentParamsWithContext(ctx context.Context) *GetTGWAttachmentParams
- func NewGetTGWAttachmentParamsWithHTTPClient(client *http.Client) *GetTGWAttachmentParams
- func NewGetTGWAttachmentParamsWithTimeout(timeout time.Duration) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) SetContext(ctx context.Context)
- func (o *GetTGWAttachmentParams) SetDefaults()
- func (o *GetTGWAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *GetTGWAttachmentParams) SetHvnDescription(hvnDescription *string)
- func (o *GetTGWAttachmentParams) SetHvnID(hvnID string)
- func (o *GetTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *GetTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *GetTGWAttachmentParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *GetTGWAttachmentParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *GetTGWAttachmentParams) SetHvnType(hvnType *string)
- func (o *GetTGWAttachmentParams) SetHvnUUID(hvnUUID *string)
- func (o *GetTGWAttachmentParams) SetID(id string)
- func (o *GetTGWAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *GetTGWAttachmentParams) WithContext(ctx context.Context) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithDefaults() *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHTTPClient(client *http.Client) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnDescription(hvnDescription *string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnID(hvnID string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnType(hvnType *string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithHvnUUID(hvnUUID *string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithID(id string) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WithTimeout(timeout time.Duration) *GetTGWAttachmentParams
- func (o *GetTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTGWAttachmentReader
- type ListDefault
- func (o *ListDefault) Code() int
- func (o *ListDefault) Error() string
- func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListDefault) IsClientError() bool
- func (o *ListDefault) IsCode(code int) bool
- func (o *ListDefault) IsRedirect() bool
- func (o *ListDefault) IsServerError() bool
- func (o *ListDefault) IsSuccess() bool
- func (o *ListDefault) String() string
- type ListDependenciesDefault
- func (o *ListDependenciesDefault) Code() int
- func (o *ListDependenciesDefault) Error() string
- func (o *ListDependenciesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListDependenciesDefault) IsClientError() bool
- func (o *ListDependenciesDefault) IsCode(code int) bool
- func (o *ListDependenciesDefault) IsRedirect() bool
- func (o *ListDependenciesDefault) IsServerError() bool
- func (o *ListDependenciesDefault) IsSuccess() bool
- func (o *ListDependenciesDefault) String() string
- type ListDependenciesOK
- func (o *ListDependenciesOK) Code() int
- func (o *ListDependenciesOK) Error() string
- func (o *ListDependenciesOK) GetPayload() *models.HashicorpCloudNetwork20200907ListDependenciesResponse
- func (o *ListDependenciesOK) IsClientError() bool
- func (o *ListDependenciesOK) IsCode(code int) bool
- func (o *ListDependenciesOK) IsRedirect() bool
- func (o *ListDependenciesOK) IsServerError() bool
- func (o *ListDependenciesOK) IsSuccess() bool
- func (o *ListDependenciesOK) String() string
- type ListDependenciesParams
- func NewListDependenciesParams() *ListDependenciesParams
- func NewListDependenciesParamsWithContext(ctx context.Context) *ListDependenciesParams
- func NewListDependenciesParamsWithHTTPClient(client *http.Client) *ListDependenciesParams
- func NewListDependenciesParamsWithTimeout(timeout time.Duration) *ListDependenciesParams
- func (o *ListDependenciesParams) SetContext(ctx context.Context)
- func (o *ListDependenciesParams) SetDefaults()
- func (o *ListDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *ListDependenciesParams) SetID(id string)
- func (o *ListDependenciesParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListDependenciesParams) SetLocationProjectID(locationProjectID string)
- func (o *ListDependenciesParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListDependenciesParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListDependenciesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListDependenciesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListDependenciesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *ListDependenciesParams) WithContext(ctx context.Context) *ListDependenciesParams
- func (o *ListDependenciesParams) WithDefaults() *ListDependenciesParams
- func (o *ListDependenciesParams) WithHTTPClient(client *http.Client) *ListDependenciesParams
- func (o *ListDependenciesParams) WithID(id string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithLocationOrganizationID(locationOrganizationID string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithLocationProjectID(locationProjectID string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithPaginationPageSize(paginationPageSize *int64) *ListDependenciesParams
- func (o *ListDependenciesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListDependenciesParams
- func (o *ListDependenciesParams) WithTimeout(timeout time.Duration) *ListDependenciesParams
- func (o *ListDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDependenciesReader
- type ListHVNRoutesDefault
- func (o *ListHVNRoutesDefault) Code() int
- func (o *ListHVNRoutesDefault) Error() string
- func (o *ListHVNRoutesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListHVNRoutesDefault) IsClientError() bool
- func (o *ListHVNRoutesDefault) IsCode(code int) bool
- func (o *ListHVNRoutesDefault) IsRedirect() bool
- func (o *ListHVNRoutesDefault) IsServerError() bool
- func (o *ListHVNRoutesDefault) IsSuccess() bool
- func (o *ListHVNRoutesDefault) String() string
- type ListHVNRoutesOK
- func (o *ListHVNRoutesOK) Code() int
- func (o *ListHVNRoutesOK) Error() string
- func (o *ListHVNRoutesOK) GetPayload() *models.HashicorpCloudNetwork20200907ListHVNRoutesResponse
- func (o *ListHVNRoutesOK) IsClientError() bool
- func (o *ListHVNRoutesOK) IsCode(code int) bool
- func (o *ListHVNRoutesOK) IsRedirect() bool
- func (o *ListHVNRoutesOK) IsServerError() bool
- func (o *ListHVNRoutesOK) IsSuccess() bool
- func (o *ListHVNRoutesOK) String() string
- type ListHVNRoutesParams
- func (o *ListHVNRoutesParams) SetContext(ctx context.Context)
- func (o *ListHVNRoutesParams) SetDefaults()
- func (o *ListHVNRoutesParams) SetDestination(destination *string)
- func (o *ListHVNRoutesParams) SetHTTPClient(client *http.Client)
- func (o *ListHVNRoutesParams) SetHvnDescription(hvnDescription *string)
- func (o *ListHVNRoutesParams) SetHvnID(hvnID string)
- func (o *ListHVNRoutesParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *ListHVNRoutesParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *ListHVNRoutesParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *ListHVNRoutesParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *ListHVNRoutesParams) SetHvnType(hvnType *string)
- func (o *ListHVNRoutesParams) SetHvnUUID(hvnUUID *string)
- func (o *ListHVNRoutesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListHVNRoutesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListHVNRoutesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListHVNRoutesParams) SetTargetID(targetID *string)
- func (o *ListHVNRoutesParams) SetTargetType(targetType *string)
- func (o *ListHVNRoutesParams) SetTimeout(timeout time.Duration)
- func (o *ListHVNRoutesParams) WithContext(ctx context.Context) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithDefaults() *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithDestination(destination *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHTTPClient(client *http.Client) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnDescription(hvnDescription *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnID(hvnID string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnLocationProjectID(hvnLocationProjectID string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnType(hvnType *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithHvnUUID(hvnUUID *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithPaginationPageSize(paginationPageSize *int64) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithTargetID(targetID *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithTargetType(targetType *string) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WithTimeout(timeout time.Duration) *ListHVNRoutesParams
- func (o *ListHVNRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListHVNRoutesReader
- type ListOK
- func (o *ListOK) Code() int
- func (o *ListOK) Error() string
- func (o *ListOK) GetPayload() *models.HashicorpCloudNetwork20200907ListResponse
- func (o *ListOK) IsClientError() bool
- func (o *ListOK) IsCode(code int) bool
- func (o *ListOK) IsRedirect() bool
- func (o *ListOK) IsServerError() bool
- func (o *ListOK) IsSuccess() bool
- func (o *ListOK) String() string
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetDefaults()
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListParams) SetLocationProjectID(locationProjectID string)
- func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithDefaults() *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams
- func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams
- func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams
- func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams
- func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams
- func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams
- func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPeeringsDefault
- func (o *ListPeeringsDefault) Code() int
- func (o *ListPeeringsDefault) Error() string
- func (o *ListPeeringsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListPeeringsDefault) IsClientError() bool
- func (o *ListPeeringsDefault) IsCode(code int) bool
- func (o *ListPeeringsDefault) IsRedirect() bool
- func (o *ListPeeringsDefault) IsServerError() bool
- func (o *ListPeeringsDefault) IsSuccess() bool
- func (o *ListPeeringsDefault) String() string
- type ListPeeringsOK
- func (o *ListPeeringsOK) Code() int
- func (o *ListPeeringsOK) Error() string
- func (o *ListPeeringsOK) GetPayload() *models.HashicorpCloudNetwork20200907ListPeeringsResponse
- func (o *ListPeeringsOK) IsClientError() bool
- func (o *ListPeeringsOK) IsCode(code int) bool
- func (o *ListPeeringsOK) IsRedirect() bool
- func (o *ListPeeringsOK) IsServerError() bool
- func (o *ListPeeringsOK) IsSuccess() bool
- func (o *ListPeeringsOK) String() string
- type ListPeeringsParams
- func (o *ListPeeringsParams) SetContext(ctx context.Context)
- func (o *ListPeeringsParams) SetDefaults()
- func (o *ListPeeringsParams) SetHTTPClient(client *http.Client)
- func (o *ListPeeringsParams) SetHvnID(hvnID string)
- func (o *ListPeeringsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListPeeringsParams) SetLocationProjectID(locationProjectID string)
- func (o *ListPeeringsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListPeeringsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListPeeringsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListPeeringsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListPeeringsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListPeeringsParams) SetTimeout(timeout time.Duration)
- func (o *ListPeeringsParams) WithContext(ctx context.Context) *ListPeeringsParams
- func (o *ListPeeringsParams) WithDefaults() *ListPeeringsParams
- func (o *ListPeeringsParams) WithHTTPClient(client *http.Client) *ListPeeringsParams
- func (o *ListPeeringsParams) WithHvnID(hvnID string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithLocationOrganizationID(locationOrganizationID string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithLocationProjectID(locationProjectID string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithLocationRegionProvider(locationRegionProvider *string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithLocationRegionRegion(locationRegionRegion *string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithPaginationPageSize(paginationPageSize *int64) *ListPeeringsParams
- func (o *ListPeeringsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListPeeringsParams
- func (o *ListPeeringsParams) WithTimeout(timeout time.Duration) *ListPeeringsParams
- func (o *ListPeeringsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPeeringsReader
- type ListReader
- type ListTGWAttachmentsDefault
- func (o *ListTGWAttachmentsDefault) Code() int
- func (o *ListTGWAttachmentsDefault) Error() string
- func (o *ListTGWAttachmentsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListTGWAttachmentsDefault) IsClientError() bool
- func (o *ListTGWAttachmentsDefault) IsCode(code int) bool
- func (o *ListTGWAttachmentsDefault) IsRedirect() bool
- func (o *ListTGWAttachmentsDefault) IsServerError() bool
- func (o *ListTGWAttachmentsDefault) IsSuccess() bool
- func (o *ListTGWAttachmentsDefault) String() string
- type ListTGWAttachmentsOK
- func (o *ListTGWAttachmentsOK) Code() int
- func (o *ListTGWAttachmentsOK) Error() string
- func (o *ListTGWAttachmentsOK) GetPayload() *models.HashicorpCloudNetwork20200907ListTGWAttachmentsResponse
- func (o *ListTGWAttachmentsOK) IsClientError() bool
- func (o *ListTGWAttachmentsOK) IsCode(code int) bool
- func (o *ListTGWAttachmentsOK) IsRedirect() bool
- func (o *ListTGWAttachmentsOK) IsServerError() bool
- func (o *ListTGWAttachmentsOK) IsSuccess() bool
- func (o *ListTGWAttachmentsOK) String() string
- type ListTGWAttachmentsParams
- func NewListTGWAttachmentsParams() *ListTGWAttachmentsParams
- func NewListTGWAttachmentsParamsWithContext(ctx context.Context) *ListTGWAttachmentsParams
- func NewListTGWAttachmentsParamsWithHTTPClient(client *http.Client) *ListTGWAttachmentsParams
- func NewListTGWAttachmentsParamsWithTimeout(timeout time.Duration) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) SetContext(ctx context.Context)
- func (o *ListTGWAttachmentsParams) SetDefaults()
- func (o *ListTGWAttachmentsParams) SetHTTPClient(client *http.Client)
- func (o *ListTGWAttachmentsParams) SetHvnDescription(hvnDescription *string)
- func (o *ListTGWAttachmentsParams) SetHvnID(hvnID string)
- func (o *ListTGWAttachmentsParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
- func (o *ListTGWAttachmentsParams) SetHvnLocationProjectID(hvnLocationProjectID string)
- func (o *ListTGWAttachmentsParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
- func (o *ListTGWAttachmentsParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
- func (o *ListTGWAttachmentsParams) SetHvnType(hvnType *string)
- func (o *ListTGWAttachmentsParams) SetHvnUUID(hvnUUID *string)
- func (o *ListTGWAttachmentsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListTGWAttachmentsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListTGWAttachmentsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListTGWAttachmentsParams) SetStates(states []string)
- func (o *ListTGWAttachmentsParams) SetTimeout(timeout time.Duration)
- func (o *ListTGWAttachmentsParams) WithContext(ctx context.Context) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithDefaults() *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHTTPClient(client *http.Client) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnDescription(hvnDescription *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnID(hvnID string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnLocationProjectID(hvnLocationProjectID string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnType(hvnType *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithHvnUUID(hvnUUID *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithPaginationPageSize(paginationPageSize *int64) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithStates(states []string) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WithTimeout(timeout time.Duration) *ListTGWAttachmentsParams
- func (o *ListTGWAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTGWAttachmentsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateHVNWithAWSRoute53PrivateHostedZoneDefault ¶
type AssociateHVNWithAWSRoute53PrivateHostedZoneDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
AssociateHVNWithAWSRoute53PrivateHostedZoneDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneDefault ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneDefault(code int) *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault
NewAssociateHVNWithAWSRoute53PrivateHostedZoneDefault creates a AssociateHVNWithAWSRoute53PrivateHostedZoneDefault with default headers values
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Code ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Code() int
Code gets the status code for the associate h v n with a w s route53 private hosted zone default response
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Error ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) Error() string
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) GetPayload ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsClientError ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsClientError() bool
IsClientError returns true when this associate h v n with a w s route53 private hosted zone default response has a 4xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsCode ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsCode(code int) bool
IsCode returns true when this associate h v n with a w s route53 private hosted zone default response a status code equal to that given
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsRedirect ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsRedirect() bool
IsRedirect returns true when this associate h v n with a w s route53 private hosted zone default response has a 3xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsServerError ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsServerError() bool
IsServerError returns true when this associate h v n with a w s route53 private hosted zone default response has a 5xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsSuccess ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsSuccess() bool
IsSuccess returns true when this associate h v n with a w s route53 private hosted zone default response has a 2xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) String ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) String() string
type AssociateHVNWithAWSRoute53PrivateHostedZoneOK ¶
type AssociateHVNWithAWSRoute53PrivateHostedZoneOK struct {
Payload interface{}
}
AssociateHVNWithAWSRoute53PrivateHostedZoneOK describes a response with status code 200, with default header values.
A successful response.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneOK ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneOK() *AssociateHVNWithAWSRoute53PrivateHostedZoneOK
NewAssociateHVNWithAWSRoute53PrivateHostedZoneOK creates a AssociateHVNWithAWSRoute53PrivateHostedZoneOK with default headers values
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Code ¶ added in v0.76.0
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Code() int
Code gets the status code for the associate h v n with a w s route53 private hosted zone o k response
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Error ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) Error() string
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) GetPayload ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) GetPayload() interface{}
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsClientError ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsClientError() bool
IsClientError returns true when this associate h v n with a w s route53 private hosted zone o k response has a 4xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsCode ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsCode(code int) bool
IsCode returns true when this associate h v n with a w s route53 private hosted zone o k response a status code equal to that given
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsRedirect ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsRedirect() bool
IsRedirect returns true when this associate h v n with a w s route53 private hosted zone o k response has a 3xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsServerError ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsServerError() bool
IsServerError returns true when this associate h v n with a w s route53 private hosted zone o k response has a 5xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsSuccess ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsSuccess() bool
IsSuccess returns true when this associate h v n with a w s route53 private hosted zone o k response has a 2xx status code
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) String ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) String() string
type AssociateHVNWithAWSRoute53PrivateHostedZoneParams ¶
type AssociateHVNWithAWSRoute53PrivateHostedZoneParams struct { // Body. Body *models.HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest /* HvnID. hvn_id is the id of the HVN the private hosted zone should be associated with. */ HvnID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssociateHVNWithAWSRoute53PrivateHostedZoneParams contains all the parameters to send to the API endpoint
for the associate h v n with a w s route53 private hosted zone operation. Typically these are written to a http.Request.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParams ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParams() *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
NewAssociateHVNWithAWSRoute53PrivateHostedZoneParams creates a new AssociateHVNWithAWSRoute53PrivateHostedZoneParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithContext ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithContext(ctx context.Context) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithContext creates a new AssociateHVNWithAWSRoute53PrivateHostedZoneParams object with the ability to set a context for a request.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithHTTPClient ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithHTTPClient(client *http.Client) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithHTTPClient creates a new AssociateHVNWithAWSRoute53PrivateHostedZoneParams object with the ability to set a custom HTTPClient for a request.
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithTimeout ¶
func NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithTimeout(timeout time.Duration) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
NewAssociateHVNWithAWSRoute53PrivateHostedZoneParamsWithTimeout creates a new AssociateHVNWithAWSRoute53PrivateHostedZoneParams object with the ability to set a timeout on a request.
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetBody ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetBody(body *models.HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest)
SetBody adds the body to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetContext ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetDefaults ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetDefaults()
SetDefaults hydrates default values in the associate h v n with a w s route53 private hosted zone params (not the query body).
All values with no default are reset to their zero value.
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHTTPClient ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHvnID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationOrganizationID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationProjectID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetTimeout ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithBody ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithBody(body *models.HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithBody adds the body to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithContext ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithContext(ctx context.Context) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithContext adds the context to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithDefaults ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithDefaults() *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithDefaults hydrates default values in the associate h v n with a w s route53 private hosted zone params (not the query body).
All values with no default are reset to their zero value.
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHTTPClient ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHTTPClient(client *http.Client) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithHTTPClient adds the HTTPClient to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHvnID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHvnID(hvnID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithHvnID adds the hvnID to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationOrganizationID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationOrganizationID(locationOrganizationID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithLocationOrganizationID adds the locationOrganizationID to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationProjectID ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationProjectID(locationProjectID string) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithLocationProjectID adds the locationProjectID to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithTimeout ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithTimeout(timeout time.Duration) *AssociateHVNWithAWSRoute53PrivateHostedZoneParams
WithTimeout adds the timeout to the associate h v n with a w s route53 private hosted zone params
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WriteToRequest ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssociateHVNWithAWSRoute53PrivateHostedZoneReader ¶
type AssociateHVNWithAWSRoute53PrivateHostedZoneReader struct {
// contains filtered or unexported fields
}
AssociateHVNWithAWSRoute53PrivateHostedZoneReader is a Reader for the AssociateHVNWithAWSRoute53PrivateHostedZone structure.
func (*AssociateHVNWithAWSRoute53PrivateHostedZoneReader) ReadResponse ¶
func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for network service API
func (*Client) AssociateHVNWithAWSRoute53PrivateHostedZone ¶
func (a *Client) AssociateHVNWithAWSRoute53PrivateHostedZone(params *AssociateHVNWithAWSRoute53PrivateHostedZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK, error)
AssociateHVNWithAWSRoute53PrivateHostedZone associates h v n with a w s route53 private hosted zone will associate the h v n s v p c with a user s private hosted zone in a w s route53 this will enable the resolution of records of the private hosted zone from within the v p c
func (*Client) Create ¶
func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error)
Create creates creates a new h v n
func (*Client) CreateHVNRoute ¶
func (a *Client) CreateHVNRoute(params *CreateHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHVNRouteOK, error)
CreateHVNRoute hs v n routes
CreateHVNRoute creates a new HVN Route
func (*Client) CreatePeering ¶
func (a *Client) CreatePeering(params *CreatePeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringOK, error)
CreatePeering creates peering creates a new network peering between h v n v p c and target v p c
func (*Client) CreateTGWAttachment ¶
func (a *Client) CreateTGWAttachment(params *CreateTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTGWAttachmentOK, error)
CreateTGWAttachment creates t g w attachment creates a new transit gateway attachment for an h v n
func (*Client) CreateToken ¶
func (a *Client) CreateToken(params *CreateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTokenOK, error)
CreateToken creates token creates a short lived token with auth to issue a create peering for the given h v n w a r n i n g this is an experimental feature that may change or be removed without notice
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)
Delete deletes deletes a new h v n
func (*Client) DeleteHVNRoute ¶
func (a *Client) DeleteHVNRoute(params *DeleteHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHVNRouteOK, error)
DeleteHVNRoute deletes h v n route triggers h v n route deletion workflow
func (*Client) DeletePeering ¶
func (a *Client) DeletePeering(params *DeletePeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringOK, error)
DeletePeering deletes peering deletes specified peering and triggers updating network configuration
func (*Client) DeleteTGWAttachment ¶
func (a *Client) DeleteTGWAttachment(params *DeleteTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTGWAttachmentOK, error)
DeleteTGWAttachment deletes t g w attachment deletes specified transit gateway attachment and triggers updating network configuration
func (*Client) Get ¶
func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
Get gets reads a single h v n
func (*Client) GetHVNRoute ¶
func (a *Client) GetHVNRoute(params *GetHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHVNRouteOK, error)
GetHVNRoute gets h v n route returns a specific h v n route
func (*Client) GetPeering ¶
func (a *Client) GetPeering(params *GetPeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPeeringOK, error)
GetPeering gets peering returns information about peering
func (*Client) GetTGWAttachment ¶
func (a *Client) GetTGWAttachment(params *GetTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTGWAttachmentOK, error)
GetTGWAttachment gets t g w attachment returns existing t g w attachment
func (*Client) List ¶
func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error)
List lists lists all h v ns
func (*Client) ListDependencies ¶
func (a *Client) ListDependencies(params *ListDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDependenciesOK, error)
ListDependencies lists dependencies lists the dependent services on the given h v n
func (*Client) ListHVNRoutes ¶
func (a *Client) ListHVNRoutes(params *ListHVNRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListHVNRoutesOK, error)
ListHVNRoutes lists h v n routes returns a list of routes for an h v n
func (*Client) ListPeerings ¶
func (a *Client) ListPeerings(params *ListPeeringsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeeringsOK, error)
ListPeerings lists peerings returns a list of peerings matching the request
func (*Client) ListTGWAttachments ¶
func (a *Client) ListTGWAttachments(params *ListTGWAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTGWAttachmentsOK, error)
ListTGWAttachments lists t g w attachments returns a list of t g w attachments matching the request
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AssociateHVNWithAWSRoute53PrivateHostedZone(params *AssociateHVNWithAWSRoute53PrivateHostedZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK, error) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error) CreateHVNRoute(params *CreateHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHVNRouteOK, error) CreatePeering(params *CreatePeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringOK, error) CreateTGWAttachment(params *CreateTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTGWAttachmentOK, error) CreateToken(params *CreateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTokenOK, error) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error) DeleteHVNRoute(params *DeleteHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHVNRouteOK, error) DeletePeering(params *DeletePeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringOK, error) DeleteTGWAttachment(params *DeleteTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTGWAttachmentOK, error) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error) GetHVNRoute(params *GetHVNRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHVNRouteOK, error) GetPeering(params *GetPeeringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPeeringOK, error) GetTGWAttachment(params *GetTGWAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTGWAttachmentOK, error) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error) ListDependencies(params *ListDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDependenciesOK, error) ListHVNRoutes(params *ListHVNRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListHVNRoutesOK, error) ListPeerings(params *ListPeeringsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeeringsOK, error) ListTGWAttachments(params *ListTGWAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTGWAttachmentsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new network service API client.
type CreateDefault ¶
type CreateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateDefault ¶
func NewCreateDefault(code int) *CreateDefault
NewCreateDefault creates a CreateDefault with default headers values
func (*CreateDefault) Code ¶
func (o *CreateDefault) Code() int
Code gets the status code for the create default response
func (*CreateDefault) Error ¶
func (o *CreateDefault) Error() string
func (*CreateDefault) GetPayload ¶
func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateDefault) IsClientError ¶
func (o *CreateDefault) IsClientError() bool
IsClientError returns true when this create default response has a 4xx status code
func (*CreateDefault) IsCode ¶
func (o *CreateDefault) IsCode(code int) bool
IsCode returns true when this create default response a status code equal to that given
func (*CreateDefault) IsRedirect ¶
func (o *CreateDefault) IsRedirect() bool
IsRedirect returns true when this create default response has a 3xx status code
func (*CreateDefault) IsServerError ¶
func (o *CreateDefault) IsServerError() bool
IsServerError returns true when this create default response has a 5xx status code
func (*CreateDefault) IsSuccess ¶
func (o *CreateDefault) IsSuccess() bool
IsSuccess returns true when this create default response has a 2xx status code
func (*CreateDefault) String ¶
func (o *CreateDefault) String() string
type CreateHVNRouteDefault ¶
type CreateHVNRouteDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreateHVNRouteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateHVNRouteDefault ¶
func NewCreateHVNRouteDefault(code int) *CreateHVNRouteDefault
NewCreateHVNRouteDefault creates a CreateHVNRouteDefault with default headers values
func (*CreateHVNRouteDefault) Code ¶
func (o *CreateHVNRouteDefault) Code() int
Code gets the status code for the create h v n route default response
func (*CreateHVNRouteDefault) Error ¶
func (o *CreateHVNRouteDefault) Error() string
func (*CreateHVNRouteDefault) GetPayload ¶
func (o *CreateHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateHVNRouteDefault) IsClientError ¶
func (o *CreateHVNRouteDefault) IsClientError() bool
IsClientError returns true when this create h v n route default response has a 4xx status code
func (*CreateHVNRouteDefault) IsCode ¶
func (o *CreateHVNRouteDefault) IsCode(code int) bool
IsCode returns true when this create h v n route default response a status code equal to that given
func (*CreateHVNRouteDefault) IsRedirect ¶
func (o *CreateHVNRouteDefault) IsRedirect() bool
IsRedirect returns true when this create h v n route default response has a 3xx status code
func (*CreateHVNRouteDefault) IsServerError ¶
func (o *CreateHVNRouteDefault) IsServerError() bool
IsServerError returns true when this create h v n route default response has a 5xx status code
func (*CreateHVNRouteDefault) IsSuccess ¶
func (o *CreateHVNRouteDefault) IsSuccess() bool
IsSuccess returns true when this create h v n route default response has a 2xx status code
func (*CreateHVNRouteDefault) String ¶
func (o *CreateHVNRouteDefault) String() string
type CreateHVNRouteOK ¶
type CreateHVNRouteOK struct {
Payload *models.HashicorpCloudNetwork20200907CreateHVNRouteResponse
}
CreateHVNRouteOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateHVNRouteOK ¶
func NewCreateHVNRouteOK() *CreateHVNRouteOK
NewCreateHVNRouteOK creates a CreateHVNRouteOK with default headers values
func (*CreateHVNRouteOK) Code ¶ added in v0.76.0
func (o *CreateHVNRouteOK) Code() int
Code gets the status code for the create h v n route o k response
func (*CreateHVNRouteOK) Error ¶
func (o *CreateHVNRouteOK) Error() string
func (*CreateHVNRouteOK) GetPayload ¶
func (o *CreateHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateHVNRouteResponse
func (*CreateHVNRouteOK) IsClientError ¶
func (o *CreateHVNRouteOK) IsClientError() bool
IsClientError returns true when this create h v n route o k response has a 4xx status code
func (*CreateHVNRouteOK) IsCode ¶
func (o *CreateHVNRouteOK) IsCode(code int) bool
IsCode returns true when this create h v n route o k response a status code equal to that given
func (*CreateHVNRouteOK) IsRedirect ¶
func (o *CreateHVNRouteOK) IsRedirect() bool
IsRedirect returns true when this create h v n route o k response has a 3xx status code
func (*CreateHVNRouteOK) IsServerError ¶
func (o *CreateHVNRouteOK) IsServerError() bool
IsServerError returns true when this create h v n route o k response has a 5xx status code
func (*CreateHVNRouteOK) IsSuccess ¶
func (o *CreateHVNRouteOK) IsSuccess() bool
IsSuccess returns true when this create h v n route o k response has a 2xx status code
func (*CreateHVNRouteOK) String ¶
func (o *CreateHVNRouteOK) String() string
type CreateHVNRouteParams ¶
type CreateHVNRouteParams struct { // Body. Body *models.HashicorpCloudNetwork20200907CreateHVNRouteRequest /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateHVNRouteParams contains all the parameters to send to the API endpoint
for the create h v n route operation. Typically these are written to a http.Request.
func NewCreateHVNRouteParams ¶
func NewCreateHVNRouteParams() *CreateHVNRouteParams
NewCreateHVNRouteParams creates a new CreateHVNRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateHVNRouteParamsWithContext ¶
func NewCreateHVNRouteParamsWithContext(ctx context.Context) *CreateHVNRouteParams
NewCreateHVNRouteParamsWithContext creates a new CreateHVNRouteParams object with the ability to set a context for a request.
func NewCreateHVNRouteParamsWithHTTPClient ¶
func NewCreateHVNRouteParamsWithHTTPClient(client *http.Client) *CreateHVNRouteParams
NewCreateHVNRouteParamsWithHTTPClient creates a new CreateHVNRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHVNRouteParamsWithTimeout ¶
func NewCreateHVNRouteParamsWithTimeout(timeout time.Duration) *CreateHVNRouteParams
NewCreateHVNRouteParamsWithTimeout creates a new CreateHVNRouteParams object with the ability to set a timeout on a request.
func (*CreateHVNRouteParams) SetBody ¶
func (o *CreateHVNRouteParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateHVNRouteRequest)
SetBody adds the body to the create h v n route params
func (*CreateHVNRouteParams) SetContext ¶
func (o *CreateHVNRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the create h v n route params
func (*CreateHVNRouteParams) SetDefaults ¶
func (o *CreateHVNRouteParams) SetDefaults()
SetDefaults hydrates default values in the create h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHVNRouteParams) SetHTTPClient ¶
func (o *CreateHVNRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create h v n route params
func (*CreateHVNRouteParams) SetHvnID ¶
func (o *CreateHVNRouteParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the create h v n route params
func (*CreateHVNRouteParams) SetHvnLocationOrganizationID ¶
func (o *CreateHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the create h v n route params
func (*CreateHVNRouteParams) SetHvnLocationProjectID ¶
func (o *CreateHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the create h v n route params
func (*CreateHVNRouteParams) SetTimeout ¶
func (o *CreateHVNRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create h v n route params
func (*CreateHVNRouteParams) WithBody ¶
func (o *CreateHVNRouteParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateHVNRouteRequest) *CreateHVNRouteParams
WithBody adds the body to the create h v n route params
func (*CreateHVNRouteParams) WithContext ¶
func (o *CreateHVNRouteParams) WithContext(ctx context.Context) *CreateHVNRouteParams
WithContext adds the context to the create h v n route params
func (*CreateHVNRouteParams) WithDefaults ¶
func (o *CreateHVNRouteParams) WithDefaults() *CreateHVNRouteParams
WithDefaults hydrates default values in the create h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHVNRouteParams) WithHTTPClient ¶
func (o *CreateHVNRouteParams) WithHTTPClient(client *http.Client) *CreateHVNRouteParams
WithHTTPClient adds the HTTPClient to the create h v n route params
func (*CreateHVNRouteParams) WithHvnID ¶
func (o *CreateHVNRouteParams) WithHvnID(hvnID string) *CreateHVNRouteParams
WithHvnID adds the hvnID to the create h v n route params
func (*CreateHVNRouteParams) WithHvnLocationOrganizationID ¶
func (o *CreateHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *CreateHVNRouteParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the create h v n route params
func (*CreateHVNRouteParams) WithHvnLocationProjectID ¶
func (o *CreateHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *CreateHVNRouteParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the create h v n route params
func (*CreateHVNRouteParams) WithTimeout ¶
func (o *CreateHVNRouteParams) WithTimeout(timeout time.Duration) *CreateHVNRouteParams
WithTimeout adds the timeout to the create h v n route params
func (*CreateHVNRouteParams) WriteToRequest ¶
func (o *CreateHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHVNRouteReader ¶
type CreateHVNRouteReader struct {
// contains filtered or unexported fields
}
CreateHVNRouteReader is a Reader for the CreateHVNRoute structure.
func (*CreateHVNRouteReader) ReadResponse ¶
func (o *CreateHVNRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOK ¶
type CreateOK struct {
Payload *models.HashicorpCloudNetwork20200907CreateResponse
}
CreateOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOK ¶
func NewCreateOK() *CreateOK
NewCreateOK creates a CreateOK with default headers values
func (*CreateOK) GetPayload ¶
func (o *CreateOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateResponse
func (*CreateOK) IsClientError ¶
IsClientError returns true when this create o k response has a 4xx status code
func (*CreateOK) IsCode ¶
IsCode returns true when this create o k response a status code equal to that given
func (*CreateOK) IsRedirect ¶
IsRedirect returns true when this create o k response has a 3xx status code
func (*CreateOK) IsServerError ¶
IsServerError returns true when this create o k response has a 5xx status code
type CreateParams ¶
type CreateParams struct { // Body. Body *models.HashicorpCloudNetwork20200907CreateRequest /* NetworkLocationOrganizationID. organization_id is the id of the organization. */ NetworkLocationOrganizationID string /* NetworkLocationProjectID. project_id is the projects id. */ NetworkLocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateParams contains all the parameters to send to the API endpoint
for the create operation. Typically these are written to a http.Request.
func NewCreateParams ¶
func NewCreateParams() *CreateParams
NewCreateParams creates a new CreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the ability to set a context for a request.
func NewCreateParamsWithHTTPClient ¶
func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams
NewCreateParamsWithHTTPClient creates a new CreateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateParamsWithTimeout ¶
func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams
NewCreateParamsWithTimeout creates a new CreateParams object with the ability to set a timeout on a request.
func (*CreateParams) SetBody ¶
func (o *CreateParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateRequest)
SetBody adds the body to the create params
func (*CreateParams) SetContext ¶
func (o *CreateParams) SetContext(ctx context.Context)
SetContext adds the context to the create params
func (*CreateParams) SetDefaults ¶
func (o *CreateParams) SetDefaults()
SetDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) SetHTTPClient ¶
func (o *CreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create params
func (*CreateParams) SetNetworkLocationOrganizationID ¶
func (o *CreateParams) SetNetworkLocationOrganizationID(networkLocationOrganizationID string)
SetNetworkLocationOrganizationID adds the networkLocationOrganizationId to the create params
func (*CreateParams) SetNetworkLocationProjectID ¶
func (o *CreateParams) SetNetworkLocationProjectID(networkLocationProjectID string)
SetNetworkLocationProjectID adds the networkLocationProjectId to the create params
func (*CreateParams) SetTimeout ¶
func (o *CreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create params
func (*CreateParams) WithBody ¶
func (o *CreateParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateRequest) *CreateParams
WithBody adds the body to the create params
func (*CreateParams) WithContext ¶
func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
WithContext adds the context to the create params
func (*CreateParams) WithDefaults ¶
func (o *CreateParams) WithDefaults() *CreateParams
WithDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) WithHTTPClient ¶
func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
WithHTTPClient adds the HTTPClient to the create params
func (*CreateParams) WithNetworkLocationOrganizationID ¶
func (o *CreateParams) WithNetworkLocationOrganizationID(networkLocationOrganizationID string) *CreateParams
WithNetworkLocationOrganizationID adds the networkLocationOrganizationID to the create params
func (*CreateParams) WithNetworkLocationProjectID ¶
func (o *CreateParams) WithNetworkLocationProjectID(networkLocationProjectID string) *CreateParams
WithNetworkLocationProjectID adds the networkLocationProjectID to the create params
func (*CreateParams) WithTimeout ¶
func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
WithTimeout adds the timeout to the create params
func (*CreateParams) WriteToRequest ¶
func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePeeringDefault ¶
type CreatePeeringDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreatePeeringDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreatePeeringDefault ¶
func NewCreatePeeringDefault(code int) *CreatePeeringDefault
NewCreatePeeringDefault creates a CreatePeeringDefault with default headers values
func (*CreatePeeringDefault) Code ¶
func (o *CreatePeeringDefault) Code() int
Code gets the status code for the create peering default response
func (*CreatePeeringDefault) Error ¶
func (o *CreatePeeringDefault) Error() string
func (*CreatePeeringDefault) GetPayload ¶
func (o *CreatePeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreatePeeringDefault) IsClientError ¶
func (o *CreatePeeringDefault) IsClientError() bool
IsClientError returns true when this create peering default response has a 4xx status code
func (*CreatePeeringDefault) IsCode ¶
func (o *CreatePeeringDefault) IsCode(code int) bool
IsCode returns true when this create peering default response a status code equal to that given
func (*CreatePeeringDefault) IsRedirect ¶
func (o *CreatePeeringDefault) IsRedirect() bool
IsRedirect returns true when this create peering default response has a 3xx status code
func (*CreatePeeringDefault) IsServerError ¶
func (o *CreatePeeringDefault) IsServerError() bool
IsServerError returns true when this create peering default response has a 5xx status code
func (*CreatePeeringDefault) IsSuccess ¶
func (o *CreatePeeringDefault) IsSuccess() bool
IsSuccess returns true when this create peering default response has a 2xx status code
func (*CreatePeeringDefault) String ¶
func (o *CreatePeeringDefault) String() string
type CreatePeeringOK ¶
type CreatePeeringOK struct {
Payload *models.HashicorpCloudNetwork20200907CreatePeeringResponse
}
CreatePeeringOK describes a response with status code 200, with default header values.
A successful response.
func NewCreatePeeringOK ¶
func NewCreatePeeringOK() *CreatePeeringOK
NewCreatePeeringOK creates a CreatePeeringOK with default headers values
func (*CreatePeeringOK) Code ¶ added in v0.76.0
func (o *CreatePeeringOK) Code() int
Code gets the status code for the create peering o k response
func (*CreatePeeringOK) Error ¶
func (o *CreatePeeringOK) Error() string
func (*CreatePeeringOK) GetPayload ¶
func (o *CreatePeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907CreatePeeringResponse
func (*CreatePeeringOK) IsClientError ¶
func (o *CreatePeeringOK) IsClientError() bool
IsClientError returns true when this create peering o k response has a 4xx status code
func (*CreatePeeringOK) IsCode ¶
func (o *CreatePeeringOK) IsCode(code int) bool
IsCode returns true when this create peering o k response a status code equal to that given
func (*CreatePeeringOK) IsRedirect ¶
func (o *CreatePeeringOK) IsRedirect() bool
IsRedirect returns true when this create peering o k response has a 3xx status code
func (*CreatePeeringOK) IsServerError ¶
func (o *CreatePeeringOK) IsServerError() bool
IsServerError returns true when this create peering o k response has a 5xx status code
func (*CreatePeeringOK) IsSuccess ¶
func (o *CreatePeeringOK) IsSuccess() bool
IsSuccess returns true when this create peering o k response has a 2xx status code
func (*CreatePeeringOK) String ¶
func (o *CreatePeeringOK) String() string
type CreatePeeringParams ¶
type CreatePeeringParams struct { // Body. Body *models.HashicorpCloudNetwork20200907CreatePeeringRequest /* PeeringHvnID. id is the identifier for this resource. */ PeeringHvnID string /* PeeringHvnLocationOrganizationID. organization_id is the id of the organization. */ PeeringHvnLocationOrganizationID string /* PeeringHvnLocationProjectID. project_id is the projects id. */ PeeringHvnLocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePeeringParams contains all the parameters to send to the API endpoint
for the create peering operation. Typically these are written to a http.Request.
func NewCreatePeeringParams ¶
func NewCreatePeeringParams() *CreatePeeringParams
NewCreatePeeringParams creates a new CreatePeeringParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePeeringParamsWithContext ¶
func NewCreatePeeringParamsWithContext(ctx context.Context) *CreatePeeringParams
NewCreatePeeringParamsWithContext creates a new CreatePeeringParams object with the ability to set a context for a request.
func NewCreatePeeringParamsWithHTTPClient ¶
func NewCreatePeeringParamsWithHTTPClient(client *http.Client) *CreatePeeringParams
NewCreatePeeringParamsWithHTTPClient creates a new CreatePeeringParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePeeringParamsWithTimeout ¶
func NewCreatePeeringParamsWithTimeout(timeout time.Duration) *CreatePeeringParams
NewCreatePeeringParamsWithTimeout creates a new CreatePeeringParams object with the ability to set a timeout on a request.
func (*CreatePeeringParams) SetBody ¶
func (o *CreatePeeringParams) SetBody(body *models.HashicorpCloudNetwork20200907CreatePeeringRequest)
SetBody adds the body to the create peering params
func (*CreatePeeringParams) SetContext ¶
func (o *CreatePeeringParams) SetContext(ctx context.Context)
SetContext adds the context to the create peering params
func (*CreatePeeringParams) SetDefaults ¶
func (o *CreatePeeringParams) SetDefaults()
SetDefaults hydrates default values in the create peering params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePeeringParams) SetHTTPClient ¶
func (o *CreatePeeringParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create peering params
func (*CreatePeeringParams) SetPeeringHvnID ¶
func (o *CreatePeeringParams) SetPeeringHvnID(peeringHvnID string)
SetPeeringHvnID adds the peeringHvnId to the create peering params
func (*CreatePeeringParams) SetPeeringHvnLocationOrganizationID ¶
func (o *CreatePeeringParams) SetPeeringHvnLocationOrganizationID(peeringHvnLocationOrganizationID string)
SetPeeringHvnLocationOrganizationID adds the peeringHvnLocationOrganizationId to the create peering params
func (*CreatePeeringParams) SetPeeringHvnLocationProjectID ¶
func (o *CreatePeeringParams) SetPeeringHvnLocationProjectID(peeringHvnLocationProjectID string)
SetPeeringHvnLocationProjectID adds the peeringHvnLocationProjectId to the create peering params
func (*CreatePeeringParams) SetTimeout ¶
func (o *CreatePeeringParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create peering params
func (*CreatePeeringParams) WithBody ¶
func (o *CreatePeeringParams) WithBody(body *models.HashicorpCloudNetwork20200907CreatePeeringRequest) *CreatePeeringParams
WithBody adds the body to the create peering params
func (*CreatePeeringParams) WithContext ¶
func (o *CreatePeeringParams) WithContext(ctx context.Context) *CreatePeeringParams
WithContext adds the context to the create peering params
func (*CreatePeeringParams) WithDefaults ¶
func (o *CreatePeeringParams) WithDefaults() *CreatePeeringParams
WithDefaults hydrates default values in the create peering params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePeeringParams) WithHTTPClient ¶
func (o *CreatePeeringParams) WithHTTPClient(client *http.Client) *CreatePeeringParams
WithHTTPClient adds the HTTPClient to the create peering params
func (*CreatePeeringParams) WithPeeringHvnID ¶
func (o *CreatePeeringParams) WithPeeringHvnID(peeringHvnID string) *CreatePeeringParams
WithPeeringHvnID adds the peeringHvnID to the create peering params
func (*CreatePeeringParams) WithPeeringHvnLocationOrganizationID ¶
func (o *CreatePeeringParams) WithPeeringHvnLocationOrganizationID(peeringHvnLocationOrganizationID string) *CreatePeeringParams
WithPeeringHvnLocationOrganizationID adds the peeringHvnLocationOrganizationID to the create peering params
func (*CreatePeeringParams) WithPeeringHvnLocationProjectID ¶
func (o *CreatePeeringParams) WithPeeringHvnLocationProjectID(peeringHvnLocationProjectID string) *CreatePeeringParams
WithPeeringHvnLocationProjectID adds the peeringHvnLocationProjectID to the create peering params
func (*CreatePeeringParams) WithTimeout ¶
func (o *CreatePeeringParams) WithTimeout(timeout time.Duration) *CreatePeeringParams
WithTimeout adds the timeout to the create peering params
func (*CreatePeeringParams) WriteToRequest ¶
func (o *CreatePeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePeeringReader ¶
type CreatePeeringReader struct {
// contains filtered or unexported fields
}
CreatePeeringReader is a Reader for the CreatePeering structure.
func (*CreatePeeringReader) ReadResponse ¶
func (o *CreatePeeringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateReader ¶
type CreateReader struct {
// contains filtered or unexported fields
}
CreateReader is a Reader for the Create structure.
func (*CreateReader) ReadResponse ¶
func (o *CreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTGWAttachmentDefault ¶
type CreateTGWAttachmentDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreateTGWAttachmentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateTGWAttachmentDefault ¶
func NewCreateTGWAttachmentDefault(code int) *CreateTGWAttachmentDefault
NewCreateTGWAttachmentDefault creates a CreateTGWAttachmentDefault with default headers values
func (*CreateTGWAttachmentDefault) Code ¶
func (o *CreateTGWAttachmentDefault) Code() int
Code gets the status code for the create t g w attachment default response
func (*CreateTGWAttachmentDefault) Error ¶
func (o *CreateTGWAttachmentDefault) Error() string
func (*CreateTGWAttachmentDefault) GetPayload ¶
func (o *CreateTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateTGWAttachmentDefault) IsClientError ¶
func (o *CreateTGWAttachmentDefault) IsClientError() bool
IsClientError returns true when this create t g w attachment default response has a 4xx status code
func (*CreateTGWAttachmentDefault) IsCode ¶
func (o *CreateTGWAttachmentDefault) IsCode(code int) bool
IsCode returns true when this create t g w attachment default response a status code equal to that given
func (*CreateTGWAttachmentDefault) IsRedirect ¶
func (o *CreateTGWAttachmentDefault) IsRedirect() bool
IsRedirect returns true when this create t g w attachment default response has a 3xx status code
func (*CreateTGWAttachmentDefault) IsServerError ¶
func (o *CreateTGWAttachmentDefault) IsServerError() bool
IsServerError returns true when this create t g w attachment default response has a 5xx status code
func (*CreateTGWAttachmentDefault) IsSuccess ¶
func (o *CreateTGWAttachmentDefault) IsSuccess() bool
IsSuccess returns true when this create t g w attachment default response has a 2xx status code
func (*CreateTGWAttachmentDefault) String ¶
func (o *CreateTGWAttachmentDefault) String() string
type CreateTGWAttachmentOK ¶
type CreateTGWAttachmentOK struct {
Payload *models.HashicorpCloudNetwork20200907CreateTGWAttachmentResponse
}
CreateTGWAttachmentOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateTGWAttachmentOK ¶
func NewCreateTGWAttachmentOK() *CreateTGWAttachmentOK
NewCreateTGWAttachmentOK creates a CreateTGWAttachmentOK with default headers values
func (*CreateTGWAttachmentOK) Code ¶ added in v0.76.0
func (o *CreateTGWAttachmentOK) Code() int
Code gets the status code for the create t g w attachment o k response
func (*CreateTGWAttachmentOK) Error ¶
func (o *CreateTGWAttachmentOK) Error() string
func (*CreateTGWAttachmentOK) GetPayload ¶
func (o *CreateTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateTGWAttachmentResponse
func (*CreateTGWAttachmentOK) IsClientError ¶
func (o *CreateTGWAttachmentOK) IsClientError() bool
IsClientError returns true when this create t g w attachment o k response has a 4xx status code
func (*CreateTGWAttachmentOK) IsCode ¶
func (o *CreateTGWAttachmentOK) IsCode(code int) bool
IsCode returns true when this create t g w attachment o k response a status code equal to that given
func (*CreateTGWAttachmentOK) IsRedirect ¶
func (o *CreateTGWAttachmentOK) IsRedirect() bool
IsRedirect returns true when this create t g w attachment o k response has a 3xx status code
func (*CreateTGWAttachmentOK) IsServerError ¶
func (o *CreateTGWAttachmentOK) IsServerError() bool
IsServerError returns true when this create t g w attachment o k response has a 5xx status code
func (*CreateTGWAttachmentOK) IsSuccess ¶
func (o *CreateTGWAttachmentOK) IsSuccess() bool
IsSuccess returns true when this create t g w attachment o k response has a 2xx status code
func (*CreateTGWAttachmentOK) String ¶
func (o *CreateTGWAttachmentOK) String() string
type CreateTGWAttachmentParams ¶
type CreateTGWAttachmentParams struct { // Body. Body *models.HashicorpCloudNetwork20200907CreateTGWAttachmentRequest /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTGWAttachmentParams contains all the parameters to send to the API endpoint
for the create t g w attachment operation. Typically these are written to a http.Request.
func NewCreateTGWAttachmentParams ¶
func NewCreateTGWAttachmentParams() *CreateTGWAttachmentParams
NewCreateTGWAttachmentParams creates a new CreateTGWAttachmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateTGWAttachmentParamsWithContext ¶
func NewCreateTGWAttachmentParamsWithContext(ctx context.Context) *CreateTGWAttachmentParams
NewCreateTGWAttachmentParamsWithContext creates a new CreateTGWAttachmentParams object with the ability to set a context for a request.
func NewCreateTGWAttachmentParamsWithHTTPClient ¶
func NewCreateTGWAttachmentParamsWithHTTPClient(client *http.Client) *CreateTGWAttachmentParams
NewCreateTGWAttachmentParamsWithHTTPClient creates a new CreateTGWAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTGWAttachmentParamsWithTimeout ¶
func NewCreateTGWAttachmentParamsWithTimeout(timeout time.Duration) *CreateTGWAttachmentParams
NewCreateTGWAttachmentParamsWithTimeout creates a new CreateTGWAttachmentParams object with the ability to set a timeout on a request.
func (*CreateTGWAttachmentParams) SetBody ¶
func (o *CreateTGWAttachmentParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateTGWAttachmentRequest)
SetBody adds the body to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetContext ¶
func (o *CreateTGWAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetDefaults ¶
func (o *CreateTGWAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the create t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTGWAttachmentParams) SetHTTPClient ¶
func (o *CreateTGWAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetHvnID ¶
func (o *CreateTGWAttachmentParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetHvnLocationOrganizationID ¶
func (o *CreateTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetHvnLocationProjectID ¶
func (o *CreateTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the create t g w attachment params
func (*CreateTGWAttachmentParams) SetTimeout ¶
func (o *CreateTGWAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithBody ¶
func (o *CreateTGWAttachmentParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) *CreateTGWAttachmentParams
WithBody adds the body to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithContext ¶
func (o *CreateTGWAttachmentParams) WithContext(ctx context.Context) *CreateTGWAttachmentParams
WithContext adds the context to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithDefaults ¶
func (o *CreateTGWAttachmentParams) WithDefaults() *CreateTGWAttachmentParams
WithDefaults hydrates default values in the create t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTGWAttachmentParams) WithHTTPClient ¶
func (o *CreateTGWAttachmentParams) WithHTTPClient(client *http.Client) *CreateTGWAttachmentParams
WithHTTPClient adds the HTTPClient to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithHvnID ¶
func (o *CreateTGWAttachmentParams) WithHvnID(hvnID string) *CreateTGWAttachmentParams
WithHvnID adds the hvnID to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithHvnLocationOrganizationID ¶
func (o *CreateTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *CreateTGWAttachmentParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithHvnLocationProjectID ¶
func (o *CreateTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *CreateTGWAttachmentParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the create t g w attachment params
func (*CreateTGWAttachmentParams) WithTimeout ¶
func (o *CreateTGWAttachmentParams) WithTimeout(timeout time.Duration) *CreateTGWAttachmentParams
WithTimeout adds the timeout to the create t g w attachment params
func (*CreateTGWAttachmentParams) WriteToRequest ¶
func (o *CreateTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTGWAttachmentReader ¶
type CreateTGWAttachmentReader struct {
// contains filtered or unexported fields
}
CreateTGWAttachmentReader is a Reader for the CreateTGWAttachment structure.
func (*CreateTGWAttachmentReader) ReadResponse ¶
func (o *CreateTGWAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTokenDefault ¶
type CreateTokenDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreateTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateTokenDefault ¶
func NewCreateTokenDefault(code int) *CreateTokenDefault
NewCreateTokenDefault creates a CreateTokenDefault with default headers values
func (*CreateTokenDefault) Code ¶
func (o *CreateTokenDefault) Code() int
Code gets the status code for the create token default response
func (*CreateTokenDefault) Error ¶
func (o *CreateTokenDefault) Error() string
func (*CreateTokenDefault) GetPayload ¶
func (o *CreateTokenDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateTokenDefault) IsClientError ¶
func (o *CreateTokenDefault) IsClientError() bool
IsClientError returns true when this create token default response has a 4xx status code
func (*CreateTokenDefault) IsCode ¶
func (o *CreateTokenDefault) IsCode(code int) bool
IsCode returns true when this create token default response a status code equal to that given
func (*CreateTokenDefault) IsRedirect ¶
func (o *CreateTokenDefault) IsRedirect() bool
IsRedirect returns true when this create token default response has a 3xx status code
func (*CreateTokenDefault) IsServerError ¶
func (o *CreateTokenDefault) IsServerError() bool
IsServerError returns true when this create token default response has a 5xx status code
func (*CreateTokenDefault) IsSuccess ¶
func (o *CreateTokenDefault) IsSuccess() bool
IsSuccess returns true when this create token default response has a 2xx status code
func (*CreateTokenDefault) String ¶
func (o *CreateTokenDefault) String() string
type CreateTokenOK ¶
type CreateTokenOK struct {
Payload *models.HashicorpCloudNetwork20200907CreateTokenResponse
}
CreateTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateTokenOK ¶
func NewCreateTokenOK() *CreateTokenOK
NewCreateTokenOK creates a CreateTokenOK with default headers values
func (*CreateTokenOK) Code ¶ added in v0.76.0
func (o *CreateTokenOK) Code() int
Code gets the status code for the create token o k response
func (*CreateTokenOK) Error ¶
func (o *CreateTokenOK) Error() string
func (*CreateTokenOK) GetPayload ¶
func (o *CreateTokenOK) GetPayload() *models.HashicorpCloudNetwork20200907CreateTokenResponse
func (*CreateTokenOK) IsClientError ¶
func (o *CreateTokenOK) IsClientError() bool
IsClientError returns true when this create token o k response has a 4xx status code
func (*CreateTokenOK) IsCode ¶
func (o *CreateTokenOK) IsCode(code int) bool
IsCode returns true when this create token o k response a status code equal to that given
func (*CreateTokenOK) IsRedirect ¶
func (o *CreateTokenOK) IsRedirect() bool
IsRedirect returns true when this create token o k response has a 3xx status code
func (*CreateTokenOK) IsServerError ¶
func (o *CreateTokenOK) IsServerError() bool
IsServerError returns true when this create token o k response has a 5xx status code
func (*CreateTokenOK) IsSuccess ¶
func (o *CreateTokenOK) IsSuccess() bool
IsSuccess returns true when this create token o k response has a 2xx status code
func (*CreateTokenOK) String ¶
func (o *CreateTokenOK) String() string
type CreateTokenParams ¶
type CreateTokenParams struct { // Body. Body *models.HashicorpCloudNetwork20200907CreateTokenRequest /* ID. id the id of the HVN we are creating a token for. */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTokenParams contains all the parameters to send to the API endpoint
for the create token operation. Typically these are written to a http.Request.
func NewCreateTokenParams ¶
func NewCreateTokenParams() *CreateTokenParams
NewCreateTokenParams creates a new CreateTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateTokenParamsWithContext ¶
func NewCreateTokenParamsWithContext(ctx context.Context) *CreateTokenParams
NewCreateTokenParamsWithContext creates a new CreateTokenParams object with the ability to set a context for a request.
func NewCreateTokenParamsWithHTTPClient ¶
func NewCreateTokenParamsWithHTTPClient(client *http.Client) *CreateTokenParams
NewCreateTokenParamsWithHTTPClient creates a new CreateTokenParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTokenParamsWithTimeout ¶
func NewCreateTokenParamsWithTimeout(timeout time.Duration) *CreateTokenParams
NewCreateTokenParamsWithTimeout creates a new CreateTokenParams object with the ability to set a timeout on a request.
func (*CreateTokenParams) SetBody ¶
func (o *CreateTokenParams) SetBody(body *models.HashicorpCloudNetwork20200907CreateTokenRequest)
SetBody adds the body to the create token params
func (*CreateTokenParams) SetContext ¶
func (o *CreateTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the create token params
func (*CreateTokenParams) SetDefaults ¶
func (o *CreateTokenParams) SetDefaults()
SetDefaults hydrates default values in the create token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTokenParams) SetHTTPClient ¶
func (o *CreateTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create token params
func (*CreateTokenParams) SetID ¶
func (o *CreateTokenParams) SetID(id string)
SetID adds the id to the create token params
func (*CreateTokenParams) SetLocationOrganizationID ¶
func (o *CreateTokenParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the create token params
func (*CreateTokenParams) SetLocationProjectID ¶
func (o *CreateTokenParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the create token params
func (*CreateTokenParams) SetTimeout ¶
func (o *CreateTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create token params
func (*CreateTokenParams) WithBody ¶
func (o *CreateTokenParams) WithBody(body *models.HashicorpCloudNetwork20200907CreateTokenRequest) *CreateTokenParams
WithBody adds the body to the create token params
func (*CreateTokenParams) WithContext ¶
func (o *CreateTokenParams) WithContext(ctx context.Context) *CreateTokenParams
WithContext adds the context to the create token params
func (*CreateTokenParams) WithDefaults ¶
func (o *CreateTokenParams) WithDefaults() *CreateTokenParams
WithDefaults hydrates default values in the create token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTokenParams) WithHTTPClient ¶
func (o *CreateTokenParams) WithHTTPClient(client *http.Client) *CreateTokenParams
WithHTTPClient adds the HTTPClient to the create token params
func (*CreateTokenParams) WithID ¶
func (o *CreateTokenParams) WithID(id string) *CreateTokenParams
WithID adds the id to the create token params
func (*CreateTokenParams) WithLocationOrganizationID ¶
func (o *CreateTokenParams) WithLocationOrganizationID(locationOrganizationID string) *CreateTokenParams
WithLocationOrganizationID adds the locationOrganizationID to the create token params
func (*CreateTokenParams) WithLocationProjectID ¶
func (o *CreateTokenParams) WithLocationProjectID(locationProjectID string) *CreateTokenParams
WithLocationProjectID adds the locationProjectID to the create token params
func (*CreateTokenParams) WithTimeout ¶
func (o *CreateTokenParams) WithTimeout(timeout time.Duration) *CreateTokenParams
WithTimeout adds the timeout to the create token params
func (*CreateTokenParams) WriteToRequest ¶
func (o *CreateTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTokenReader ¶
type CreateTokenReader struct {
// contains filtered or unexported fields
}
CreateTokenReader is a Reader for the CreateToken structure.
func (*CreateTokenReader) ReadResponse ¶
func (o *CreateTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDefault ¶
type DeleteDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
DeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteDefault ¶
func NewDeleteDefault(code int) *DeleteDefault
NewDeleteDefault creates a DeleteDefault with default headers values
func (*DeleteDefault) Code ¶
func (o *DeleteDefault) Code() int
Code gets the status code for the delete default response
func (*DeleteDefault) Error ¶
func (o *DeleteDefault) Error() string
func (*DeleteDefault) GetPayload ¶
func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeleteDefault) IsClientError ¶
func (o *DeleteDefault) IsClientError() bool
IsClientError returns true when this delete default response has a 4xx status code
func (*DeleteDefault) IsCode ¶
func (o *DeleteDefault) IsCode(code int) bool
IsCode returns true when this delete default response a status code equal to that given
func (*DeleteDefault) IsRedirect ¶
func (o *DeleteDefault) IsRedirect() bool
IsRedirect returns true when this delete default response has a 3xx status code
func (*DeleteDefault) IsServerError ¶
func (o *DeleteDefault) IsServerError() bool
IsServerError returns true when this delete default response has a 5xx status code
func (*DeleteDefault) IsSuccess ¶
func (o *DeleteDefault) IsSuccess() bool
IsSuccess returns true when this delete default response has a 2xx status code
func (*DeleteDefault) String ¶
func (o *DeleteDefault) String() string
type DeleteHVNRouteDefault ¶
type DeleteHVNRouteDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
DeleteHVNRouteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteHVNRouteDefault ¶
func NewDeleteHVNRouteDefault(code int) *DeleteHVNRouteDefault
NewDeleteHVNRouteDefault creates a DeleteHVNRouteDefault with default headers values
func (*DeleteHVNRouteDefault) Code ¶
func (o *DeleteHVNRouteDefault) Code() int
Code gets the status code for the delete h v n route default response
func (*DeleteHVNRouteDefault) Error ¶
func (o *DeleteHVNRouteDefault) Error() string
func (*DeleteHVNRouteDefault) GetPayload ¶
func (o *DeleteHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeleteHVNRouteDefault) IsClientError ¶
func (o *DeleteHVNRouteDefault) IsClientError() bool
IsClientError returns true when this delete h v n route default response has a 4xx status code
func (*DeleteHVNRouteDefault) IsCode ¶
func (o *DeleteHVNRouteDefault) IsCode(code int) bool
IsCode returns true when this delete h v n route default response a status code equal to that given
func (*DeleteHVNRouteDefault) IsRedirect ¶
func (o *DeleteHVNRouteDefault) IsRedirect() bool
IsRedirect returns true when this delete h v n route default response has a 3xx status code
func (*DeleteHVNRouteDefault) IsServerError ¶
func (o *DeleteHVNRouteDefault) IsServerError() bool
IsServerError returns true when this delete h v n route default response has a 5xx status code
func (*DeleteHVNRouteDefault) IsSuccess ¶
func (o *DeleteHVNRouteDefault) IsSuccess() bool
IsSuccess returns true when this delete h v n route default response has a 2xx status code
func (*DeleteHVNRouteDefault) String ¶
func (o *DeleteHVNRouteDefault) String() string
type DeleteHVNRouteOK ¶
type DeleteHVNRouteOK struct {
Payload *models.HashicorpCloudNetwork20200907DeleteHVNRouteResponse
}
DeleteHVNRouteOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteHVNRouteOK ¶
func NewDeleteHVNRouteOK() *DeleteHVNRouteOK
NewDeleteHVNRouteOK creates a DeleteHVNRouteOK with default headers values
func (*DeleteHVNRouteOK) Code ¶ added in v0.76.0
func (o *DeleteHVNRouteOK) Code() int
Code gets the status code for the delete h v n route o k response
func (*DeleteHVNRouteOK) Error ¶
func (o *DeleteHVNRouteOK) Error() string
func (*DeleteHVNRouteOK) GetPayload ¶
func (o *DeleteHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteHVNRouteResponse
func (*DeleteHVNRouteOK) IsClientError ¶
func (o *DeleteHVNRouteOK) IsClientError() bool
IsClientError returns true when this delete h v n route o k response has a 4xx status code
func (*DeleteHVNRouteOK) IsCode ¶
func (o *DeleteHVNRouteOK) IsCode(code int) bool
IsCode returns true when this delete h v n route o k response a status code equal to that given
func (*DeleteHVNRouteOK) IsRedirect ¶
func (o *DeleteHVNRouteOK) IsRedirect() bool
IsRedirect returns true when this delete h v n route o k response has a 3xx status code
func (*DeleteHVNRouteOK) IsServerError ¶
func (o *DeleteHVNRouteOK) IsServerError() bool
IsServerError returns true when this delete h v n route o k response has a 5xx status code
func (*DeleteHVNRouteOK) IsSuccess ¶
func (o *DeleteHVNRouteOK) IsSuccess() bool
IsSuccess returns true when this delete h v n route o k response has a 2xx status code
func (*DeleteHVNRouteOK) String ¶
func (o *DeleteHVNRouteOK) String() string
type DeleteHVNRouteParams ¶
type DeleteHVNRouteParams struct { /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* ID. id of the HVN route to delete. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteHVNRouteParams contains all the parameters to send to the API endpoint
for the delete h v n route operation. Typically these are written to a http.Request.
func NewDeleteHVNRouteParams ¶
func NewDeleteHVNRouteParams() *DeleteHVNRouteParams
NewDeleteHVNRouteParams creates a new DeleteHVNRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteHVNRouteParamsWithContext ¶
func NewDeleteHVNRouteParamsWithContext(ctx context.Context) *DeleteHVNRouteParams
NewDeleteHVNRouteParamsWithContext creates a new DeleteHVNRouteParams object with the ability to set a context for a request.
func NewDeleteHVNRouteParamsWithHTTPClient ¶
func NewDeleteHVNRouteParamsWithHTTPClient(client *http.Client) *DeleteHVNRouteParams
NewDeleteHVNRouteParamsWithHTTPClient creates a new DeleteHVNRouteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHVNRouteParamsWithTimeout ¶
func NewDeleteHVNRouteParamsWithTimeout(timeout time.Duration) *DeleteHVNRouteParams
NewDeleteHVNRouteParamsWithTimeout creates a new DeleteHVNRouteParams object with the ability to set a timeout on a request.
func (*DeleteHVNRouteParams) SetContext ¶
func (o *DeleteHVNRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete h v n route params
func (*DeleteHVNRouteParams) SetDefaults ¶
func (o *DeleteHVNRouteParams) SetDefaults()
SetDefaults hydrates default values in the delete h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHVNRouteParams) SetHTTPClient ¶
func (o *DeleteHVNRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnDescription ¶
func (o *DeleteHVNRouteParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnID ¶
func (o *DeleteHVNRouteParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnLocationOrganizationID ¶
func (o *DeleteHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnLocationProjectID ¶
func (o *DeleteHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnLocationRegionProvider ¶
func (o *DeleteHVNRouteParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnLocationRegionRegion ¶
func (o *DeleteHVNRouteParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnType ¶
func (o *DeleteHVNRouteParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the delete h v n route params
func (*DeleteHVNRouteParams) SetHvnUUID ¶
func (o *DeleteHVNRouteParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the delete h v n route params
func (*DeleteHVNRouteParams) SetID ¶
func (o *DeleteHVNRouteParams) SetID(id string)
SetID adds the id to the delete h v n route params
func (*DeleteHVNRouteParams) SetTimeout ¶
func (o *DeleteHVNRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete h v n route params
func (*DeleteHVNRouteParams) WithContext ¶
func (o *DeleteHVNRouteParams) WithContext(ctx context.Context) *DeleteHVNRouteParams
WithContext adds the context to the delete h v n route params
func (*DeleteHVNRouteParams) WithDefaults ¶
func (o *DeleteHVNRouteParams) WithDefaults() *DeleteHVNRouteParams
WithDefaults hydrates default values in the delete h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHVNRouteParams) WithHTTPClient ¶
func (o *DeleteHVNRouteParams) WithHTTPClient(client *http.Client) *DeleteHVNRouteParams
WithHTTPClient adds the HTTPClient to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnDescription ¶
func (o *DeleteHVNRouteParams) WithHvnDescription(hvnDescription *string) *DeleteHVNRouteParams
WithHvnDescription adds the hvnDescription to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnID ¶
func (o *DeleteHVNRouteParams) WithHvnID(hvnID string) *DeleteHVNRouteParams
WithHvnID adds the hvnID to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnLocationOrganizationID ¶
func (o *DeleteHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *DeleteHVNRouteParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnLocationProjectID ¶
func (o *DeleteHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *DeleteHVNRouteParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnLocationRegionProvider ¶
func (o *DeleteHVNRouteParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *DeleteHVNRouteParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnLocationRegionRegion ¶
func (o *DeleteHVNRouteParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *DeleteHVNRouteParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnType ¶
func (o *DeleteHVNRouteParams) WithHvnType(hvnType *string) *DeleteHVNRouteParams
WithHvnType adds the hvnType to the delete h v n route params
func (*DeleteHVNRouteParams) WithHvnUUID ¶
func (o *DeleteHVNRouteParams) WithHvnUUID(hvnUUID *string) *DeleteHVNRouteParams
WithHvnUUID adds the hvnUUID to the delete h v n route params
func (*DeleteHVNRouteParams) WithID ¶
func (o *DeleteHVNRouteParams) WithID(id string) *DeleteHVNRouteParams
WithID adds the id to the delete h v n route params
func (*DeleteHVNRouteParams) WithTimeout ¶
func (o *DeleteHVNRouteParams) WithTimeout(timeout time.Duration) *DeleteHVNRouteParams
WithTimeout adds the timeout to the delete h v n route params
func (*DeleteHVNRouteParams) WriteToRequest ¶
func (o *DeleteHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHVNRouteReader ¶
type DeleteHVNRouteReader struct {
// contains filtered or unexported fields
}
DeleteHVNRouteReader is a Reader for the DeleteHVNRoute structure.
func (*DeleteHVNRouteReader) ReadResponse ¶
func (o *DeleteHVNRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOK ¶
type DeleteOK struct {
Payload *models.HashicorpCloudNetwork20200907DeleteResponse
}
DeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a DeleteOK with default headers values
func (*DeleteOK) GetPayload ¶
func (o *DeleteOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteResponse
func (*DeleteOK) IsClientError ¶
IsClientError returns true when this delete o k response has a 4xx status code
func (*DeleteOK) IsCode ¶
IsCode returns true when this delete o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶
IsRedirect returns true when this delete o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶
IsServerError returns true when this delete o k response has a 5xx status code
type DeleteParams ¶
type DeleteParams struct { /* ID. id is the id of the HVN we are removing */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteParams contains all the parameters to send to the API endpoint
for the delete operation. Typically these are written to a http.Request.
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.
func NewDeleteParamsWithHTTPClient ¶
func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteParamsWithTimeout ¶
func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams
NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.
func (*DeleteParams) SetContext ¶
func (o *DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete params
func (*DeleteParams) SetDefaults ¶
func (o *DeleteParams) SetDefaults()
SetDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) SetHTTPClient ¶
func (o *DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) SetID ¶
func (o *DeleteParams) SetID(id string)
SetID adds the id to the delete params
func (*DeleteParams) SetLocationOrganizationID ¶
func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the delete params
func (*DeleteParams) SetLocationProjectID ¶
func (o *DeleteParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the delete params
func (*DeleteParams) SetLocationRegionProvider ¶
func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the delete params
func (*DeleteParams) SetLocationRegionRegion ¶
func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the delete params
func (*DeleteParams) SetTimeout ¶
func (o *DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete params
func (*DeleteParams) WithContext ¶
func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
WithContext adds the context to the delete params
func (*DeleteParams) WithDefaults ¶
func (o *DeleteParams) WithDefaults() *DeleteParams
WithDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) WithHTTPClient ¶
func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
WithHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) WithID ¶
func (o *DeleteParams) WithID(id string) *DeleteParams
WithID adds the id to the delete params
func (*DeleteParams) WithLocationOrganizationID ¶
func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams
WithLocationOrganizationID adds the locationOrganizationID to the delete params
func (*DeleteParams) WithLocationProjectID ¶
func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams
WithLocationProjectID adds the locationProjectID to the delete params
func (*DeleteParams) WithLocationRegionProvider ¶
func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams
WithLocationRegionProvider adds the locationRegionProvider to the delete params
func (*DeleteParams) WithLocationRegionRegion ¶
func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams
WithLocationRegionRegion adds the locationRegionRegion to the delete params
func (*DeleteParams) WithTimeout ¶
func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
WithTimeout adds the timeout to the delete params
func (*DeleteParams) WriteToRequest ¶
func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePeeringDefault ¶
type DeletePeeringDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
DeletePeeringDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeletePeeringDefault ¶
func NewDeletePeeringDefault(code int) *DeletePeeringDefault
NewDeletePeeringDefault creates a DeletePeeringDefault with default headers values
func (*DeletePeeringDefault) Code ¶
func (o *DeletePeeringDefault) Code() int
Code gets the status code for the delete peering default response
func (*DeletePeeringDefault) Error ¶
func (o *DeletePeeringDefault) Error() string
func (*DeletePeeringDefault) GetPayload ¶
func (o *DeletePeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeletePeeringDefault) IsClientError ¶
func (o *DeletePeeringDefault) IsClientError() bool
IsClientError returns true when this delete peering default response has a 4xx status code
func (*DeletePeeringDefault) IsCode ¶
func (o *DeletePeeringDefault) IsCode(code int) bool
IsCode returns true when this delete peering default response a status code equal to that given
func (*DeletePeeringDefault) IsRedirect ¶
func (o *DeletePeeringDefault) IsRedirect() bool
IsRedirect returns true when this delete peering default response has a 3xx status code
func (*DeletePeeringDefault) IsServerError ¶
func (o *DeletePeeringDefault) IsServerError() bool
IsServerError returns true when this delete peering default response has a 5xx status code
func (*DeletePeeringDefault) IsSuccess ¶
func (o *DeletePeeringDefault) IsSuccess() bool
IsSuccess returns true when this delete peering default response has a 2xx status code
func (*DeletePeeringDefault) String ¶
func (o *DeletePeeringDefault) String() string
type DeletePeeringOK ¶
type DeletePeeringOK struct {
Payload *models.HashicorpCloudNetwork20200907DeletePeeringResponse
}
DeletePeeringOK describes a response with status code 200, with default header values.
A successful response.
func NewDeletePeeringOK ¶
func NewDeletePeeringOK() *DeletePeeringOK
NewDeletePeeringOK creates a DeletePeeringOK with default headers values
func (*DeletePeeringOK) Code ¶ added in v0.76.0
func (o *DeletePeeringOK) Code() int
Code gets the status code for the delete peering o k response
func (*DeletePeeringOK) Error ¶
func (o *DeletePeeringOK) Error() string
func (*DeletePeeringOK) GetPayload ¶
func (o *DeletePeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907DeletePeeringResponse
func (*DeletePeeringOK) IsClientError ¶
func (o *DeletePeeringOK) IsClientError() bool
IsClientError returns true when this delete peering o k response has a 4xx status code
func (*DeletePeeringOK) IsCode ¶
func (o *DeletePeeringOK) IsCode(code int) bool
IsCode returns true when this delete peering o k response a status code equal to that given
func (*DeletePeeringOK) IsRedirect ¶
func (o *DeletePeeringOK) IsRedirect() bool
IsRedirect returns true when this delete peering o k response has a 3xx status code
func (*DeletePeeringOK) IsServerError ¶
func (o *DeletePeeringOK) IsServerError() bool
IsServerError returns true when this delete peering o k response has a 5xx status code
func (*DeletePeeringOK) IsSuccess ¶
func (o *DeletePeeringOK) IsSuccess() bool
IsSuccess returns true when this delete peering o k response has a 2xx status code
func (*DeletePeeringOK) String ¶
func (o *DeletePeeringOK) String() string
type DeletePeeringParams ¶
type DeletePeeringParams struct { /* HvnID. HvnId is an ID of the HVN where the peering belongs to */ HvnID string /* ID. Id is the ID of the peering to be deleted. */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePeeringParams contains all the parameters to send to the API endpoint
for the delete peering operation. Typically these are written to a http.Request.
func NewDeletePeeringParams ¶
func NewDeletePeeringParams() *DeletePeeringParams
NewDeletePeeringParams creates a new DeletePeeringParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePeeringParamsWithContext ¶
func NewDeletePeeringParamsWithContext(ctx context.Context) *DeletePeeringParams
NewDeletePeeringParamsWithContext creates a new DeletePeeringParams object with the ability to set a context for a request.
func NewDeletePeeringParamsWithHTTPClient ¶
func NewDeletePeeringParamsWithHTTPClient(client *http.Client) *DeletePeeringParams
NewDeletePeeringParamsWithHTTPClient creates a new DeletePeeringParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePeeringParamsWithTimeout ¶
func NewDeletePeeringParamsWithTimeout(timeout time.Duration) *DeletePeeringParams
NewDeletePeeringParamsWithTimeout creates a new DeletePeeringParams object with the ability to set a timeout on a request.
func (*DeletePeeringParams) SetContext ¶
func (o *DeletePeeringParams) SetContext(ctx context.Context)
SetContext adds the context to the delete peering params
func (*DeletePeeringParams) SetDefaults ¶
func (o *DeletePeeringParams) SetDefaults()
SetDefaults hydrates default values in the delete peering params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePeeringParams) SetHTTPClient ¶
func (o *DeletePeeringParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete peering params
func (*DeletePeeringParams) SetHvnID ¶
func (o *DeletePeeringParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the delete peering params
func (*DeletePeeringParams) SetID ¶
func (o *DeletePeeringParams) SetID(id string)
SetID adds the id to the delete peering params
func (*DeletePeeringParams) SetLocationOrganizationID ¶
func (o *DeletePeeringParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the delete peering params
func (*DeletePeeringParams) SetLocationProjectID ¶
func (o *DeletePeeringParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the delete peering params
func (*DeletePeeringParams) SetLocationRegionProvider ¶
func (o *DeletePeeringParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the delete peering params
func (*DeletePeeringParams) SetLocationRegionRegion ¶
func (o *DeletePeeringParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the delete peering params
func (*DeletePeeringParams) SetTimeout ¶
func (o *DeletePeeringParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete peering params
func (*DeletePeeringParams) WithContext ¶
func (o *DeletePeeringParams) WithContext(ctx context.Context) *DeletePeeringParams
WithContext adds the context to the delete peering params
func (*DeletePeeringParams) WithDefaults ¶
func (o *DeletePeeringParams) WithDefaults() *DeletePeeringParams
WithDefaults hydrates default values in the delete peering params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePeeringParams) WithHTTPClient ¶
func (o *DeletePeeringParams) WithHTTPClient(client *http.Client) *DeletePeeringParams
WithHTTPClient adds the HTTPClient to the delete peering params
func (*DeletePeeringParams) WithHvnID ¶
func (o *DeletePeeringParams) WithHvnID(hvnID string) *DeletePeeringParams
WithHvnID adds the hvnID to the delete peering params
func (*DeletePeeringParams) WithID ¶
func (o *DeletePeeringParams) WithID(id string) *DeletePeeringParams
WithID adds the id to the delete peering params
func (*DeletePeeringParams) WithLocationOrganizationID ¶
func (o *DeletePeeringParams) WithLocationOrganizationID(locationOrganizationID string) *DeletePeeringParams
WithLocationOrganizationID adds the locationOrganizationID to the delete peering params
func (*DeletePeeringParams) WithLocationProjectID ¶
func (o *DeletePeeringParams) WithLocationProjectID(locationProjectID string) *DeletePeeringParams
WithLocationProjectID adds the locationProjectID to the delete peering params
func (*DeletePeeringParams) WithLocationRegionProvider ¶
func (o *DeletePeeringParams) WithLocationRegionProvider(locationRegionProvider *string) *DeletePeeringParams
WithLocationRegionProvider adds the locationRegionProvider to the delete peering params
func (*DeletePeeringParams) WithLocationRegionRegion ¶
func (o *DeletePeeringParams) WithLocationRegionRegion(locationRegionRegion *string) *DeletePeeringParams
WithLocationRegionRegion adds the locationRegionRegion to the delete peering params
func (*DeletePeeringParams) WithTimeout ¶
func (o *DeletePeeringParams) WithTimeout(timeout time.Duration) *DeletePeeringParams
WithTimeout adds the timeout to the delete peering params
func (*DeletePeeringParams) WriteToRequest ¶
func (o *DeletePeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePeeringReader ¶
type DeletePeeringReader struct {
// contains filtered or unexported fields
}
DeletePeeringReader is a Reader for the DeletePeering structure.
func (*DeletePeeringReader) ReadResponse ¶
func (o *DeletePeeringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTGWAttachmentDefault ¶
type DeleteTGWAttachmentDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
DeleteTGWAttachmentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteTGWAttachmentDefault ¶
func NewDeleteTGWAttachmentDefault(code int) *DeleteTGWAttachmentDefault
NewDeleteTGWAttachmentDefault creates a DeleteTGWAttachmentDefault with default headers values
func (*DeleteTGWAttachmentDefault) Code ¶
func (o *DeleteTGWAttachmentDefault) Code() int
Code gets the status code for the delete t g w attachment default response
func (*DeleteTGWAttachmentDefault) Error ¶
func (o *DeleteTGWAttachmentDefault) Error() string
func (*DeleteTGWAttachmentDefault) GetPayload ¶
func (o *DeleteTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeleteTGWAttachmentDefault) IsClientError ¶
func (o *DeleteTGWAttachmentDefault) IsClientError() bool
IsClientError returns true when this delete t g w attachment default response has a 4xx status code
func (*DeleteTGWAttachmentDefault) IsCode ¶
func (o *DeleteTGWAttachmentDefault) IsCode(code int) bool
IsCode returns true when this delete t g w attachment default response a status code equal to that given
func (*DeleteTGWAttachmentDefault) IsRedirect ¶
func (o *DeleteTGWAttachmentDefault) IsRedirect() bool
IsRedirect returns true when this delete t g w attachment default response has a 3xx status code
func (*DeleteTGWAttachmentDefault) IsServerError ¶
func (o *DeleteTGWAttachmentDefault) IsServerError() bool
IsServerError returns true when this delete t g w attachment default response has a 5xx status code
func (*DeleteTGWAttachmentDefault) IsSuccess ¶
func (o *DeleteTGWAttachmentDefault) IsSuccess() bool
IsSuccess returns true when this delete t g w attachment default response has a 2xx status code
func (*DeleteTGWAttachmentDefault) String ¶
func (o *DeleteTGWAttachmentDefault) String() string
type DeleteTGWAttachmentOK ¶
type DeleteTGWAttachmentOK struct {
Payload *models.HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse
}
DeleteTGWAttachmentOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteTGWAttachmentOK ¶
func NewDeleteTGWAttachmentOK() *DeleteTGWAttachmentOK
NewDeleteTGWAttachmentOK creates a DeleteTGWAttachmentOK with default headers values
func (*DeleteTGWAttachmentOK) Code ¶ added in v0.76.0
func (o *DeleteTGWAttachmentOK) Code() int
Code gets the status code for the delete t g w attachment o k response
func (*DeleteTGWAttachmentOK) Error ¶
func (o *DeleteTGWAttachmentOK) Error() string
func (*DeleteTGWAttachmentOK) GetPayload ¶
func (o *DeleteTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse
func (*DeleteTGWAttachmentOK) IsClientError ¶
func (o *DeleteTGWAttachmentOK) IsClientError() bool
IsClientError returns true when this delete t g w attachment o k response has a 4xx status code
func (*DeleteTGWAttachmentOK) IsCode ¶
func (o *DeleteTGWAttachmentOK) IsCode(code int) bool
IsCode returns true when this delete t g w attachment o k response a status code equal to that given
func (*DeleteTGWAttachmentOK) IsRedirect ¶
func (o *DeleteTGWAttachmentOK) IsRedirect() bool
IsRedirect returns true when this delete t g w attachment o k response has a 3xx status code
func (*DeleteTGWAttachmentOK) IsServerError ¶
func (o *DeleteTGWAttachmentOK) IsServerError() bool
IsServerError returns true when this delete t g w attachment o k response has a 5xx status code
func (*DeleteTGWAttachmentOK) IsSuccess ¶
func (o *DeleteTGWAttachmentOK) IsSuccess() bool
IsSuccess returns true when this delete t g w attachment o k response has a 2xx status code
func (*DeleteTGWAttachmentOK) String ¶
func (o *DeleteTGWAttachmentOK) String() string
type DeleteTGWAttachmentParams ¶
type DeleteTGWAttachmentParams struct { /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* ID. id of a TGW Attachment to delete */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTGWAttachmentParams contains all the parameters to send to the API endpoint
for the delete t g w attachment operation. Typically these are written to a http.Request.
func NewDeleteTGWAttachmentParams ¶
func NewDeleteTGWAttachmentParams() *DeleteTGWAttachmentParams
NewDeleteTGWAttachmentParams creates a new DeleteTGWAttachmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteTGWAttachmentParamsWithContext ¶
func NewDeleteTGWAttachmentParamsWithContext(ctx context.Context) *DeleteTGWAttachmentParams
NewDeleteTGWAttachmentParamsWithContext creates a new DeleteTGWAttachmentParams object with the ability to set a context for a request.
func NewDeleteTGWAttachmentParamsWithHTTPClient ¶
func NewDeleteTGWAttachmentParamsWithHTTPClient(client *http.Client) *DeleteTGWAttachmentParams
NewDeleteTGWAttachmentParamsWithHTTPClient creates a new DeleteTGWAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTGWAttachmentParamsWithTimeout ¶
func NewDeleteTGWAttachmentParamsWithTimeout(timeout time.Duration) *DeleteTGWAttachmentParams
NewDeleteTGWAttachmentParamsWithTimeout creates a new DeleteTGWAttachmentParams object with the ability to set a timeout on a request.
func (*DeleteTGWAttachmentParams) SetContext ¶
func (o *DeleteTGWAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetDefaults ¶
func (o *DeleteTGWAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the delete t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTGWAttachmentParams) SetHTTPClient ¶
func (o *DeleteTGWAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnDescription ¶
func (o *DeleteTGWAttachmentParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnID ¶
func (o *DeleteTGWAttachmentParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnLocationOrganizationID ¶
func (o *DeleteTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnLocationProjectID ¶
func (o *DeleteTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnLocationRegionProvider ¶
func (o *DeleteTGWAttachmentParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnLocationRegionRegion ¶
func (o *DeleteTGWAttachmentParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnType ¶
func (o *DeleteTGWAttachmentParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetHvnUUID ¶
func (o *DeleteTGWAttachmentParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetID ¶
func (o *DeleteTGWAttachmentParams) SetID(id string)
SetID adds the id to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) SetTimeout ¶
func (o *DeleteTGWAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithContext ¶
func (o *DeleteTGWAttachmentParams) WithContext(ctx context.Context) *DeleteTGWAttachmentParams
WithContext adds the context to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithDefaults ¶
func (o *DeleteTGWAttachmentParams) WithDefaults() *DeleteTGWAttachmentParams
WithDefaults hydrates default values in the delete t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTGWAttachmentParams) WithHTTPClient ¶
func (o *DeleteTGWAttachmentParams) WithHTTPClient(client *http.Client) *DeleteTGWAttachmentParams
WithHTTPClient adds the HTTPClient to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnDescription ¶
func (o *DeleteTGWAttachmentParams) WithHvnDescription(hvnDescription *string) *DeleteTGWAttachmentParams
WithHvnDescription adds the hvnDescription to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnID ¶
func (o *DeleteTGWAttachmentParams) WithHvnID(hvnID string) *DeleteTGWAttachmentParams
WithHvnID adds the hvnID to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnLocationOrganizationID ¶
func (o *DeleteTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *DeleteTGWAttachmentParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnLocationProjectID ¶
func (o *DeleteTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *DeleteTGWAttachmentParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnLocationRegionProvider ¶
func (o *DeleteTGWAttachmentParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *DeleteTGWAttachmentParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnLocationRegionRegion ¶
func (o *DeleteTGWAttachmentParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *DeleteTGWAttachmentParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnType ¶
func (o *DeleteTGWAttachmentParams) WithHvnType(hvnType *string) *DeleteTGWAttachmentParams
WithHvnType adds the hvnType to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithHvnUUID ¶
func (o *DeleteTGWAttachmentParams) WithHvnUUID(hvnUUID *string) *DeleteTGWAttachmentParams
WithHvnUUID adds the hvnUUID to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithID ¶
func (o *DeleteTGWAttachmentParams) WithID(id string) *DeleteTGWAttachmentParams
WithID adds the id to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WithTimeout ¶
func (o *DeleteTGWAttachmentParams) WithTimeout(timeout time.Duration) *DeleteTGWAttachmentParams
WithTimeout adds the timeout to the delete t g w attachment params
func (*DeleteTGWAttachmentParams) WriteToRequest ¶
func (o *DeleteTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTGWAttachmentReader ¶
type DeleteTGWAttachmentReader struct {
// contains filtered or unexported fields
}
DeleteTGWAttachmentReader is a Reader for the DeleteTGWAttachment structure.
func (*DeleteTGWAttachmentReader) ReadResponse ¶
func (o *DeleteTGWAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefault ¶
type GetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetDefault ¶
func NewGetDefault(code int) *GetDefault
NewGetDefault creates a GetDefault with default headers values
func (*GetDefault) Code ¶
func (o *GetDefault) Code() int
Code gets the status code for the get default response
func (*GetDefault) Error ¶
func (o *GetDefault) Error() string
func (*GetDefault) GetPayload ¶
func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetDefault) IsClientError ¶
func (o *GetDefault) IsClientError() bool
IsClientError returns true when this get default response has a 4xx status code
func (*GetDefault) IsCode ¶
func (o *GetDefault) IsCode(code int) bool
IsCode returns true when this get default response a status code equal to that given
func (*GetDefault) IsRedirect ¶
func (o *GetDefault) IsRedirect() bool
IsRedirect returns true when this get default response has a 3xx status code
func (*GetDefault) IsServerError ¶
func (o *GetDefault) IsServerError() bool
IsServerError returns true when this get default response has a 5xx status code
func (*GetDefault) IsSuccess ¶
func (o *GetDefault) IsSuccess() bool
IsSuccess returns true when this get default response has a 2xx status code
func (*GetDefault) String ¶
func (o *GetDefault) String() string
type GetHVNRouteDefault ¶
type GetHVNRouteDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetHVNRouteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetHVNRouteDefault ¶
func NewGetHVNRouteDefault(code int) *GetHVNRouteDefault
NewGetHVNRouteDefault creates a GetHVNRouteDefault with default headers values
func (*GetHVNRouteDefault) Code ¶
func (o *GetHVNRouteDefault) Code() int
Code gets the status code for the get h v n route default response
func (*GetHVNRouteDefault) Error ¶
func (o *GetHVNRouteDefault) Error() string
func (*GetHVNRouteDefault) GetPayload ¶
func (o *GetHVNRouteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetHVNRouteDefault) IsClientError ¶
func (o *GetHVNRouteDefault) IsClientError() bool
IsClientError returns true when this get h v n route default response has a 4xx status code
func (*GetHVNRouteDefault) IsCode ¶
func (o *GetHVNRouteDefault) IsCode(code int) bool
IsCode returns true when this get h v n route default response a status code equal to that given
func (*GetHVNRouteDefault) IsRedirect ¶
func (o *GetHVNRouteDefault) IsRedirect() bool
IsRedirect returns true when this get h v n route default response has a 3xx status code
func (*GetHVNRouteDefault) IsServerError ¶
func (o *GetHVNRouteDefault) IsServerError() bool
IsServerError returns true when this get h v n route default response has a 5xx status code
func (*GetHVNRouteDefault) IsSuccess ¶
func (o *GetHVNRouteDefault) IsSuccess() bool
IsSuccess returns true when this get h v n route default response has a 2xx status code
func (*GetHVNRouteDefault) String ¶
func (o *GetHVNRouteDefault) String() string
type GetHVNRouteOK ¶
type GetHVNRouteOK struct {
Payload *models.HashicorpCloudNetwork20200907GetHVNRouteResponse
}
GetHVNRouteOK describes a response with status code 200, with default header values.
A successful response.
func NewGetHVNRouteOK ¶
func NewGetHVNRouteOK() *GetHVNRouteOK
NewGetHVNRouteOK creates a GetHVNRouteOK with default headers values
func (*GetHVNRouteOK) Code ¶ added in v0.76.0
func (o *GetHVNRouteOK) Code() int
Code gets the status code for the get h v n route o k response
func (*GetHVNRouteOK) Error ¶
func (o *GetHVNRouteOK) Error() string
func (*GetHVNRouteOK) GetPayload ¶
func (o *GetHVNRouteOK) GetPayload() *models.HashicorpCloudNetwork20200907GetHVNRouteResponse
func (*GetHVNRouteOK) IsClientError ¶
func (o *GetHVNRouteOK) IsClientError() bool
IsClientError returns true when this get h v n route o k response has a 4xx status code
func (*GetHVNRouteOK) IsCode ¶
func (o *GetHVNRouteOK) IsCode(code int) bool
IsCode returns true when this get h v n route o k response a status code equal to that given
func (*GetHVNRouteOK) IsRedirect ¶
func (o *GetHVNRouteOK) IsRedirect() bool
IsRedirect returns true when this get h v n route o k response has a 3xx status code
func (*GetHVNRouteOK) IsServerError ¶
func (o *GetHVNRouteOK) IsServerError() bool
IsServerError returns true when this get h v n route o k response has a 5xx status code
func (*GetHVNRouteOK) IsSuccess ¶
func (o *GetHVNRouteOK) IsSuccess() bool
IsSuccess returns true when this get h v n route o k response has a 2xx status code
func (*GetHVNRouteOK) String ¶
func (o *GetHVNRouteOK) String() string
type GetHVNRouteParams ¶
type GetHVNRouteParams struct { /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* ID. id of the HVN route to fetch */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHVNRouteParams contains all the parameters to send to the API endpoint
for the get h v n route operation. Typically these are written to a http.Request.
func NewGetHVNRouteParams ¶
func NewGetHVNRouteParams() *GetHVNRouteParams
NewGetHVNRouteParams creates a new GetHVNRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetHVNRouteParamsWithContext ¶
func NewGetHVNRouteParamsWithContext(ctx context.Context) *GetHVNRouteParams
NewGetHVNRouteParamsWithContext creates a new GetHVNRouteParams object with the ability to set a context for a request.
func NewGetHVNRouteParamsWithHTTPClient ¶
func NewGetHVNRouteParamsWithHTTPClient(client *http.Client) *GetHVNRouteParams
NewGetHVNRouteParamsWithHTTPClient creates a new GetHVNRouteParams object with the ability to set a custom HTTPClient for a request.
func NewGetHVNRouteParamsWithTimeout ¶
func NewGetHVNRouteParamsWithTimeout(timeout time.Duration) *GetHVNRouteParams
NewGetHVNRouteParamsWithTimeout creates a new GetHVNRouteParams object with the ability to set a timeout on a request.
func (*GetHVNRouteParams) SetContext ¶
func (o *GetHVNRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the get h v n route params
func (*GetHVNRouteParams) SetDefaults ¶
func (o *GetHVNRouteParams) SetDefaults()
SetDefaults hydrates default values in the get h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*GetHVNRouteParams) SetHTTPClient ¶
func (o *GetHVNRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get h v n route params
func (*GetHVNRouteParams) SetHvnDescription ¶
func (o *GetHVNRouteParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the get h v n route params
func (*GetHVNRouteParams) SetHvnID ¶
func (o *GetHVNRouteParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the get h v n route params
func (*GetHVNRouteParams) SetHvnLocationOrganizationID ¶
func (o *GetHVNRouteParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the get h v n route params
func (*GetHVNRouteParams) SetHvnLocationProjectID ¶
func (o *GetHVNRouteParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the get h v n route params
func (*GetHVNRouteParams) SetHvnLocationRegionProvider ¶
func (o *GetHVNRouteParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the get h v n route params
func (*GetHVNRouteParams) SetHvnLocationRegionRegion ¶
func (o *GetHVNRouteParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the get h v n route params
func (*GetHVNRouteParams) SetHvnType ¶
func (o *GetHVNRouteParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the get h v n route params
func (*GetHVNRouteParams) SetHvnUUID ¶
func (o *GetHVNRouteParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the get h v n route params
func (*GetHVNRouteParams) SetID ¶
func (o *GetHVNRouteParams) SetID(id string)
SetID adds the id to the get h v n route params
func (*GetHVNRouteParams) SetTimeout ¶
func (o *GetHVNRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get h v n route params
func (*GetHVNRouteParams) WithContext ¶
func (o *GetHVNRouteParams) WithContext(ctx context.Context) *GetHVNRouteParams
WithContext adds the context to the get h v n route params
func (*GetHVNRouteParams) WithDefaults ¶
func (o *GetHVNRouteParams) WithDefaults() *GetHVNRouteParams
WithDefaults hydrates default values in the get h v n route params (not the query body).
All values with no default are reset to their zero value.
func (*GetHVNRouteParams) WithHTTPClient ¶
func (o *GetHVNRouteParams) WithHTTPClient(client *http.Client) *GetHVNRouteParams
WithHTTPClient adds the HTTPClient to the get h v n route params
func (*GetHVNRouteParams) WithHvnDescription ¶
func (o *GetHVNRouteParams) WithHvnDescription(hvnDescription *string) *GetHVNRouteParams
WithHvnDescription adds the hvnDescription to the get h v n route params
func (*GetHVNRouteParams) WithHvnID ¶
func (o *GetHVNRouteParams) WithHvnID(hvnID string) *GetHVNRouteParams
WithHvnID adds the hvnID to the get h v n route params
func (*GetHVNRouteParams) WithHvnLocationOrganizationID ¶
func (o *GetHVNRouteParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *GetHVNRouteParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the get h v n route params
func (*GetHVNRouteParams) WithHvnLocationProjectID ¶
func (o *GetHVNRouteParams) WithHvnLocationProjectID(hvnLocationProjectID string) *GetHVNRouteParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the get h v n route params
func (*GetHVNRouteParams) WithHvnLocationRegionProvider ¶
func (o *GetHVNRouteParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *GetHVNRouteParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the get h v n route params
func (*GetHVNRouteParams) WithHvnLocationRegionRegion ¶
func (o *GetHVNRouteParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *GetHVNRouteParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the get h v n route params
func (*GetHVNRouteParams) WithHvnType ¶
func (o *GetHVNRouteParams) WithHvnType(hvnType *string) *GetHVNRouteParams
WithHvnType adds the hvnType to the get h v n route params
func (*GetHVNRouteParams) WithHvnUUID ¶
func (o *GetHVNRouteParams) WithHvnUUID(hvnUUID *string) *GetHVNRouteParams
WithHvnUUID adds the hvnUUID to the get h v n route params
func (*GetHVNRouteParams) WithID ¶
func (o *GetHVNRouteParams) WithID(id string) *GetHVNRouteParams
WithID adds the id to the get h v n route params
func (*GetHVNRouteParams) WithTimeout ¶
func (o *GetHVNRouteParams) WithTimeout(timeout time.Duration) *GetHVNRouteParams
WithTimeout adds the timeout to the get h v n route params
func (*GetHVNRouteParams) WriteToRequest ¶
func (o *GetHVNRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHVNRouteReader ¶
type GetHVNRouteReader struct {
// contains filtered or unexported fields
}
GetHVNRouteReader is a Reader for the GetHVNRoute structure.
func (*GetHVNRouteReader) ReadResponse ¶
func (o *GetHVNRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOK ¶
type GetOK struct {
Payload *models.HashicorpCloudNetwork20200907GetResponse
}
GetOK describes a response with status code 200, with default header values.
A successful response.
func (*GetOK) GetPayload ¶
func (o *GetOK) GetPayload() *models.HashicorpCloudNetwork20200907GetResponse
func (*GetOK) IsClientError ¶
IsClientError returns true when this get o k response has a 4xx status code
func (*GetOK) IsCode ¶
IsCode returns true when this get o k response a status code equal to that given
func (*GetOK) IsRedirect ¶
IsRedirect returns true when this get o k response has a 3xx status code
func (*GetOK) IsServerError ¶
IsServerError returns true when this get o k response has a 5xx status code
type GetParams ¶
type GetParams struct { /* ID. id is the ID of the HVN to get */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetParams contains all the parameters to send to the API endpoint
for the get operation. Typically these are written to a http.Request.
func NewGetParams ¶
func NewGetParams() *GetParams
NewGetParams creates a new GetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetParamsWithContext ¶
NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.
func (*GetParams) SetContext ¶
SetContext adds the context to the get params
func (*GetParams) SetDefaults ¶
func (o *GetParams) SetDefaults()
SetDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the get params
func (*GetParams) SetLocationOrganizationID ¶
SetLocationOrganizationID adds the locationOrganizationId to the get params
func (*GetParams) SetLocationProjectID ¶
SetLocationProjectID adds the locationProjectId to the get params
func (*GetParams) SetLocationRegionProvider ¶
SetLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) SetLocationRegionRegion ¶
SetLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) SetTimeout ¶
SetTimeout adds the timeout to the get params
func (*GetParams) WithContext ¶
WithContext adds the context to the get params
func (*GetParams) WithDefaults ¶
WithDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the get params
func (*GetParams) WithLocationOrganizationID ¶
WithLocationOrganizationID adds the locationOrganizationID to the get params
func (*GetParams) WithLocationProjectID ¶
WithLocationProjectID adds the locationProjectID to the get params
func (*GetParams) WithLocationRegionProvider ¶
WithLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) WithLocationRegionRegion ¶
WithLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) WithTimeout ¶
WithTimeout adds the timeout to the get params
func (*GetParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetPeeringDefault ¶
type GetPeeringDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetPeeringDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetPeeringDefault ¶
func NewGetPeeringDefault(code int) *GetPeeringDefault
NewGetPeeringDefault creates a GetPeeringDefault with default headers values
func (*GetPeeringDefault) Code ¶
func (o *GetPeeringDefault) Code() int
Code gets the status code for the get peering default response
func (*GetPeeringDefault) Error ¶
func (o *GetPeeringDefault) Error() string
func (*GetPeeringDefault) GetPayload ¶
func (o *GetPeeringDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetPeeringDefault) IsClientError ¶
func (o *GetPeeringDefault) IsClientError() bool
IsClientError returns true when this get peering default response has a 4xx status code
func (*GetPeeringDefault) IsCode ¶
func (o *GetPeeringDefault) IsCode(code int) bool
IsCode returns true when this get peering default response a status code equal to that given
func (*GetPeeringDefault) IsRedirect ¶
func (o *GetPeeringDefault) IsRedirect() bool
IsRedirect returns true when this get peering default response has a 3xx status code
func (*GetPeeringDefault) IsServerError ¶
func (o *GetPeeringDefault) IsServerError() bool
IsServerError returns true when this get peering default response has a 5xx status code
func (*GetPeeringDefault) IsSuccess ¶
func (o *GetPeeringDefault) IsSuccess() bool
IsSuccess returns true when this get peering default response has a 2xx status code
func (*GetPeeringDefault) String ¶
func (o *GetPeeringDefault) String() string
type GetPeeringOK ¶
type GetPeeringOK struct {
Payload *models.HashicorpCloudNetwork20200907GetPeeringResponse
}
GetPeeringOK describes a response with status code 200, with default header values.
A successful response.
func NewGetPeeringOK ¶
func NewGetPeeringOK() *GetPeeringOK
NewGetPeeringOK creates a GetPeeringOK with default headers values
func (*GetPeeringOK) Code ¶ added in v0.76.0
func (o *GetPeeringOK) Code() int
Code gets the status code for the get peering o k response
func (*GetPeeringOK) Error ¶
func (o *GetPeeringOK) Error() string
func (*GetPeeringOK) GetPayload ¶
func (o *GetPeeringOK) GetPayload() *models.HashicorpCloudNetwork20200907GetPeeringResponse
func (*GetPeeringOK) IsClientError ¶
func (o *GetPeeringOK) IsClientError() bool
IsClientError returns true when this get peering o k response has a 4xx status code
func (*GetPeeringOK) IsCode ¶
func (o *GetPeeringOK) IsCode(code int) bool
IsCode returns true when this get peering o k response a status code equal to that given
func (*GetPeeringOK) IsRedirect ¶
func (o *GetPeeringOK) IsRedirect() bool
IsRedirect returns true when this get peering o k response has a 3xx status code
func (*GetPeeringOK) IsServerError ¶
func (o *GetPeeringOK) IsServerError() bool
IsServerError returns true when this get peering o k response has a 5xx status code
func (*GetPeeringOK) IsSuccess ¶
func (o *GetPeeringOK) IsSuccess() bool
IsSuccess returns true when this get peering o k response has a 2xx status code
func (*GetPeeringOK) String ¶
func (o *GetPeeringOK) String() string
type GetPeeringParams ¶
type GetPeeringParams struct { /* HvnID. HvnId is an ID of the HVN where the peering belongs to */ HvnID string /* ID. Id is the ID of a peering to fetch */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPeeringParams contains all the parameters to send to the API endpoint
for the get peering operation. Typically these are written to a http.Request.
func NewGetPeeringParams ¶
func NewGetPeeringParams() *GetPeeringParams
NewGetPeeringParams creates a new GetPeeringParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPeeringParamsWithContext ¶
func NewGetPeeringParamsWithContext(ctx context.Context) *GetPeeringParams
NewGetPeeringParamsWithContext creates a new GetPeeringParams object with the ability to set a context for a request.
func NewGetPeeringParamsWithHTTPClient ¶
func NewGetPeeringParamsWithHTTPClient(client *http.Client) *GetPeeringParams
NewGetPeeringParamsWithHTTPClient creates a new GetPeeringParams object with the ability to set a custom HTTPClient for a request.
func NewGetPeeringParamsWithTimeout ¶
func NewGetPeeringParamsWithTimeout(timeout time.Duration) *GetPeeringParams
NewGetPeeringParamsWithTimeout creates a new GetPeeringParams object with the ability to set a timeout on a request.
func (*GetPeeringParams) SetContext ¶
func (o *GetPeeringParams) SetContext(ctx context.Context)
SetContext adds the context to the get peering params
func (*GetPeeringParams) SetDefaults ¶
func (o *GetPeeringParams) SetDefaults()
SetDefaults hydrates default values in the get peering params (not the query body).
All values with no default are reset to their zero value.
func (*GetPeeringParams) SetHTTPClient ¶
func (o *GetPeeringParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get peering params
func (*GetPeeringParams) SetHvnID ¶
func (o *GetPeeringParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the get peering params
func (*GetPeeringParams) SetID ¶
func (o *GetPeeringParams) SetID(id string)
SetID adds the id to the get peering params
func (*GetPeeringParams) SetLocationOrganizationID ¶
func (o *GetPeeringParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the get peering params
func (*GetPeeringParams) SetLocationProjectID ¶
func (o *GetPeeringParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the get peering params
func (*GetPeeringParams) SetLocationRegionProvider ¶
func (o *GetPeeringParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the get peering params
func (*GetPeeringParams) SetLocationRegionRegion ¶
func (o *GetPeeringParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the get peering params
func (*GetPeeringParams) SetTimeout ¶
func (o *GetPeeringParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get peering params
func (*GetPeeringParams) WithContext ¶
func (o *GetPeeringParams) WithContext(ctx context.Context) *GetPeeringParams
WithContext adds the context to the get peering params
func (*GetPeeringParams) WithDefaults ¶
func (o *GetPeeringParams) WithDefaults() *GetPeeringParams
WithDefaults hydrates default values in the get peering params (not the query body).
All values with no default are reset to their zero value.
func (*GetPeeringParams) WithHTTPClient ¶
func (o *GetPeeringParams) WithHTTPClient(client *http.Client) *GetPeeringParams
WithHTTPClient adds the HTTPClient to the get peering params
func (*GetPeeringParams) WithHvnID ¶
func (o *GetPeeringParams) WithHvnID(hvnID string) *GetPeeringParams
WithHvnID adds the hvnID to the get peering params
func (*GetPeeringParams) WithID ¶
func (o *GetPeeringParams) WithID(id string) *GetPeeringParams
WithID adds the id to the get peering params
func (*GetPeeringParams) WithLocationOrganizationID ¶
func (o *GetPeeringParams) WithLocationOrganizationID(locationOrganizationID string) *GetPeeringParams
WithLocationOrganizationID adds the locationOrganizationID to the get peering params
func (*GetPeeringParams) WithLocationProjectID ¶
func (o *GetPeeringParams) WithLocationProjectID(locationProjectID string) *GetPeeringParams
WithLocationProjectID adds the locationProjectID to the get peering params
func (*GetPeeringParams) WithLocationRegionProvider ¶
func (o *GetPeeringParams) WithLocationRegionProvider(locationRegionProvider *string) *GetPeeringParams
WithLocationRegionProvider adds the locationRegionProvider to the get peering params
func (*GetPeeringParams) WithLocationRegionRegion ¶
func (o *GetPeeringParams) WithLocationRegionRegion(locationRegionRegion *string) *GetPeeringParams
WithLocationRegionRegion adds the locationRegionRegion to the get peering params
func (*GetPeeringParams) WithTimeout ¶
func (o *GetPeeringParams) WithTimeout(timeout time.Duration) *GetPeeringParams
WithTimeout adds the timeout to the get peering params
func (*GetPeeringParams) WriteToRequest ¶
func (o *GetPeeringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPeeringReader ¶
type GetPeeringReader struct {
// contains filtered or unexported fields
}
GetPeeringReader is a Reader for the GetPeering structure.
func (*GetPeeringReader) ReadResponse ¶
func (o *GetPeeringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReader ¶
type GetReader struct {
// contains filtered or unexported fields
}
GetReader is a Reader for the Get structure.
func (*GetReader) ReadResponse ¶
func (o *GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTGWAttachmentDefault ¶
type GetTGWAttachmentDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetTGWAttachmentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetTGWAttachmentDefault ¶
func NewGetTGWAttachmentDefault(code int) *GetTGWAttachmentDefault
NewGetTGWAttachmentDefault creates a GetTGWAttachmentDefault with default headers values
func (*GetTGWAttachmentDefault) Code ¶
func (o *GetTGWAttachmentDefault) Code() int
Code gets the status code for the get t g w attachment default response
func (*GetTGWAttachmentDefault) Error ¶
func (o *GetTGWAttachmentDefault) Error() string
func (*GetTGWAttachmentDefault) GetPayload ¶
func (o *GetTGWAttachmentDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetTGWAttachmentDefault) IsClientError ¶
func (o *GetTGWAttachmentDefault) IsClientError() bool
IsClientError returns true when this get t g w attachment default response has a 4xx status code
func (*GetTGWAttachmentDefault) IsCode ¶
func (o *GetTGWAttachmentDefault) IsCode(code int) bool
IsCode returns true when this get t g w attachment default response a status code equal to that given
func (*GetTGWAttachmentDefault) IsRedirect ¶
func (o *GetTGWAttachmentDefault) IsRedirect() bool
IsRedirect returns true when this get t g w attachment default response has a 3xx status code
func (*GetTGWAttachmentDefault) IsServerError ¶
func (o *GetTGWAttachmentDefault) IsServerError() bool
IsServerError returns true when this get t g w attachment default response has a 5xx status code
func (*GetTGWAttachmentDefault) IsSuccess ¶
func (o *GetTGWAttachmentDefault) IsSuccess() bool
IsSuccess returns true when this get t g w attachment default response has a 2xx status code
func (*GetTGWAttachmentDefault) String ¶
func (o *GetTGWAttachmentDefault) String() string
type GetTGWAttachmentOK ¶
type GetTGWAttachmentOK struct {
Payload *models.HashicorpCloudNetwork20200907GetTGWAttachmentResponse
}
GetTGWAttachmentOK describes a response with status code 200, with default header values.
A successful response.
func NewGetTGWAttachmentOK ¶
func NewGetTGWAttachmentOK() *GetTGWAttachmentOK
NewGetTGWAttachmentOK creates a GetTGWAttachmentOK with default headers values
func (*GetTGWAttachmentOK) Code ¶ added in v0.76.0
func (o *GetTGWAttachmentOK) Code() int
Code gets the status code for the get t g w attachment o k response
func (*GetTGWAttachmentOK) Error ¶
func (o *GetTGWAttachmentOK) Error() string
func (*GetTGWAttachmentOK) GetPayload ¶
func (o *GetTGWAttachmentOK) GetPayload() *models.HashicorpCloudNetwork20200907GetTGWAttachmentResponse
func (*GetTGWAttachmentOK) IsClientError ¶
func (o *GetTGWAttachmentOK) IsClientError() bool
IsClientError returns true when this get t g w attachment o k response has a 4xx status code
func (*GetTGWAttachmentOK) IsCode ¶
func (o *GetTGWAttachmentOK) IsCode(code int) bool
IsCode returns true when this get t g w attachment o k response a status code equal to that given
func (*GetTGWAttachmentOK) IsRedirect ¶
func (o *GetTGWAttachmentOK) IsRedirect() bool
IsRedirect returns true when this get t g w attachment o k response has a 3xx status code
func (*GetTGWAttachmentOK) IsServerError ¶
func (o *GetTGWAttachmentOK) IsServerError() bool
IsServerError returns true when this get t g w attachment o k response has a 5xx status code
func (*GetTGWAttachmentOK) IsSuccess ¶
func (o *GetTGWAttachmentOK) IsSuccess() bool
IsSuccess returns true when this get t g w attachment o k response has a 2xx status code
func (*GetTGWAttachmentOK) String ¶
func (o *GetTGWAttachmentOK) String() string
type GetTGWAttachmentParams ¶
type GetTGWAttachmentParams struct { /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* ID. id of a TGW Attachment to retrieve */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTGWAttachmentParams contains all the parameters to send to the API endpoint
for the get t g w attachment operation. Typically these are written to a http.Request.
func NewGetTGWAttachmentParams ¶
func NewGetTGWAttachmentParams() *GetTGWAttachmentParams
NewGetTGWAttachmentParams creates a new GetTGWAttachmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTGWAttachmentParamsWithContext ¶
func NewGetTGWAttachmentParamsWithContext(ctx context.Context) *GetTGWAttachmentParams
NewGetTGWAttachmentParamsWithContext creates a new GetTGWAttachmentParams object with the ability to set a context for a request.
func NewGetTGWAttachmentParamsWithHTTPClient ¶
func NewGetTGWAttachmentParamsWithHTTPClient(client *http.Client) *GetTGWAttachmentParams
NewGetTGWAttachmentParamsWithHTTPClient creates a new GetTGWAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewGetTGWAttachmentParamsWithTimeout ¶
func NewGetTGWAttachmentParamsWithTimeout(timeout time.Duration) *GetTGWAttachmentParams
NewGetTGWAttachmentParamsWithTimeout creates a new GetTGWAttachmentParams object with the ability to set a timeout on a request.
func (*GetTGWAttachmentParams) SetContext ¶
func (o *GetTGWAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get t g w attachment params
func (*GetTGWAttachmentParams) SetDefaults ¶
func (o *GetTGWAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the get t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*GetTGWAttachmentParams) SetHTTPClient ¶
func (o *GetTGWAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnDescription ¶
func (o *GetTGWAttachmentParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnID ¶
func (o *GetTGWAttachmentParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnLocationOrganizationID ¶
func (o *GetTGWAttachmentParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnLocationProjectID ¶
func (o *GetTGWAttachmentParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnLocationRegionProvider ¶
func (o *GetTGWAttachmentParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnLocationRegionRegion ¶
func (o *GetTGWAttachmentParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnType ¶
func (o *GetTGWAttachmentParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the get t g w attachment params
func (*GetTGWAttachmentParams) SetHvnUUID ¶
func (o *GetTGWAttachmentParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the get t g w attachment params
func (*GetTGWAttachmentParams) SetID ¶
func (o *GetTGWAttachmentParams) SetID(id string)
SetID adds the id to the get t g w attachment params
func (*GetTGWAttachmentParams) SetTimeout ¶
func (o *GetTGWAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get t g w attachment params
func (*GetTGWAttachmentParams) WithContext ¶
func (o *GetTGWAttachmentParams) WithContext(ctx context.Context) *GetTGWAttachmentParams
WithContext adds the context to the get t g w attachment params
func (*GetTGWAttachmentParams) WithDefaults ¶
func (o *GetTGWAttachmentParams) WithDefaults() *GetTGWAttachmentParams
WithDefaults hydrates default values in the get t g w attachment params (not the query body).
All values with no default are reset to their zero value.
func (*GetTGWAttachmentParams) WithHTTPClient ¶
func (o *GetTGWAttachmentParams) WithHTTPClient(client *http.Client) *GetTGWAttachmentParams
WithHTTPClient adds the HTTPClient to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnDescription ¶
func (o *GetTGWAttachmentParams) WithHvnDescription(hvnDescription *string) *GetTGWAttachmentParams
WithHvnDescription adds the hvnDescription to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnID ¶
func (o *GetTGWAttachmentParams) WithHvnID(hvnID string) *GetTGWAttachmentParams
WithHvnID adds the hvnID to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnLocationOrganizationID ¶
func (o *GetTGWAttachmentParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *GetTGWAttachmentParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnLocationProjectID ¶
func (o *GetTGWAttachmentParams) WithHvnLocationProjectID(hvnLocationProjectID string) *GetTGWAttachmentParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnLocationRegionProvider ¶
func (o *GetTGWAttachmentParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *GetTGWAttachmentParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnLocationRegionRegion ¶
func (o *GetTGWAttachmentParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *GetTGWAttachmentParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnType ¶
func (o *GetTGWAttachmentParams) WithHvnType(hvnType *string) *GetTGWAttachmentParams
WithHvnType adds the hvnType to the get t g w attachment params
func (*GetTGWAttachmentParams) WithHvnUUID ¶
func (o *GetTGWAttachmentParams) WithHvnUUID(hvnUUID *string) *GetTGWAttachmentParams
WithHvnUUID adds the hvnUUID to the get t g w attachment params
func (*GetTGWAttachmentParams) WithID ¶
func (o *GetTGWAttachmentParams) WithID(id string) *GetTGWAttachmentParams
WithID adds the id to the get t g w attachment params
func (*GetTGWAttachmentParams) WithTimeout ¶
func (o *GetTGWAttachmentParams) WithTimeout(timeout time.Duration) *GetTGWAttachmentParams
WithTimeout adds the timeout to the get t g w attachment params
func (*GetTGWAttachmentParams) WriteToRequest ¶
func (o *GetTGWAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTGWAttachmentReader ¶
type GetTGWAttachmentReader struct {
// contains filtered or unexported fields
}
GetTGWAttachmentReader is a Reader for the GetTGWAttachment structure.
func (*GetTGWAttachmentReader) ReadResponse ¶
func (o *GetTGWAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDefault ¶
type ListDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListDefault ¶
func NewListDefault(code int) *ListDefault
NewListDefault creates a ListDefault with default headers values
func (*ListDefault) Code ¶
func (o *ListDefault) Code() int
Code gets the status code for the list default response
func (*ListDefault) Error ¶
func (o *ListDefault) Error() string
func (*ListDefault) GetPayload ¶
func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListDefault) IsClientError ¶
func (o *ListDefault) IsClientError() bool
IsClientError returns true when this list default response has a 4xx status code
func (*ListDefault) IsCode ¶
func (o *ListDefault) IsCode(code int) bool
IsCode returns true when this list default response a status code equal to that given
func (*ListDefault) IsRedirect ¶
func (o *ListDefault) IsRedirect() bool
IsRedirect returns true when this list default response has a 3xx status code
func (*ListDefault) IsServerError ¶
func (o *ListDefault) IsServerError() bool
IsServerError returns true when this list default response has a 5xx status code
func (*ListDefault) IsSuccess ¶
func (o *ListDefault) IsSuccess() bool
IsSuccess returns true when this list default response has a 2xx status code
func (*ListDefault) String ¶
func (o *ListDefault) String() string
type ListDependenciesDefault ¶
type ListDependenciesDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListDependenciesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListDependenciesDefault ¶
func NewListDependenciesDefault(code int) *ListDependenciesDefault
NewListDependenciesDefault creates a ListDependenciesDefault with default headers values
func (*ListDependenciesDefault) Code ¶
func (o *ListDependenciesDefault) Code() int
Code gets the status code for the list dependencies default response
func (*ListDependenciesDefault) Error ¶
func (o *ListDependenciesDefault) Error() string
func (*ListDependenciesDefault) GetPayload ¶
func (o *ListDependenciesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListDependenciesDefault) IsClientError ¶
func (o *ListDependenciesDefault) IsClientError() bool
IsClientError returns true when this list dependencies default response has a 4xx status code
func (*ListDependenciesDefault) IsCode ¶
func (o *ListDependenciesDefault) IsCode(code int) bool
IsCode returns true when this list dependencies default response a status code equal to that given
func (*ListDependenciesDefault) IsRedirect ¶
func (o *ListDependenciesDefault) IsRedirect() bool
IsRedirect returns true when this list dependencies default response has a 3xx status code
func (*ListDependenciesDefault) IsServerError ¶
func (o *ListDependenciesDefault) IsServerError() bool
IsServerError returns true when this list dependencies default response has a 5xx status code
func (*ListDependenciesDefault) IsSuccess ¶
func (o *ListDependenciesDefault) IsSuccess() bool
IsSuccess returns true when this list dependencies default response has a 2xx status code
func (*ListDependenciesDefault) String ¶
func (o *ListDependenciesDefault) String() string
type ListDependenciesOK ¶
type ListDependenciesOK struct {
Payload *models.HashicorpCloudNetwork20200907ListDependenciesResponse
}
ListDependenciesOK describes a response with status code 200, with default header values.
A successful response.
func NewListDependenciesOK ¶
func NewListDependenciesOK() *ListDependenciesOK
NewListDependenciesOK creates a ListDependenciesOK with default headers values
func (*ListDependenciesOK) Code ¶ added in v0.76.0
func (o *ListDependenciesOK) Code() int
Code gets the status code for the list dependencies o k response
func (*ListDependenciesOK) Error ¶
func (o *ListDependenciesOK) Error() string
func (*ListDependenciesOK) GetPayload ¶
func (o *ListDependenciesOK) GetPayload() *models.HashicorpCloudNetwork20200907ListDependenciesResponse
func (*ListDependenciesOK) IsClientError ¶
func (o *ListDependenciesOK) IsClientError() bool
IsClientError returns true when this list dependencies o k response has a 4xx status code
func (*ListDependenciesOK) IsCode ¶
func (o *ListDependenciesOK) IsCode(code int) bool
IsCode returns true when this list dependencies o k response a status code equal to that given
func (*ListDependenciesOK) IsRedirect ¶
func (o *ListDependenciesOK) IsRedirect() bool
IsRedirect returns true when this list dependencies o k response has a 3xx status code
func (*ListDependenciesOK) IsServerError ¶
func (o *ListDependenciesOK) IsServerError() bool
IsServerError returns true when this list dependencies o k response has a 5xx status code
func (*ListDependenciesOK) IsSuccess ¶
func (o *ListDependenciesOK) IsSuccess() bool
IsSuccess returns true when this list dependencies o k response has a 2xx status code
func (*ListDependenciesOK) String ¶
func (o *ListDependenciesOK) String() string
type ListDependenciesParams ¶
type ListDependenciesParams struct { /* ID. id the id of the HVN we are listing dependencies for. */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDependenciesParams contains all the parameters to send to the API endpoint
for the list dependencies operation. Typically these are written to a http.Request.
func NewListDependenciesParams ¶
func NewListDependenciesParams() *ListDependenciesParams
NewListDependenciesParams creates a new ListDependenciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDependenciesParamsWithContext ¶
func NewListDependenciesParamsWithContext(ctx context.Context) *ListDependenciesParams
NewListDependenciesParamsWithContext creates a new ListDependenciesParams object with the ability to set a context for a request.
func NewListDependenciesParamsWithHTTPClient ¶
func NewListDependenciesParamsWithHTTPClient(client *http.Client) *ListDependenciesParams
NewListDependenciesParamsWithHTTPClient creates a new ListDependenciesParams object with the ability to set a custom HTTPClient for a request.
func NewListDependenciesParamsWithTimeout ¶
func NewListDependenciesParamsWithTimeout(timeout time.Duration) *ListDependenciesParams
NewListDependenciesParamsWithTimeout creates a new ListDependenciesParams object with the ability to set a timeout on a request.
func (*ListDependenciesParams) SetContext ¶
func (o *ListDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list dependencies params
func (*ListDependenciesParams) SetDefaults ¶
func (o *ListDependenciesParams) SetDefaults()
SetDefaults hydrates default values in the list dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*ListDependenciesParams) SetHTTPClient ¶
func (o *ListDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list dependencies params
func (*ListDependenciesParams) SetID ¶
func (o *ListDependenciesParams) SetID(id string)
SetID adds the id to the list dependencies params
func (*ListDependenciesParams) SetLocationOrganizationID ¶
func (o *ListDependenciesParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list dependencies params
func (*ListDependenciesParams) SetLocationProjectID ¶
func (o *ListDependenciesParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list dependencies params
func (*ListDependenciesParams) SetLocationRegionProvider ¶
func (o *ListDependenciesParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list dependencies params
func (*ListDependenciesParams) SetLocationRegionRegion ¶
func (o *ListDependenciesParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list dependencies params
func (*ListDependenciesParams) SetPaginationNextPageToken ¶
func (o *ListDependenciesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list dependencies params
func (*ListDependenciesParams) SetPaginationPageSize ¶
func (o *ListDependenciesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list dependencies params
func (*ListDependenciesParams) SetPaginationPreviousPageToken ¶
func (o *ListDependenciesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list dependencies params
func (*ListDependenciesParams) SetTimeout ¶
func (o *ListDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list dependencies params
func (*ListDependenciesParams) WithContext ¶
func (o *ListDependenciesParams) WithContext(ctx context.Context) *ListDependenciesParams
WithContext adds the context to the list dependencies params
func (*ListDependenciesParams) WithDefaults ¶
func (o *ListDependenciesParams) WithDefaults() *ListDependenciesParams
WithDefaults hydrates default values in the list dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*ListDependenciesParams) WithHTTPClient ¶
func (o *ListDependenciesParams) WithHTTPClient(client *http.Client) *ListDependenciesParams
WithHTTPClient adds the HTTPClient to the list dependencies params
func (*ListDependenciesParams) WithID ¶
func (o *ListDependenciesParams) WithID(id string) *ListDependenciesParams
WithID adds the id to the list dependencies params
func (*ListDependenciesParams) WithLocationOrganizationID ¶
func (o *ListDependenciesParams) WithLocationOrganizationID(locationOrganizationID string) *ListDependenciesParams
WithLocationOrganizationID adds the locationOrganizationID to the list dependencies params
func (*ListDependenciesParams) WithLocationProjectID ¶
func (o *ListDependenciesParams) WithLocationProjectID(locationProjectID string) *ListDependenciesParams
WithLocationProjectID adds the locationProjectID to the list dependencies params
func (*ListDependenciesParams) WithLocationRegionProvider ¶
func (o *ListDependenciesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListDependenciesParams
WithLocationRegionProvider adds the locationRegionProvider to the list dependencies params
func (*ListDependenciesParams) WithLocationRegionRegion ¶
func (o *ListDependenciesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListDependenciesParams
WithLocationRegionRegion adds the locationRegionRegion to the list dependencies params
func (*ListDependenciesParams) WithPaginationNextPageToken ¶
func (o *ListDependenciesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListDependenciesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list dependencies params
func (*ListDependenciesParams) WithPaginationPageSize ¶
func (o *ListDependenciesParams) WithPaginationPageSize(paginationPageSize *int64) *ListDependenciesParams
WithPaginationPageSize adds the paginationPageSize to the list dependencies params
func (*ListDependenciesParams) WithPaginationPreviousPageToken ¶
func (o *ListDependenciesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListDependenciesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list dependencies params
func (*ListDependenciesParams) WithTimeout ¶
func (o *ListDependenciesParams) WithTimeout(timeout time.Duration) *ListDependenciesParams
WithTimeout adds the timeout to the list dependencies params
func (*ListDependenciesParams) WriteToRequest ¶
func (o *ListDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDependenciesReader ¶
type ListDependenciesReader struct {
// contains filtered or unexported fields
}
ListDependenciesReader is a Reader for the ListDependencies structure.
func (*ListDependenciesReader) ReadResponse ¶
func (o *ListDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListHVNRoutesDefault ¶
type ListHVNRoutesDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListHVNRoutesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListHVNRoutesDefault ¶
func NewListHVNRoutesDefault(code int) *ListHVNRoutesDefault
NewListHVNRoutesDefault creates a ListHVNRoutesDefault with default headers values
func (*ListHVNRoutesDefault) Code ¶
func (o *ListHVNRoutesDefault) Code() int
Code gets the status code for the list h v n routes default response
func (*ListHVNRoutesDefault) Error ¶
func (o *ListHVNRoutesDefault) Error() string
func (*ListHVNRoutesDefault) GetPayload ¶
func (o *ListHVNRoutesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListHVNRoutesDefault) IsClientError ¶
func (o *ListHVNRoutesDefault) IsClientError() bool
IsClientError returns true when this list h v n routes default response has a 4xx status code
func (*ListHVNRoutesDefault) IsCode ¶
func (o *ListHVNRoutesDefault) IsCode(code int) bool
IsCode returns true when this list h v n routes default response a status code equal to that given
func (*ListHVNRoutesDefault) IsRedirect ¶
func (o *ListHVNRoutesDefault) IsRedirect() bool
IsRedirect returns true when this list h v n routes default response has a 3xx status code
func (*ListHVNRoutesDefault) IsServerError ¶
func (o *ListHVNRoutesDefault) IsServerError() bool
IsServerError returns true when this list h v n routes default response has a 5xx status code
func (*ListHVNRoutesDefault) IsSuccess ¶
func (o *ListHVNRoutesDefault) IsSuccess() bool
IsSuccess returns true when this list h v n routes default response has a 2xx status code
func (*ListHVNRoutesDefault) String ¶
func (o *ListHVNRoutesDefault) String() string
type ListHVNRoutesOK ¶
type ListHVNRoutesOK struct {
Payload *models.HashicorpCloudNetwork20200907ListHVNRoutesResponse
}
ListHVNRoutesOK describes a response with status code 200, with default header values.
A successful response.
func NewListHVNRoutesOK ¶
func NewListHVNRoutesOK() *ListHVNRoutesOK
NewListHVNRoutesOK creates a ListHVNRoutesOK with default headers values
func (*ListHVNRoutesOK) Code ¶ added in v0.76.0
func (o *ListHVNRoutesOK) Code() int
Code gets the status code for the list h v n routes o k response
func (*ListHVNRoutesOK) Error ¶
func (o *ListHVNRoutesOK) Error() string
func (*ListHVNRoutesOK) GetPayload ¶
func (o *ListHVNRoutesOK) GetPayload() *models.HashicorpCloudNetwork20200907ListHVNRoutesResponse
func (*ListHVNRoutesOK) IsClientError ¶
func (o *ListHVNRoutesOK) IsClientError() bool
IsClientError returns true when this list h v n routes o k response has a 4xx status code
func (*ListHVNRoutesOK) IsCode ¶
func (o *ListHVNRoutesOK) IsCode(code int) bool
IsCode returns true when this list h v n routes o k response a status code equal to that given
func (*ListHVNRoutesOK) IsRedirect ¶
func (o *ListHVNRoutesOK) IsRedirect() bool
IsRedirect returns true when this list h v n routes o k response has a 3xx status code
func (*ListHVNRoutesOK) IsServerError ¶
func (o *ListHVNRoutesOK) IsServerError() bool
IsServerError returns true when this list h v n routes o k response has a 5xx status code
func (*ListHVNRoutesOK) IsSuccess ¶
func (o *ListHVNRoutesOK) IsSuccess() bool
IsSuccess returns true when this list h v n routes o k response has a 2xx status code
func (*ListHVNRoutesOK) String ¶
func (o *ListHVNRoutesOK) String() string
type ListHVNRoutesParams ¶
type ListHVNRoutesParams struct { /* Destination. destination is an optional parameter that allows returning only routes that has a specific destination. */ Destination *string /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* TargetID. target_id is an optional parameter that allows returning only routes that has a specific target Id. */ TargetID *string /* TargetType. target_type is an optional parameter that allows returning only routes that has a specific target Type. */ TargetType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListHVNRoutesParams contains all the parameters to send to the API endpoint
for the list h v n routes operation. Typically these are written to a http.Request.
func NewListHVNRoutesParams ¶
func NewListHVNRoutesParams() *ListHVNRoutesParams
NewListHVNRoutesParams creates a new ListHVNRoutesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListHVNRoutesParamsWithContext ¶
func NewListHVNRoutesParamsWithContext(ctx context.Context) *ListHVNRoutesParams
NewListHVNRoutesParamsWithContext creates a new ListHVNRoutesParams object with the ability to set a context for a request.
func NewListHVNRoutesParamsWithHTTPClient ¶
func NewListHVNRoutesParamsWithHTTPClient(client *http.Client) *ListHVNRoutesParams
NewListHVNRoutesParamsWithHTTPClient creates a new ListHVNRoutesParams object with the ability to set a custom HTTPClient for a request.
func NewListHVNRoutesParamsWithTimeout ¶
func NewListHVNRoutesParamsWithTimeout(timeout time.Duration) *ListHVNRoutesParams
NewListHVNRoutesParamsWithTimeout creates a new ListHVNRoutesParams object with the ability to set a timeout on a request.
func (*ListHVNRoutesParams) SetContext ¶
func (o *ListHVNRoutesParams) SetContext(ctx context.Context)
SetContext adds the context to the list h v n routes params
func (*ListHVNRoutesParams) SetDefaults ¶
func (o *ListHVNRoutesParams) SetDefaults()
SetDefaults hydrates default values in the list h v n routes params (not the query body).
All values with no default are reset to their zero value.
func (*ListHVNRoutesParams) SetDestination ¶
func (o *ListHVNRoutesParams) SetDestination(destination *string)
SetDestination adds the destination to the list h v n routes params
func (*ListHVNRoutesParams) SetHTTPClient ¶
func (o *ListHVNRoutesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnDescription ¶
func (o *ListHVNRoutesParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnID ¶
func (o *ListHVNRoutesParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnLocationOrganizationID ¶
func (o *ListHVNRoutesParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnLocationProjectID ¶
func (o *ListHVNRoutesParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnLocationRegionProvider ¶
func (o *ListHVNRoutesParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnLocationRegionRegion ¶
func (o *ListHVNRoutesParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnType ¶
func (o *ListHVNRoutesParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the list h v n routes params
func (*ListHVNRoutesParams) SetHvnUUID ¶
func (o *ListHVNRoutesParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the list h v n routes params
func (*ListHVNRoutesParams) SetPaginationNextPageToken ¶
func (o *ListHVNRoutesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list h v n routes params
func (*ListHVNRoutesParams) SetPaginationPageSize ¶
func (o *ListHVNRoutesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list h v n routes params
func (*ListHVNRoutesParams) SetPaginationPreviousPageToken ¶
func (o *ListHVNRoutesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list h v n routes params
func (*ListHVNRoutesParams) SetTargetID ¶
func (o *ListHVNRoutesParams) SetTargetID(targetID *string)
SetTargetID adds the targetId to the list h v n routes params
func (*ListHVNRoutesParams) SetTargetType ¶
func (o *ListHVNRoutesParams) SetTargetType(targetType *string)
SetTargetType adds the targetType to the list h v n routes params
func (*ListHVNRoutesParams) SetTimeout ¶
func (o *ListHVNRoutesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list h v n routes params
func (*ListHVNRoutesParams) WithContext ¶
func (o *ListHVNRoutesParams) WithContext(ctx context.Context) *ListHVNRoutesParams
WithContext adds the context to the list h v n routes params
func (*ListHVNRoutesParams) WithDefaults ¶
func (o *ListHVNRoutesParams) WithDefaults() *ListHVNRoutesParams
WithDefaults hydrates default values in the list h v n routes params (not the query body).
All values with no default are reset to their zero value.
func (*ListHVNRoutesParams) WithDestination ¶
func (o *ListHVNRoutesParams) WithDestination(destination *string) *ListHVNRoutesParams
WithDestination adds the destination to the list h v n routes params
func (*ListHVNRoutesParams) WithHTTPClient ¶
func (o *ListHVNRoutesParams) WithHTTPClient(client *http.Client) *ListHVNRoutesParams
WithHTTPClient adds the HTTPClient to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnDescription ¶
func (o *ListHVNRoutesParams) WithHvnDescription(hvnDescription *string) *ListHVNRoutesParams
WithHvnDescription adds the hvnDescription to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnID ¶
func (o *ListHVNRoutesParams) WithHvnID(hvnID string) *ListHVNRoutesParams
WithHvnID adds the hvnID to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnLocationOrganizationID ¶
func (o *ListHVNRoutesParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *ListHVNRoutesParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnLocationProjectID ¶
func (o *ListHVNRoutesParams) WithHvnLocationProjectID(hvnLocationProjectID string) *ListHVNRoutesParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnLocationRegionProvider ¶
func (o *ListHVNRoutesParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *ListHVNRoutesParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnLocationRegionRegion ¶
func (o *ListHVNRoutesParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *ListHVNRoutesParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnType ¶
func (o *ListHVNRoutesParams) WithHvnType(hvnType *string) *ListHVNRoutesParams
WithHvnType adds the hvnType to the list h v n routes params
func (*ListHVNRoutesParams) WithHvnUUID ¶
func (o *ListHVNRoutesParams) WithHvnUUID(hvnUUID *string) *ListHVNRoutesParams
WithHvnUUID adds the hvnUUID to the list h v n routes params
func (*ListHVNRoutesParams) WithPaginationNextPageToken ¶
func (o *ListHVNRoutesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListHVNRoutesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list h v n routes params
func (*ListHVNRoutesParams) WithPaginationPageSize ¶
func (o *ListHVNRoutesParams) WithPaginationPageSize(paginationPageSize *int64) *ListHVNRoutesParams
WithPaginationPageSize adds the paginationPageSize to the list h v n routes params
func (*ListHVNRoutesParams) WithPaginationPreviousPageToken ¶
func (o *ListHVNRoutesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListHVNRoutesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list h v n routes params
func (*ListHVNRoutesParams) WithTargetID ¶
func (o *ListHVNRoutesParams) WithTargetID(targetID *string) *ListHVNRoutesParams
WithTargetID adds the targetID to the list h v n routes params
func (*ListHVNRoutesParams) WithTargetType ¶
func (o *ListHVNRoutesParams) WithTargetType(targetType *string) *ListHVNRoutesParams
WithTargetType adds the targetType to the list h v n routes params
func (*ListHVNRoutesParams) WithTimeout ¶
func (o *ListHVNRoutesParams) WithTimeout(timeout time.Duration) *ListHVNRoutesParams
WithTimeout adds the timeout to the list h v n routes params
func (*ListHVNRoutesParams) WriteToRequest ¶
func (o *ListHVNRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListHVNRoutesReader ¶
type ListHVNRoutesReader struct {
// contains filtered or unexported fields
}
ListHVNRoutesReader is a Reader for the ListHVNRoutes structure.
func (*ListHVNRoutesReader) ReadResponse ¶
func (o *ListHVNRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOK ¶
type ListOK struct {
Payload *models.HashicorpCloudNetwork20200907ListResponse
}
ListOK describes a response with status code 200, with default header values.
A successful response.
func (*ListOK) GetPayload ¶
func (o *ListOK) GetPayload() *models.HashicorpCloudNetwork20200907ListResponse
func (*ListOK) IsClientError ¶
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶
IsServerError returns true when this list o k response has a 5xx status code
type ListParams ¶
type ListParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListParams contains all the parameters to send to the API endpoint
for the list operation. Typically these are written to a http.Request.
func NewListParams ¶
func NewListParams() *ListParams
NewListParams creates a new ListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with the ability to set a context for a request.
func NewListParamsWithHTTPClient ¶
func NewListParamsWithHTTPClient(client *http.Client) *ListParams
NewListParamsWithHTTPClient creates a new ListParams object with the ability to set a custom HTTPClient for a request.
func NewListParamsWithTimeout ¶
func NewListParamsWithTimeout(timeout time.Duration) *ListParams
NewListParamsWithTimeout creates a new ListParams object with the ability to set a timeout on a request.
func (*ListParams) SetContext ¶
func (o *ListParams) SetContext(ctx context.Context)
SetContext adds the context to the list params
func (*ListParams) SetDefaults ¶
func (o *ListParams) SetDefaults()
SetDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) SetHTTPClient ¶
func (o *ListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list params
func (*ListParams) SetLocationOrganizationID ¶
func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list params
func (*ListParams) SetLocationProjectID ¶
func (o *ListParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list params
func (*ListParams) SetLocationRegionProvider ¶
func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list params
func (*ListParams) SetLocationRegionRegion ¶
func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list params
func (*ListParams) SetPaginationNextPageToken ¶
func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list params
func (*ListParams) SetPaginationPageSize ¶
func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list params
func (*ListParams) SetPaginationPreviousPageToken ¶
func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params
func (*ListParams) SetTimeout ¶
func (o *ListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list params
func (*ListParams) WithContext ¶
func (o *ListParams) WithContext(ctx context.Context) *ListParams
WithContext adds the context to the list params
func (*ListParams) WithDefaults ¶
func (o *ListParams) WithDefaults() *ListParams
WithDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) WithHTTPClient ¶
func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
WithHTTPClient adds the HTTPClient to the list params
func (*ListParams) WithLocationOrganizationID ¶
func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams
WithLocationOrganizationID adds the locationOrganizationID to the list params
func (*ListParams) WithLocationProjectID ¶
func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams
WithLocationProjectID adds the locationProjectID to the list params
func (*ListParams) WithLocationRegionProvider ¶
func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams
WithLocationRegionProvider adds the locationRegionProvider to the list params
func (*ListParams) WithLocationRegionRegion ¶
func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams
WithLocationRegionRegion adds the locationRegionRegion to the list params
func (*ListParams) WithPaginationNextPageToken ¶
func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list params
func (*ListParams) WithPaginationPageSize ¶
func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams
WithPaginationPageSize adds the paginationPageSize to the list params
func (*ListParams) WithPaginationPreviousPageToken ¶
func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params
func (*ListParams) WithTimeout ¶
func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
WithTimeout adds the timeout to the list params
func (*ListParams) WriteToRequest ¶
func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPeeringsDefault ¶
type ListPeeringsDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListPeeringsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPeeringsDefault ¶
func NewListPeeringsDefault(code int) *ListPeeringsDefault
NewListPeeringsDefault creates a ListPeeringsDefault with default headers values
func (*ListPeeringsDefault) Code ¶
func (o *ListPeeringsDefault) Code() int
Code gets the status code for the list peerings default response
func (*ListPeeringsDefault) Error ¶
func (o *ListPeeringsDefault) Error() string
func (*ListPeeringsDefault) GetPayload ¶
func (o *ListPeeringsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListPeeringsDefault) IsClientError ¶
func (o *ListPeeringsDefault) IsClientError() bool
IsClientError returns true when this list peerings default response has a 4xx status code
func (*ListPeeringsDefault) IsCode ¶
func (o *ListPeeringsDefault) IsCode(code int) bool
IsCode returns true when this list peerings default response a status code equal to that given
func (*ListPeeringsDefault) IsRedirect ¶
func (o *ListPeeringsDefault) IsRedirect() bool
IsRedirect returns true when this list peerings default response has a 3xx status code
func (*ListPeeringsDefault) IsServerError ¶
func (o *ListPeeringsDefault) IsServerError() bool
IsServerError returns true when this list peerings default response has a 5xx status code
func (*ListPeeringsDefault) IsSuccess ¶
func (o *ListPeeringsDefault) IsSuccess() bool
IsSuccess returns true when this list peerings default response has a 2xx status code
func (*ListPeeringsDefault) String ¶
func (o *ListPeeringsDefault) String() string
type ListPeeringsOK ¶
type ListPeeringsOK struct {
Payload *models.HashicorpCloudNetwork20200907ListPeeringsResponse
}
ListPeeringsOK describes a response with status code 200, with default header values.
A successful response.
func NewListPeeringsOK ¶
func NewListPeeringsOK() *ListPeeringsOK
NewListPeeringsOK creates a ListPeeringsOK with default headers values
func (*ListPeeringsOK) Code ¶ added in v0.76.0
func (o *ListPeeringsOK) Code() int
Code gets the status code for the list peerings o k response
func (*ListPeeringsOK) Error ¶
func (o *ListPeeringsOK) Error() string
func (*ListPeeringsOK) GetPayload ¶
func (o *ListPeeringsOK) GetPayload() *models.HashicorpCloudNetwork20200907ListPeeringsResponse
func (*ListPeeringsOK) IsClientError ¶
func (o *ListPeeringsOK) IsClientError() bool
IsClientError returns true when this list peerings o k response has a 4xx status code
func (*ListPeeringsOK) IsCode ¶
func (o *ListPeeringsOK) IsCode(code int) bool
IsCode returns true when this list peerings o k response a status code equal to that given
func (*ListPeeringsOK) IsRedirect ¶
func (o *ListPeeringsOK) IsRedirect() bool
IsRedirect returns true when this list peerings o k response has a 3xx status code
func (*ListPeeringsOK) IsServerError ¶
func (o *ListPeeringsOK) IsServerError() bool
IsServerError returns true when this list peerings o k response has a 5xx status code
func (*ListPeeringsOK) IsSuccess ¶
func (o *ListPeeringsOK) IsSuccess() bool
IsSuccess returns true when this list peerings o k response has a 2xx status code
func (*ListPeeringsOK) String ¶
func (o *ListPeeringsOK) String() string
type ListPeeringsParams ¶
type ListPeeringsParams struct { /* HvnID. HvnId is an id of the HVN we are listing peerings for. */ HvnID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPeeringsParams contains all the parameters to send to the API endpoint
for the list peerings operation. Typically these are written to a http.Request.
func NewListPeeringsParams ¶
func NewListPeeringsParams() *ListPeeringsParams
NewListPeeringsParams creates a new ListPeeringsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListPeeringsParamsWithContext ¶
func NewListPeeringsParamsWithContext(ctx context.Context) *ListPeeringsParams
NewListPeeringsParamsWithContext creates a new ListPeeringsParams object with the ability to set a context for a request.
func NewListPeeringsParamsWithHTTPClient ¶
func NewListPeeringsParamsWithHTTPClient(client *http.Client) *ListPeeringsParams
NewListPeeringsParamsWithHTTPClient creates a new ListPeeringsParams object with the ability to set a custom HTTPClient for a request.
func NewListPeeringsParamsWithTimeout ¶
func NewListPeeringsParamsWithTimeout(timeout time.Duration) *ListPeeringsParams
NewListPeeringsParamsWithTimeout creates a new ListPeeringsParams object with the ability to set a timeout on a request.
func (*ListPeeringsParams) SetContext ¶
func (o *ListPeeringsParams) SetContext(ctx context.Context)
SetContext adds the context to the list peerings params
func (*ListPeeringsParams) SetDefaults ¶
func (o *ListPeeringsParams) SetDefaults()
SetDefaults hydrates default values in the list peerings params (not the query body).
All values with no default are reset to their zero value.
func (*ListPeeringsParams) SetHTTPClient ¶
func (o *ListPeeringsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list peerings params
func (*ListPeeringsParams) SetHvnID ¶
func (o *ListPeeringsParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the list peerings params
func (*ListPeeringsParams) SetLocationOrganizationID ¶
func (o *ListPeeringsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list peerings params
func (*ListPeeringsParams) SetLocationProjectID ¶
func (o *ListPeeringsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list peerings params
func (*ListPeeringsParams) SetLocationRegionProvider ¶
func (o *ListPeeringsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list peerings params
func (*ListPeeringsParams) SetLocationRegionRegion ¶
func (o *ListPeeringsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list peerings params
func (*ListPeeringsParams) SetPaginationNextPageToken ¶
func (o *ListPeeringsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list peerings params
func (*ListPeeringsParams) SetPaginationPageSize ¶
func (o *ListPeeringsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list peerings params
func (*ListPeeringsParams) SetPaginationPreviousPageToken ¶
func (o *ListPeeringsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list peerings params
func (*ListPeeringsParams) SetTimeout ¶
func (o *ListPeeringsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list peerings params
func (*ListPeeringsParams) WithContext ¶
func (o *ListPeeringsParams) WithContext(ctx context.Context) *ListPeeringsParams
WithContext adds the context to the list peerings params
func (*ListPeeringsParams) WithDefaults ¶
func (o *ListPeeringsParams) WithDefaults() *ListPeeringsParams
WithDefaults hydrates default values in the list peerings params (not the query body).
All values with no default are reset to their zero value.
func (*ListPeeringsParams) WithHTTPClient ¶
func (o *ListPeeringsParams) WithHTTPClient(client *http.Client) *ListPeeringsParams
WithHTTPClient adds the HTTPClient to the list peerings params
func (*ListPeeringsParams) WithHvnID ¶
func (o *ListPeeringsParams) WithHvnID(hvnID string) *ListPeeringsParams
WithHvnID adds the hvnID to the list peerings params
func (*ListPeeringsParams) WithLocationOrganizationID ¶
func (o *ListPeeringsParams) WithLocationOrganizationID(locationOrganizationID string) *ListPeeringsParams
WithLocationOrganizationID adds the locationOrganizationID to the list peerings params
func (*ListPeeringsParams) WithLocationProjectID ¶
func (o *ListPeeringsParams) WithLocationProjectID(locationProjectID string) *ListPeeringsParams
WithLocationProjectID adds the locationProjectID to the list peerings params
func (*ListPeeringsParams) WithLocationRegionProvider ¶
func (o *ListPeeringsParams) WithLocationRegionProvider(locationRegionProvider *string) *ListPeeringsParams
WithLocationRegionProvider adds the locationRegionProvider to the list peerings params
func (*ListPeeringsParams) WithLocationRegionRegion ¶
func (o *ListPeeringsParams) WithLocationRegionRegion(locationRegionRegion *string) *ListPeeringsParams
WithLocationRegionRegion adds the locationRegionRegion to the list peerings params
func (*ListPeeringsParams) WithPaginationNextPageToken ¶
func (o *ListPeeringsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListPeeringsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list peerings params
func (*ListPeeringsParams) WithPaginationPageSize ¶
func (o *ListPeeringsParams) WithPaginationPageSize(paginationPageSize *int64) *ListPeeringsParams
WithPaginationPageSize adds the paginationPageSize to the list peerings params
func (*ListPeeringsParams) WithPaginationPreviousPageToken ¶
func (o *ListPeeringsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListPeeringsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list peerings params
func (*ListPeeringsParams) WithTimeout ¶
func (o *ListPeeringsParams) WithTimeout(timeout time.Duration) *ListPeeringsParams
WithTimeout adds the timeout to the list peerings params
func (*ListPeeringsParams) WriteToRequest ¶
func (o *ListPeeringsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPeeringsReader ¶
type ListPeeringsReader struct {
// contains filtered or unexported fields
}
ListPeeringsReader is a Reader for the ListPeerings structure.
func (*ListPeeringsReader) ReadResponse ¶
func (o *ListPeeringsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListReader ¶
type ListReader struct {
// contains filtered or unexported fields
}
ListReader is a Reader for the List structure.
func (*ListReader) ReadResponse ¶
func (o *ListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTGWAttachmentsDefault ¶
type ListTGWAttachmentsDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListTGWAttachmentsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListTGWAttachmentsDefault ¶
func NewListTGWAttachmentsDefault(code int) *ListTGWAttachmentsDefault
NewListTGWAttachmentsDefault creates a ListTGWAttachmentsDefault with default headers values
func (*ListTGWAttachmentsDefault) Code ¶
func (o *ListTGWAttachmentsDefault) Code() int
Code gets the status code for the list t g w attachments default response
func (*ListTGWAttachmentsDefault) Error ¶
func (o *ListTGWAttachmentsDefault) Error() string
func (*ListTGWAttachmentsDefault) GetPayload ¶
func (o *ListTGWAttachmentsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListTGWAttachmentsDefault) IsClientError ¶
func (o *ListTGWAttachmentsDefault) IsClientError() bool
IsClientError returns true when this list t g w attachments default response has a 4xx status code
func (*ListTGWAttachmentsDefault) IsCode ¶
func (o *ListTGWAttachmentsDefault) IsCode(code int) bool
IsCode returns true when this list t g w attachments default response a status code equal to that given
func (*ListTGWAttachmentsDefault) IsRedirect ¶
func (o *ListTGWAttachmentsDefault) IsRedirect() bool
IsRedirect returns true when this list t g w attachments default response has a 3xx status code
func (*ListTGWAttachmentsDefault) IsServerError ¶
func (o *ListTGWAttachmentsDefault) IsServerError() bool
IsServerError returns true when this list t g w attachments default response has a 5xx status code
func (*ListTGWAttachmentsDefault) IsSuccess ¶
func (o *ListTGWAttachmentsDefault) IsSuccess() bool
IsSuccess returns true when this list t g w attachments default response has a 2xx status code
func (*ListTGWAttachmentsDefault) String ¶
func (o *ListTGWAttachmentsDefault) String() string
type ListTGWAttachmentsOK ¶
type ListTGWAttachmentsOK struct {
Payload *models.HashicorpCloudNetwork20200907ListTGWAttachmentsResponse
}
ListTGWAttachmentsOK describes a response with status code 200, with default header values.
A successful response.
func NewListTGWAttachmentsOK ¶
func NewListTGWAttachmentsOK() *ListTGWAttachmentsOK
NewListTGWAttachmentsOK creates a ListTGWAttachmentsOK with default headers values
func (*ListTGWAttachmentsOK) Code ¶ added in v0.76.0
func (o *ListTGWAttachmentsOK) Code() int
Code gets the status code for the list t g w attachments o k response
func (*ListTGWAttachmentsOK) Error ¶
func (o *ListTGWAttachmentsOK) Error() string
func (*ListTGWAttachmentsOK) GetPayload ¶
func (o *ListTGWAttachmentsOK) GetPayload() *models.HashicorpCloudNetwork20200907ListTGWAttachmentsResponse
func (*ListTGWAttachmentsOK) IsClientError ¶
func (o *ListTGWAttachmentsOK) IsClientError() bool
IsClientError returns true when this list t g w attachments o k response has a 4xx status code
func (*ListTGWAttachmentsOK) IsCode ¶
func (o *ListTGWAttachmentsOK) IsCode(code int) bool
IsCode returns true when this list t g w attachments o k response a status code equal to that given
func (*ListTGWAttachmentsOK) IsRedirect ¶
func (o *ListTGWAttachmentsOK) IsRedirect() bool
IsRedirect returns true when this list t g w attachments o k response has a 3xx status code
func (*ListTGWAttachmentsOK) IsServerError ¶
func (o *ListTGWAttachmentsOK) IsServerError() bool
IsServerError returns true when this list t g w attachments o k response has a 5xx status code
func (*ListTGWAttachmentsOK) IsSuccess ¶
func (o *ListTGWAttachmentsOK) IsSuccess() bool
IsSuccess returns true when this list t g w attachments o k response has a 2xx status code
func (*ListTGWAttachmentsOK) String ¶
func (o *ListTGWAttachmentsOK) String() string
type ListTGWAttachmentsParams ¶
type ListTGWAttachmentsParams struct { /* HvnDescription. description is a human-friendly description for this link. This is used primarily for informational purposes such as error messages. */ HvnDescription *string /* HvnID. id is the identifier for this resource. */ HvnID string /* HvnLocationOrganizationID. organization_id is the id of the organization. */ HvnLocationOrganizationID string /* HvnLocationProjectID. project_id is the projects id. */ HvnLocationProjectID string /* HvnLocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ HvnLocationRegionProvider *string /* HvnLocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ HvnLocationRegionRegion *string /* HvnType. type is the unique type of the resource. Each service publishes a unique set of types. The type value is recommended to be formatted in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts in the future, but any string value will work. */ HvnType *string /* HvnUUID. uuid is the unique UUID for this resource. */ HvnUUID *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* States. States is an optional parameter to list only TGW Attachments in a certain states if not specified all TGW Attachments will be returned. */ States []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTGWAttachmentsParams contains all the parameters to send to the API endpoint
for the list t g w attachments operation. Typically these are written to a http.Request.
func NewListTGWAttachmentsParams ¶
func NewListTGWAttachmentsParams() *ListTGWAttachmentsParams
NewListTGWAttachmentsParams creates a new ListTGWAttachmentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListTGWAttachmentsParamsWithContext ¶
func NewListTGWAttachmentsParamsWithContext(ctx context.Context) *ListTGWAttachmentsParams
NewListTGWAttachmentsParamsWithContext creates a new ListTGWAttachmentsParams object with the ability to set a context for a request.
func NewListTGWAttachmentsParamsWithHTTPClient ¶
func NewListTGWAttachmentsParamsWithHTTPClient(client *http.Client) *ListTGWAttachmentsParams
NewListTGWAttachmentsParamsWithHTTPClient creates a new ListTGWAttachmentsParams object with the ability to set a custom HTTPClient for a request.
func NewListTGWAttachmentsParamsWithTimeout ¶
func NewListTGWAttachmentsParamsWithTimeout(timeout time.Duration) *ListTGWAttachmentsParams
NewListTGWAttachmentsParamsWithTimeout creates a new ListTGWAttachmentsParams object with the ability to set a timeout on a request.
func (*ListTGWAttachmentsParams) SetContext ¶
func (o *ListTGWAttachmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetDefaults ¶
func (o *ListTGWAttachmentsParams) SetDefaults()
SetDefaults hydrates default values in the list t g w attachments params (not the query body).
All values with no default are reset to their zero value.
func (*ListTGWAttachmentsParams) SetHTTPClient ¶
func (o *ListTGWAttachmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnDescription ¶
func (o *ListTGWAttachmentsParams) SetHvnDescription(hvnDescription *string)
SetHvnDescription adds the hvnDescription to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnID ¶
func (o *ListTGWAttachmentsParams) SetHvnID(hvnID string)
SetHvnID adds the hvnId to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnLocationOrganizationID ¶
func (o *ListTGWAttachmentsParams) SetHvnLocationOrganizationID(hvnLocationOrganizationID string)
SetHvnLocationOrganizationID adds the hvnLocationOrganizationId to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnLocationProjectID ¶
func (o *ListTGWAttachmentsParams) SetHvnLocationProjectID(hvnLocationProjectID string)
SetHvnLocationProjectID adds the hvnLocationProjectId to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnLocationRegionProvider ¶
func (o *ListTGWAttachmentsParams) SetHvnLocationRegionProvider(hvnLocationRegionProvider *string)
SetHvnLocationRegionProvider adds the hvnLocationRegionProvider to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnLocationRegionRegion ¶
func (o *ListTGWAttachmentsParams) SetHvnLocationRegionRegion(hvnLocationRegionRegion *string)
SetHvnLocationRegionRegion adds the hvnLocationRegionRegion to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnType ¶
func (o *ListTGWAttachmentsParams) SetHvnType(hvnType *string)
SetHvnType adds the hvnType to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetHvnUUID ¶
func (o *ListTGWAttachmentsParams) SetHvnUUID(hvnUUID *string)
SetHvnUUID adds the hvnUuid to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetPaginationNextPageToken ¶
func (o *ListTGWAttachmentsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetPaginationPageSize ¶
func (o *ListTGWAttachmentsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetPaginationPreviousPageToken ¶
func (o *ListTGWAttachmentsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetStates ¶
func (o *ListTGWAttachmentsParams) SetStates(states []string)
SetStates adds the states to the list t g w attachments params
func (*ListTGWAttachmentsParams) SetTimeout ¶
func (o *ListTGWAttachmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithContext ¶
func (o *ListTGWAttachmentsParams) WithContext(ctx context.Context) *ListTGWAttachmentsParams
WithContext adds the context to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithDefaults ¶
func (o *ListTGWAttachmentsParams) WithDefaults() *ListTGWAttachmentsParams
WithDefaults hydrates default values in the list t g w attachments params (not the query body).
All values with no default are reset to their zero value.
func (*ListTGWAttachmentsParams) WithHTTPClient ¶
func (o *ListTGWAttachmentsParams) WithHTTPClient(client *http.Client) *ListTGWAttachmentsParams
WithHTTPClient adds the HTTPClient to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnDescription ¶
func (o *ListTGWAttachmentsParams) WithHvnDescription(hvnDescription *string) *ListTGWAttachmentsParams
WithHvnDescription adds the hvnDescription to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnID ¶
func (o *ListTGWAttachmentsParams) WithHvnID(hvnID string) *ListTGWAttachmentsParams
WithHvnID adds the hvnID to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnLocationOrganizationID ¶
func (o *ListTGWAttachmentsParams) WithHvnLocationOrganizationID(hvnLocationOrganizationID string) *ListTGWAttachmentsParams
WithHvnLocationOrganizationID adds the hvnLocationOrganizationID to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnLocationProjectID ¶
func (o *ListTGWAttachmentsParams) WithHvnLocationProjectID(hvnLocationProjectID string) *ListTGWAttachmentsParams
WithHvnLocationProjectID adds the hvnLocationProjectID to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnLocationRegionProvider ¶
func (o *ListTGWAttachmentsParams) WithHvnLocationRegionProvider(hvnLocationRegionProvider *string) *ListTGWAttachmentsParams
WithHvnLocationRegionProvider adds the hvnLocationRegionProvider to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnLocationRegionRegion ¶
func (o *ListTGWAttachmentsParams) WithHvnLocationRegionRegion(hvnLocationRegionRegion *string) *ListTGWAttachmentsParams
WithHvnLocationRegionRegion adds the hvnLocationRegionRegion to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnType ¶
func (o *ListTGWAttachmentsParams) WithHvnType(hvnType *string) *ListTGWAttachmentsParams
WithHvnType adds the hvnType to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithHvnUUID ¶
func (o *ListTGWAttachmentsParams) WithHvnUUID(hvnUUID *string) *ListTGWAttachmentsParams
WithHvnUUID adds the hvnUUID to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithPaginationNextPageToken ¶
func (o *ListTGWAttachmentsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListTGWAttachmentsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithPaginationPageSize ¶
func (o *ListTGWAttachmentsParams) WithPaginationPageSize(paginationPageSize *int64) *ListTGWAttachmentsParams
WithPaginationPageSize adds the paginationPageSize to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithPaginationPreviousPageToken ¶
func (o *ListTGWAttachmentsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListTGWAttachmentsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithStates ¶
func (o *ListTGWAttachmentsParams) WithStates(states []string) *ListTGWAttachmentsParams
WithStates adds the states to the list t g w attachments params
func (*ListTGWAttachmentsParams) WithTimeout ¶
func (o *ListTGWAttachmentsParams) WithTimeout(timeout time.Duration) *ListTGWAttachmentsParams
WithTimeout adds the timeout to the list t g w attachments params
func (*ListTGWAttachmentsParams) WriteToRequest ¶
func (o *ListTGWAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTGWAttachmentsReader ¶
type ListTGWAttachmentsReader struct {
// contains filtered or unexported fields
}
ListTGWAttachmentsReader is a Reader for the ListTGWAttachments structure.
func (*ListTGWAttachmentsReader) ReadResponse ¶
func (o *ListTGWAttachmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- associate_h_v_n_with_a_w_s_route53_private_hosted_zone_parameters.go
- associate_h_v_n_with_a_w_s_route53_private_hosted_zone_responses.go
- create_h_v_n_route_parameters.go
- create_h_v_n_route_responses.go
- create_parameters.go
- create_peering_parameters.go
- create_peering_responses.go
- create_responses.go
- create_t_g_w_attachment_parameters.go
- create_t_g_w_attachment_responses.go
- create_token_parameters.go
- create_token_responses.go
- delete_h_v_n_route_parameters.go
- delete_h_v_n_route_responses.go
- delete_parameters.go
- delete_peering_parameters.go
- delete_peering_responses.go
- delete_responses.go
- delete_t_g_w_attachment_parameters.go
- delete_t_g_w_attachment_responses.go
- get_h_v_n_route_parameters.go
- get_h_v_n_route_responses.go
- get_parameters.go
- get_peering_parameters.go
- get_peering_responses.go
- get_responses.go
- get_t_g_w_attachment_parameters.go
- get_t_g_w_attachment_responses.go
- list_dependencies_parameters.go
- list_dependencies_responses.go
- list_h_v_n_routes_parameters.go
- list_h_v_n_routes_responses.go
- list_parameters.go
- list_peerings_parameters.go
- list_peerings_responses.go
- list_responses.go
- list_t_g_w_attachments_parameters.go
- list_t_g_w_attachments_responses.go
- network_service_client.go