Documentation ¶
Index ¶
- type Client
- func (a *Client) OrganizationServiceCreate(params *OrganizationServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OrganizationServiceCreateOK, error)
- func (a *Client) OrganizationServiceGet(params *OrganizationServiceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OrganizationServiceGetOK, error)
- func (a *Client) OrganizationServiceGetIamPolicy(params *OrganizationServiceGetIamPolicyParams, ...) (*OrganizationServiceGetIamPolicyOK, error)
- func (a *Client) OrganizationServiceGetRole(params *OrganizationServiceGetRoleParams, ...) (*OrganizationServiceGetRoleOK, error)
- func (a *Client) OrganizationServiceList(params *OrganizationServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OrganizationServiceListOK, error)
- func (a *Client) OrganizationServiceListRoles(params *OrganizationServiceListRolesParams, ...) (*OrganizationServiceListRolesOK, error)
- func (a *Client) OrganizationServiceSetIamPolicy(params *OrganizationServiceSetIamPolicyParams, ...) (*OrganizationServiceSetIamPolicyOK, error)
- func (a *Client) OrganizationServiceSetName(params *OrganizationServiceSetNameParams, ...) (*OrganizationServiceSetNameOK, error)
- func (a *Client) OrganizationServiceTestIamPermissions(params *OrganizationServiceTestIamPermissionsParams, ...) (*OrganizationServiceTestIamPermissionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type OrganizationServiceCreateDefault
- func (o *OrganizationServiceCreateDefault) Code() int
- func (o *OrganizationServiceCreateDefault) Error() string
- func (o *OrganizationServiceCreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceCreateDefault) IsClientError() bool
- func (o *OrganizationServiceCreateDefault) IsCode(code int) bool
- func (o *OrganizationServiceCreateDefault) IsRedirect() bool
- func (o *OrganizationServiceCreateDefault) IsServerError() bool
- func (o *OrganizationServiceCreateDefault) IsSuccess() bool
- func (o *OrganizationServiceCreateDefault) String() string
- type OrganizationServiceCreateOK
- func (o *OrganizationServiceCreateOK) Error() string
- func (o *OrganizationServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationCreateResponse
- func (o *OrganizationServiceCreateOK) IsClientError() bool
- func (o *OrganizationServiceCreateOK) IsCode(code int) bool
- func (o *OrganizationServiceCreateOK) IsRedirect() bool
- func (o *OrganizationServiceCreateOK) IsServerError() bool
- func (o *OrganizationServiceCreateOK) IsSuccess() bool
- func (o *OrganizationServiceCreateOK) String() string
- type OrganizationServiceCreateParams
- func NewOrganizationServiceCreateParams() *OrganizationServiceCreateParams
- func NewOrganizationServiceCreateParamsWithContext(ctx context.Context) *OrganizationServiceCreateParams
- func NewOrganizationServiceCreateParamsWithHTTPClient(client *http.Client) *OrganizationServiceCreateParams
- func NewOrganizationServiceCreateParamsWithTimeout(timeout time.Duration) *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationCreateRequest)
- func (o *OrganizationServiceCreateParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceCreateParams) SetDefaults()
- func (o *OrganizationServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationCreateRequest) *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) WithContext(ctx context.Context) *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) WithDefaults() *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) WithHTTPClient(client *http.Client) *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) WithTimeout(timeout time.Duration) *OrganizationServiceCreateParams
- func (o *OrganizationServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceCreateReader
- type OrganizationServiceGetDefault
- func (o *OrganizationServiceGetDefault) Code() int
- func (o *OrganizationServiceGetDefault) Error() string
- func (o *OrganizationServiceGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceGetDefault) IsClientError() bool
- func (o *OrganizationServiceGetDefault) IsCode(code int) bool
- func (o *OrganizationServiceGetDefault) IsRedirect() bool
- func (o *OrganizationServiceGetDefault) IsServerError() bool
- func (o *OrganizationServiceGetDefault) IsSuccess() bool
- func (o *OrganizationServiceGetDefault) String() string
- type OrganizationServiceGetIamPolicyDefault
- func (o *OrganizationServiceGetIamPolicyDefault) Code() int
- func (o *OrganizationServiceGetIamPolicyDefault) Error() string
- func (o *OrganizationServiceGetIamPolicyDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceGetIamPolicyDefault) IsClientError() bool
- func (o *OrganizationServiceGetIamPolicyDefault) IsCode(code int) bool
- func (o *OrganizationServiceGetIamPolicyDefault) IsRedirect() bool
- func (o *OrganizationServiceGetIamPolicyDefault) IsServerError() bool
- func (o *OrganizationServiceGetIamPolicyDefault) IsSuccess() bool
- func (o *OrganizationServiceGetIamPolicyDefault) String() string
- type OrganizationServiceGetIamPolicyOK
- func (o *OrganizationServiceGetIamPolicyOK) Error() string
- func (o *OrganizationServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse
- func (o *OrganizationServiceGetIamPolicyOK) IsClientError() bool
- func (o *OrganizationServiceGetIamPolicyOK) IsCode(code int) bool
- func (o *OrganizationServiceGetIamPolicyOK) IsRedirect() bool
- func (o *OrganizationServiceGetIamPolicyOK) IsServerError() bool
- func (o *OrganizationServiceGetIamPolicyOK) IsSuccess() bool
- func (o *OrganizationServiceGetIamPolicyOK) String() string
- type OrganizationServiceGetIamPolicyParams
- func NewOrganizationServiceGetIamPolicyParams() *OrganizationServiceGetIamPolicyParams
- func NewOrganizationServiceGetIamPolicyParamsWithContext(ctx context.Context) *OrganizationServiceGetIamPolicyParams
- func NewOrganizationServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetIamPolicyParams
- func NewOrganizationServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceGetIamPolicyParams) SetDefaults()
- func (o *OrganizationServiceGetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceGetIamPolicyParams) SetID(id string)
- func (o *OrganizationServiceGetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceGetIamPolicyParams) WithContext(ctx context.Context) *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) WithDefaults() *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) WithID(id string) *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetIamPolicyParams
- func (o *OrganizationServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceGetIamPolicyReader
- type OrganizationServiceGetOK
- func (o *OrganizationServiceGetOK) Error() string
- func (o *OrganizationServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetResponse
- func (o *OrganizationServiceGetOK) IsClientError() bool
- func (o *OrganizationServiceGetOK) IsCode(code int) bool
- func (o *OrganizationServiceGetOK) IsRedirect() bool
- func (o *OrganizationServiceGetOK) IsServerError() bool
- func (o *OrganizationServiceGetOK) IsSuccess() bool
- func (o *OrganizationServiceGetOK) String() string
- type OrganizationServiceGetParams
- func NewOrganizationServiceGetParams() *OrganizationServiceGetParams
- func NewOrganizationServiceGetParamsWithContext(ctx context.Context) *OrganizationServiceGetParams
- func NewOrganizationServiceGetParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetParams
- func NewOrganizationServiceGetParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceGetParams) SetDefaults()
- func (o *OrganizationServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceGetParams) SetID(id string)
- func (o *OrganizationServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceGetParams) WithContext(ctx context.Context) *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) WithDefaults() *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) WithID(id string) *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetParams
- func (o *OrganizationServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceGetReader
- type OrganizationServiceGetRoleDefault
- func (o *OrganizationServiceGetRoleDefault) Code() int
- func (o *OrganizationServiceGetRoleDefault) Error() string
- func (o *OrganizationServiceGetRoleDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceGetRoleDefault) IsClientError() bool
- func (o *OrganizationServiceGetRoleDefault) IsCode(code int) bool
- func (o *OrganizationServiceGetRoleDefault) IsRedirect() bool
- func (o *OrganizationServiceGetRoleDefault) IsServerError() bool
- func (o *OrganizationServiceGetRoleDefault) IsSuccess() bool
- func (o *OrganizationServiceGetRoleDefault) String() string
- type OrganizationServiceGetRoleOK
- func (o *OrganizationServiceGetRoleOK) Error() string
- func (o *OrganizationServiceGetRoleOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetRoleResponse
- func (o *OrganizationServiceGetRoleOK) IsClientError() bool
- func (o *OrganizationServiceGetRoleOK) IsCode(code int) bool
- func (o *OrganizationServiceGetRoleOK) IsRedirect() bool
- func (o *OrganizationServiceGetRoleOK) IsServerError() bool
- func (o *OrganizationServiceGetRoleOK) IsSuccess() bool
- func (o *OrganizationServiceGetRoleOK) String() string
- type OrganizationServiceGetRoleParams
- func NewOrganizationServiceGetRoleParams() *OrganizationServiceGetRoleParams
- func NewOrganizationServiceGetRoleParamsWithContext(ctx context.Context) *OrganizationServiceGetRoleParams
- func NewOrganizationServiceGetRoleParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetRoleParams
- func NewOrganizationServiceGetRoleParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceGetRoleParams) SetDefaults()
- func (o *OrganizationServiceGetRoleParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceGetRoleParams) SetID(id string)
- func (o *OrganizationServiceGetRoleParams) SetRoleID(roleID string)
- func (o *OrganizationServiceGetRoleParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceGetRoleParams) WithContext(ctx context.Context) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WithDefaults() *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WithID(id string) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WithRoleID(roleID string) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetRoleParams
- func (o *OrganizationServiceGetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceGetRoleReader
- type OrganizationServiceListDefault
- func (o *OrganizationServiceListDefault) Code() int
- func (o *OrganizationServiceListDefault) Error() string
- func (o *OrganizationServiceListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceListDefault) IsClientError() bool
- func (o *OrganizationServiceListDefault) IsCode(code int) bool
- func (o *OrganizationServiceListDefault) IsRedirect() bool
- func (o *OrganizationServiceListDefault) IsServerError() bool
- func (o *OrganizationServiceListDefault) IsSuccess() bool
- func (o *OrganizationServiceListDefault) String() string
- type OrganizationServiceListOK
- func (o *OrganizationServiceListOK) Error() string
- func (o *OrganizationServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationListResponse
- func (o *OrganizationServiceListOK) IsClientError() bool
- func (o *OrganizationServiceListOK) IsCode(code int) bool
- func (o *OrganizationServiceListOK) IsRedirect() bool
- func (o *OrganizationServiceListOK) IsServerError() bool
- func (o *OrganizationServiceListOK) IsSuccess() bool
- func (o *OrganizationServiceListOK) String() string
- type OrganizationServiceListParams
- func NewOrganizationServiceListParams() *OrganizationServiceListParams
- func NewOrganizationServiceListParamsWithContext(ctx context.Context) *OrganizationServiceListParams
- func NewOrganizationServiceListParamsWithHTTPClient(client *http.Client) *OrganizationServiceListParams
- func NewOrganizationServiceListParamsWithTimeout(timeout time.Duration) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceListParams) SetDefaults()
- func (o *OrganizationServiceListParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *OrganizationServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *OrganizationServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *OrganizationServiceListParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceListParams) WithContext(ctx context.Context) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithDefaults() *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithHTTPClient(client *http.Client) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WithTimeout(timeout time.Duration) *OrganizationServiceListParams
- func (o *OrganizationServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceListReader
- type OrganizationServiceListRolesDefault
- func (o *OrganizationServiceListRolesDefault) Code() int
- func (o *OrganizationServiceListRolesDefault) Error() string
- func (o *OrganizationServiceListRolesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceListRolesDefault) IsClientError() bool
- func (o *OrganizationServiceListRolesDefault) IsCode(code int) bool
- func (o *OrganizationServiceListRolesDefault) IsRedirect() bool
- func (o *OrganizationServiceListRolesDefault) IsServerError() bool
- func (o *OrganizationServiceListRolesDefault) IsSuccess() bool
- func (o *OrganizationServiceListRolesDefault) String() string
- type OrganizationServiceListRolesOK
- func (o *OrganizationServiceListRolesOK) Error() string
- func (o *OrganizationServiceListRolesOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationListRolesResponse
- func (o *OrganizationServiceListRolesOK) IsClientError() bool
- func (o *OrganizationServiceListRolesOK) IsCode(code int) bool
- func (o *OrganizationServiceListRolesOK) IsRedirect() bool
- func (o *OrganizationServiceListRolesOK) IsServerError() bool
- func (o *OrganizationServiceListRolesOK) IsSuccess() bool
- func (o *OrganizationServiceListRolesOK) String() string
- type OrganizationServiceListRolesParams
- func NewOrganizationServiceListRolesParams() *OrganizationServiceListRolesParams
- func NewOrganizationServiceListRolesParamsWithContext(ctx context.Context) *OrganizationServiceListRolesParams
- func NewOrganizationServiceListRolesParamsWithHTTPClient(client *http.Client) *OrganizationServiceListRolesParams
- func NewOrganizationServiceListRolesParamsWithTimeout(timeout time.Duration) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceListRolesParams) SetDefaults()
- func (o *OrganizationServiceListRolesParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceListRolesParams) SetID(id string)
- func (o *OrganizationServiceListRolesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *OrganizationServiceListRolesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *OrganizationServiceListRolesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *OrganizationServiceListRolesParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceListRolesParams) WithContext(ctx context.Context) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithDefaults() *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithHTTPClient(client *http.Client) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithID(id string) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithPaginationPageSize(paginationPageSize *int64) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WithTimeout(timeout time.Duration) *OrganizationServiceListRolesParams
- func (o *OrganizationServiceListRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceListRolesReader
- type OrganizationServiceSetIamPolicyDefault
- func (o *OrganizationServiceSetIamPolicyDefault) Code() int
- func (o *OrganizationServiceSetIamPolicyDefault) Error() string
- func (o *OrganizationServiceSetIamPolicyDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceSetIamPolicyDefault) IsClientError() bool
- func (o *OrganizationServiceSetIamPolicyDefault) IsCode(code int) bool
- func (o *OrganizationServiceSetIamPolicyDefault) IsRedirect() bool
- func (o *OrganizationServiceSetIamPolicyDefault) IsServerError() bool
- func (o *OrganizationServiceSetIamPolicyDefault) IsSuccess() bool
- func (o *OrganizationServiceSetIamPolicyDefault) String() string
- type OrganizationServiceSetIamPolicyOK
- func (o *OrganizationServiceSetIamPolicyOK) Error() string
- func (o *OrganizationServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse
- func (o *OrganizationServiceSetIamPolicyOK) IsClientError() bool
- func (o *OrganizationServiceSetIamPolicyOK) IsCode(code int) bool
- func (o *OrganizationServiceSetIamPolicyOK) IsRedirect() bool
- func (o *OrganizationServiceSetIamPolicyOK) IsServerError() bool
- func (o *OrganizationServiceSetIamPolicyOK) IsSuccess() bool
- func (o *OrganizationServiceSetIamPolicyOK) String() string
- type OrganizationServiceSetIamPolicyParams
- func NewOrganizationServiceSetIamPolicyParams() *OrganizationServiceSetIamPolicyParams
- func NewOrganizationServiceSetIamPolicyParamsWithContext(ctx context.Context) *OrganizationServiceSetIamPolicyParams
- func NewOrganizationServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *OrganizationServiceSetIamPolicyParams
- func NewOrganizationServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest)
- func (o *OrganizationServiceSetIamPolicyParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceSetIamPolicyParams) SetDefaults()
- func (o *OrganizationServiceSetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceSetIamPolicyParams) SetID(id string)
- func (o *OrganizationServiceSetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceSetIamPolicyParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WithContext(ctx context.Context) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WithDefaults() *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WithID(id string) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *OrganizationServiceSetIamPolicyParams
- func (o *OrganizationServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceSetIamPolicyReader
- type OrganizationServiceSetNameDefault
- func (o *OrganizationServiceSetNameDefault) Code() int
- func (o *OrganizationServiceSetNameDefault) Error() string
- func (o *OrganizationServiceSetNameDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceSetNameDefault) IsClientError() bool
- func (o *OrganizationServiceSetNameDefault) IsCode(code int) bool
- func (o *OrganizationServiceSetNameDefault) IsRedirect() bool
- func (o *OrganizationServiceSetNameDefault) IsServerError() bool
- func (o *OrganizationServiceSetNameDefault) IsSuccess() bool
- func (o *OrganizationServiceSetNameDefault) String() string
- type OrganizationServiceSetNameOK
- func (o *OrganizationServiceSetNameOK) Error() string
- func (o *OrganizationServiceSetNameOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationSetNameResponse
- func (o *OrganizationServiceSetNameOK) IsClientError() bool
- func (o *OrganizationServiceSetNameOK) IsCode(code int) bool
- func (o *OrganizationServiceSetNameOK) IsRedirect() bool
- func (o *OrganizationServiceSetNameOK) IsServerError() bool
- func (o *OrganizationServiceSetNameOK) IsSuccess() bool
- func (o *OrganizationServiceSetNameOK) String() string
- type OrganizationServiceSetNameParams
- func NewOrganizationServiceSetNameParams() *OrganizationServiceSetNameParams
- func NewOrganizationServiceSetNameParamsWithContext(ctx context.Context) *OrganizationServiceSetNameParams
- func NewOrganizationServiceSetNameParamsWithHTTPClient(client *http.Client) *OrganizationServiceSetNameParams
- func NewOrganizationServiceSetNameParamsWithTimeout(timeout time.Duration) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationSetNameRequest)
- func (o *OrganizationServiceSetNameParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceSetNameParams) SetDefaults()
- func (o *OrganizationServiceSetNameParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceSetNameParams) SetID(id string)
- func (o *OrganizationServiceSetNameParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceSetNameParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationSetNameRequest) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WithContext(ctx context.Context) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WithDefaults() *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WithHTTPClient(client *http.Client) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WithID(id string) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WithTimeout(timeout time.Duration) *OrganizationServiceSetNameParams
- func (o *OrganizationServiceSetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceSetNameReader
- type OrganizationServiceTestIamPermissionsDefault
- func (o *OrganizationServiceTestIamPermissionsDefault) Code() int
- func (o *OrganizationServiceTestIamPermissionsDefault) Error() string
- func (o *OrganizationServiceTestIamPermissionsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *OrganizationServiceTestIamPermissionsDefault) IsClientError() bool
- func (o *OrganizationServiceTestIamPermissionsDefault) IsCode(code int) bool
- func (o *OrganizationServiceTestIamPermissionsDefault) IsRedirect() bool
- func (o *OrganizationServiceTestIamPermissionsDefault) IsServerError() bool
- func (o *OrganizationServiceTestIamPermissionsDefault) IsSuccess() bool
- func (o *OrganizationServiceTestIamPermissionsDefault) String() string
- type OrganizationServiceTestIamPermissionsOK
- func (o *OrganizationServiceTestIamPermissionsOK) Error() string
- func (o *OrganizationServiceTestIamPermissionsOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse
- func (o *OrganizationServiceTestIamPermissionsOK) IsClientError() bool
- func (o *OrganizationServiceTestIamPermissionsOK) IsCode(code int) bool
- func (o *OrganizationServiceTestIamPermissionsOK) IsRedirect() bool
- func (o *OrganizationServiceTestIamPermissionsOK) IsServerError() bool
- func (o *OrganizationServiceTestIamPermissionsOK) IsSuccess() bool
- func (o *OrganizationServiceTestIamPermissionsOK) String() string
- type OrganizationServiceTestIamPermissionsParams
- func NewOrganizationServiceTestIamPermissionsParams() *OrganizationServiceTestIamPermissionsParams
- func NewOrganizationServiceTestIamPermissionsParamsWithContext(ctx context.Context) *OrganizationServiceTestIamPermissionsParams
- func NewOrganizationServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *OrganizationServiceTestIamPermissionsParams
- func NewOrganizationServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) SetBody(...)
- func (o *OrganizationServiceTestIamPermissionsParams) SetContext(ctx context.Context)
- func (o *OrganizationServiceTestIamPermissionsParams) SetDefaults()
- func (o *OrganizationServiceTestIamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationServiceTestIamPermissionsParams) SetID(id string)
- func (o *OrganizationServiceTestIamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationServiceTestIamPermissionsParams) WithBody(...) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WithContext(ctx context.Context) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WithDefaults() *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WithID(id string) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *OrganizationServiceTestIamPermissionsParams
- func (o *OrganizationServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationServiceTestIamPermissionsReader
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 organization service API
func (*Client) OrganizationServiceCreate ¶
func (a *Client) OrganizationServiceCreate(params *OrganizationServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceCreateOK, error)
OrganizationServiceCreate creates creates a new organization the owner is set to the identity of the caller an organization can not be owned by a machine account
func (*Client) OrganizationServiceGet ¶
func (a *Client) OrganizationServiceGet(params *OrganizationServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetOK, error)
OrganizationServiceGet gets retrieves the requested organization by ID
func (*Client) OrganizationServiceGetIamPolicy ¶
func (a *Client) OrganizationServiceGetIamPolicy(params *OrganizationServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetIamPolicyOK, error)
OrganizationServiceGetIamPolicy gets iam policy retrieves the requested organization s i a m policy
func (*Client) OrganizationServiceGetRole ¶ added in v0.18.0
func (a *Client) OrganizationServiceGetRole(params *OrganizationServiceGetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetRoleOK, error)
OrganizationServiceGetRole gets role returns a role and its mapped permissions
func (*Client) OrganizationServiceList ¶
func (a *Client) OrganizationServiceList(params *OrganizationServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceListOK, error)
OrganizationServiceList lists lists the organizations the caller has access to
func (*Client) OrganizationServiceListRoles ¶ added in v0.18.0
func (a *Client) OrganizationServiceListRoles(params *OrganizationServiceListRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceListRolesOK, error)
OrganizationServiceListRoles lists roles returns a list of all user facing roles for an organization
func (*Client) OrganizationServiceSetIamPolicy ¶
func (a *Client) OrganizationServiceSetIamPolicy(params *OrganizationServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceSetIamPolicyOK, error)
OrganizationServiceSetIamPolicy sets iam policy sets the i a m policy for an organization since this updates the full policy the policy takes an etag argument that should match with the current policy stored in the system this is to avoid concurrent writes erasing each other s data hence the client should always get the current policy that includes the etag modify the policy and then set the policy with the same etag if there is no existing policy the etag must be empty
func (*Client) OrganizationServiceSetName ¶ added in v0.18.0
func (a *Client) OrganizationServiceSetName(params *OrganizationServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceSetNameOK, error)
OrganizationServiceSetName sets name updates the organization s name
func (*Client) OrganizationServiceTestIamPermissions ¶
func (a *Client) OrganizationServiceTestIamPermissions(params *OrganizationServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceTestIamPermissionsOK, error)
OrganizationServiceTestIamPermissions tests iam permissions returns a subset of the request permissions the calling principal has for the organization
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { OrganizationServiceCreate(params *OrganizationServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceCreateOK, error) OrganizationServiceGet(params *OrganizationServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetOK, error) OrganizationServiceGetIamPolicy(params *OrganizationServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetIamPolicyOK, error) OrganizationServiceGetRole(params *OrganizationServiceGetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceGetRoleOK, error) OrganizationServiceList(params *OrganizationServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceListOK, error) OrganizationServiceListRoles(params *OrganizationServiceListRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceListRolesOK, error) OrganizationServiceSetIamPolicy(params *OrganizationServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceSetIamPolicyOK, error) OrganizationServiceSetName(params *OrganizationServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceSetNameOK, error) OrganizationServiceTestIamPermissions(params *OrganizationServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationServiceTestIamPermissionsOK, 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 organization service API client.
type OrganizationServiceCreateDefault ¶
type OrganizationServiceCreateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceCreateDefault ¶
func NewOrganizationServiceCreateDefault(code int) *OrganizationServiceCreateDefault
NewOrganizationServiceCreateDefault creates a OrganizationServiceCreateDefault with default headers values
func (*OrganizationServiceCreateDefault) Code ¶
func (o *OrganizationServiceCreateDefault) Code() int
Code gets the status code for the organization service create default response
func (*OrganizationServiceCreateDefault) Error ¶
func (o *OrganizationServiceCreateDefault) Error() string
func (*OrganizationServiceCreateDefault) GetPayload ¶
func (o *OrganizationServiceCreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceCreateDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) IsClientError() bool
IsClientError returns true when this organization service create default response has a 4xx status code
func (*OrganizationServiceCreateDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) IsCode(code int) bool
IsCode returns true when this organization service create default response a status code equal to that given
func (*OrganizationServiceCreateDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) IsRedirect() bool
IsRedirect returns true when this organization service create default response has a 3xx status code
func (*OrganizationServiceCreateDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) IsServerError() bool
IsServerError returns true when this organization service create default response has a 5xx status code
func (*OrganizationServiceCreateDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) IsSuccess() bool
IsSuccess returns true when this organization service create default response has a 2xx status code
func (*OrganizationServiceCreateDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceCreateDefault) String() string
type OrganizationServiceCreateOK ¶
type OrganizationServiceCreateOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationCreateResponse
}
OrganizationServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceCreateOK ¶
func NewOrganizationServiceCreateOK() *OrganizationServiceCreateOK
NewOrganizationServiceCreateOK creates a OrganizationServiceCreateOK with default headers values
func (*OrganizationServiceCreateOK) Error ¶
func (o *OrganizationServiceCreateOK) Error() string
func (*OrganizationServiceCreateOK) GetPayload ¶
func (o *OrganizationServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationCreateResponse
func (*OrganizationServiceCreateOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) IsClientError() bool
IsClientError returns true when this organization service create o k response has a 4xx status code
func (*OrganizationServiceCreateOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) IsCode(code int) bool
IsCode returns true when this organization service create o k response a status code equal to that given
func (*OrganizationServiceCreateOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) IsRedirect() bool
IsRedirect returns true when this organization service create o k response has a 3xx status code
func (*OrganizationServiceCreateOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) IsServerError() bool
IsServerError returns true when this organization service create o k response has a 5xx status code
func (*OrganizationServiceCreateOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) IsSuccess() bool
IsSuccess returns true when this organization service create o k response has a 2xx status code
func (*OrganizationServiceCreateOK) String ¶ added in v0.23.0
func (o *OrganizationServiceCreateOK) String() string
type OrganizationServiceCreateParams ¶
type OrganizationServiceCreateParams struct { // Body. Body *models.HashicorpCloudResourcemanagerOrganizationCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceCreateParams contains all the parameters to send to the API endpoint
for the organization service create operation. Typically these are written to a http.Request.
func NewOrganizationServiceCreateParams ¶
func NewOrganizationServiceCreateParams() *OrganizationServiceCreateParams
NewOrganizationServiceCreateParams creates a new OrganizationServiceCreateParams 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 NewOrganizationServiceCreateParamsWithContext ¶
func NewOrganizationServiceCreateParamsWithContext(ctx context.Context) *OrganizationServiceCreateParams
NewOrganizationServiceCreateParamsWithContext creates a new OrganizationServiceCreateParams object with the ability to set a context for a request.
func NewOrganizationServiceCreateParamsWithHTTPClient ¶
func NewOrganizationServiceCreateParamsWithHTTPClient(client *http.Client) *OrganizationServiceCreateParams
NewOrganizationServiceCreateParamsWithHTTPClient creates a new OrganizationServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceCreateParamsWithTimeout ¶
func NewOrganizationServiceCreateParamsWithTimeout(timeout time.Duration) *OrganizationServiceCreateParams
NewOrganizationServiceCreateParamsWithTimeout creates a new OrganizationServiceCreateParams object with the ability to set a timeout on a request.
func (*OrganizationServiceCreateParams) SetBody ¶
func (o *OrganizationServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationCreateRequest)
SetBody adds the body to the organization service create params
func (*OrganizationServiceCreateParams) SetContext ¶
func (o *OrganizationServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service create params
func (*OrganizationServiceCreateParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the organization service create params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceCreateParams) SetHTTPClient ¶
func (o *OrganizationServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service create params
func (*OrganizationServiceCreateParams) SetTimeout ¶
func (o *OrganizationServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service create params
func (*OrganizationServiceCreateParams) WithBody ¶
func (o *OrganizationServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationCreateRequest) *OrganizationServiceCreateParams
WithBody adds the body to the organization service create params
func (*OrganizationServiceCreateParams) WithContext ¶
func (o *OrganizationServiceCreateParams) WithContext(ctx context.Context) *OrganizationServiceCreateParams
WithContext adds the context to the organization service create params
func (*OrganizationServiceCreateParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceCreateParams) WithDefaults() *OrganizationServiceCreateParams
WithDefaults hydrates default values in the organization service create params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceCreateParams) WithHTTPClient ¶
func (o *OrganizationServiceCreateParams) WithHTTPClient(client *http.Client) *OrganizationServiceCreateParams
WithHTTPClient adds the HTTPClient to the organization service create params
func (*OrganizationServiceCreateParams) WithTimeout ¶
func (o *OrganizationServiceCreateParams) WithTimeout(timeout time.Duration) *OrganizationServiceCreateParams
WithTimeout adds the timeout to the organization service create params
func (*OrganizationServiceCreateParams) WriteToRequest ¶
func (o *OrganizationServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceCreateReader ¶
type OrganizationServiceCreateReader struct {
// contains filtered or unexported fields
}
OrganizationServiceCreateReader is a Reader for the OrganizationServiceCreate structure.
func (*OrganizationServiceCreateReader) ReadResponse ¶
func (o *OrganizationServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceGetDefault ¶
type OrganizationServiceGetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceGetDefault ¶
func NewOrganizationServiceGetDefault(code int) *OrganizationServiceGetDefault
NewOrganizationServiceGetDefault creates a OrganizationServiceGetDefault with default headers values
func (*OrganizationServiceGetDefault) Code ¶
func (o *OrganizationServiceGetDefault) Code() int
Code gets the status code for the organization service get default response
func (*OrganizationServiceGetDefault) Error ¶
func (o *OrganizationServiceGetDefault) Error() string
func (*OrganizationServiceGetDefault) GetPayload ¶
func (o *OrganizationServiceGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceGetDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) IsClientError() bool
IsClientError returns true when this organization service get default response has a 4xx status code
func (*OrganizationServiceGetDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) IsCode(code int) bool
IsCode returns true when this organization service get default response a status code equal to that given
func (*OrganizationServiceGetDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) IsRedirect() bool
IsRedirect returns true when this organization service get default response has a 3xx status code
func (*OrganizationServiceGetDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) IsServerError() bool
IsServerError returns true when this organization service get default response has a 5xx status code
func (*OrganizationServiceGetDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) IsSuccess() bool
IsSuccess returns true when this organization service get default response has a 2xx status code
func (*OrganizationServiceGetDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceGetDefault) String() string
type OrganizationServiceGetIamPolicyDefault ¶
type OrganizationServiceGetIamPolicyDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceGetIamPolicyDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceGetIamPolicyDefault ¶
func NewOrganizationServiceGetIamPolicyDefault(code int) *OrganizationServiceGetIamPolicyDefault
NewOrganizationServiceGetIamPolicyDefault creates a OrganizationServiceGetIamPolicyDefault with default headers values
func (*OrganizationServiceGetIamPolicyDefault) Code ¶
func (o *OrganizationServiceGetIamPolicyDefault) Code() int
Code gets the status code for the organization service get iam policy default response
func (*OrganizationServiceGetIamPolicyDefault) Error ¶
func (o *OrganizationServiceGetIamPolicyDefault) Error() string
func (*OrganizationServiceGetIamPolicyDefault) GetPayload ¶
func (o *OrganizationServiceGetIamPolicyDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceGetIamPolicyDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) IsClientError() bool
IsClientError returns true when this organization service get iam policy default response has a 4xx status code
func (*OrganizationServiceGetIamPolicyDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) IsCode(code int) bool
IsCode returns true when this organization service get iam policy default response a status code equal to that given
func (*OrganizationServiceGetIamPolicyDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) IsRedirect() bool
IsRedirect returns true when this organization service get iam policy default response has a 3xx status code
func (*OrganizationServiceGetIamPolicyDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) IsServerError() bool
IsServerError returns true when this organization service get iam policy default response has a 5xx status code
func (*OrganizationServiceGetIamPolicyDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) IsSuccess() bool
IsSuccess returns true when this organization service get iam policy default response has a 2xx status code
func (*OrganizationServiceGetIamPolicyDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyDefault) String() string
type OrganizationServiceGetIamPolicyOK ¶
type OrganizationServiceGetIamPolicyOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse
}
OrganizationServiceGetIamPolicyOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceGetIamPolicyOK ¶
func NewOrganizationServiceGetIamPolicyOK() *OrganizationServiceGetIamPolicyOK
NewOrganizationServiceGetIamPolicyOK creates a OrganizationServiceGetIamPolicyOK with default headers values
func (*OrganizationServiceGetIamPolicyOK) Error ¶
func (o *OrganizationServiceGetIamPolicyOK) Error() string
func (*OrganizationServiceGetIamPolicyOK) GetPayload ¶
func (o *OrganizationServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse
func (*OrganizationServiceGetIamPolicyOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) IsClientError() bool
IsClientError returns true when this organization service get iam policy o k response has a 4xx status code
func (*OrganizationServiceGetIamPolicyOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) IsCode(code int) bool
IsCode returns true when this organization service get iam policy o k response a status code equal to that given
func (*OrganizationServiceGetIamPolicyOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) IsRedirect() bool
IsRedirect returns true when this organization service get iam policy o k response has a 3xx status code
func (*OrganizationServiceGetIamPolicyOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) IsServerError() bool
IsServerError returns true when this organization service get iam policy o k response has a 5xx status code
func (*OrganizationServiceGetIamPolicyOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) IsSuccess() bool
IsSuccess returns true when this organization service get iam policy o k response has a 2xx status code
func (*OrganizationServiceGetIamPolicyOK) String ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyOK) String() string
type OrganizationServiceGetIamPolicyParams ¶
type OrganizationServiceGetIamPolicyParams struct { /* ID. ID is the identifier of the organization. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceGetIamPolicyParams contains all the parameters to send to the API endpoint
for the organization service get iam policy operation. Typically these are written to a http.Request.
func NewOrganizationServiceGetIamPolicyParams ¶
func NewOrganizationServiceGetIamPolicyParams() *OrganizationServiceGetIamPolicyParams
NewOrganizationServiceGetIamPolicyParams creates a new OrganizationServiceGetIamPolicyParams 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 NewOrganizationServiceGetIamPolicyParamsWithContext ¶
func NewOrganizationServiceGetIamPolicyParamsWithContext(ctx context.Context) *OrganizationServiceGetIamPolicyParams
NewOrganizationServiceGetIamPolicyParamsWithContext creates a new OrganizationServiceGetIamPolicyParams object with the ability to set a context for a request.
func NewOrganizationServiceGetIamPolicyParamsWithHTTPClient ¶
func NewOrganizationServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetIamPolicyParams
NewOrganizationServiceGetIamPolicyParamsWithHTTPClient creates a new OrganizationServiceGetIamPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceGetIamPolicyParamsWithTimeout ¶
func NewOrganizationServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetIamPolicyParams
NewOrganizationServiceGetIamPolicyParamsWithTimeout creates a new OrganizationServiceGetIamPolicyParams object with the ability to set a timeout on a request.
func (*OrganizationServiceGetIamPolicyParams) SetContext ¶
func (o *OrganizationServiceGetIamPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyParams) SetDefaults()
SetDefaults hydrates default values in the organization service get iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetIamPolicyParams) SetHTTPClient ¶
func (o *OrganizationServiceGetIamPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) SetID ¶
func (o *OrganizationServiceGetIamPolicyParams) SetID(id string)
SetID adds the id to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) SetTimeout ¶
func (o *OrganizationServiceGetIamPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) WithContext ¶
func (o *OrganizationServiceGetIamPolicyParams) WithContext(ctx context.Context) *OrganizationServiceGetIamPolicyParams
WithContext adds the context to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetIamPolicyParams) WithDefaults() *OrganizationServiceGetIamPolicyParams
WithDefaults hydrates default values in the organization service get iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetIamPolicyParams) WithHTTPClient ¶
func (o *OrganizationServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetIamPolicyParams
WithHTTPClient adds the HTTPClient to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) WithID ¶
func (o *OrganizationServiceGetIamPolicyParams) WithID(id string) *OrganizationServiceGetIamPolicyParams
WithID adds the id to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) WithTimeout ¶
func (o *OrganizationServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetIamPolicyParams
WithTimeout adds the timeout to the organization service get iam policy params
func (*OrganizationServiceGetIamPolicyParams) WriteToRequest ¶
func (o *OrganizationServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceGetIamPolicyReader ¶
type OrganizationServiceGetIamPolicyReader struct {
// contains filtered or unexported fields
}
OrganizationServiceGetIamPolicyReader is a Reader for the OrganizationServiceGetIamPolicy structure.
func (*OrganizationServiceGetIamPolicyReader) ReadResponse ¶
func (o *OrganizationServiceGetIamPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceGetOK ¶
type OrganizationServiceGetOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationGetResponse
}
OrganizationServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceGetOK ¶
func NewOrganizationServiceGetOK() *OrganizationServiceGetOK
NewOrganizationServiceGetOK creates a OrganizationServiceGetOK with default headers values
func (*OrganizationServiceGetOK) Error ¶
func (o *OrganizationServiceGetOK) Error() string
func (*OrganizationServiceGetOK) GetPayload ¶
func (o *OrganizationServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetResponse
func (*OrganizationServiceGetOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) IsClientError() bool
IsClientError returns true when this organization service get o k response has a 4xx status code
func (*OrganizationServiceGetOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) IsCode(code int) bool
IsCode returns true when this organization service get o k response a status code equal to that given
func (*OrganizationServiceGetOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) IsRedirect() bool
IsRedirect returns true when this organization service get o k response has a 3xx status code
func (*OrganizationServiceGetOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) IsServerError() bool
IsServerError returns true when this organization service get o k response has a 5xx status code
func (*OrganizationServiceGetOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) IsSuccess() bool
IsSuccess returns true when this organization service get o k response has a 2xx status code
func (*OrganizationServiceGetOK) String ¶ added in v0.23.0
func (o *OrganizationServiceGetOK) String() string
type OrganizationServiceGetParams ¶
type OrganizationServiceGetParams struct { /* ID. ID is the identifier of the organization to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceGetParams contains all the parameters to send to the API endpoint
for the organization service get operation. Typically these are written to a http.Request.
func NewOrganizationServiceGetParams ¶
func NewOrganizationServiceGetParams() *OrganizationServiceGetParams
NewOrganizationServiceGetParams creates a new OrganizationServiceGetParams 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 NewOrganizationServiceGetParamsWithContext ¶
func NewOrganizationServiceGetParamsWithContext(ctx context.Context) *OrganizationServiceGetParams
NewOrganizationServiceGetParamsWithContext creates a new OrganizationServiceGetParams object with the ability to set a context for a request.
func NewOrganizationServiceGetParamsWithHTTPClient ¶
func NewOrganizationServiceGetParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetParams
NewOrganizationServiceGetParamsWithHTTPClient creates a new OrganizationServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceGetParamsWithTimeout ¶
func NewOrganizationServiceGetParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetParams
NewOrganizationServiceGetParamsWithTimeout creates a new OrganizationServiceGetParams object with the ability to set a timeout on a request.
func (*OrganizationServiceGetParams) SetContext ¶
func (o *OrganizationServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service get params
func (*OrganizationServiceGetParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the organization service get params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetParams) SetHTTPClient ¶
func (o *OrganizationServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service get params
func (*OrganizationServiceGetParams) SetID ¶
func (o *OrganizationServiceGetParams) SetID(id string)
SetID adds the id to the organization service get params
func (*OrganizationServiceGetParams) SetTimeout ¶
func (o *OrganizationServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service get params
func (*OrganizationServiceGetParams) WithContext ¶
func (o *OrganizationServiceGetParams) WithContext(ctx context.Context) *OrganizationServiceGetParams
WithContext adds the context to the organization service get params
func (*OrganizationServiceGetParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetParams) WithDefaults() *OrganizationServiceGetParams
WithDefaults hydrates default values in the organization service get params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetParams) WithHTTPClient ¶
func (o *OrganizationServiceGetParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetParams
WithHTTPClient adds the HTTPClient to the organization service get params
func (*OrganizationServiceGetParams) WithID ¶
func (o *OrganizationServiceGetParams) WithID(id string) *OrganizationServiceGetParams
WithID adds the id to the organization service get params
func (*OrganizationServiceGetParams) WithTimeout ¶
func (o *OrganizationServiceGetParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetParams
WithTimeout adds the timeout to the organization service get params
func (*OrganizationServiceGetParams) WriteToRequest ¶
func (o *OrganizationServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceGetReader ¶
type OrganizationServiceGetReader struct {
// contains filtered or unexported fields
}
OrganizationServiceGetReader is a Reader for the OrganizationServiceGet structure.
func (*OrganizationServiceGetReader) ReadResponse ¶
func (o *OrganizationServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceGetRoleDefault ¶ added in v0.18.0
type OrganizationServiceGetRoleDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceGetRoleDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceGetRoleDefault ¶ added in v0.18.0
func NewOrganizationServiceGetRoleDefault(code int) *OrganizationServiceGetRoleDefault
NewOrganizationServiceGetRoleDefault creates a OrganizationServiceGetRoleDefault with default headers values
func (*OrganizationServiceGetRoleDefault) Code ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleDefault) Code() int
Code gets the status code for the organization service get role default response
func (*OrganizationServiceGetRoleDefault) Error ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleDefault) Error() string
func (*OrganizationServiceGetRoleDefault) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceGetRoleDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) IsClientError() bool
IsClientError returns true when this organization service get role default response has a 4xx status code
func (*OrganizationServiceGetRoleDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) IsCode(code int) bool
IsCode returns true when this organization service get role default response a status code equal to that given
func (*OrganizationServiceGetRoleDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) IsRedirect() bool
IsRedirect returns true when this organization service get role default response has a 3xx status code
func (*OrganizationServiceGetRoleDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) IsServerError() bool
IsServerError returns true when this organization service get role default response has a 5xx status code
func (*OrganizationServiceGetRoleDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) IsSuccess() bool
IsSuccess returns true when this organization service get role default response has a 2xx status code
func (*OrganizationServiceGetRoleDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleDefault) String() string
type OrganizationServiceGetRoleOK ¶ added in v0.18.0
type OrganizationServiceGetRoleOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationGetRoleResponse
}
OrganizationServiceGetRoleOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceGetRoleOK ¶ added in v0.18.0
func NewOrganizationServiceGetRoleOK() *OrganizationServiceGetRoleOK
NewOrganizationServiceGetRoleOK creates a OrganizationServiceGetRoleOK with default headers values
func (*OrganizationServiceGetRoleOK) Error ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleOK) Error() string
func (*OrganizationServiceGetRoleOK) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationGetRoleResponse
func (*OrganizationServiceGetRoleOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) IsClientError() bool
IsClientError returns true when this organization service get role o k response has a 4xx status code
func (*OrganizationServiceGetRoleOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) IsCode(code int) bool
IsCode returns true when this organization service get role o k response a status code equal to that given
func (*OrganizationServiceGetRoleOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) IsRedirect() bool
IsRedirect returns true when this organization service get role o k response has a 3xx status code
func (*OrganizationServiceGetRoleOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) IsServerError() bool
IsServerError returns true when this organization service get role o k response has a 5xx status code
func (*OrganizationServiceGetRoleOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) IsSuccess() bool
IsSuccess returns true when this organization service get role o k response has a 2xx status code
func (*OrganizationServiceGetRoleOK) String ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleOK) String() string
type OrganizationServiceGetRoleParams ¶ added in v0.18.0
type OrganizationServiceGetRoleParams struct { /* ID. ID is the identifier of the organization. */ ID string /* RoleID. RoleId is the identifier of the role to retrieve. */ RoleID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceGetRoleParams contains all the parameters to send to the API endpoint
for the organization service get role operation. Typically these are written to a http.Request.
func NewOrganizationServiceGetRoleParams ¶ added in v0.18.0
func NewOrganizationServiceGetRoleParams() *OrganizationServiceGetRoleParams
NewOrganizationServiceGetRoleParams creates a new OrganizationServiceGetRoleParams 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 NewOrganizationServiceGetRoleParamsWithContext ¶ added in v0.18.0
func NewOrganizationServiceGetRoleParamsWithContext(ctx context.Context) *OrganizationServiceGetRoleParams
NewOrganizationServiceGetRoleParamsWithContext creates a new OrganizationServiceGetRoleParams object with the ability to set a context for a request.
func NewOrganizationServiceGetRoleParamsWithHTTPClient ¶ added in v0.18.0
func NewOrganizationServiceGetRoleParamsWithHTTPClient(client *http.Client) *OrganizationServiceGetRoleParams
NewOrganizationServiceGetRoleParamsWithHTTPClient creates a new OrganizationServiceGetRoleParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceGetRoleParamsWithTimeout ¶ added in v0.18.0
func NewOrganizationServiceGetRoleParamsWithTimeout(timeout time.Duration) *OrganizationServiceGetRoleParams
NewOrganizationServiceGetRoleParamsWithTimeout creates a new OrganizationServiceGetRoleParams object with the ability to set a timeout on a request.
func (*OrganizationServiceGetRoleParams) SetContext ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service get role params
func (*OrganizationServiceGetRoleParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleParams) SetDefaults()
SetDefaults hydrates default values in the organization service get role params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetRoleParams) SetHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service get role params
func (*OrganizationServiceGetRoleParams) SetID ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) SetID(id string)
SetID adds the id to the organization service get role params
func (*OrganizationServiceGetRoleParams) SetRoleID ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) SetRoleID(roleID string)
SetRoleID adds the roleId to the organization service get role params
func (*OrganizationServiceGetRoleParams) SetTimeout ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service get role params
func (*OrganizationServiceGetRoleParams) WithContext ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WithContext(ctx context.Context) *OrganizationServiceGetRoleParams
WithContext adds the context to the organization service get role params
func (*OrganizationServiceGetRoleParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceGetRoleParams) WithDefaults() *OrganizationServiceGetRoleParams
WithDefaults hydrates default values in the organization service get role params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceGetRoleParams) WithHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WithHTTPClient(client *http.Client) *OrganizationServiceGetRoleParams
WithHTTPClient adds the HTTPClient to the organization service get role params
func (*OrganizationServiceGetRoleParams) WithID ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WithID(id string) *OrganizationServiceGetRoleParams
WithID adds the id to the organization service get role params
func (*OrganizationServiceGetRoleParams) WithRoleID ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WithRoleID(roleID string) *OrganizationServiceGetRoleParams
WithRoleID adds the roleID to the organization service get role params
func (*OrganizationServiceGetRoleParams) WithTimeout ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WithTimeout(timeout time.Duration) *OrganizationServiceGetRoleParams
WithTimeout adds the timeout to the organization service get role params
func (*OrganizationServiceGetRoleParams) WriteToRequest ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceGetRoleReader ¶ added in v0.18.0
type OrganizationServiceGetRoleReader struct {
// contains filtered or unexported fields
}
OrganizationServiceGetRoleReader is a Reader for the OrganizationServiceGetRole structure.
func (*OrganizationServiceGetRoleReader) ReadResponse ¶ added in v0.18.0
func (o *OrganizationServiceGetRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceListDefault ¶
type OrganizationServiceListDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceListDefault ¶
func NewOrganizationServiceListDefault(code int) *OrganizationServiceListDefault
NewOrganizationServiceListDefault creates a OrganizationServiceListDefault with default headers values
func (*OrganizationServiceListDefault) Code ¶
func (o *OrganizationServiceListDefault) Code() int
Code gets the status code for the organization service list default response
func (*OrganizationServiceListDefault) Error ¶
func (o *OrganizationServiceListDefault) Error() string
func (*OrganizationServiceListDefault) GetPayload ¶
func (o *OrganizationServiceListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceListDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) IsClientError() bool
IsClientError returns true when this organization service list default response has a 4xx status code
func (*OrganizationServiceListDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) IsCode(code int) bool
IsCode returns true when this organization service list default response a status code equal to that given
func (*OrganizationServiceListDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) IsRedirect() bool
IsRedirect returns true when this organization service list default response has a 3xx status code
func (*OrganizationServiceListDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) IsServerError() bool
IsServerError returns true when this organization service list default response has a 5xx status code
func (*OrganizationServiceListDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) IsSuccess() bool
IsSuccess returns true when this organization service list default response has a 2xx status code
func (*OrganizationServiceListDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceListDefault) String() string
type OrganizationServiceListOK ¶
type OrganizationServiceListOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationListResponse
}
OrganizationServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceListOK ¶
func NewOrganizationServiceListOK() *OrganizationServiceListOK
NewOrganizationServiceListOK creates a OrganizationServiceListOK with default headers values
func (*OrganizationServiceListOK) Error ¶
func (o *OrganizationServiceListOK) Error() string
func (*OrganizationServiceListOK) GetPayload ¶
func (o *OrganizationServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationListResponse
func (*OrganizationServiceListOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceListOK) IsClientError() bool
IsClientError returns true when this organization service list o k response has a 4xx status code
func (*OrganizationServiceListOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceListOK) IsCode(code int) bool
IsCode returns true when this organization service list o k response a status code equal to that given
func (*OrganizationServiceListOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceListOK) IsRedirect() bool
IsRedirect returns true when this organization service list o k response has a 3xx status code
func (*OrganizationServiceListOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceListOK) IsServerError() bool
IsServerError returns true when this organization service list o k response has a 5xx status code
func (*OrganizationServiceListOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceListOK) IsSuccess() bool
IsSuccess returns true when this organization service list o k response has a 2xx status code
func (*OrganizationServiceListOK) String ¶ added in v0.23.0
func (o *OrganizationServiceListOK) String() string
type OrganizationServiceListParams ¶
type OrganizationServiceListParams struct { /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceListParams contains all the parameters to send to the API endpoint
for the organization service list operation. Typically these are written to a http.Request.
func NewOrganizationServiceListParams ¶
func NewOrganizationServiceListParams() *OrganizationServiceListParams
NewOrganizationServiceListParams creates a new OrganizationServiceListParams 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 NewOrganizationServiceListParamsWithContext ¶
func NewOrganizationServiceListParamsWithContext(ctx context.Context) *OrganizationServiceListParams
NewOrganizationServiceListParamsWithContext creates a new OrganizationServiceListParams object with the ability to set a context for a request.
func NewOrganizationServiceListParamsWithHTTPClient ¶
func NewOrganizationServiceListParamsWithHTTPClient(client *http.Client) *OrganizationServiceListParams
NewOrganizationServiceListParamsWithHTTPClient creates a new OrganizationServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceListParamsWithTimeout ¶
func NewOrganizationServiceListParamsWithTimeout(timeout time.Duration) *OrganizationServiceListParams
NewOrganizationServiceListParamsWithTimeout creates a new OrganizationServiceListParams object with the ability to set a timeout on a request.
func (*OrganizationServiceListParams) SetContext ¶
func (o *OrganizationServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service list params
func (*OrganizationServiceListParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceListParams) SetDefaults()
SetDefaults hydrates default values in the organization service list params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceListParams) SetHTTPClient ¶
func (o *OrganizationServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service list params
func (*OrganizationServiceListParams) SetPaginationNextPageToken ¶
func (o *OrganizationServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the organization service list params
func (*OrganizationServiceListParams) SetPaginationPageSize ¶
func (o *OrganizationServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the organization service list params
func (*OrganizationServiceListParams) SetPaginationPreviousPageToken ¶
func (o *OrganizationServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the organization service list params
func (*OrganizationServiceListParams) SetTimeout ¶
func (o *OrganizationServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service list params
func (*OrganizationServiceListParams) WithContext ¶
func (o *OrganizationServiceListParams) WithContext(ctx context.Context) *OrganizationServiceListParams
WithContext adds the context to the organization service list params
func (*OrganizationServiceListParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceListParams) WithDefaults() *OrganizationServiceListParams
WithDefaults hydrates default values in the organization service list params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceListParams) WithHTTPClient ¶
func (o *OrganizationServiceListParams) WithHTTPClient(client *http.Client) *OrganizationServiceListParams
WithHTTPClient adds the HTTPClient to the organization service list params
func (*OrganizationServiceListParams) WithPaginationNextPageToken ¶
func (o *OrganizationServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *OrganizationServiceListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the organization service list params
func (*OrganizationServiceListParams) WithPaginationPageSize ¶
func (o *OrganizationServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *OrganizationServiceListParams
WithPaginationPageSize adds the paginationPageSize to the organization service list params
func (*OrganizationServiceListParams) WithPaginationPreviousPageToken ¶
func (o *OrganizationServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *OrganizationServiceListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the organization service list params
func (*OrganizationServiceListParams) WithTimeout ¶
func (o *OrganizationServiceListParams) WithTimeout(timeout time.Duration) *OrganizationServiceListParams
WithTimeout adds the timeout to the organization service list params
func (*OrganizationServiceListParams) WriteToRequest ¶
func (o *OrganizationServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceListReader ¶
type OrganizationServiceListReader struct {
// contains filtered or unexported fields
}
OrganizationServiceListReader is a Reader for the OrganizationServiceList structure.
func (*OrganizationServiceListReader) ReadResponse ¶
func (o *OrganizationServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceListRolesDefault ¶ added in v0.18.0
type OrganizationServiceListRolesDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceListRolesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceListRolesDefault ¶ added in v0.18.0
func NewOrganizationServiceListRolesDefault(code int) *OrganizationServiceListRolesDefault
NewOrganizationServiceListRolesDefault creates a OrganizationServiceListRolesDefault with default headers values
func (*OrganizationServiceListRolesDefault) Code ¶ added in v0.18.0
func (o *OrganizationServiceListRolesDefault) Code() int
Code gets the status code for the organization service list roles default response
func (*OrganizationServiceListRolesDefault) Error ¶ added in v0.18.0
func (o *OrganizationServiceListRolesDefault) Error() string
func (*OrganizationServiceListRolesDefault) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceListRolesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceListRolesDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) IsClientError() bool
IsClientError returns true when this organization service list roles default response has a 4xx status code
func (*OrganizationServiceListRolesDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) IsCode(code int) bool
IsCode returns true when this organization service list roles default response a status code equal to that given
func (*OrganizationServiceListRolesDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) IsRedirect() bool
IsRedirect returns true when this organization service list roles default response has a 3xx status code
func (*OrganizationServiceListRolesDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) IsServerError() bool
IsServerError returns true when this organization service list roles default response has a 5xx status code
func (*OrganizationServiceListRolesDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) IsSuccess() bool
IsSuccess returns true when this organization service list roles default response has a 2xx status code
func (*OrganizationServiceListRolesDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceListRolesDefault) String() string
type OrganizationServiceListRolesOK ¶ added in v0.18.0
type OrganizationServiceListRolesOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationListRolesResponse
}
OrganizationServiceListRolesOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceListRolesOK ¶ added in v0.18.0
func NewOrganizationServiceListRolesOK() *OrganizationServiceListRolesOK
NewOrganizationServiceListRolesOK creates a OrganizationServiceListRolesOK with default headers values
func (*OrganizationServiceListRolesOK) Error ¶ added in v0.18.0
func (o *OrganizationServiceListRolesOK) Error() string
func (*OrganizationServiceListRolesOK) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceListRolesOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationListRolesResponse
func (*OrganizationServiceListRolesOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) IsClientError() bool
IsClientError returns true when this organization service list roles o k response has a 4xx status code
func (*OrganizationServiceListRolesOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) IsCode(code int) bool
IsCode returns true when this organization service list roles o k response a status code equal to that given
func (*OrganizationServiceListRolesOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) IsRedirect() bool
IsRedirect returns true when this organization service list roles o k response has a 3xx status code
func (*OrganizationServiceListRolesOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) IsServerError() bool
IsServerError returns true when this organization service list roles o k response has a 5xx status code
func (*OrganizationServiceListRolesOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) IsSuccess() bool
IsSuccess returns true when this organization service list roles o k response has a 2xx status code
func (*OrganizationServiceListRolesOK) String ¶ added in v0.23.0
func (o *OrganizationServiceListRolesOK) String() string
type OrganizationServiceListRolesParams ¶ added in v0.18.0
type OrganizationServiceListRolesParams struct { /* ID. ID is the identifier of the organization. */ ID string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceListRolesParams contains all the parameters to send to the API endpoint
for the organization service list roles operation. Typically these are written to a http.Request.
func NewOrganizationServiceListRolesParams ¶ added in v0.18.0
func NewOrganizationServiceListRolesParams() *OrganizationServiceListRolesParams
NewOrganizationServiceListRolesParams creates a new OrganizationServiceListRolesParams 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 NewOrganizationServiceListRolesParamsWithContext ¶ added in v0.18.0
func NewOrganizationServiceListRolesParamsWithContext(ctx context.Context) *OrganizationServiceListRolesParams
NewOrganizationServiceListRolesParamsWithContext creates a new OrganizationServiceListRolesParams object with the ability to set a context for a request.
func NewOrganizationServiceListRolesParamsWithHTTPClient ¶ added in v0.18.0
func NewOrganizationServiceListRolesParamsWithHTTPClient(client *http.Client) *OrganizationServiceListRolesParams
NewOrganizationServiceListRolesParamsWithHTTPClient creates a new OrganizationServiceListRolesParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceListRolesParamsWithTimeout ¶ added in v0.18.0
func NewOrganizationServiceListRolesParamsWithTimeout(timeout time.Duration) *OrganizationServiceListRolesParams
NewOrganizationServiceListRolesParamsWithTimeout creates a new OrganizationServiceListRolesParams object with the ability to set a timeout on a request.
func (*OrganizationServiceListRolesParams) SetContext ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceListRolesParams) SetDefaults()
SetDefaults hydrates default values in the organization service list roles params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceListRolesParams) SetHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetID ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetID(id string)
SetID adds the id to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetPaginationNextPageToken ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetPaginationPageSize ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetPaginationPreviousPageToken ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the organization service list roles params
func (*OrganizationServiceListRolesParams) SetTimeout ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithContext ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithContext(ctx context.Context) *OrganizationServiceListRolesParams
WithContext adds the context to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceListRolesParams) WithDefaults() *OrganizationServiceListRolesParams
WithDefaults hydrates default values in the organization service list roles params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceListRolesParams) WithHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithHTTPClient(client *http.Client) *OrganizationServiceListRolesParams
WithHTTPClient adds the HTTPClient to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithID ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithID(id string) *OrganizationServiceListRolesParams
WithID adds the id to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithPaginationNextPageToken ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *OrganizationServiceListRolesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithPaginationPageSize ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithPaginationPageSize(paginationPageSize *int64) *OrganizationServiceListRolesParams
WithPaginationPageSize adds the paginationPageSize to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithPaginationPreviousPageToken ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *OrganizationServiceListRolesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the organization service list roles params
func (*OrganizationServiceListRolesParams) WithTimeout ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WithTimeout(timeout time.Duration) *OrganizationServiceListRolesParams
WithTimeout adds the timeout to the organization service list roles params
func (*OrganizationServiceListRolesParams) WriteToRequest ¶ added in v0.18.0
func (o *OrganizationServiceListRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceListRolesReader ¶ added in v0.18.0
type OrganizationServiceListRolesReader struct {
// contains filtered or unexported fields
}
OrganizationServiceListRolesReader is a Reader for the OrganizationServiceListRoles structure.
func (*OrganizationServiceListRolesReader) ReadResponse ¶ added in v0.18.0
func (o *OrganizationServiceListRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceSetIamPolicyDefault ¶
type OrganizationServiceSetIamPolicyDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceSetIamPolicyDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceSetIamPolicyDefault ¶
func NewOrganizationServiceSetIamPolicyDefault(code int) *OrganizationServiceSetIamPolicyDefault
NewOrganizationServiceSetIamPolicyDefault creates a OrganizationServiceSetIamPolicyDefault with default headers values
func (*OrganizationServiceSetIamPolicyDefault) Code ¶
func (o *OrganizationServiceSetIamPolicyDefault) Code() int
Code gets the status code for the organization service set iam policy default response
func (*OrganizationServiceSetIamPolicyDefault) Error ¶
func (o *OrganizationServiceSetIamPolicyDefault) Error() string
func (*OrganizationServiceSetIamPolicyDefault) GetPayload ¶
func (o *OrganizationServiceSetIamPolicyDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceSetIamPolicyDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) IsClientError() bool
IsClientError returns true when this organization service set iam policy default response has a 4xx status code
func (*OrganizationServiceSetIamPolicyDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) IsCode(code int) bool
IsCode returns true when this organization service set iam policy default response a status code equal to that given
func (*OrganizationServiceSetIamPolicyDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) IsRedirect() bool
IsRedirect returns true when this organization service set iam policy default response has a 3xx status code
func (*OrganizationServiceSetIamPolicyDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) IsServerError() bool
IsServerError returns true when this organization service set iam policy default response has a 5xx status code
func (*OrganizationServiceSetIamPolicyDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) IsSuccess() bool
IsSuccess returns true when this organization service set iam policy default response has a 2xx status code
func (*OrganizationServiceSetIamPolicyDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyDefault) String() string
type OrganizationServiceSetIamPolicyOK ¶
type OrganizationServiceSetIamPolicyOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse
}
OrganizationServiceSetIamPolicyOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceSetIamPolicyOK ¶
func NewOrganizationServiceSetIamPolicyOK() *OrganizationServiceSetIamPolicyOK
NewOrganizationServiceSetIamPolicyOK creates a OrganizationServiceSetIamPolicyOK with default headers values
func (*OrganizationServiceSetIamPolicyOK) Error ¶
func (o *OrganizationServiceSetIamPolicyOK) Error() string
func (*OrganizationServiceSetIamPolicyOK) GetPayload ¶
func (o *OrganizationServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse
func (*OrganizationServiceSetIamPolicyOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) IsClientError() bool
IsClientError returns true when this organization service set iam policy o k response has a 4xx status code
func (*OrganizationServiceSetIamPolicyOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) IsCode(code int) bool
IsCode returns true when this organization service set iam policy o k response a status code equal to that given
func (*OrganizationServiceSetIamPolicyOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) IsRedirect() bool
IsRedirect returns true when this organization service set iam policy o k response has a 3xx status code
func (*OrganizationServiceSetIamPolicyOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) IsServerError() bool
IsServerError returns true when this organization service set iam policy o k response has a 5xx status code
func (*OrganizationServiceSetIamPolicyOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) IsSuccess() bool
IsSuccess returns true when this organization service set iam policy o k response has a 2xx status code
func (*OrganizationServiceSetIamPolicyOK) String ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyOK) String() string
type OrganizationServiceSetIamPolicyParams ¶
type OrganizationServiceSetIamPolicyParams struct { // Body. Body *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest /* ID. ID is the identifier of the organization. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceSetIamPolicyParams contains all the parameters to send to the API endpoint
for the organization service set iam policy operation. Typically these are written to a http.Request.
func NewOrganizationServiceSetIamPolicyParams ¶
func NewOrganizationServiceSetIamPolicyParams() *OrganizationServiceSetIamPolicyParams
NewOrganizationServiceSetIamPolicyParams creates a new OrganizationServiceSetIamPolicyParams 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 NewOrganizationServiceSetIamPolicyParamsWithContext ¶
func NewOrganizationServiceSetIamPolicyParamsWithContext(ctx context.Context) *OrganizationServiceSetIamPolicyParams
NewOrganizationServiceSetIamPolicyParamsWithContext creates a new OrganizationServiceSetIamPolicyParams object with the ability to set a context for a request.
func NewOrganizationServiceSetIamPolicyParamsWithHTTPClient ¶
func NewOrganizationServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *OrganizationServiceSetIamPolicyParams
NewOrganizationServiceSetIamPolicyParamsWithHTTPClient creates a new OrganizationServiceSetIamPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceSetIamPolicyParamsWithTimeout ¶
func NewOrganizationServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *OrganizationServiceSetIamPolicyParams
NewOrganizationServiceSetIamPolicyParamsWithTimeout creates a new OrganizationServiceSetIamPolicyParams object with the ability to set a timeout on a request.
func (*OrganizationServiceSetIamPolicyParams) SetBody ¶
func (o *OrganizationServiceSetIamPolicyParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest)
SetBody adds the body to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) SetContext ¶
func (o *OrganizationServiceSetIamPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyParams) SetDefaults()
SetDefaults hydrates default values in the organization service set iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceSetIamPolicyParams) SetHTTPClient ¶
func (o *OrganizationServiceSetIamPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) SetID ¶
func (o *OrganizationServiceSetIamPolicyParams) SetID(id string)
SetID adds the id to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) SetTimeout ¶
func (o *OrganizationServiceSetIamPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WithBody ¶
func (o *OrganizationServiceSetIamPolicyParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) *OrganizationServiceSetIamPolicyParams
WithBody adds the body to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WithContext ¶
func (o *OrganizationServiceSetIamPolicyParams) WithContext(ctx context.Context) *OrganizationServiceSetIamPolicyParams
WithContext adds the context to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceSetIamPolicyParams) WithDefaults() *OrganizationServiceSetIamPolicyParams
WithDefaults hydrates default values in the organization service set iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceSetIamPolicyParams) WithHTTPClient ¶
func (o *OrganizationServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *OrganizationServiceSetIamPolicyParams
WithHTTPClient adds the HTTPClient to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WithID ¶
func (o *OrganizationServiceSetIamPolicyParams) WithID(id string) *OrganizationServiceSetIamPolicyParams
WithID adds the id to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WithTimeout ¶
func (o *OrganizationServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *OrganizationServiceSetIamPolicyParams
WithTimeout adds the timeout to the organization service set iam policy params
func (*OrganizationServiceSetIamPolicyParams) WriteToRequest ¶
func (o *OrganizationServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceSetIamPolicyReader ¶
type OrganizationServiceSetIamPolicyReader struct {
// contains filtered or unexported fields
}
OrganizationServiceSetIamPolicyReader is a Reader for the OrganizationServiceSetIamPolicy structure.
func (*OrganizationServiceSetIamPolicyReader) ReadResponse ¶
func (o *OrganizationServiceSetIamPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceSetNameDefault ¶ added in v0.18.0
type OrganizationServiceSetNameDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceSetNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceSetNameDefault ¶ added in v0.18.0
func NewOrganizationServiceSetNameDefault(code int) *OrganizationServiceSetNameDefault
NewOrganizationServiceSetNameDefault creates a OrganizationServiceSetNameDefault with default headers values
func (*OrganizationServiceSetNameDefault) Code ¶ added in v0.18.0
func (o *OrganizationServiceSetNameDefault) Code() int
Code gets the status code for the organization service set name default response
func (*OrganizationServiceSetNameDefault) Error ¶ added in v0.18.0
func (o *OrganizationServiceSetNameDefault) Error() string
func (*OrganizationServiceSetNameDefault) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceSetNameDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceSetNameDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) IsClientError() bool
IsClientError returns true when this organization service set name default response has a 4xx status code
func (*OrganizationServiceSetNameDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) IsCode(code int) bool
IsCode returns true when this organization service set name default response a status code equal to that given
func (*OrganizationServiceSetNameDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) IsRedirect() bool
IsRedirect returns true when this organization service set name default response has a 3xx status code
func (*OrganizationServiceSetNameDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) IsServerError() bool
IsServerError returns true when this organization service set name default response has a 5xx status code
func (*OrganizationServiceSetNameDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) IsSuccess() bool
IsSuccess returns true when this organization service set name default response has a 2xx status code
func (*OrganizationServiceSetNameDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceSetNameDefault) String() string
type OrganizationServiceSetNameOK ¶ added in v0.18.0
type OrganizationServiceSetNameOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationSetNameResponse
}
OrganizationServiceSetNameOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceSetNameOK ¶ added in v0.18.0
func NewOrganizationServiceSetNameOK() *OrganizationServiceSetNameOK
NewOrganizationServiceSetNameOK creates a OrganizationServiceSetNameOK with default headers values
func (*OrganizationServiceSetNameOK) Error ¶ added in v0.18.0
func (o *OrganizationServiceSetNameOK) Error() string
func (*OrganizationServiceSetNameOK) GetPayload ¶ added in v0.18.0
func (o *OrganizationServiceSetNameOK) GetPayload() *models.HashicorpCloudResourcemanagerOrganizationSetNameResponse
func (*OrganizationServiceSetNameOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) IsClientError() bool
IsClientError returns true when this organization service set name o k response has a 4xx status code
func (*OrganizationServiceSetNameOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) IsCode(code int) bool
IsCode returns true when this organization service set name o k response a status code equal to that given
func (*OrganizationServiceSetNameOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) IsRedirect() bool
IsRedirect returns true when this organization service set name o k response has a 3xx status code
func (*OrganizationServiceSetNameOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) IsServerError() bool
IsServerError returns true when this organization service set name o k response has a 5xx status code
func (*OrganizationServiceSetNameOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) IsSuccess() bool
IsSuccess returns true when this organization service set name o k response has a 2xx status code
func (*OrganizationServiceSetNameOK) String ¶ added in v0.23.0
func (o *OrganizationServiceSetNameOK) String() string
type OrganizationServiceSetNameParams ¶ added in v0.18.0
type OrganizationServiceSetNameParams struct { // Body. Body *models.HashicorpCloudResourcemanagerOrganizationSetNameRequest /* ID. ID is the identifier of the organization. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceSetNameParams contains all the parameters to send to the API endpoint
for the organization service set name operation. Typically these are written to a http.Request.
func NewOrganizationServiceSetNameParams ¶ added in v0.18.0
func NewOrganizationServiceSetNameParams() *OrganizationServiceSetNameParams
NewOrganizationServiceSetNameParams creates a new OrganizationServiceSetNameParams 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 NewOrganizationServiceSetNameParamsWithContext ¶ added in v0.18.0
func NewOrganizationServiceSetNameParamsWithContext(ctx context.Context) *OrganizationServiceSetNameParams
NewOrganizationServiceSetNameParamsWithContext creates a new OrganizationServiceSetNameParams object with the ability to set a context for a request.
func NewOrganizationServiceSetNameParamsWithHTTPClient ¶ added in v0.18.0
func NewOrganizationServiceSetNameParamsWithHTTPClient(client *http.Client) *OrganizationServiceSetNameParams
NewOrganizationServiceSetNameParamsWithHTTPClient creates a new OrganizationServiceSetNameParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceSetNameParamsWithTimeout ¶ added in v0.18.0
func NewOrganizationServiceSetNameParamsWithTimeout(timeout time.Duration) *OrganizationServiceSetNameParams
NewOrganizationServiceSetNameParamsWithTimeout creates a new OrganizationServiceSetNameParams object with the ability to set a timeout on a request.
func (*OrganizationServiceSetNameParams) SetBody ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationSetNameRequest)
SetBody adds the body to the organization service set name params
func (*OrganizationServiceSetNameParams) SetContext ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service set name params
func (*OrganizationServiceSetNameParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceSetNameParams) SetDefaults()
SetDefaults hydrates default values in the organization service set name params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceSetNameParams) SetHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service set name params
func (*OrganizationServiceSetNameParams) SetID ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) SetID(id string)
SetID adds the id to the organization service set name params
func (*OrganizationServiceSetNameParams) SetTimeout ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service set name params
func (*OrganizationServiceSetNameParams) WithBody ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationSetNameRequest) *OrganizationServiceSetNameParams
WithBody adds the body to the organization service set name params
func (*OrganizationServiceSetNameParams) WithContext ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WithContext(ctx context.Context) *OrganizationServiceSetNameParams
WithContext adds the context to the organization service set name params
func (*OrganizationServiceSetNameParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceSetNameParams) WithDefaults() *OrganizationServiceSetNameParams
WithDefaults hydrates default values in the organization service set name params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceSetNameParams) WithHTTPClient ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WithHTTPClient(client *http.Client) *OrganizationServiceSetNameParams
WithHTTPClient adds the HTTPClient to the organization service set name params
func (*OrganizationServiceSetNameParams) WithID ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WithID(id string) *OrganizationServiceSetNameParams
WithID adds the id to the organization service set name params
func (*OrganizationServiceSetNameParams) WithTimeout ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WithTimeout(timeout time.Duration) *OrganizationServiceSetNameParams
WithTimeout adds the timeout to the organization service set name params
func (*OrganizationServiceSetNameParams) WriteToRequest ¶ added in v0.18.0
func (o *OrganizationServiceSetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceSetNameReader ¶ added in v0.18.0
type OrganizationServiceSetNameReader struct {
// contains filtered or unexported fields
}
OrganizationServiceSetNameReader is a Reader for the OrganizationServiceSetName structure.
func (*OrganizationServiceSetNameReader) ReadResponse ¶ added in v0.18.0
func (o *OrganizationServiceSetNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationServiceTestIamPermissionsDefault ¶
type OrganizationServiceTestIamPermissionsDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
OrganizationServiceTestIamPermissionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewOrganizationServiceTestIamPermissionsDefault ¶
func NewOrganizationServiceTestIamPermissionsDefault(code int) *OrganizationServiceTestIamPermissionsDefault
NewOrganizationServiceTestIamPermissionsDefault creates a OrganizationServiceTestIamPermissionsDefault with default headers values
func (*OrganizationServiceTestIamPermissionsDefault) Code ¶
func (o *OrganizationServiceTestIamPermissionsDefault) Code() int
Code gets the status code for the organization service test iam permissions default response
func (*OrganizationServiceTestIamPermissionsDefault) Error ¶
func (o *OrganizationServiceTestIamPermissionsDefault) Error() string
func (*OrganizationServiceTestIamPermissionsDefault) GetPayload ¶
func (o *OrganizationServiceTestIamPermissionsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*OrganizationServiceTestIamPermissionsDefault) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) IsClientError() bool
IsClientError returns true when this organization service test iam permissions default response has a 4xx status code
func (*OrganizationServiceTestIamPermissionsDefault) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) IsCode(code int) bool
IsCode returns true when this organization service test iam permissions default response a status code equal to that given
func (*OrganizationServiceTestIamPermissionsDefault) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) IsRedirect() bool
IsRedirect returns true when this organization service test iam permissions default response has a 3xx status code
func (*OrganizationServiceTestIamPermissionsDefault) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) IsServerError() bool
IsServerError returns true when this organization service test iam permissions default response has a 5xx status code
func (*OrganizationServiceTestIamPermissionsDefault) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) IsSuccess() bool
IsSuccess returns true when this organization service test iam permissions default response has a 2xx status code
func (*OrganizationServiceTestIamPermissionsDefault) String ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsDefault) String() string
type OrganizationServiceTestIamPermissionsOK ¶
type OrganizationServiceTestIamPermissionsOK struct {
Payload *models.HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse
}
OrganizationServiceTestIamPermissionsOK describes a response with status code 200, with default header values.
A successful response.
func NewOrganizationServiceTestIamPermissionsOK ¶
func NewOrganizationServiceTestIamPermissionsOK() *OrganizationServiceTestIamPermissionsOK
NewOrganizationServiceTestIamPermissionsOK creates a OrganizationServiceTestIamPermissionsOK with default headers values
func (*OrganizationServiceTestIamPermissionsOK) Error ¶
func (o *OrganizationServiceTestIamPermissionsOK) Error() string
func (*OrganizationServiceTestIamPermissionsOK) GetPayload ¶
func (*OrganizationServiceTestIamPermissionsOK) IsClientError ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) IsClientError() bool
IsClientError returns true when this organization service test iam permissions o k response has a 4xx status code
func (*OrganizationServiceTestIamPermissionsOK) IsCode ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) IsCode(code int) bool
IsCode returns true when this organization service test iam permissions o k response a status code equal to that given
func (*OrganizationServiceTestIamPermissionsOK) IsRedirect ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) IsRedirect() bool
IsRedirect returns true when this organization service test iam permissions o k response has a 3xx status code
func (*OrganizationServiceTestIamPermissionsOK) IsServerError ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) IsServerError() bool
IsServerError returns true when this organization service test iam permissions o k response has a 5xx status code
func (*OrganizationServiceTestIamPermissionsOK) IsSuccess ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) IsSuccess() bool
IsSuccess returns true when this organization service test iam permissions o k response has a 2xx status code
func (*OrganizationServiceTestIamPermissionsOK) String ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsOK) String() string
type OrganizationServiceTestIamPermissionsParams ¶
type OrganizationServiceTestIamPermissionsParams struct { // Body. Body *models.HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest /* ID. ID is the identifier of the organization. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationServiceTestIamPermissionsParams contains all the parameters to send to the API endpoint
for the organization service test iam permissions operation. Typically these are written to a http.Request.
func NewOrganizationServiceTestIamPermissionsParams ¶
func NewOrganizationServiceTestIamPermissionsParams() *OrganizationServiceTestIamPermissionsParams
NewOrganizationServiceTestIamPermissionsParams creates a new OrganizationServiceTestIamPermissionsParams 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 NewOrganizationServiceTestIamPermissionsParamsWithContext ¶
func NewOrganizationServiceTestIamPermissionsParamsWithContext(ctx context.Context) *OrganizationServiceTestIamPermissionsParams
NewOrganizationServiceTestIamPermissionsParamsWithContext creates a new OrganizationServiceTestIamPermissionsParams object with the ability to set a context for a request.
func NewOrganizationServiceTestIamPermissionsParamsWithHTTPClient ¶
func NewOrganizationServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *OrganizationServiceTestIamPermissionsParams
NewOrganizationServiceTestIamPermissionsParamsWithHTTPClient creates a new OrganizationServiceTestIamPermissionsParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationServiceTestIamPermissionsParamsWithTimeout ¶
func NewOrganizationServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *OrganizationServiceTestIamPermissionsParams
NewOrganizationServiceTestIamPermissionsParamsWithTimeout creates a new OrganizationServiceTestIamPermissionsParams object with the ability to set a timeout on a request.
func (*OrganizationServiceTestIamPermissionsParams) SetBody ¶
func (o *OrganizationServiceTestIamPermissionsParams) SetBody(body *models.HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest)
SetBody adds the body to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) SetContext ¶
func (o *OrganizationServiceTestIamPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) SetDefaults ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the organization service test iam permissions params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceTestIamPermissionsParams) SetHTTPClient ¶
func (o *OrganizationServiceTestIamPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) SetID ¶
func (o *OrganizationServiceTestIamPermissionsParams) SetID(id string)
SetID adds the id to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) SetTimeout ¶
func (o *OrganizationServiceTestIamPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WithBody ¶
func (o *OrganizationServiceTestIamPermissionsParams) WithBody(body *models.HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) *OrganizationServiceTestIamPermissionsParams
WithBody adds the body to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WithContext ¶
func (o *OrganizationServiceTestIamPermissionsParams) WithContext(ctx context.Context) *OrganizationServiceTestIamPermissionsParams
WithContext adds the context to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WithDefaults ¶ added in v0.23.0
func (o *OrganizationServiceTestIamPermissionsParams) WithDefaults() *OrganizationServiceTestIamPermissionsParams
WithDefaults hydrates default values in the organization service test iam permissions params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationServiceTestIamPermissionsParams) WithHTTPClient ¶
func (o *OrganizationServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *OrganizationServiceTestIamPermissionsParams
WithHTTPClient adds the HTTPClient to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WithID ¶
func (o *OrganizationServiceTestIamPermissionsParams) WithID(id string) *OrganizationServiceTestIamPermissionsParams
WithID adds the id to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WithTimeout ¶
func (o *OrganizationServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *OrganizationServiceTestIamPermissionsParams
WithTimeout adds the timeout to the organization service test iam permissions params
func (*OrganizationServiceTestIamPermissionsParams) WriteToRequest ¶
func (o *OrganizationServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationServiceTestIamPermissionsReader ¶
type OrganizationServiceTestIamPermissionsReader struct {
// contains filtered or unexported fields
}
OrganizationServiceTestIamPermissionsReader is a Reader for the OrganizationServiceTestIamPermissions structure.
func (*OrganizationServiceTestIamPermissionsReader) ReadResponse ¶
func (o *OrganizationServiceTestIamPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- organization_service_client.go
- organization_service_create_parameters.go
- organization_service_create_responses.go
- organization_service_get_iam_policy_parameters.go
- organization_service_get_iam_policy_responses.go
- organization_service_get_parameters.go
- organization_service_get_responses.go
- organization_service_get_role_parameters.go
- organization_service_get_role_responses.go
- organization_service_list_parameters.go
- organization_service_list_responses.go
- organization_service_list_roles_parameters.go
- organization_service_list_roles_responses.go
- organization_service_set_iam_policy_parameters.go
- organization_service_set_iam_policy_responses.go
- organization_service_set_name_parameters.go
- organization_service_set_name_responses.go
- organization_service_test_iam_permissions_parameters.go
- organization_service_test_iam_permissions_responses.go