Documentation ¶
Index ¶
- type Client
- func (a *Client) ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceCreateOK, error)
- func (a *Client) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceGetOK, error)
- func (a *Client) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ProjectServiceCreateDefault
- func (o *ProjectServiceCreateDefault) Code() int
- func (o *ProjectServiceCreateDefault) Error() string
- func (o *ProjectServiceCreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ProjectServiceCreateDefault) IsClientError() bool
- func (o *ProjectServiceCreateDefault) IsCode(code int) bool
- func (o *ProjectServiceCreateDefault) IsRedirect() bool
- func (o *ProjectServiceCreateDefault) IsServerError() bool
- func (o *ProjectServiceCreateDefault) IsSuccess() bool
- func (o *ProjectServiceCreateDefault) String() string
- type ProjectServiceCreateOK
- func (o *ProjectServiceCreateOK) Error() string
- func (o *ProjectServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectCreateResponse
- func (o *ProjectServiceCreateOK) IsClientError() bool
- func (o *ProjectServiceCreateOK) IsCode(code int) bool
- func (o *ProjectServiceCreateOK) IsRedirect() bool
- func (o *ProjectServiceCreateOK) IsServerError() bool
- func (o *ProjectServiceCreateOK) IsSuccess() bool
- func (o *ProjectServiceCreateOK) String() string
- type ProjectServiceCreateParams
- func NewProjectServiceCreateParams() *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithContext(ctx context.Context) *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithHTTPClient(client *http.Client) *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithTimeout(timeout time.Duration) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest)
- func (o *ProjectServiceCreateParams) SetContext(ctx context.Context)
- func (o *ProjectServiceCreateParams) SetDefaults()
- func (o *ProjectServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithContext(ctx context.Context) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithDefaults() *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithHTTPClient(client *http.Client) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithTimeout(timeout time.Duration) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceCreateReader
- type ProjectServiceGetDefault
- func (o *ProjectServiceGetDefault) Code() int
- func (o *ProjectServiceGetDefault) Error() string
- func (o *ProjectServiceGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ProjectServiceGetDefault) IsClientError() bool
- func (o *ProjectServiceGetDefault) IsCode(code int) bool
- func (o *ProjectServiceGetDefault) IsRedirect() bool
- func (o *ProjectServiceGetDefault) IsServerError() bool
- func (o *ProjectServiceGetDefault) IsSuccess() bool
- func (o *ProjectServiceGetDefault) String() string
- type ProjectServiceGetOK
- func (o *ProjectServiceGetOK) Error() string
- func (o *ProjectServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetResponse
- func (o *ProjectServiceGetOK) IsClientError() bool
- func (o *ProjectServiceGetOK) IsCode(code int) bool
- func (o *ProjectServiceGetOK) IsRedirect() bool
- func (o *ProjectServiceGetOK) IsServerError() bool
- func (o *ProjectServiceGetOK) IsSuccess() bool
- func (o *ProjectServiceGetOK) String() string
- type ProjectServiceGetParams
- func NewProjectServiceGetParams() *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithContext(ctx context.Context) *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithHTTPClient(client *http.Client) *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithTimeout(timeout time.Duration) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) SetContext(ctx context.Context)
- func (o *ProjectServiceGetParams) SetDefaults()
- func (o *ProjectServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceGetParams) SetID(id string)
- func (o *ProjectServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceGetParams) WithContext(ctx context.Context) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithDefaults() *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithHTTPClient(client *http.Client) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithID(id string) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithTimeout(timeout time.Duration) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceGetReader
- type ProjectServiceListDefault
- func (o *ProjectServiceListDefault) Code() int
- func (o *ProjectServiceListDefault) Error() string
- func (o *ProjectServiceListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ProjectServiceListDefault) IsClientError() bool
- func (o *ProjectServiceListDefault) IsCode(code int) bool
- func (o *ProjectServiceListDefault) IsRedirect() bool
- func (o *ProjectServiceListDefault) IsServerError() bool
- func (o *ProjectServiceListDefault) IsSuccess() bool
- func (o *ProjectServiceListDefault) String() string
- type ProjectServiceListOK
- func (o *ProjectServiceListOK) Error() string
- func (o *ProjectServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectListResponse
- func (o *ProjectServiceListOK) IsClientError() bool
- func (o *ProjectServiceListOK) IsCode(code int) bool
- func (o *ProjectServiceListOK) IsRedirect() bool
- func (o *ProjectServiceListOK) IsServerError() bool
- func (o *ProjectServiceListOK) IsSuccess() bool
- func (o *ProjectServiceListOK) String() string
- type ProjectServiceListParams
- func NewProjectServiceListParams() *ProjectServiceListParams
- func NewProjectServiceListParamsWithContext(ctx context.Context) *ProjectServiceListParams
- func NewProjectServiceListParamsWithHTTPClient(client *http.Client) *ProjectServiceListParams
- func NewProjectServiceListParamsWithTimeout(timeout time.Duration) *ProjectServiceListParams
- func (o *ProjectServiceListParams) SetContext(ctx context.Context)
- func (o *ProjectServiceListParams) SetDefaults()
- func (o *ProjectServiceListParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ProjectServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ProjectServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ProjectServiceListParams) SetScopeID(scopeID *string)
- func (o *ProjectServiceListParams) SetScopeType(scopeType *string)
- func (o *ProjectServiceListParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceListParams) WithContext(ctx context.Context) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithDefaults() *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithHTTPClient(client *http.Client) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithScopeID(scopeID *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithScopeType(scopeType *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithTimeout(timeout time.Duration) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project service API
func (*Client) ProjectServiceCreate ¶
func (a *Client) ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error)
ProjectServiceCreate creates creates a new project
func (*Client) ProjectServiceGet ¶
func (a *Client) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error)
ProjectServiceGet gets retrieves the requested project by ID
func (*Client) ProjectServiceList ¶
func (a *Client) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, error)
ProjectServiceList lists list the projects the caller has access to
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, 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 project service API client.
type ProjectServiceCreateDefault ¶
type ProjectServiceCreateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ProjectServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceCreateDefault ¶
func NewProjectServiceCreateDefault(code int) *ProjectServiceCreateDefault
NewProjectServiceCreateDefault creates a ProjectServiceCreateDefault with default headers values
func (*ProjectServiceCreateDefault) Code ¶
func (o *ProjectServiceCreateDefault) Code() int
Code gets the status code for the project service create default response
func (*ProjectServiceCreateDefault) Error ¶
func (o *ProjectServiceCreateDefault) Error() string
func (*ProjectServiceCreateDefault) GetPayload ¶
func (o *ProjectServiceCreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ProjectServiceCreateDefault) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) IsClientError() bool
IsClientError returns true when this project service create default response has a 4xx status code
func (*ProjectServiceCreateDefault) IsCode ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) IsCode(code int) bool
IsCode returns true when this project service create default response a status code equal to that given
func (*ProjectServiceCreateDefault) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) IsRedirect() bool
IsRedirect returns true when this project service create default response has a 3xx status code
func (*ProjectServiceCreateDefault) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) IsServerError() bool
IsServerError returns true when this project service create default response has a 5xx status code
func (*ProjectServiceCreateDefault) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) IsSuccess() bool
IsSuccess returns true when this project service create default response has a 2xx status code
func (*ProjectServiceCreateDefault) String ¶ added in v0.23.0
func (o *ProjectServiceCreateDefault) String() string
type ProjectServiceCreateOK ¶
type ProjectServiceCreateOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectCreateResponse
}
ProjectServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceCreateOK ¶
func NewProjectServiceCreateOK() *ProjectServiceCreateOK
NewProjectServiceCreateOK creates a ProjectServiceCreateOK with default headers values
func (*ProjectServiceCreateOK) Error ¶
func (o *ProjectServiceCreateOK) Error() string
func (*ProjectServiceCreateOK) GetPayload ¶
func (o *ProjectServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectCreateResponse
func (*ProjectServiceCreateOK) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) IsClientError() bool
IsClientError returns true when this project service create o k response has a 4xx status code
func (*ProjectServiceCreateOK) IsCode ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) IsCode(code int) bool
IsCode returns true when this project service create o k response a status code equal to that given
func (*ProjectServiceCreateOK) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) IsRedirect() bool
IsRedirect returns true when this project service create o k response has a 3xx status code
func (*ProjectServiceCreateOK) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) IsServerError() bool
IsServerError returns true when this project service create o k response has a 5xx status code
func (*ProjectServiceCreateOK) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) IsSuccess() bool
IsSuccess returns true when this project service create o k response has a 2xx status code
func (*ProjectServiceCreateOK) String ¶ added in v0.23.0
func (o *ProjectServiceCreateOK) String() string
type ProjectServiceCreateParams ¶
type ProjectServiceCreateParams struct { // Body. Body *models.HashicorpCloudResourcemanagerProjectCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceCreateParams contains all the parameters to send to the API endpoint
for the project service create operation. Typically these are written to a http.Request.
func NewProjectServiceCreateParams ¶
func NewProjectServiceCreateParams() *ProjectServiceCreateParams
NewProjectServiceCreateParams creates a new ProjectServiceCreateParams 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 NewProjectServiceCreateParamsWithContext ¶
func NewProjectServiceCreateParamsWithContext(ctx context.Context) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithContext creates a new ProjectServiceCreateParams object with the ability to set a context for a request.
func NewProjectServiceCreateParamsWithHTTPClient ¶
func NewProjectServiceCreateParamsWithHTTPClient(client *http.Client) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithHTTPClient creates a new ProjectServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceCreateParamsWithTimeout ¶
func NewProjectServiceCreateParamsWithTimeout(timeout time.Duration) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithTimeout creates a new ProjectServiceCreateParams object with the ability to set a timeout on a request.
func (*ProjectServiceCreateParams) SetBody ¶
func (o *ProjectServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest)
SetBody adds the body to the project service create params
func (*ProjectServiceCreateParams) SetContext ¶
func (o *ProjectServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the project service create params
func (*ProjectServiceCreateParams) SetDefaults ¶ added in v0.23.0
func (o *ProjectServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the project service create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceCreateParams) SetHTTPClient ¶
func (o *ProjectServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service create params
func (*ProjectServiceCreateParams) SetTimeout ¶
func (o *ProjectServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service create params
func (*ProjectServiceCreateParams) WithBody ¶
func (o *ProjectServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest) *ProjectServiceCreateParams
WithBody adds the body to the project service create params
func (*ProjectServiceCreateParams) WithContext ¶
func (o *ProjectServiceCreateParams) WithContext(ctx context.Context) *ProjectServiceCreateParams
WithContext adds the context to the project service create params
func (*ProjectServiceCreateParams) WithDefaults ¶ added in v0.23.0
func (o *ProjectServiceCreateParams) WithDefaults() *ProjectServiceCreateParams
WithDefaults hydrates default values in the project service create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceCreateParams) WithHTTPClient ¶
func (o *ProjectServiceCreateParams) WithHTTPClient(client *http.Client) *ProjectServiceCreateParams
WithHTTPClient adds the HTTPClient to the project service create params
func (*ProjectServiceCreateParams) WithTimeout ¶
func (o *ProjectServiceCreateParams) WithTimeout(timeout time.Duration) *ProjectServiceCreateParams
WithTimeout adds the timeout to the project service create params
func (*ProjectServiceCreateParams) WriteToRequest ¶
func (o *ProjectServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceCreateReader ¶
type ProjectServiceCreateReader struct {
// contains filtered or unexported fields
}
ProjectServiceCreateReader is a Reader for the ProjectServiceCreate structure.
func (*ProjectServiceCreateReader) ReadResponse ¶
func (o *ProjectServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceGetDefault ¶
type ProjectServiceGetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ProjectServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceGetDefault ¶
func NewProjectServiceGetDefault(code int) *ProjectServiceGetDefault
NewProjectServiceGetDefault creates a ProjectServiceGetDefault with default headers values
func (*ProjectServiceGetDefault) Code ¶
func (o *ProjectServiceGetDefault) Code() int
Code gets the status code for the project service get default response
func (*ProjectServiceGetDefault) Error ¶
func (o *ProjectServiceGetDefault) Error() string
func (*ProjectServiceGetDefault) GetPayload ¶
func (o *ProjectServiceGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ProjectServiceGetDefault) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) IsClientError() bool
IsClientError returns true when this project service get default response has a 4xx status code
func (*ProjectServiceGetDefault) IsCode ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) IsCode(code int) bool
IsCode returns true when this project service get default response a status code equal to that given
func (*ProjectServiceGetDefault) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) IsRedirect() bool
IsRedirect returns true when this project service get default response has a 3xx status code
func (*ProjectServiceGetDefault) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) IsServerError() bool
IsServerError returns true when this project service get default response has a 5xx status code
func (*ProjectServiceGetDefault) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) IsSuccess() bool
IsSuccess returns true when this project service get default response has a 2xx status code
func (*ProjectServiceGetDefault) String ¶ added in v0.23.0
func (o *ProjectServiceGetDefault) String() string
type ProjectServiceGetOK ¶
type ProjectServiceGetOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectGetResponse
}
ProjectServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceGetOK ¶
func NewProjectServiceGetOK() *ProjectServiceGetOK
NewProjectServiceGetOK creates a ProjectServiceGetOK with default headers values
func (*ProjectServiceGetOK) Error ¶
func (o *ProjectServiceGetOK) Error() string
func (*ProjectServiceGetOK) GetPayload ¶
func (o *ProjectServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetResponse
func (*ProjectServiceGetOK) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceGetOK) IsClientError() bool
IsClientError returns true when this project service get o k response has a 4xx status code
func (*ProjectServiceGetOK) IsCode ¶ added in v0.23.0
func (o *ProjectServiceGetOK) IsCode(code int) bool
IsCode returns true when this project service get o k response a status code equal to that given
func (*ProjectServiceGetOK) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceGetOK) IsRedirect() bool
IsRedirect returns true when this project service get o k response has a 3xx status code
func (*ProjectServiceGetOK) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceGetOK) IsServerError() bool
IsServerError returns true when this project service get o k response has a 5xx status code
func (*ProjectServiceGetOK) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceGetOK) IsSuccess() bool
IsSuccess returns true when this project service get o k response has a 2xx status code
func (*ProjectServiceGetOK) String ¶ added in v0.23.0
func (o *ProjectServiceGetOK) String() string
type ProjectServiceGetParams ¶
type ProjectServiceGetParams struct { /* ID. ID is the identifier of the organization to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceGetParams contains all the parameters to send to the API endpoint
for the project service get operation. Typically these are written to a http.Request.
func NewProjectServiceGetParams ¶
func NewProjectServiceGetParams() *ProjectServiceGetParams
NewProjectServiceGetParams creates a new ProjectServiceGetParams 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 NewProjectServiceGetParamsWithContext ¶
func NewProjectServiceGetParamsWithContext(ctx context.Context) *ProjectServiceGetParams
NewProjectServiceGetParamsWithContext creates a new ProjectServiceGetParams object with the ability to set a context for a request.
func NewProjectServiceGetParamsWithHTTPClient ¶
func NewProjectServiceGetParamsWithHTTPClient(client *http.Client) *ProjectServiceGetParams
NewProjectServiceGetParamsWithHTTPClient creates a new ProjectServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceGetParamsWithTimeout ¶
func NewProjectServiceGetParamsWithTimeout(timeout time.Duration) *ProjectServiceGetParams
NewProjectServiceGetParamsWithTimeout creates a new ProjectServiceGetParams object with the ability to set a timeout on a request.
func (*ProjectServiceGetParams) SetContext ¶
func (o *ProjectServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the project service get params
func (*ProjectServiceGetParams) SetDefaults ¶ added in v0.23.0
func (o *ProjectServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the project service get params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetParams) SetHTTPClient ¶
func (o *ProjectServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service get params
func (*ProjectServiceGetParams) SetID ¶
func (o *ProjectServiceGetParams) SetID(id string)
SetID adds the id to the project service get params
func (*ProjectServiceGetParams) SetTimeout ¶
func (o *ProjectServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service get params
func (*ProjectServiceGetParams) WithContext ¶
func (o *ProjectServiceGetParams) WithContext(ctx context.Context) *ProjectServiceGetParams
WithContext adds the context to the project service get params
func (*ProjectServiceGetParams) WithDefaults ¶ added in v0.23.0
func (o *ProjectServiceGetParams) WithDefaults() *ProjectServiceGetParams
WithDefaults hydrates default values in the project service get params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetParams) WithHTTPClient ¶
func (o *ProjectServiceGetParams) WithHTTPClient(client *http.Client) *ProjectServiceGetParams
WithHTTPClient adds the HTTPClient to the project service get params
func (*ProjectServiceGetParams) WithID ¶
func (o *ProjectServiceGetParams) WithID(id string) *ProjectServiceGetParams
WithID adds the id to the project service get params
func (*ProjectServiceGetParams) WithTimeout ¶
func (o *ProjectServiceGetParams) WithTimeout(timeout time.Duration) *ProjectServiceGetParams
WithTimeout adds the timeout to the project service get params
func (*ProjectServiceGetParams) WriteToRequest ¶
func (o *ProjectServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceGetReader ¶
type ProjectServiceGetReader struct {
// contains filtered or unexported fields
}
ProjectServiceGetReader is a Reader for the ProjectServiceGet structure.
func (*ProjectServiceGetReader) ReadResponse ¶
func (o *ProjectServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceListDefault ¶
type ProjectServiceListDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ProjectServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceListDefault ¶
func NewProjectServiceListDefault(code int) *ProjectServiceListDefault
NewProjectServiceListDefault creates a ProjectServiceListDefault with default headers values
func (*ProjectServiceListDefault) Code ¶
func (o *ProjectServiceListDefault) Code() int
Code gets the status code for the project service list default response
func (*ProjectServiceListDefault) Error ¶
func (o *ProjectServiceListDefault) Error() string
func (*ProjectServiceListDefault) GetPayload ¶
func (o *ProjectServiceListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ProjectServiceListDefault) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceListDefault) IsClientError() bool
IsClientError returns true when this project service list default response has a 4xx status code
func (*ProjectServiceListDefault) IsCode ¶ added in v0.23.0
func (o *ProjectServiceListDefault) IsCode(code int) bool
IsCode returns true when this project service list default response a status code equal to that given
func (*ProjectServiceListDefault) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceListDefault) IsRedirect() bool
IsRedirect returns true when this project service list default response has a 3xx status code
func (*ProjectServiceListDefault) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceListDefault) IsServerError() bool
IsServerError returns true when this project service list default response has a 5xx status code
func (*ProjectServiceListDefault) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceListDefault) IsSuccess() bool
IsSuccess returns true when this project service list default response has a 2xx status code
func (*ProjectServiceListDefault) String ¶ added in v0.23.0
func (o *ProjectServiceListDefault) String() string
type ProjectServiceListOK ¶
type ProjectServiceListOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectListResponse
}
ProjectServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceListOK ¶
func NewProjectServiceListOK() *ProjectServiceListOK
NewProjectServiceListOK creates a ProjectServiceListOK with default headers values
func (*ProjectServiceListOK) Error ¶
func (o *ProjectServiceListOK) Error() string
func (*ProjectServiceListOK) GetPayload ¶
func (o *ProjectServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectListResponse
func (*ProjectServiceListOK) IsClientError ¶ added in v0.23.0
func (o *ProjectServiceListOK) IsClientError() bool
IsClientError returns true when this project service list o k response has a 4xx status code
func (*ProjectServiceListOK) IsCode ¶ added in v0.23.0
func (o *ProjectServiceListOK) IsCode(code int) bool
IsCode returns true when this project service list o k response a status code equal to that given
func (*ProjectServiceListOK) IsRedirect ¶ added in v0.23.0
func (o *ProjectServiceListOK) IsRedirect() bool
IsRedirect returns true when this project service list o k response has a 3xx status code
func (*ProjectServiceListOK) IsServerError ¶ added in v0.23.0
func (o *ProjectServiceListOK) IsServerError() bool
IsServerError returns true when this project service list o k response has a 5xx status code
func (*ProjectServiceListOK) IsSuccess ¶ added in v0.23.0
func (o *ProjectServiceListOK) IsSuccess() bool
IsSuccess returns true when this project service list o k response has a 2xx status code
func (*ProjectServiceListOK) String ¶ added in v0.23.0
func (o *ProjectServiceListOK) String() string
type ProjectServiceListParams ¶
type ProjectServiceListParams struct { /* 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 /* ScopeID. id is the id of the object being referenced. */ ScopeID *string /* ScopeType. ResourceType is the type of object being referenced. Default: "UNKNOWN" */ ScopeType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceListParams contains all the parameters to send to the API endpoint
for the project service list operation. Typically these are written to a http.Request.
func NewProjectServiceListParams ¶
func NewProjectServiceListParams() *ProjectServiceListParams
NewProjectServiceListParams creates a new ProjectServiceListParams 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 NewProjectServiceListParamsWithContext ¶
func NewProjectServiceListParamsWithContext(ctx context.Context) *ProjectServiceListParams
NewProjectServiceListParamsWithContext creates a new ProjectServiceListParams object with the ability to set a context for a request.
func NewProjectServiceListParamsWithHTTPClient ¶
func NewProjectServiceListParamsWithHTTPClient(client *http.Client) *ProjectServiceListParams
NewProjectServiceListParamsWithHTTPClient creates a new ProjectServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceListParamsWithTimeout ¶
func NewProjectServiceListParamsWithTimeout(timeout time.Duration) *ProjectServiceListParams
NewProjectServiceListParamsWithTimeout creates a new ProjectServiceListParams object with the ability to set a timeout on a request.
func (*ProjectServiceListParams) SetContext ¶
func (o *ProjectServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the project service list params
func (*ProjectServiceListParams) SetDefaults ¶ added in v0.23.0
func (o *ProjectServiceListParams) SetDefaults()
SetDefaults hydrates default values in the project service list params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceListParams) SetHTTPClient ¶
func (o *ProjectServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service list params
func (*ProjectServiceListParams) SetPaginationNextPageToken ¶
func (o *ProjectServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the project service list params
func (*ProjectServiceListParams) SetPaginationPageSize ¶
func (o *ProjectServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the project service list params
func (*ProjectServiceListParams) SetPaginationPreviousPageToken ¶
func (o *ProjectServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params
func (*ProjectServiceListParams) SetScopeID ¶
func (o *ProjectServiceListParams) SetScopeID(scopeID *string)
SetScopeID adds the scopeId to the project service list params
func (*ProjectServiceListParams) SetScopeType ¶
func (o *ProjectServiceListParams) SetScopeType(scopeType *string)
SetScopeType adds the scopeType to the project service list params
func (*ProjectServiceListParams) SetTimeout ¶
func (o *ProjectServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service list params
func (*ProjectServiceListParams) WithContext ¶
func (o *ProjectServiceListParams) WithContext(ctx context.Context) *ProjectServiceListParams
WithContext adds the context to the project service list params
func (*ProjectServiceListParams) WithDefaults ¶ added in v0.23.0
func (o *ProjectServiceListParams) WithDefaults() *ProjectServiceListParams
WithDefaults hydrates default values in the project service list params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceListParams) WithHTTPClient ¶
func (o *ProjectServiceListParams) WithHTTPClient(client *http.Client) *ProjectServiceListParams
WithHTTPClient adds the HTTPClient to the project service list params
func (*ProjectServiceListParams) WithPaginationNextPageToken ¶
func (o *ProjectServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ProjectServiceListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the project service list params
func (*ProjectServiceListParams) WithPaginationPageSize ¶
func (o *ProjectServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ProjectServiceListParams
WithPaginationPageSize adds the paginationPageSize to the project service list params
func (*ProjectServiceListParams) WithPaginationPreviousPageToken ¶
func (o *ProjectServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ProjectServiceListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params
func (*ProjectServiceListParams) WithScopeID ¶
func (o *ProjectServiceListParams) WithScopeID(scopeID *string) *ProjectServiceListParams
WithScopeID adds the scopeID to the project service list params
func (*ProjectServiceListParams) WithScopeType ¶
func (o *ProjectServiceListParams) WithScopeType(scopeType *string) *ProjectServiceListParams
WithScopeType adds the scopeType to the project service list params
func (*ProjectServiceListParams) WithTimeout ¶
func (o *ProjectServiceListParams) WithTimeout(timeout time.Duration) *ProjectServiceListParams
WithTimeout adds the timeout to the project service list params
func (*ProjectServiceListParams) WriteToRequest ¶
func (o *ProjectServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceListReader ¶
type ProjectServiceListReader struct {
// contains filtered or unexported fields
}
ProjectServiceListReader is a Reader for the ProjectServiceList structure.
func (*ProjectServiceListReader) ReadResponse ¶
func (o *ProjectServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.