network_service

package
v0.94.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

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 (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) GetPayload

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneDefault) IsClientError

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

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

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

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

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

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

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 (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) GetPayload

func (o *AssociateHVNWithAWSRoute53PrivateHostedZoneOK) GetPayload() interface{}

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneOK) IsClientError

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

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

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

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

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

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

SetBody adds the body to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetContext

SetContext adds the context to the associate h v n with a w s route53 private hosted zone params

func (*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

SetHTTPClient adds the HTTPClient to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) SetHvnID

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

SetTimeout adds the timeout to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithBody

WithBody adds the body to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithContext

WithContext adds the context to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithHvnID

WithHvnID adds the hvnID to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationOrganizationID

WithLocationOrganizationID adds the locationOrganizationID to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WithTimeout

WithTimeout adds the timeout to the associate h v n with a w s route53 private hosted zone params

func (*AssociateHVNWithAWSRoute53PrivateHostedZoneParams) WriteToRequest

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

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 (*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) 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

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

WithBody adds the body to the create h v n route params

func (*CreateHVNRouteParams) WithContext

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) Code added in v0.76.0

func (o *CreateOK) Code() int

Code gets the status code for the create o k response

func (*CreateOK) Error

func (o *CreateOK) Error() string

func (*CreateOK) GetPayload

func (*CreateOK) IsClientError

func (o *CreateOK) IsClientError() bool

IsClientError returns true when this create o k response has a 4xx status code

func (*CreateOK) IsCode

func (o *CreateOK) IsCode(code int) bool

IsCode returns true when this create o k response a status code equal to that given

func (*CreateOK) IsRedirect

func (o *CreateOK) IsRedirect() bool

IsRedirect returns true when this create o k response has a 3xx status code

func (*CreateOK) IsServerError

func (o *CreateOK) IsServerError() bool

IsServerError returns true when this create o k response has a 5xx status code

func (*CreateOK) IsSuccess

func (o *CreateOK) IsSuccess() bool

IsSuccess returns true when this create o k response has a 2xx status code

func (*CreateOK) String

func (o *CreateOK) String() string

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

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

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 (*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) 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

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

WithBody adds the body to the create peering params

func (*CreatePeeringParams) WithContext

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 (*CreateTGWAttachmentDefault) GetPayload

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) 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

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

WithBody adds the body to the create t g w attachment params

func (*CreateTGWAttachmentParams) WithContext

WithContext adds the context to the create t g w attachment params

func (*CreateTGWAttachmentParams) WithDefaults

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

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

WithTimeout adds the timeout to the create t g w attachment params

func (*CreateTGWAttachmentParams) WriteToRequest

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 (*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) 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

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

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

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 (*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) 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

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

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) Code added in v0.76.0

func (o *DeleteOK) Code() int

Code gets the status code for the delete o k response

func (*DeleteOK) Error

func (o *DeleteOK) Error() string

func (*DeleteOK) GetPayload

func (*DeleteOK) IsClientError

func (o *DeleteOK) IsClientError() bool

IsClientError returns true when this delete o k response has a 4xx status code

func (*DeleteOK) IsCode

func (o *DeleteOK) IsCode(code int) bool

IsCode returns true when this delete o k response a status code equal to that given

func (*DeleteOK) IsRedirect

func (o *DeleteOK) IsRedirect() bool

IsRedirect returns true when this delete o k response has a 3xx status code

func (*DeleteOK) IsServerError

func (o *DeleteOK) IsServerError() bool

IsServerError returns true when this delete o k response has a 5xx status code

func (*DeleteOK) IsSuccess

func (o *DeleteOK) IsSuccess() bool

IsSuccess returns true when this delete o k response has a 2xx status code

func (*DeleteOK) String

func (o *DeleteOK) String() string

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 (*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) 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

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

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 (*DeleteTGWAttachmentDefault) GetPayload

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) 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

WithContext adds the context to the delete t g w attachment params

func (*DeleteTGWAttachmentParams) WithDefaults

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

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

WithHvnType adds the hvnType to the delete t g w attachment params

func (*DeleteTGWAttachmentParams) WithHvnUUID

WithHvnUUID adds the hvnUUID to the delete t g w attachment params

func (*DeleteTGWAttachmentParams) WithID

WithID adds the id to the delete t g w attachment params

func (*DeleteTGWAttachmentParams) WithTimeout

WithTimeout adds the timeout to the delete t g w attachment params

func (*DeleteTGWAttachmentParams) WriteToRequest

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 (*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) 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

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 NewGetOK

func NewGetOK() *GetOK

NewGetOK creates a GetOK with default headers values

func (*GetOK) Code added in v0.76.0

func (o *GetOK) Code() int

Code gets the status code for the get o k response

func (*GetOK) Error

func (o *GetOK) Error() string

func (*GetOK) GetPayload

func (*GetOK) IsClientError

func (o *GetOK) IsClientError() bool

IsClientError returns true when this get o k response has a 4xx status code

func (*GetOK) IsCode

func (o *GetOK) IsCode(code int) bool

IsCode returns true when this get o k response a status code equal to that given

func (*GetOK) IsRedirect

func (o *GetOK) IsRedirect() bool

IsRedirect returns true when this get o k response has a 3xx status code

func (*GetOK) IsServerError

func (o *GetOK) IsServerError() bool

IsServerError returns true when this get o k response has a 5xx status code

func (*GetOK) IsSuccess

func (o *GetOK) IsSuccess() bool

IsSuccess returns true when this get o k response has a 2xx status code

func (*GetOK) String

func (o *GetOK) String() string

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

func NewGetParamsWithContext(ctx context.Context) *GetParams

NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.

func NewGetParamsWithHTTPClient

func NewGetParamsWithHTTPClient(client *http.Client) *GetParams

NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.

func NewGetParamsWithTimeout

func NewGetParamsWithTimeout(timeout time.Duration) *GetParams

NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.

func (*GetParams) SetContext

func (o *GetParams) SetContext(ctx context.Context)

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

func (o *GetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get params

func (*GetParams) SetID

func (o *GetParams) SetID(id string)

SetID adds the id to the get params

func (*GetParams) SetLocationOrganizationID

func (o *GetParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get params

func (*GetParams) SetLocationProjectID

func (o *GetParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get params

func (*GetParams) SetLocationRegionProvider

func (o *GetParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get params

func (*GetParams) SetLocationRegionRegion

func (o *GetParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get params

func (*GetParams) SetTimeout

func (o *GetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get params

func (*GetParams) WithContext

func (o *GetParams) WithContext(ctx context.Context) *GetParams

WithContext adds the context to the get params

func (*GetParams) WithDefaults

func (o *GetParams) WithDefaults() *GetParams

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

func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams

WithHTTPClient adds the HTTPClient to the get params

func (*GetParams) WithID

func (o *GetParams) WithID(id string) *GetParams

WithID adds the id to the get params

func (*GetParams) WithLocationOrganizationID

func (o *GetParams) WithLocationOrganizationID(locationOrganizationID string) *GetParams

WithLocationOrganizationID adds the locationOrganizationID to the get params

func (*GetParams) WithLocationProjectID

func (o *GetParams) WithLocationProjectID(locationProjectID string) *GetParams

WithLocationProjectID adds the locationProjectID to the get params

func (*GetParams) WithLocationRegionProvider

func (o *GetParams) WithLocationRegionProvider(locationRegionProvider *string) *GetParams

WithLocationRegionProvider adds the locationRegionProvider to the get params

func (*GetParams) WithLocationRegionRegion

func (o *GetParams) WithLocationRegionRegion(locationRegionRegion *string) *GetParams

WithLocationRegionRegion adds the locationRegionRegion to the get params

func (*GetParams) WithTimeout

func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams

WithTimeout adds the timeout to the get params

func (*GetParams) WriteToRequest

func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

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 (*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) 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 (*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) 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

WithContext adds the context to the get t g w attachment params

func (*GetTGWAttachmentParams) WithDefaults

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

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

WithID adds the id to the get t g w attachment params

func (*GetTGWAttachmentParams) WithTimeout

WithTimeout adds the timeout to the get t g w attachment params

func (*GetTGWAttachmentParams) WriteToRequest

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 (*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) 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

WithContext adds the context to the list dependencies params

func (*ListDependenciesParams) WithDefaults

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

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

WithTimeout adds the timeout to the list dependencies params

func (*ListDependenciesParams) WriteToRequest

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 (*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) 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

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 NewListOK

func NewListOK() *ListOK

NewListOK creates a ListOK with default headers values

func (*ListOK) Code added in v0.76.0

func (o *ListOK) Code() int

Code gets the status code for the list o k response

func (*ListOK) Error

func (o *ListOK) Error() string

func (*ListOK) GetPayload

func (*ListOK) IsClientError

func (o *ListOK) IsClientError() bool

IsClientError returns true when this list o k response has a 4xx status code

func (*ListOK) IsCode

func (o *ListOK) IsCode(code int) bool

IsCode returns true when this list o k response a status code equal to that given

func (*ListOK) IsRedirect

func (o *ListOK) IsRedirect() bool

IsRedirect returns true when this list o k response has a 3xx status code

func (*ListOK) IsServerError

func (o *ListOK) IsServerError() bool

IsServerError returns true when this list o k response has a 5xx status code

func (*ListOK) IsSuccess

func (o *ListOK) IsSuccess() bool

IsSuccess returns true when this list o k response has a 2xx status code

func (*ListOK) String

func (o *ListOK) String() string

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 (*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) 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

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 (*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) 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

WithContext adds the context to the list t g w attachments params

func (*ListTGWAttachmentsParams) WithDefaults

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

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

WithTimeout adds the timeout to the list t g w attachments params

func (*ListTGWAttachmentsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL