platform_configuration_trust_relationships

package
v1.2.30 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 platform configuration trust relationships API

func (*Client) CreateTrustRelationship

func (a *Client) CreateTrustRelationship(params *CreateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTrustRelationshipCreated, error)

CreateTrustRelationship creates trust relationship

Creates a trust relationship.

func (*Client) DeleteTrustRelationship

func (a *Client) DeleteTrustRelationship(params *DeleteTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrustRelationshipOK, error)

DeleteTrustRelationship deletes trust relationship

Deletes a trust relationship.

func (*Client) GetTrustRelationship

func (a *Client) GetTrustRelationship(params *GetTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrustRelationshipOK, error)

GetTrustRelationship gets trust relationship

Retrieves information about a trust relationship.

func (*Client) GetTrustRelationships

func (a *Client) GetTrustRelationships(params *GetTrustRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrustRelationshipsOK, error)

GetTrustRelationships lists trust relationships

List trust relationships.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateTrustRelationship

func (a *Client) UpdateTrustRelationship(params *UpdateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTrustRelationshipOK, error)

UpdateTrustRelationship updates trust relationship

Updates a trust relationship.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTrustRelationship(params *CreateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTrustRelationshipCreated, error)

	DeleteTrustRelationship(params *DeleteTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrustRelationshipOK, error)

	GetTrustRelationship(params *GetTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrustRelationshipOK, error)

	GetTrustRelationships(params *GetTrustRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrustRelationshipsOK, error)

	UpdateTrustRelationship(params *UpdateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTrustRelationshipOK, 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 platform configuration trust relationships API client.

type CreateTrustRelationshipBadRequest

type CreateTrustRelationshipBadRequest struct {
	Payload *models.BasicFailedReply
}

CreateTrustRelationshipBadRequest describes a response with status code 400, with default header values.

The trust relationship request had errors.

func NewCreateTrustRelationshipBadRequest

func NewCreateTrustRelationshipBadRequest() *CreateTrustRelationshipBadRequest

NewCreateTrustRelationshipBadRequest creates a CreateTrustRelationshipBadRequest with default headers values

func (*CreateTrustRelationshipBadRequest) Code

Code gets the status code for the create trust relationship bad request response

func (*CreateTrustRelationshipBadRequest) Error

func (*CreateTrustRelationshipBadRequest) GetPayload

func (*CreateTrustRelationshipBadRequest) IsClientError

func (o *CreateTrustRelationshipBadRequest) IsClientError() bool

IsClientError returns true when this create trust relationship bad request response has a 4xx status code

func (*CreateTrustRelationshipBadRequest) IsCode

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

IsCode returns true when this create trust relationship bad request response a status code equal to that given

func (*CreateTrustRelationshipBadRequest) IsRedirect

func (o *CreateTrustRelationshipBadRequest) IsRedirect() bool

IsRedirect returns true when this create trust relationship bad request response has a 3xx status code

func (*CreateTrustRelationshipBadRequest) IsServerError

func (o *CreateTrustRelationshipBadRequest) IsServerError() bool

IsServerError returns true when this create trust relationship bad request response has a 5xx status code

func (*CreateTrustRelationshipBadRequest) IsSuccess

func (o *CreateTrustRelationshipBadRequest) IsSuccess() bool

IsSuccess returns true when this create trust relationship bad request response has a 2xx status code

func (*CreateTrustRelationshipBadRequest) String

type CreateTrustRelationshipCreated

type CreateTrustRelationshipCreated struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.TrustRelationshipCreateResponse
}

CreateTrustRelationshipCreated describes a response with status code 201, with default header values.

The request was valid and a new trust relationship was created

func NewCreateTrustRelationshipCreated

func NewCreateTrustRelationshipCreated() *CreateTrustRelationshipCreated

NewCreateTrustRelationshipCreated creates a CreateTrustRelationshipCreated with default headers values

func (*CreateTrustRelationshipCreated) Code

Code gets the status code for the create trust relationship created response

func (*CreateTrustRelationshipCreated) Error

func (*CreateTrustRelationshipCreated) GetPayload

func (*CreateTrustRelationshipCreated) IsClientError

func (o *CreateTrustRelationshipCreated) IsClientError() bool

IsClientError returns true when this create trust relationship created response has a 4xx status code

func (*CreateTrustRelationshipCreated) IsCode

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

IsCode returns true when this create trust relationship created response a status code equal to that given

func (*CreateTrustRelationshipCreated) IsRedirect

func (o *CreateTrustRelationshipCreated) IsRedirect() bool

IsRedirect returns true when this create trust relationship created response has a 3xx status code

func (*CreateTrustRelationshipCreated) IsServerError

func (o *CreateTrustRelationshipCreated) IsServerError() bool

IsServerError returns true when this create trust relationship created response has a 5xx status code

func (*CreateTrustRelationshipCreated) IsSuccess

func (o *CreateTrustRelationshipCreated) IsSuccess() bool

IsSuccess returns true when this create trust relationship created response has a 2xx status code

func (*CreateTrustRelationshipCreated) String

type CreateTrustRelationshipParams

type CreateTrustRelationshipParams struct {

	/* Body.

	   The trust relationship definition
	*/
	Body *models.TrustRelationshipCreateRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateTrustRelationshipParams contains all the parameters to send to the API endpoint

for the create trust relationship operation.

Typically these are written to a http.Request.

func NewCreateTrustRelationshipParams

func NewCreateTrustRelationshipParams() *CreateTrustRelationshipParams

NewCreateTrustRelationshipParams creates a new CreateTrustRelationshipParams 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 NewCreateTrustRelationshipParamsWithContext

func NewCreateTrustRelationshipParamsWithContext(ctx context.Context) *CreateTrustRelationshipParams

NewCreateTrustRelationshipParamsWithContext creates a new CreateTrustRelationshipParams object with the ability to set a context for a request.

func NewCreateTrustRelationshipParamsWithHTTPClient

func NewCreateTrustRelationshipParamsWithHTTPClient(client *http.Client) *CreateTrustRelationshipParams

NewCreateTrustRelationshipParamsWithHTTPClient creates a new CreateTrustRelationshipParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTrustRelationshipParamsWithTimeout

func NewCreateTrustRelationshipParamsWithTimeout(timeout time.Duration) *CreateTrustRelationshipParams

NewCreateTrustRelationshipParamsWithTimeout creates a new CreateTrustRelationshipParams object with the ability to set a timeout on a request.

func (*CreateTrustRelationshipParams) SetBody

SetBody adds the body to the create trust relationship params

func (*CreateTrustRelationshipParams) SetContext

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

SetContext adds the context to the create trust relationship params

func (*CreateTrustRelationshipParams) SetDefaults

func (o *CreateTrustRelationshipParams) SetDefaults()

SetDefaults hydrates default values in the create trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrustRelationshipParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create trust relationship params

func (*CreateTrustRelationshipParams) SetTimeout

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

SetTimeout adds the timeout to the create trust relationship params

func (*CreateTrustRelationshipParams) WithBody

WithBody adds the body to the create trust relationship params

func (*CreateTrustRelationshipParams) WithContext

WithContext adds the context to the create trust relationship params

func (*CreateTrustRelationshipParams) WithDefaults

WithDefaults hydrates default values in the create trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrustRelationshipParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create trust relationship params

func (*CreateTrustRelationshipParams) WithTimeout

WithTimeout adds the timeout to the create trust relationship params

func (*CreateTrustRelationshipParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTrustRelationshipReader

type CreateTrustRelationshipReader struct {
	// contains filtered or unexported fields
}

CreateTrustRelationshipReader is a Reader for the CreateTrustRelationship structure.

func (*CreateTrustRelationshipReader) ReadResponse

func (o *CreateTrustRelationshipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateTrustRelationshipUnauthorized

type CreateTrustRelationshipUnauthorized struct {
	Payload *models.BasicFailedReply
}

CreateTrustRelationshipUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action.

func NewCreateTrustRelationshipUnauthorized

func NewCreateTrustRelationshipUnauthorized() *CreateTrustRelationshipUnauthorized

NewCreateTrustRelationshipUnauthorized creates a CreateTrustRelationshipUnauthorized with default headers values

func (*CreateTrustRelationshipUnauthorized) Code

Code gets the status code for the create trust relationship unauthorized response

func (*CreateTrustRelationshipUnauthorized) Error

func (*CreateTrustRelationshipUnauthorized) GetPayload

func (*CreateTrustRelationshipUnauthorized) IsClientError

func (o *CreateTrustRelationshipUnauthorized) IsClientError() bool

IsClientError returns true when this create trust relationship unauthorized response has a 4xx status code

func (*CreateTrustRelationshipUnauthorized) IsCode

IsCode returns true when this create trust relationship unauthorized response a status code equal to that given

func (*CreateTrustRelationshipUnauthorized) IsRedirect

func (o *CreateTrustRelationshipUnauthorized) IsRedirect() bool

IsRedirect returns true when this create trust relationship unauthorized response has a 3xx status code

func (*CreateTrustRelationshipUnauthorized) IsServerError

func (o *CreateTrustRelationshipUnauthorized) IsServerError() bool

IsServerError returns true when this create trust relationship unauthorized response has a 5xx status code

func (*CreateTrustRelationshipUnauthorized) IsSuccess

IsSuccess returns true when this create trust relationship unauthorized response has a 2xx status code

func (*CreateTrustRelationshipUnauthorized) String

type DeleteTrustRelationshipNotFound

type DeleteTrustRelationshipNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteTrustRelationshipNotFound describes a response with status code 404, with default header values.

The trust relationship specified by {trust_relationship_id} cannot be found. (code: `trust_relationships.not_found`)

func NewDeleteTrustRelationshipNotFound

func NewDeleteTrustRelationshipNotFound() *DeleteTrustRelationshipNotFound

NewDeleteTrustRelationshipNotFound creates a DeleteTrustRelationshipNotFound with default headers values

func (*DeleteTrustRelationshipNotFound) Code

Code gets the status code for the delete trust relationship not found response

func (*DeleteTrustRelationshipNotFound) Error

func (*DeleteTrustRelationshipNotFound) GetPayload

func (*DeleteTrustRelationshipNotFound) IsClientError

func (o *DeleteTrustRelationshipNotFound) IsClientError() bool

IsClientError returns true when this delete trust relationship not found response has a 4xx status code

func (*DeleteTrustRelationshipNotFound) IsCode

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

IsCode returns true when this delete trust relationship not found response a status code equal to that given

func (*DeleteTrustRelationshipNotFound) IsRedirect

func (o *DeleteTrustRelationshipNotFound) IsRedirect() bool

IsRedirect returns true when this delete trust relationship not found response has a 3xx status code

func (*DeleteTrustRelationshipNotFound) IsServerError

func (o *DeleteTrustRelationshipNotFound) IsServerError() bool

IsServerError returns true when this delete trust relationship not found response has a 5xx status code

func (*DeleteTrustRelationshipNotFound) IsSuccess

func (o *DeleteTrustRelationshipNotFound) IsSuccess() bool

IsSuccess returns true when this delete trust relationship not found response has a 2xx status code

func (*DeleteTrustRelationshipNotFound) String

type DeleteTrustRelationshipOK

type DeleteTrustRelationshipOK struct {
	Payload models.EmptyResponse
}

DeleteTrustRelationshipOK describes a response with status code 200, with default header values.

The request was valid and the trust relationship was deleted.

func NewDeleteTrustRelationshipOK

func NewDeleteTrustRelationshipOK() *DeleteTrustRelationshipOK

NewDeleteTrustRelationshipOK creates a DeleteTrustRelationshipOK with default headers values

func (*DeleteTrustRelationshipOK) Code

func (o *DeleteTrustRelationshipOK) Code() int

Code gets the status code for the delete trust relationship o k response

func (*DeleteTrustRelationshipOK) Error

func (o *DeleteTrustRelationshipOK) Error() string

func (*DeleteTrustRelationshipOK) GetPayload

func (*DeleteTrustRelationshipOK) IsClientError

func (o *DeleteTrustRelationshipOK) IsClientError() bool

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

func (*DeleteTrustRelationshipOK) IsCode

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

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

func (*DeleteTrustRelationshipOK) IsRedirect

func (o *DeleteTrustRelationshipOK) IsRedirect() bool

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

func (*DeleteTrustRelationshipOK) IsServerError

func (o *DeleteTrustRelationshipOK) IsServerError() bool

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

func (*DeleteTrustRelationshipOK) IsSuccess

func (o *DeleteTrustRelationshipOK) IsSuccess() bool

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

func (*DeleteTrustRelationshipOK) String

func (o *DeleteTrustRelationshipOK) String() string

type DeleteTrustRelationshipParams

type DeleteTrustRelationshipParams struct {

	/* TrustRelationshipID.

	   Identifier for the trust relationship
	*/
	TrustRelationshipID string

	/* Version.

	   If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteTrustRelationshipParams contains all the parameters to send to the API endpoint

for the delete trust relationship operation.

Typically these are written to a http.Request.

func NewDeleteTrustRelationshipParams

func NewDeleteTrustRelationshipParams() *DeleteTrustRelationshipParams

NewDeleteTrustRelationshipParams creates a new DeleteTrustRelationshipParams 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 NewDeleteTrustRelationshipParamsWithContext

func NewDeleteTrustRelationshipParamsWithContext(ctx context.Context) *DeleteTrustRelationshipParams

NewDeleteTrustRelationshipParamsWithContext creates a new DeleteTrustRelationshipParams object with the ability to set a context for a request.

func NewDeleteTrustRelationshipParamsWithHTTPClient

func NewDeleteTrustRelationshipParamsWithHTTPClient(client *http.Client) *DeleteTrustRelationshipParams

NewDeleteTrustRelationshipParamsWithHTTPClient creates a new DeleteTrustRelationshipParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTrustRelationshipParamsWithTimeout

func NewDeleteTrustRelationshipParamsWithTimeout(timeout time.Duration) *DeleteTrustRelationshipParams

NewDeleteTrustRelationshipParamsWithTimeout creates a new DeleteTrustRelationshipParams object with the ability to set a timeout on a request.

func (*DeleteTrustRelationshipParams) SetContext

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

SetContext adds the context to the delete trust relationship params

func (*DeleteTrustRelationshipParams) SetDefaults

func (o *DeleteTrustRelationshipParams) SetDefaults()

SetDefaults hydrates default values in the delete trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrustRelationshipParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete trust relationship params

func (*DeleteTrustRelationshipParams) SetTimeout

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

SetTimeout adds the timeout to the delete trust relationship params

func (*DeleteTrustRelationshipParams) SetTrustRelationshipID

func (o *DeleteTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)

SetTrustRelationshipID adds the trustRelationshipId to the delete trust relationship params

func (*DeleteTrustRelationshipParams) SetVersion

func (o *DeleteTrustRelationshipParams) SetVersion(version *int64)

SetVersion adds the version to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WithContext

WithContext adds the context to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WithDefaults

WithDefaults hydrates default values in the delete trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrustRelationshipParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WithTimeout

WithTimeout adds the timeout to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WithTrustRelationshipID

func (o *DeleteTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *DeleteTrustRelationshipParams

WithTrustRelationshipID adds the trustRelationshipID to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WithVersion

WithVersion adds the version to the delete trust relationship params

func (*DeleteTrustRelationshipParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTrustRelationshipReader

type DeleteTrustRelationshipReader struct {
	// contains filtered or unexported fields
}

DeleteTrustRelationshipReader is a Reader for the DeleteTrustRelationship structure.

func (*DeleteTrustRelationshipReader) ReadResponse

func (o *DeleteTrustRelationshipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTrustRelationshipUnauthorized

type DeleteTrustRelationshipUnauthorized struct {
	Payload *models.BasicFailedReply
}

DeleteTrustRelationshipUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action.

func NewDeleteTrustRelationshipUnauthorized

func NewDeleteTrustRelationshipUnauthorized() *DeleteTrustRelationshipUnauthorized

NewDeleteTrustRelationshipUnauthorized creates a DeleteTrustRelationshipUnauthorized with default headers values

func (*DeleteTrustRelationshipUnauthorized) Code

Code gets the status code for the delete trust relationship unauthorized response

func (*DeleteTrustRelationshipUnauthorized) Error

func (*DeleteTrustRelationshipUnauthorized) GetPayload

func (*DeleteTrustRelationshipUnauthorized) IsClientError

func (o *DeleteTrustRelationshipUnauthorized) IsClientError() bool

IsClientError returns true when this delete trust relationship unauthorized response has a 4xx status code

func (*DeleteTrustRelationshipUnauthorized) IsCode

IsCode returns true when this delete trust relationship unauthorized response a status code equal to that given

func (*DeleteTrustRelationshipUnauthorized) IsRedirect

func (o *DeleteTrustRelationshipUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete trust relationship unauthorized response has a 3xx status code

func (*DeleteTrustRelationshipUnauthorized) IsServerError

func (o *DeleteTrustRelationshipUnauthorized) IsServerError() bool

IsServerError returns true when this delete trust relationship unauthorized response has a 5xx status code

func (*DeleteTrustRelationshipUnauthorized) IsSuccess

IsSuccess returns true when this delete trust relationship unauthorized response has a 2xx status code

func (*DeleteTrustRelationshipUnauthorized) String

type GetTrustRelationshipNotFound

type GetTrustRelationshipNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrustRelationshipNotFound describes a response with status code 404, with default header values.

The trust relationship specified by {trust_relationship_id} cannot be found. (code: `trust_relationships.not_found`)

func NewGetTrustRelationshipNotFound

func NewGetTrustRelationshipNotFound() *GetTrustRelationshipNotFound

NewGetTrustRelationshipNotFound creates a GetTrustRelationshipNotFound with default headers values

func (*GetTrustRelationshipNotFound) Code

Code gets the status code for the get trust relationship not found response

func (*GetTrustRelationshipNotFound) Error

func (*GetTrustRelationshipNotFound) GetPayload

func (*GetTrustRelationshipNotFound) IsClientError

func (o *GetTrustRelationshipNotFound) IsClientError() bool

IsClientError returns true when this get trust relationship not found response has a 4xx status code

func (*GetTrustRelationshipNotFound) IsCode

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

IsCode returns true when this get trust relationship not found response a status code equal to that given

func (*GetTrustRelationshipNotFound) IsRedirect

func (o *GetTrustRelationshipNotFound) IsRedirect() bool

IsRedirect returns true when this get trust relationship not found response has a 3xx status code

func (*GetTrustRelationshipNotFound) IsServerError

func (o *GetTrustRelationshipNotFound) IsServerError() bool

IsServerError returns true when this get trust relationship not found response has a 5xx status code

func (*GetTrustRelationshipNotFound) IsSuccess

func (o *GetTrustRelationshipNotFound) IsSuccess() bool

IsSuccess returns true when this get trust relationship not found response has a 2xx status code

func (*GetTrustRelationshipNotFound) String

type GetTrustRelationshipOK

type GetTrustRelationshipOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.TrustRelationshipGetResponse
}

GetTrustRelationshipOK describes a response with status code 200, with default header values.

The trust relationship info response

func NewGetTrustRelationshipOK

func NewGetTrustRelationshipOK() *GetTrustRelationshipOK

NewGetTrustRelationshipOK creates a GetTrustRelationshipOK with default headers values

func (*GetTrustRelationshipOK) Code

func (o *GetTrustRelationshipOK) Code() int

Code gets the status code for the get trust relationship o k response

func (*GetTrustRelationshipOK) Error

func (o *GetTrustRelationshipOK) Error() string

func (*GetTrustRelationshipOK) GetPayload

func (*GetTrustRelationshipOK) IsClientError

func (o *GetTrustRelationshipOK) IsClientError() bool

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

func (*GetTrustRelationshipOK) IsCode

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

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

func (*GetTrustRelationshipOK) IsRedirect

func (o *GetTrustRelationshipOK) IsRedirect() bool

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

func (*GetTrustRelationshipOK) IsServerError

func (o *GetTrustRelationshipOK) IsServerError() bool

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

func (*GetTrustRelationshipOK) IsSuccess

func (o *GetTrustRelationshipOK) IsSuccess() bool

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

func (*GetTrustRelationshipOK) String

func (o *GetTrustRelationshipOK) String() string

type GetTrustRelationshipParams

type GetTrustRelationshipParams struct {

	/* IncludeCertificate.

	   Whether to include the public CA certificates in the response.
	*/
	IncludeCertificate *bool

	/* TrustRelationshipID.

	   Identifier for the trust relationship
	*/
	TrustRelationshipID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrustRelationshipParams contains all the parameters to send to the API endpoint

for the get trust relationship operation.

Typically these are written to a http.Request.

func NewGetTrustRelationshipParams

func NewGetTrustRelationshipParams() *GetTrustRelationshipParams

NewGetTrustRelationshipParams creates a new GetTrustRelationshipParams 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 NewGetTrustRelationshipParamsWithContext

func NewGetTrustRelationshipParamsWithContext(ctx context.Context) *GetTrustRelationshipParams

NewGetTrustRelationshipParamsWithContext creates a new GetTrustRelationshipParams object with the ability to set a context for a request.

func NewGetTrustRelationshipParamsWithHTTPClient

func NewGetTrustRelationshipParamsWithHTTPClient(client *http.Client) *GetTrustRelationshipParams

NewGetTrustRelationshipParamsWithHTTPClient creates a new GetTrustRelationshipParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrustRelationshipParamsWithTimeout

func NewGetTrustRelationshipParamsWithTimeout(timeout time.Duration) *GetTrustRelationshipParams

NewGetTrustRelationshipParamsWithTimeout creates a new GetTrustRelationshipParams object with the ability to set a timeout on a request.

func (*GetTrustRelationshipParams) SetContext

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

SetContext adds the context to the get trust relationship params

func (*GetTrustRelationshipParams) SetDefaults

func (o *GetTrustRelationshipParams) SetDefaults()

SetDefaults hydrates default values in the get trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrustRelationshipParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get trust relationship params

func (*GetTrustRelationshipParams) SetIncludeCertificate

func (o *GetTrustRelationshipParams) SetIncludeCertificate(includeCertificate *bool)

SetIncludeCertificate adds the includeCertificate to the get trust relationship params

func (*GetTrustRelationshipParams) SetTimeout

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

SetTimeout adds the timeout to the get trust relationship params

func (*GetTrustRelationshipParams) SetTrustRelationshipID

func (o *GetTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)

SetTrustRelationshipID adds the trustRelationshipId to the get trust relationship params

func (*GetTrustRelationshipParams) WithContext

WithContext adds the context to the get trust relationship params

func (*GetTrustRelationshipParams) WithDefaults

WithDefaults hydrates default values in the get trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrustRelationshipParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get trust relationship params

func (*GetTrustRelationshipParams) WithIncludeCertificate

func (o *GetTrustRelationshipParams) WithIncludeCertificate(includeCertificate *bool) *GetTrustRelationshipParams

WithIncludeCertificate adds the includeCertificate to the get trust relationship params

func (*GetTrustRelationshipParams) WithTimeout

WithTimeout adds the timeout to the get trust relationship params

func (*GetTrustRelationshipParams) WithTrustRelationshipID

func (o *GetTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *GetTrustRelationshipParams

WithTrustRelationshipID adds the trustRelationshipID to the get trust relationship params

func (*GetTrustRelationshipParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrustRelationshipReader

type GetTrustRelationshipReader struct {
	// contains filtered or unexported fields
}

GetTrustRelationshipReader is a Reader for the GetTrustRelationship structure.

func (*GetTrustRelationshipReader) ReadResponse

func (o *GetTrustRelationshipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrustRelationshipUnauthorized

type GetTrustRelationshipUnauthorized struct {
	Payload *models.BasicFailedReply
}

GetTrustRelationshipUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action.

func NewGetTrustRelationshipUnauthorized

func NewGetTrustRelationshipUnauthorized() *GetTrustRelationshipUnauthorized

NewGetTrustRelationshipUnauthorized creates a GetTrustRelationshipUnauthorized with default headers values

func (*GetTrustRelationshipUnauthorized) Code

Code gets the status code for the get trust relationship unauthorized response

func (*GetTrustRelationshipUnauthorized) Error

func (*GetTrustRelationshipUnauthorized) GetPayload

func (*GetTrustRelationshipUnauthorized) IsClientError

func (o *GetTrustRelationshipUnauthorized) IsClientError() bool

IsClientError returns true when this get trust relationship unauthorized response has a 4xx status code

func (*GetTrustRelationshipUnauthorized) IsCode

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

IsCode returns true when this get trust relationship unauthorized response a status code equal to that given

func (*GetTrustRelationshipUnauthorized) IsRedirect

func (o *GetTrustRelationshipUnauthorized) IsRedirect() bool

IsRedirect returns true when this get trust relationship unauthorized response has a 3xx status code

func (*GetTrustRelationshipUnauthorized) IsServerError

func (o *GetTrustRelationshipUnauthorized) IsServerError() bool

IsServerError returns true when this get trust relationship unauthorized response has a 5xx status code

func (*GetTrustRelationshipUnauthorized) IsSuccess

func (o *GetTrustRelationshipUnauthorized) IsSuccess() bool

IsSuccess returns true when this get trust relationship unauthorized response has a 2xx status code

func (*GetTrustRelationshipUnauthorized) String

type GetTrustRelationshipsOK

type GetTrustRelationshipsOK struct {
	Payload *models.TrustRelationshipsListResponse
}

GetTrustRelationshipsOK describes a response with status code 200, with default header values.

The list of trust relationships.

func NewGetTrustRelationshipsOK

func NewGetTrustRelationshipsOK() *GetTrustRelationshipsOK

NewGetTrustRelationshipsOK creates a GetTrustRelationshipsOK with default headers values

func (*GetTrustRelationshipsOK) Code

func (o *GetTrustRelationshipsOK) Code() int

Code gets the status code for the get trust relationships o k response

func (*GetTrustRelationshipsOK) Error

func (o *GetTrustRelationshipsOK) Error() string

func (*GetTrustRelationshipsOK) GetPayload

func (*GetTrustRelationshipsOK) IsClientError

func (o *GetTrustRelationshipsOK) IsClientError() bool

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

func (*GetTrustRelationshipsOK) IsCode

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

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

func (*GetTrustRelationshipsOK) IsRedirect

func (o *GetTrustRelationshipsOK) IsRedirect() bool

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

func (*GetTrustRelationshipsOK) IsServerError

func (o *GetTrustRelationshipsOK) IsServerError() bool

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

func (*GetTrustRelationshipsOK) IsSuccess

func (o *GetTrustRelationshipsOK) IsSuccess() bool

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

func (*GetTrustRelationshipsOK) String

func (o *GetTrustRelationshipsOK) String() string

type GetTrustRelationshipsParams

type GetTrustRelationshipsParams struct {

	/* Filter.

	   Which trust relationships to return in the response. Defaults to `all`

	   Default: "all"
	*/
	Filter *string

	/* IncludeCertificate.

	   Whether to include the public CA certificates in the response.
	*/
	IncludeCertificate *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrustRelationshipsParams contains all the parameters to send to the API endpoint

for the get trust relationships operation.

Typically these are written to a http.Request.

func NewGetTrustRelationshipsParams

func NewGetTrustRelationshipsParams() *GetTrustRelationshipsParams

NewGetTrustRelationshipsParams creates a new GetTrustRelationshipsParams 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 NewGetTrustRelationshipsParamsWithContext

func NewGetTrustRelationshipsParamsWithContext(ctx context.Context) *GetTrustRelationshipsParams

NewGetTrustRelationshipsParamsWithContext creates a new GetTrustRelationshipsParams object with the ability to set a context for a request.

func NewGetTrustRelationshipsParamsWithHTTPClient

func NewGetTrustRelationshipsParamsWithHTTPClient(client *http.Client) *GetTrustRelationshipsParams

NewGetTrustRelationshipsParamsWithHTTPClient creates a new GetTrustRelationshipsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrustRelationshipsParamsWithTimeout

func NewGetTrustRelationshipsParamsWithTimeout(timeout time.Duration) *GetTrustRelationshipsParams

NewGetTrustRelationshipsParamsWithTimeout creates a new GetTrustRelationshipsParams object with the ability to set a timeout on a request.

func (*GetTrustRelationshipsParams) SetContext

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

SetContext adds the context to the get trust relationships params

func (*GetTrustRelationshipsParams) SetDefaults

func (o *GetTrustRelationshipsParams) SetDefaults()

SetDefaults hydrates default values in the get trust relationships params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrustRelationshipsParams) SetFilter

func (o *GetTrustRelationshipsParams) SetFilter(filter *string)

SetFilter adds the filter to the get trust relationships params

func (*GetTrustRelationshipsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get trust relationships params

func (*GetTrustRelationshipsParams) SetIncludeCertificate

func (o *GetTrustRelationshipsParams) SetIncludeCertificate(includeCertificate *bool)

SetIncludeCertificate adds the includeCertificate to the get trust relationships params

func (*GetTrustRelationshipsParams) SetTimeout

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

SetTimeout adds the timeout to the get trust relationships params

func (*GetTrustRelationshipsParams) WithContext

WithContext adds the context to the get trust relationships params

func (*GetTrustRelationshipsParams) WithDefaults

WithDefaults hydrates default values in the get trust relationships params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrustRelationshipsParams) WithFilter

WithFilter adds the filter to the get trust relationships params

func (*GetTrustRelationshipsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get trust relationships params

func (*GetTrustRelationshipsParams) WithIncludeCertificate

func (o *GetTrustRelationshipsParams) WithIncludeCertificate(includeCertificate *bool) *GetTrustRelationshipsParams

WithIncludeCertificate adds the includeCertificate to the get trust relationships params

func (*GetTrustRelationshipsParams) WithTimeout

WithTimeout adds the timeout to the get trust relationships params

func (*GetTrustRelationshipsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrustRelationshipsReader

type GetTrustRelationshipsReader struct {
	// contains filtered or unexported fields
}

GetTrustRelationshipsReader is a Reader for the GetTrustRelationships structure.

func (*GetTrustRelationshipsReader) ReadResponse

func (o *GetTrustRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrustRelationshipsUnauthorized

type GetTrustRelationshipsUnauthorized struct {
	Payload *models.BasicFailedReply
}

GetTrustRelationshipsUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action.

func NewGetTrustRelationshipsUnauthorized

func NewGetTrustRelationshipsUnauthorized() *GetTrustRelationshipsUnauthorized

NewGetTrustRelationshipsUnauthorized creates a GetTrustRelationshipsUnauthorized with default headers values

func (*GetTrustRelationshipsUnauthorized) Code

Code gets the status code for the get trust relationships unauthorized response

func (*GetTrustRelationshipsUnauthorized) Error

func (*GetTrustRelationshipsUnauthorized) GetPayload

func (*GetTrustRelationshipsUnauthorized) IsClientError

func (o *GetTrustRelationshipsUnauthorized) IsClientError() bool

IsClientError returns true when this get trust relationships unauthorized response has a 4xx status code

func (*GetTrustRelationshipsUnauthorized) IsCode

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

IsCode returns true when this get trust relationships unauthorized response a status code equal to that given

func (*GetTrustRelationshipsUnauthorized) IsRedirect

func (o *GetTrustRelationshipsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get trust relationships unauthorized response has a 3xx status code

func (*GetTrustRelationshipsUnauthorized) IsServerError

func (o *GetTrustRelationshipsUnauthorized) IsServerError() bool

IsServerError returns true when this get trust relationships unauthorized response has a 5xx status code

func (*GetTrustRelationshipsUnauthorized) IsSuccess

func (o *GetTrustRelationshipsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get trust relationships unauthorized response has a 2xx status code

func (*GetTrustRelationshipsUnauthorized) String

type UpdateTrustRelationshipBadRequest

type UpdateTrustRelationshipBadRequest struct {
	Payload *models.BasicFailedReply
}

UpdateTrustRelationshipBadRequest describes a response with status code 400, with default header values.

The trust relationship request had errors.

func NewUpdateTrustRelationshipBadRequest

func NewUpdateTrustRelationshipBadRequest() *UpdateTrustRelationshipBadRequest

NewUpdateTrustRelationshipBadRequest creates a UpdateTrustRelationshipBadRequest with default headers values

func (*UpdateTrustRelationshipBadRequest) Code

Code gets the status code for the update trust relationship bad request response

func (*UpdateTrustRelationshipBadRequest) Error

func (*UpdateTrustRelationshipBadRequest) GetPayload

func (*UpdateTrustRelationshipBadRequest) IsClientError

func (o *UpdateTrustRelationshipBadRequest) IsClientError() bool

IsClientError returns true when this update trust relationship bad request response has a 4xx status code

func (*UpdateTrustRelationshipBadRequest) IsCode

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

IsCode returns true when this update trust relationship bad request response a status code equal to that given

func (*UpdateTrustRelationshipBadRequest) IsRedirect

func (o *UpdateTrustRelationshipBadRequest) IsRedirect() bool

IsRedirect returns true when this update trust relationship bad request response has a 3xx status code

func (*UpdateTrustRelationshipBadRequest) IsServerError

func (o *UpdateTrustRelationshipBadRequest) IsServerError() bool

IsServerError returns true when this update trust relationship bad request response has a 5xx status code

func (*UpdateTrustRelationshipBadRequest) IsSuccess

func (o *UpdateTrustRelationshipBadRequest) IsSuccess() bool

IsSuccess returns true when this update trust relationship bad request response has a 2xx status code

func (*UpdateTrustRelationshipBadRequest) String

type UpdateTrustRelationshipNotFound

type UpdateTrustRelationshipNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateTrustRelationshipNotFound describes a response with status code 404, with default header values.

The trust relationship specified by {trust_relationship_id} cannot be found. (code: `trust_relationships.not_found`)

func NewUpdateTrustRelationshipNotFound

func NewUpdateTrustRelationshipNotFound() *UpdateTrustRelationshipNotFound

NewUpdateTrustRelationshipNotFound creates a UpdateTrustRelationshipNotFound with default headers values

func (*UpdateTrustRelationshipNotFound) Code

Code gets the status code for the update trust relationship not found response

func (*UpdateTrustRelationshipNotFound) Error

func (*UpdateTrustRelationshipNotFound) GetPayload

func (*UpdateTrustRelationshipNotFound) IsClientError

func (o *UpdateTrustRelationshipNotFound) IsClientError() bool

IsClientError returns true when this update trust relationship not found response has a 4xx status code

func (*UpdateTrustRelationshipNotFound) IsCode

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

IsCode returns true when this update trust relationship not found response a status code equal to that given

func (*UpdateTrustRelationshipNotFound) IsRedirect

func (o *UpdateTrustRelationshipNotFound) IsRedirect() bool

IsRedirect returns true when this update trust relationship not found response has a 3xx status code

func (*UpdateTrustRelationshipNotFound) IsServerError

func (o *UpdateTrustRelationshipNotFound) IsServerError() bool

IsServerError returns true when this update trust relationship not found response has a 5xx status code

func (*UpdateTrustRelationshipNotFound) IsSuccess

func (o *UpdateTrustRelationshipNotFound) IsSuccess() bool

IsSuccess returns true when this update trust relationship not found response has a 2xx status code

func (*UpdateTrustRelationshipNotFound) String

type UpdateTrustRelationshipOK

type UpdateTrustRelationshipOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.TrustRelationshipUpdateResponse
}

UpdateTrustRelationshipOK describes a response with status code 200, with default header values.

The request was valid and the trust relationship was updated.

func NewUpdateTrustRelationshipOK

func NewUpdateTrustRelationshipOK() *UpdateTrustRelationshipOK

NewUpdateTrustRelationshipOK creates a UpdateTrustRelationshipOK with default headers values

func (*UpdateTrustRelationshipOK) Code

func (o *UpdateTrustRelationshipOK) Code() int

Code gets the status code for the update trust relationship o k response

func (*UpdateTrustRelationshipOK) Error

func (o *UpdateTrustRelationshipOK) Error() string

func (*UpdateTrustRelationshipOK) GetPayload

func (*UpdateTrustRelationshipOK) IsClientError

func (o *UpdateTrustRelationshipOK) IsClientError() bool

IsClientError returns true when this update trust relationship o k response has a 4xx status code

func (*UpdateTrustRelationshipOK) IsCode

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

IsCode returns true when this update trust relationship o k response a status code equal to that given

func (*UpdateTrustRelationshipOK) IsRedirect

func (o *UpdateTrustRelationshipOK) IsRedirect() bool

IsRedirect returns true when this update trust relationship o k response has a 3xx status code

func (*UpdateTrustRelationshipOK) IsServerError

func (o *UpdateTrustRelationshipOK) IsServerError() bool

IsServerError returns true when this update trust relationship o k response has a 5xx status code

func (*UpdateTrustRelationshipOK) IsSuccess

func (o *UpdateTrustRelationshipOK) IsSuccess() bool

IsSuccess returns true when this update trust relationship o k response has a 2xx status code

func (*UpdateTrustRelationshipOK) String

func (o *UpdateTrustRelationshipOK) String() string

type UpdateTrustRelationshipParams

type UpdateTrustRelationshipParams struct {

	/* Body.

	   The trust relationship definition
	*/
	Body *models.TrustRelationshipUpdateRequest

	/* TrustRelationshipID.

	   Identifier for the trust relationship
	*/
	TrustRelationshipID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateTrustRelationshipParams contains all the parameters to send to the API endpoint

for the update trust relationship operation.

Typically these are written to a http.Request.

func NewUpdateTrustRelationshipParams

func NewUpdateTrustRelationshipParams() *UpdateTrustRelationshipParams

NewUpdateTrustRelationshipParams creates a new UpdateTrustRelationshipParams 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 NewUpdateTrustRelationshipParamsWithContext

func NewUpdateTrustRelationshipParamsWithContext(ctx context.Context) *UpdateTrustRelationshipParams

NewUpdateTrustRelationshipParamsWithContext creates a new UpdateTrustRelationshipParams object with the ability to set a context for a request.

func NewUpdateTrustRelationshipParamsWithHTTPClient

func NewUpdateTrustRelationshipParamsWithHTTPClient(client *http.Client) *UpdateTrustRelationshipParams

NewUpdateTrustRelationshipParamsWithHTTPClient creates a new UpdateTrustRelationshipParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTrustRelationshipParamsWithTimeout

func NewUpdateTrustRelationshipParamsWithTimeout(timeout time.Duration) *UpdateTrustRelationshipParams

NewUpdateTrustRelationshipParamsWithTimeout creates a new UpdateTrustRelationshipParams object with the ability to set a timeout on a request.

func (*UpdateTrustRelationshipParams) SetBody

SetBody adds the body to the update trust relationship params

func (*UpdateTrustRelationshipParams) SetContext

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

SetContext adds the context to the update trust relationship params

func (*UpdateTrustRelationshipParams) SetDefaults

func (o *UpdateTrustRelationshipParams) SetDefaults()

SetDefaults hydrates default values in the update trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTrustRelationshipParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update trust relationship params

func (*UpdateTrustRelationshipParams) SetTimeout

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

SetTimeout adds the timeout to the update trust relationship params

func (*UpdateTrustRelationshipParams) SetTrustRelationshipID

func (o *UpdateTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)

SetTrustRelationshipID adds the trustRelationshipId to the update trust relationship params

func (*UpdateTrustRelationshipParams) WithBody

WithBody adds the body to the update trust relationship params

func (*UpdateTrustRelationshipParams) WithContext

WithContext adds the context to the update trust relationship params

func (*UpdateTrustRelationshipParams) WithDefaults

WithDefaults hydrates default values in the update trust relationship params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTrustRelationshipParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update trust relationship params

func (*UpdateTrustRelationshipParams) WithTimeout

WithTimeout adds the timeout to the update trust relationship params

func (*UpdateTrustRelationshipParams) WithTrustRelationshipID

func (o *UpdateTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *UpdateTrustRelationshipParams

WithTrustRelationshipID adds the trustRelationshipID to the update trust relationship params

func (*UpdateTrustRelationshipParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateTrustRelationshipReader

type UpdateTrustRelationshipReader struct {
	// contains filtered or unexported fields
}

UpdateTrustRelationshipReader is a Reader for the UpdateTrustRelationship structure.

func (*UpdateTrustRelationshipReader) ReadResponse

func (o *UpdateTrustRelationshipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateTrustRelationshipUnauthorized

type UpdateTrustRelationshipUnauthorized struct {
	Payload *models.BasicFailedReply
}

UpdateTrustRelationshipUnauthorized describes a response with status code 401, with default header values.

You are not authorized to perform this action.

func NewUpdateTrustRelationshipUnauthorized

func NewUpdateTrustRelationshipUnauthorized() *UpdateTrustRelationshipUnauthorized

NewUpdateTrustRelationshipUnauthorized creates a UpdateTrustRelationshipUnauthorized with default headers values

func (*UpdateTrustRelationshipUnauthorized) Code

Code gets the status code for the update trust relationship unauthorized response

func (*UpdateTrustRelationshipUnauthorized) Error

func (*UpdateTrustRelationshipUnauthorized) GetPayload

func (*UpdateTrustRelationshipUnauthorized) IsClientError

func (o *UpdateTrustRelationshipUnauthorized) IsClientError() bool

IsClientError returns true when this update trust relationship unauthorized response has a 4xx status code

func (*UpdateTrustRelationshipUnauthorized) IsCode

IsCode returns true when this update trust relationship unauthorized response a status code equal to that given

func (*UpdateTrustRelationshipUnauthorized) IsRedirect

func (o *UpdateTrustRelationshipUnauthorized) IsRedirect() bool

IsRedirect returns true when this update trust relationship unauthorized response has a 3xx status code

func (*UpdateTrustRelationshipUnauthorized) IsServerError

func (o *UpdateTrustRelationshipUnauthorized) IsServerError() bool

IsServerError returns true when this update trust relationship unauthorized response has a 5xx status code

func (*UpdateTrustRelationshipUnauthorized) IsSuccess

IsSuccess returns true when this update trust relationship unauthorized response has a 2xx status code

func (*UpdateTrustRelationshipUnauthorized) String

Jump to

Keyboard shortcuts

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