Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTrustRelationship(params *CreateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTrustRelationshipCreated, error)
- func (a *Client) DeleteTrustRelationship(params *DeleteTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTrustRelationshipOK, error)
- func (a *Client) GetTrustRelationship(params *GetTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTrustRelationshipOK, error)
- func (a *Client) GetTrustRelationships(params *GetTrustRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTrustRelationshipsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTrustRelationship(params *UpdateTrustRelationshipParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTrustRelationshipOK, error)
- type ClientOption
- type ClientService
- type CreateTrustRelationshipBadRequest
- func (o *CreateTrustRelationshipBadRequest) Code() int
- func (o *CreateTrustRelationshipBadRequest) Error() string
- func (o *CreateTrustRelationshipBadRequest) GetPayload() *models.BasicFailedReply
- func (o *CreateTrustRelationshipBadRequest) IsClientError() bool
- func (o *CreateTrustRelationshipBadRequest) IsCode(code int) bool
- func (o *CreateTrustRelationshipBadRequest) IsRedirect() bool
- func (o *CreateTrustRelationshipBadRequest) IsServerError() bool
- func (o *CreateTrustRelationshipBadRequest) IsSuccess() bool
- func (o *CreateTrustRelationshipBadRequest) String() string
- type CreateTrustRelationshipCreated
- func (o *CreateTrustRelationshipCreated) Code() int
- func (o *CreateTrustRelationshipCreated) Error() string
- func (o *CreateTrustRelationshipCreated) GetPayload() *models.TrustRelationshipCreateResponse
- func (o *CreateTrustRelationshipCreated) IsClientError() bool
- func (o *CreateTrustRelationshipCreated) IsCode(code int) bool
- func (o *CreateTrustRelationshipCreated) IsRedirect() bool
- func (o *CreateTrustRelationshipCreated) IsServerError() bool
- func (o *CreateTrustRelationshipCreated) IsSuccess() bool
- func (o *CreateTrustRelationshipCreated) String() string
- type CreateTrustRelationshipParams
- func NewCreateTrustRelationshipParams() *CreateTrustRelationshipParams
- func NewCreateTrustRelationshipParamsWithContext(ctx context.Context) *CreateTrustRelationshipParams
- func NewCreateTrustRelationshipParamsWithHTTPClient(client *http.Client) *CreateTrustRelationshipParams
- func NewCreateTrustRelationshipParamsWithTimeout(timeout time.Duration) *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) SetBody(body *models.TrustRelationshipCreateRequest)
- func (o *CreateTrustRelationshipParams) SetContext(ctx context.Context)
- func (o *CreateTrustRelationshipParams) SetDefaults()
- func (o *CreateTrustRelationshipParams) SetHTTPClient(client *http.Client)
- func (o *CreateTrustRelationshipParams) SetTimeout(timeout time.Duration)
- func (o *CreateTrustRelationshipParams) WithBody(body *models.TrustRelationshipCreateRequest) *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) WithContext(ctx context.Context) *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) WithDefaults() *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) WithHTTPClient(client *http.Client) *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) WithTimeout(timeout time.Duration) *CreateTrustRelationshipParams
- func (o *CreateTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTrustRelationshipReader
- type CreateTrustRelationshipUnauthorized
- func (o *CreateTrustRelationshipUnauthorized) Code() int
- func (o *CreateTrustRelationshipUnauthorized) Error() string
- func (o *CreateTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *CreateTrustRelationshipUnauthorized) IsClientError() bool
- func (o *CreateTrustRelationshipUnauthorized) IsCode(code int) bool
- func (o *CreateTrustRelationshipUnauthorized) IsRedirect() bool
- func (o *CreateTrustRelationshipUnauthorized) IsServerError() bool
- func (o *CreateTrustRelationshipUnauthorized) IsSuccess() bool
- func (o *CreateTrustRelationshipUnauthorized) String() string
- type DeleteTrustRelationshipNotFound
- func (o *DeleteTrustRelationshipNotFound) Code() int
- func (o *DeleteTrustRelationshipNotFound) Error() string
- func (o *DeleteTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteTrustRelationshipNotFound) IsClientError() bool
- func (o *DeleteTrustRelationshipNotFound) IsCode(code int) bool
- func (o *DeleteTrustRelationshipNotFound) IsRedirect() bool
- func (o *DeleteTrustRelationshipNotFound) IsServerError() bool
- func (o *DeleteTrustRelationshipNotFound) IsSuccess() bool
- func (o *DeleteTrustRelationshipNotFound) String() string
- type DeleteTrustRelationshipOK
- func (o *DeleteTrustRelationshipOK) Code() int
- func (o *DeleteTrustRelationshipOK) Error() string
- func (o *DeleteTrustRelationshipOK) GetPayload() models.EmptyResponse
- func (o *DeleteTrustRelationshipOK) IsClientError() bool
- func (o *DeleteTrustRelationshipOK) IsCode(code int) bool
- func (o *DeleteTrustRelationshipOK) IsRedirect() bool
- func (o *DeleteTrustRelationshipOK) IsServerError() bool
- func (o *DeleteTrustRelationshipOK) IsSuccess() bool
- func (o *DeleteTrustRelationshipOK) String() string
- type DeleteTrustRelationshipParams
- func NewDeleteTrustRelationshipParams() *DeleteTrustRelationshipParams
- func NewDeleteTrustRelationshipParamsWithContext(ctx context.Context) *DeleteTrustRelationshipParams
- func NewDeleteTrustRelationshipParamsWithHTTPClient(client *http.Client) *DeleteTrustRelationshipParams
- func NewDeleteTrustRelationshipParamsWithTimeout(timeout time.Duration) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) SetContext(ctx context.Context)
- func (o *DeleteTrustRelationshipParams) SetDefaults()
- func (o *DeleteTrustRelationshipParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTrustRelationshipParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)
- func (o *DeleteTrustRelationshipParams) SetVersion(version *int64)
- func (o *DeleteTrustRelationshipParams) WithContext(ctx context.Context) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WithDefaults() *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WithHTTPClient(client *http.Client) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WithTimeout(timeout time.Duration) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WithVersion(version *int64) *DeleteTrustRelationshipParams
- func (o *DeleteTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTrustRelationshipReader
- type DeleteTrustRelationshipUnauthorized
- func (o *DeleteTrustRelationshipUnauthorized) Code() int
- func (o *DeleteTrustRelationshipUnauthorized) Error() string
- func (o *DeleteTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *DeleteTrustRelationshipUnauthorized) IsClientError() bool
- func (o *DeleteTrustRelationshipUnauthorized) IsCode(code int) bool
- func (o *DeleteTrustRelationshipUnauthorized) IsRedirect() bool
- func (o *DeleteTrustRelationshipUnauthorized) IsServerError() bool
- func (o *DeleteTrustRelationshipUnauthorized) IsSuccess() bool
- func (o *DeleteTrustRelationshipUnauthorized) String() string
- type GetTrustRelationshipNotFound
- func (o *GetTrustRelationshipNotFound) Code() int
- func (o *GetTrustRelationshipNotFound) Error() string
- func (o *GetTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetTrustRelationshipNotFound) IsClientError() bool
- func (o *GetTrustRelationshipNotFound) IsCode(code int) bool
- func (o *GetTrustRelationshipNotFound) IsRedirect() bool
- func (o *GetTrustRelationshipNotFound) IsServerError() bool
- func (o *GetTrustRelationshipNotFound) IsSuccess() bool
- func (o *GetTrustRelationshipNotFound) String() string
- type GetTrustRelationshipOK
- func (o *GetTrustRelationshipOK) Code() int
- func (o *GetTrustRelationshipOK) Error() string
- func (o *GetTrustRelationshipOK) GetPayload() *models.TrustRelationshipGetResponse
- func (o *GetTrustRelationshipOK) IsClientError() bool
- func (o *GetTrustRelationshipOK) IsCode(code int) bool
- func (o *GetTrustRelationshipOK) IsRedirect() bool
- func (o *GetTrustRelationshipOK) IsServerError() bool
- func (o *GetTrustRelationshipOK) IsSuccess() bool
- func (o *GetTrustRelationshipOK) String() string
- type GetTrustRelationshipParams
- func NewGetTrustRelationshipParams() *GetTrustRelationshipParams
- func NewGetTrustRelationshipParamsWithContext(ctx context.Context) *GetTrustRelationshipParams
- func NewGetTrustRelationshipParamsWithHTTPClient(client *http.Client) *GetTrustRelationshipParams
- func NewGetTrustRelationshipParamsWithTimeout(timeout time.Duration) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) SetContext(ctx context.Context)
- func (o *GetTrustRelationshipParams) SetDefaults()
- func (o *GetTrustRelationshipParams) SetHTTPClient(client *http.Client)
- func (o *GetTrustRelationshipParams) SetIncludeCertificate(includeCertificate *bool)
- func (o *GetTrustRelationshipParams) SetTimeout(timeout time.Duration)
- func (o *GetTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)
- func (o *GetTrustRelationshipParams) WithContext(ctx context.Context) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WithDefaults() *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WithHTTPClient(client *http.Client) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WithIncludeCertificate(includeCertificate *bool) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WithTimeout(timeout time.Duration) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *GetTrustRelationshipParams
- func (o *GetTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrustRelationshipReader
- type GetTrustRelationshipUnauthorized
- func (o *GetTrustRelationshipUnauthorized) Code() int
- func (o *GetTrustRelationshipUnauthorized) Error() string
- func (o *GetTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *GetTrustRelationshipUnauthorized) IsClientError() bool
- func (o *GetTrustRelationshipUnauthorized) IsCode(code int) bool
- func (o *GetTrustRelationshipUnauthorized) IsRedirect() bool
- func (o *GetTrustRelationshipUnauthorized) IsServerError() bool
- func (o *GetTrustRelationshipUnauthorized) IsSuccess() bool
- func (o *GetTrustRelationshipUnauthorized) String() string
- type GetTrustRelationshipsOK
- func (o *GetTrustRelationshipsOK) Code() int
- func (o *GetTrustRelationshipsOK) Error() string
- func (o *GetTrustRelationshipsOK) GetPayload() *models.TrustRelationshipsListResponse
- func (o *GetTrustRelationshipsOK) IsClientError() bool
- func (o *GetTrustRelationshipsOK) IsCode(code int) bool
- func (o *GetTrustRelationshipsOK) IsRedirect() bool
- func (o *GetTrustRelationshipsOK) IsServerError() bool
- func (o *GetTrustRelationshipsOK) IsSuccess() bool
- func (o *GetTrustRelationshipsOK) String() string
- type GetTrustRelationshipsParams
- func NewGetTrustRelationshipsParams() *GetTrustRelationshipsParams
- func NewGetTrustRelationshipsParamsWithContext(ctx context.Context) *GetTrustRelationshipsParams
- func NewGetTrustRelationshipsParamsWithHTTPClient(client *http.Client) *GetTrustRelationshipsParams
- func NewGetTrustRelationshipsParamsWithTimeout(timeout time.Duration) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) SetContext(ctx context.Context)
- func (o *GetTrustRelationshipsParams) SetDefaults()
- func (o *GetTrustRelationshipsParams) SetFilter(filter *string)
- func (o *GetTrustRelationshipsParams) SetHTTPClient(client *http.Client)
- func (o *GetTrustRelationshipsParams) SetIncludeCertificate(includeCertificate *bool)
- func (o *GetTrustRelationshipsParams) SetTimeout(timeout time.Duration)
- func (o *GetTrustRelationshipsParams) WithContext(ctx context.Context) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WithDefaults() *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WithFilter(filter *string) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WithHTTPClient(client *http.Client) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WithIncludeCertificate(includeCertificate *bool) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WithTimeout(timeout time.Duration) *GetTrustRelationshipsParams
- func (o *GetTrustRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrustRelationshipsReader
- type GetTrustRelationshipsUnauthorized
- func (o *GetTrustRelationshipsUnauthorized) Code() int
- func (o *GetTrustRelationshipsUnauthorized) Error() string
- func (o *GetTrustRelationshipsUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *GetTrustRelationshipsUnauthorized) IsClientError() bool
- func (o *GetTrustRelationshipsUnauthorized) IsCode(code int) bool
- func (o *GetTrustRelationshipsUnauthorized) IsRedirect() bool
- func (o *GetTrustRelationshipsUnauthorized) IsServerError() bool
- func (o *GetTrustRelationshipsUnauthorized) IsSuccess() bool
- func (o *GetTrustRelationshipsUnauthorized) String() string
- type UpdateTrustRelationshipBadRequest
- func (o *UpdateTrustRelationshipBadRequest) Code() int
- func (o *UpdateTrustRelationshipBadRequest) Error() string
- func (o *UpdateTrustRelationshipBadRequest) GetPayload() *models.BasicFailedReply
- func (o *UpdateTrustRelationshipBadRequest) IsClientError() bool
- func (o *UpdateTrustRelationshipBadRequest) IsCode(code int) bool
- func (o *UpdateTrustRelationshipBadRequest) IsRedirect() bool
- func (o *UpdateTrustRelationshipBadRequest) IsServerError() bool
- func (o *UpdateTrustRelationshipBadRequest) IsSuccess() bool
- func (o *UpdateTrustRelationshipBadRequest) String() string
- type UpdateTrustRelationshipNotFound
- func (o *UpdateTrustRelationshipNotFound) Code() int
- func (o *UpdateTrustRelationshipNotFound) Error() string
- func (o *UpdateTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
- func (o *UpdateTrustRelationshipNotFound) IsClientError() bool
- func (o *UpdateTrustRelationshipNotFound) IsCode(code int) bool
- func (o *UpdateTrustRelationshipNotFound) IsRedirect() bool
- func (o *UpdateTrustRelationshipNotFound) IsServerError() bool
- func (o *UpdateTrustRelationshipNotFound) IsSuccess() bool
- func (o *UpdateTrustRelationshipNotFound) String() string
- type UpdateTrustRelationshipOK
- func (o *UpdateTrustRelationshipOK) Code() int
- func (o *UpdateTrustRelationshipOK) Error() string
- func (o *UpdateTrustRelationshipOK) GetPayload() *models.TrustRelationshipUpdateResponse
- func (o *UpdateTrustRelationshipOK) IsClientError() bool
- func (o *UpdateTrustRelationshipOK) IsCode(code int) bool
- func (o *UpdateTrustRelationshipOK) IsRedirect() bool
- func (o *UpdateTrustRelationshipOK) IsServerError() bool
- func (o *UpdateTrustRelationshipOK) IsSuccess() bool
- func (o *UpdateTrustRelationshipOK) String() string
- type UpdateTrustRelationshipParams
- func NewUpdateTrustRelationshipParams() *UpdateTrustRelationshipParams
- func NewUpdateTrustRelationshipParamsWithContext(ctx context.Context) *UpdateTrustRelationshipParams
- func NewUpdateTrustRelationshipParamsWithHTTPClient(client *http.Client) *UpdateTrustRelationshipParams
- func NewUpdateTrustRelationshipParamsWithTimeout(timeout time.Duration) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) SetBody(body *models.TrustRelationshipUpdateRequest)
- func (o *UpdateTrustRelationshipParams) SetContext(ctx context.Context)
- func (o *UpdateTrustRelationshipParams) SetDefaults()
- func (o *UpdateTrustRelationshipParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTrustRelationshipParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTrustRelationshipParams) SetTrustRelationshipID(trustRelationshipID string)
- func (o *UpdateTrustRelationshipParams) WithBody(body *models.TrustRelationshipUpdateRequest) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WithContext(ctx context.Context) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WithDefaults() *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WithHTTPClient(client *http.Client) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WithTimeout(timeout time.Duration) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WithTrustRelationshipID(trustRelationshipID string) *UpdateTrustRelationshipParams
- func (o *UpdateTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTrustRelationshipReader
- type UpdateTrustRelationshipUnauthorized
- func (o *UpdateTrustRelationshipUnauthorized) Code() int
- func (o *UpdateTrustRelationshipUnauthorized) Error() string
- func (o *UpdateTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *UpdateTrustRelationshipUnauthorized) IsClientError() bool
- func (o *UpdateTrustRelationshipUnauthorized) IsCode(code int) bool
- func (o *UpdateTrustRelationshipUnauthorized) IsRedirect() bool
- func (o *UpdateTrustRelationshipUnauthorized) IsServerError() bool
- func (o *UpdateTrustRelationshipUnauthorized) IsSuccess() bool
- func (o *UpdateTrustRelationshipUnauthorized) String() string
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 ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) Code() int
Code gets the status code for the create trust relationship bad request response
func (*CreateTrustRelationshipBadRequest) Error ¶
func (o *CreateTrustRelationshipBadRequest) Error() string
func (*CreateTrustRelationshipBadRequest) GetPayload ¶
func (o *CreateTrustRelationshipBadRequest) GetPayload() *models.BasicFailedReply
func (*CreateTrustRelationshipBadRequest) IsClientError ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) IsClientError() bool
IsClientError returns true when this create trust relationship bad request response has a 4xx status code
func (*CreateTrustRelationshipBadRequest) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) IsRedirect() bool
IsRedirect returns true when this create trust relationship bad request response has a 3xx status code
func (*CreateTrustRelationshipBadRequest) IsServerError ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) IsServerError() bool
IsServerError returns true when this create trust relationship bad request response has a 5xx status code
func (*CreateTrustRelationshipBadRequest) IsSuccess ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) IsSuccess() bool
IsSuccess returns true when this create trust relationship bad request response has a 2xx status code
func (*CreateTrustRelationshipBadRequest) String ¶ added in v1.13.0
func (o *CreateTrustRelationshipBadRequest) String() 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 ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) Code() int
Code gets the status code for the create trust relationship created response
func (*CreateTrustRelationshipCreated) Error ¶
func (o *CreateTrustRelationshipCreated) Error() string
func (*CreateTrustRelationshipCreated) GetPayload ¶
func (o *CreateTrustRelationshipCreated) GetPayload() *models.TrustRelationshipCreateResponse
func (*CreateTrustRelationshipCreated) IsClientError ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) IsClientError() bool
IsClientError returns true when this create trust relationship created response has a 4xx status code
func (*CreateTrustRelationshipCreated) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) IsRedirect() bool
IsRedirect returns true when this create trust relationship created response has a 3xx status code
func (*CreateTrustRelationshipCreated) IsServerError ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) IsServerError() bool
IsServerError returns true when this create trust relationship created response has a 5xx status code
func (*CreateTrustRelationshipCreated) IsSuccess ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) IsSuccess() bool
IsSuccess returns true when this create trust relationship created response has a 2xx status code
func (*CreateTrustRelationshipCreated) String ¶ added in v1.13.0
func (o *CreateTrustRelationshipCreated) String() 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 ¶
func (o *CreateTrustRelationshipParams) SetBody(body *models.TrustRelationshipCreateRequest)
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 ¶
func (o *CreateTrustRelationshipParams) WithBody(body *models.TrustRelationshipCreateRequest) *CreateTrustRelationshipParams
WithBody adds the body to the create trust relationship params
func (*CreateTrustRelationshipParams) WithContext ¶
func (o *CreateTrustRelationshipParams) WithContext(ctx context.Context) *CreateTrustRelationshipParams
WithContext adds the context to the create trust relationship params
func (*CreateTrustRelationshipParams) WithDefaults ¶
func (o *CreateTrustRelationshipParams) WithDefaults() *CreateTrustRelationshipParams
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 ¶
func (o *CreateTrustRelationshipParams) WithHTTPClient(client *http.Client) *CreateTrustRelationshipParams
WithHTTPClient adds the HTTPClient to the create trust relationship params
func (*CreateTrustRelationshipParams) WithTimeout ¶
func (o *CreateTrustRelationshipParams) WithTimeout(timeout time.Duration) *CreateTrustRelationshipParams
WithTimeout adds the timeout to the create trust relationship params
func (*CreateTrustRelationshipParams) WriteToRequest ¶
func (o *CreateTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) Code() int
Code gets the status code for the create trust relationship unauthorized response
func (*CreateTrustRelationshipUnauthorized) Error ¶
func (o *CreateTrustRelationshipUnauthorized) Error() string
func (*CreateTrustRelationshipUnauthorized) GetPayload ¶
func (o *CreateTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
func (*CreateTrustRelationshipUnauthorized) IsClientError ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) IsClientError() bool
IsClientError returns true when this create trust relationship unauthorized response has a 4xx status code
func (*CreateTrustRelationshipUnauthorized) IsCode ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) IsCode(code int) bool
IsCode returns true when this create trust relationship unauthorized response a status code equal to that given
func (*CreateTrustRelationshipUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) IsRedirect() bool
IsRedirect returns true when this create trust relationship unauthorized response has a 3xx status code
func (*CreateTrustRelationshipUnauthorized) IsServerError ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) IsServerError() bool
IsServerError returns true when this create trust relationship unauthorized response has a 5xx status code
func (*CreateTrustRelationshipUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) IsSuccess() bool
IsSuccess returns true when this create trust relationship unauthorized response has a 2xx status code
func (*CreateTrustRelationshipUnauthorized) String ¶ added in v1.13.0
func (o *CreateTrustRelationshipUnauthorized) String() 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 ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) Code() int
Code gets the status code for the delete trust relationship not found response
func (*DeleteTrustRelationshipNotFound) Error ¶
func (o *DeleteTrustRelationshipNotFound) Error() string
func (*DeleteTrustRelationshipNotFound) GetPayload ¶
func (o *DeleteTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteTrustRelationshipNotFound) IsClientError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) IsClientError() bool
IsClientError returns true when this delete trust relationship not found response has a 4xx status code
func (*DeleteTrustRelationshipNotFound) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) IsRedirect() bool
IsRedirect returns true when this delete trust relationship not found response has a 3xx status code
func (*DeleteTrustRelationshipNotFound) IsServerError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) IsServerError() bool
IsServerError returns true when this delete trust relationship not found response has a 5xx status code
func (*DeleteTrustRelationshipNotFound) IsSuccess ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) IsSuccess() bool
IsSuccess returns true when this delete trust relationship not found response has a 2xx status code
func (*DeleteTrustRelationshipNotFound) String ¶ added in v1.13.0
func (o *DeleteTrustRelationshipNotFound) String() 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 ¶ added in v1.13.0
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 (o *DeleteTrustRelationshipOK) GetPayload() models.EmptyResponse
func (*DeleteTrustRelationshipOK) IsClientError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipOK) IsClientError() bool
IsClientError returns true when this delete trust relationship o k response has a 4xx status code
func (*DeleteTrustRelationshipOK) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *DeleteTrustRelationshipOK) IsRedirect() bool
IsRedirect returns true when this delete trust relationship o k response has a 3xx status code
func (*DeleteTrustRelationshipOK) IsServerError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipOK) IsServerError() bool
IsServerError returns true when this delete trust relationship o k response has a 5xx status code
func (*DeleteTrustRelationshipOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteTrustRelationshipOK) IsSuccess() bool
IsSuccess returns true when this delete trust relationship o k response has a 2xx status code
func (*DeleteTrustRelationshipOK) String ¶ added in v1.13.0
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 ¶
func (o *DeleteTrustRelationshipParams) WithContext(ctx context.Context) *DeleteTrustRelationshipParams
WithContext adds the context to the delete trust relationship params
func (*DeleteTrustRelationshipParams) WithDefaults ¶
func (o *DeleteTrustRelationshipParams) WithDefaults() *DeleteTrustRelationshipParams
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 ¶
func (o *DeleteTrustRelationshipParams) WithHTTPClient(client *http.Client) *DeleteTrustRelationshipParams
WithHTTPClient adds the HTTPClient to the delete trust relationship params
func (*DeleteTrustRelationshipParams) WithTimeout ¶
func (o *DeleteTrustRelationshipParams) WithTimeout(timeout time.Duration) *DeleteTrustRelationshipParams
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 ¶
func (o *DeleteTrustRelationshipParams) WithVersion(version *int64) *DeleteTrustRelationshipParams
WithVersion adds the version to the delete trust relationship params
func (*DeleteTrustRelationshipParams) WriteToRequest ¶
func (o *DeleteTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) Code() int
Code gets the status code for the delete trust relationship unauthorized response
func (*DeleteTrustRelationshipUnauthorized) Error ¶
func (o *DeleteTrustRelationshipUnauthorized) Error() string
func (*DeleteTrustRelationshipUnauthorized) GetPayload ¶
func (o *DeleteTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
func (*DeleteTrustRelationshipUnauthorized) IsClientError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) IsClientError() bool
IsClientError returns true when this delete trust relationship unauthorized response has a 4xx status code
func (*DeleteTrustRelationshipUnauthorized) IsCode ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) IsCode(code int) bool
IsCode returns true when this delete trust relationship unauthorized response a status code equal to that given
func (*DeleteTrustRelationshipUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete trust relationship unauthorized response has a 3xx status code
func (*DeleteTrustRelationshipUnauthorized) IsServerError ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) IsServerError() bool
IsServerError returns true when this delete trust relationship unauthorized response has a 5xx status code
func (*DeleteTrustRelationshipUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete trust relationship unauthorized response has a 2xx status code
func (*DeleteTrustRelationshipUnauthorized) String ¶ added in v1.13.0
func (o *DeleteTrustRelationshipUnauthorized) String() 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 ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) Code() int
Code gets the status code for the get trust relationship not found response
func (*GetTrustRelationshipNotFound) Error ¶
func (o *GetTrustRelationshipNotFound) Error() string
func (*GetTrustRelationshipNotFound) GetPayload ¶
func (o *GetTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
func (*GetTrustRelationshipNotFound) IsClientError ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) IsClientError() bool
IsClientError returns true when this get trust relationship not found response has a 4xx status code
func (*GetTrustRelationshipNotFound) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) IsRedirect() bool
IsRedirect returns true when this get trust relationship not found response has a 3xx status code
func (*GetTrustRelationshipNotFound) IsServerError ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) IsServerError() bool
IsServerError returns true when this get trust relationship not found response has a 5xx status code
func (*GetTrustRelationshipNotFound) IsSuccess ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) IsSuccess() bool
IsSuccess returns true when this get trust relationship not found response has a 2xx status code
func (*GetTrustRelationshipNotFound) String ¶ added in v1.13.0
func (o *GetTrustRelationshipNotFound) String() 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 ¶ added in v1.13.0
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 (o *GetTrustRelationshipOK) GetPayload() *models.TrustRelationshipGetResponse
func (*GetTrustRelationshipOK) IsClientError ¶ added in v1.13.0
func (o *GetTrustRelationshipOK) IsClientError() bool
IsClientError returns true when this get trust relationship o k response has a 4xx status code
func (*GetTrustRelationshipOK) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *GetTrustRelationshipOK) IsRedirect() bool
IsRedirect returns true when this get trust relationship o k response has a 3xx status code
func (*GetTrustRelationshipOK) IsServerError ¶ added in v1.13.0
func (o *GetTrustRelationshipOK) IsServerError() bool
IsServerError returns true when this get trust relationship o k response has a 5xx status code
func (*GetTrustRelationshipOK) IsSuccess ¶ added in v1.13.0
func (o *GetTrustRelationshipOK) IsSuccess() bool
IsSuccess returns true when this get trust relationship o k response has a 2xx status code
func (*GetTrustRelationshipOK) String ¶ added in v1.13.0
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 ¶
func (o *GetTrustRelationshipParams) WithContext(ctx context.Context) *GetTrustRelationshipParams
WithContext adds the context to the get trust relationship params
func (*GetTrustRelationshipParams) WithDefaults ¶
func (o *GetTrustRelationshipParams) WithDefaults() *GetTrustRelationshipParams
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 ¶
func (o *GetTrustRelationshipParams) WithHTTPClient(client *http.Client) *GetTrustRelationshipParams
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 ¶
func (o *GetTrustRelationshipParams) WithTimeout(timeout time.Duration) *GetTrustRelationshipParams
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 ¶
func (o *GetTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) Code() int
Code gets the status code for the get trust relationship unauthorized response
func (*GetTrustRelationshipUnauthorized) Error ¶
func (o *GetTrustRelationshipUnauthorized) Error() string
func (*GetTrustRelationshipUnauthorized) GetPayload ¶
func (o *GetTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
func (*GetTrustRelationshipUnauthorized) IsClientError ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) IsClientError() bool
IsClientError returns true when this get trust relationship unauthorized response has a 4xx status code
func (*GetTrustRelationshipUnauthorized) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) IsRedirect() bool
IsRedirect returns true when this get trust relationship unauthorized response has a 3xx status code
func (*GetTrustRelationshipUnauthorized) IsServerError ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) IsServerError() bool
IsServerError returns true when this get trust relationship unauthorized response has a 5xx status code
func (*GetTrustRelationshipUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) IsSuccess() bool
IsSuccess returns true when this get trust relationship unauthorized response has a 2xx status code
func (*GetTrustRelationshipUnauthorized) String ¶ added in v1.13.0
func (o *GetTrustRelationshipUnauthorized) String() 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 ¶ added in v1.13.0
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 (o *GetTrustRelationshipsOK) GetPayload() *models.TrustRelationshipsListResponse
func (*GetTrustRelationshipsOK) IsClientError ¶ added in v1.13.0
func (o *GetTrustRelationshipsOK) IsClientError() bool
IsClientError returns true when this get trust relationships o k response has a 4xx status code
func (*GetTrustRelationshipsOK) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *GetTrustRelationshipsOK) IsRedirect() bool
IsRedirect returns true when this get trust relationships o k response has a 3xx status code
func (*GetTrustRelationshipsOK) IsServerError ¶ added in v1.13.0
func (o *GetTrustRelationshipsOK) IsServerError() bool
IsServerError returns true when this get trust relationships o k response has a 5xx status code
func (*GetTrustRelationshipsOK) IsSuccess ¶ added in v1.13.0
func (o *GetTrustRelationshipsOK) IsSuccess() bool
IsSuccess returns true when this get trust relationships o k response has a 2xx status code
func (*GetTrustRelationshipsOK) String ¶ added in v1.13.0
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 ¶ added in v1.12.0
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 ¶
func (o *GetTrustRelationshipsParams) WithContext(ctx context.Context) *GetTrustRelationshipsParams
WithContext adds the context to the get trust relationships params
func (*GetTrustRelationshipsParams) WithDefaults ¶
func (o *GetTrustRelationshipsParams) WithDefaults() *GetTrustRelationshipsParams
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 ¶ added in v1.12.0
func (o *GetTrustRelationshipsParams) WithFilter(filter *string) *GetTrustRelationshipsParams
WithFilter adds the filter to the get trust relationships params
func (*GetTrustRelationshipsParams) WithHTTPClient ¶
func (o *GetTrustRelationshipsParams) WithHTTPClient(client *http.Client) *GetTrustRelationshipsParams
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 ¶
func (o *GetTrustRelationshipsParams) WithTimeout(timeout time.Duration) *GetTrustRelationshipsParams
WithTimeout adds the timeout to the get trust relationships params
func (*GetTrustRelationshipsParams) WriteToRequest ¶
func (o *GetTrustRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) Code() int
Code gets the status code for the get trust relationships unauthorized response
func (*GetTrustRelationshipsUnauthorized) Error ¶
func (o *GetTrustRelationshipsUnauthorized) Error() string
func (*GetTrustRelationshipsUnauthorized) GetPayload ¶
func (o *GetTrustRelationshipsUnauthorized) GetPayload() *models.BasicFailedReply
func (*GetTrustRelationshipsUnauthorized) IsClientError ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) IsClientError() bool
IsClientError returns true when this get trust relationships unauthorized response has a 4xx status code
func (*GetTrustRelationshipsUnauthorized) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get trust relationships unauthorized response has a 3xx status code
func (*GetTrustRelationshipsUnauthorized) IsServerError ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) IsServerError() bool
IsServerError returns true when this get trust relationships unauthorized response has a 5xx status code
func (*GetTrustRelationshipsUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get trust relationships unauthorized response has a 2xx status code
func (*GetTrustRelationshipsUnauthorized) String ¶ added in v1.13.0
func (o *GetTrustRelationshipsUnauthorized) String() 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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) Code() int
Code gets the status code for the update trust relationship bad request response
func (*UpdateTrustRelationshipBadRequest) Error ¶
func (o *UpdateTrustRelationshipBadRequest) Error() string
func (*UpdateTrustRelationshipBadRequest) GetPayload ¶
func (o *UpdateTrustRelationshipBadRequest) GetPayload() *models.BasicFailedReply
func (*UpdateTrustRelationshipBadRequest) IsClientError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) IsClientError() bool
IsClientError returns true when this update trust relationship bad request response has a 4xx status code
func (*UpdateTrustRelationshipBadRequest) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) IsRedirect() bool
IsRedirect returns true when this update trust relationship bad request response has a 3xx status code
func (*UpdateTrustRelationshipBadRequest) IsServerError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) IsServerError() bool
IsServerError returns true when this update trust relationship bad request response has a 5xx status code
func (*UpdateTrustRelationshipBadRequest) IsSuccess ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) IsSuccess() bool
IsSuccess returns true when this update trust relationship bad request response has a 2xx status code
func (*UpdateTrustRelationshipBadRequest) String ¶ added in v1.13.0
func (o *UpdateTrustRelationshipBadRequest) String() 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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) Code() int
Code gets the status code for the update trust relationship not found response
func (*UpdateTrustRelationshipNotFound) Error ¶
func (o *UpdateTrustRelationshipNotFound) Error() string
func (*UpdateTrustRelationshipNotFound) GetPayload ¶
func (o *UpdateTrustRelationshipNotFound) GetPayload() *models.BasicFailedReply
func (*UpdateTrustRelationshipNotFound) IsClientError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) IsClientError() bool
IsClientError returns true when this update trust relationship not found response has a 4xx status code
func (*UpdateTrustRelationshipNotFound) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) IsRedirect() bool
IsRedirect returns true when this update trust relationship not found response has a 3xx status code
func (*UpdateTrustRelationshipNotFound) IsServerError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) IsServerError() bool
IsServerError returns true when this update trust relationship not found response has a 5xx status code
func (*UpdateTrustRelationshipNotFound) IsSuccess ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) IsSuccess() bool
IsSuccess returns true when this update trust relationship not found response has a 2xx status code
func (*UpdateTrustRelationshipNotFound) String ¶ added in v1.13.0
func (o *UpdateTrustRelationshipNotFound) String() 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 ¶ added in v1.13.0
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 (o *UpdateTrustRelationshipOK) GetPayload() *models.TrustRelationshipUpdateResponse
func (*UpdateTrustRelationshipOK) IsClientError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipOK) IsClientError() bool
IsClientError returns true when this update trust relationship o k response has a 4xx status code
func (*UpdateTrustRelationshipOK) IsCode ¶ added in v1.13.0
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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipOK) IsRedirect() bool
IsRedirect returns true when this update trust relationship o k response has a 3xx status code
func (*UpdateTrustRelationshipOK) IsServerError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipOK) IsServerError() bool
IsServerError returns true when this update trust relationship o k response has a 5xx status code
func (*UpdateTrustRelationshipOK) IsSuccess ¶ added in v1.13.0
func (o *UpdateTrustRelationshipOK) IsSuccess() bool
IsSuccess returns true when this update trust relationship o k response has a 2xx status code
func (*UpdateTrustRelationshipOK) String ¶ added in v1.13.0
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 ¶
func (o *UpdateTrustRelationshipParams) SetBody(body *models.TrustRelationshipUpdateRequest)
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 ¶
func (o *UpdateTrustRelationshipParams) WithBody(body *models.TrustRelationshipUpdateRequest) *UpdateTrustRelationshipParams
WithBody adds the body to the update trust relationship params
func (*UpdateTrustRelationshipParams) WithContext ¶
func (o *UpdateTrustRelationshipParams) WithContext(ctx context.Context) *UpdateTrustRelationshipParams
WithContext adds the context to the update trust relationship params
func (*UpdateTrustRelationshipParams) WithDefaults ¶
func (o *UpdateTrustRelationshipParams) WithDefaults() *UpdateTrustRelationshipParams
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 ¶
func (o *UpdateTrustRelationshipParams) WithHTTPClient(client *http.Client) *UpdateTrustRelationshipParams
WithHTTPClient adds the HTTPClient to the update trust relationship params
func (*UpdateTrustRelationshipParams) WithTimeout ¶
func (o *UpdateTrustRelationshipParams) WithTimeout(timeout time.Duration) *UpdateTrustRelationshipParams
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 ¶
func (o *UpdateTrustRelationshipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) Code() int
Code gets the status code for the update trust relationship unauthorized response
func (*UpdateTrustRelationshipUnauthorized) Error ¶
func (o *UpdateTrustRelationshipUnauthorized) Error() string
func (*UpdateTrustRelationshipUnauthorized) GetPayload ¶
func (o *UpdateTrustRelationshipUnauthorized) GetPayload() *models.BasicFailedReply
func (*UpdateTrustRelationshipUnauthorized) IsClientError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) IsClientError() bool
IsClientError returns true when this update trust relationship unauthorized response has a 4xx status code
func (*UpdateTrustRelationshipUnauthorized) IsCode ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) IsCode(code int) bool
IsCode returns true when this update trust relationship unauthorized response a status code equal to that given
func (*UpdateTrustRelationshipUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) IsRedirect() bool
IsRedirect returns true when this update trust relationship unauthorized response has a 3xx status code
func (*UpdateTrustRelationshipUnauthorized) IsServerError ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) IsServerError() bool
IsServerError returns true when this update trust relationship unauthorized response has a 5xx status code
func (*UpdateTrustRelationshipUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) IsSuccess() bool
IsSuccess returns true when this update trust relationship unauthorized response has a 2xx status code
func (*UpdateTrustRelationshipUnauthorized) String ¶ added in v1.13.0
func (o *UpdateTrustRelationshipUnauthorized) String() string
Source Files ¶
- create_trust_relationship_parameters.go
- create_trust_relationship_responses.go
- delete_trust_relationship_parameters.go
- delete_trust_relationship_responses.go
- get_trust_relationship_parameters.go
- get_trust_relationship_responses.go
- get_trust_relationships_parameters.go
- get_trust_relationships_responses.go
- platform_configuration_trust_relationships_client.go
- update_trust_relationship_parameters.go
- update_trust_relationship_responses.go