groups_service

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for groups service API

func (*Client) CreateGroup

func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupOK, error)

CreateGroup creates group creates a group

func (*Client) DeleteGroup

func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupOK, error)

DeleteGroup deletes group deletes a group

func (*Client) GetGroup

func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

GetGroup gets group gets a group using the organization ID and group name

func (*Client) ListGroupMembers

func (a *Client) ListGroupMembers(params *ListGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupMembersOK, error)

ListGroupMembers lists group members retrieves a list of member principals

func (*Client) ListGroups

func (a *Client) ListGroups(params *ListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupsOK, error)

ListGroups lists groups lists the groups in an organization that match the optional filters

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGroup

func (a *Client) UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupOK, error)

UpdateGroup updates group updates a group s modifiable field

func (*Client) UpdateGroupMembers

func (a *Client) UpdateGroupMembers(params *UpdateGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupMembersOK, error)

UpdateGroupMembers updates group members updates the principal memberships of a group

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupOK, error)

	DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupOK, error)

	GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

	ListGroupMembers(params *ListGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupMembersOK, error)

	ListGroups(params *ListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupsOK, error)

	UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupOK, error)

	UpdateGroupMembers(params *UpdateGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupMembersOK, 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 groups service API client.

type CreateGroupDefault

type CreateGroupDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

CreateGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateGroupDefault

func NewCreateGroupDefault(code int) *CreateGroupDefault

NewCreateGroupDefault creates a CreateGroupDefault with default headers values

func (*CreateGroupDefault) Code

func (o *CreateGroupDefault) Code() int

Code gets the status code for the create group default response

func (*CreateGroupDefault) Error

func (o *CreateGroupDefault) Error() string

func (*CreateGroupDefault) GetPayload

func (o *CreateGroupDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateGroupDefault) IsClientError

func (o *CreateGroupDefault) IsClientError() bool

IsClientError returns true when this create group default response has a 4xx status code

func (*CreateGroupDefault) IsCode

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

IsCode returns true when this create group default response a status code equal to that given

func (*CreateGroupDefault) IsRedirect

func (o *CreateGroupDefault) IsRedirect() bool

IsRedirect returns true when this create group default response has a 3xx status code

func (*CreateGroupDefault) IsServerError

func (o *CreateGroupDefault) IsServerError() bool

IsServerError returns true when this create group default response has a 5xx status code

func (*CreateGroupDefault) IsSuccess

func (o *CreateGroupDefault) IsSuccess() bool

IsSuccess returns true when this create group default response has a 2xx status code

func (*CreateGroupDefault) String

func (o *CreateGroupDefault) String() string

type CreateGroupOK

type CreateGroupOK struct {
	Payload *models.HashicorpCloudIamCreateGroupResponse
}

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

A successful response.

func NewCreateGroupOK

func NewCreateGroupOK() *CreateGroupOK

NewCreateGroupOK creates a CreateGroupOK with default headers values

func (*CreateGroupOK) Error

func (o *CreateGroupOK) Error() string

func (*CreateGroupOK) GetPayload

func (*CreateGroupOK) IsClientError

func (o *CreateGroupOK) IsClientError() bool

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

func (*CreateGroupOK) IsCode

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

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

func (*CreateGroupOK) IsRedirect

func (o *CreateGroupOK) IsRedirect() bool

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

func (*CreateGroupOK) IsServerError

func (o *CreateGroupOK) IsServerError() bool

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

func (*CreateGroupOK) IsSuccess

func (o *CreateGroupOK) IsSuccess() bool

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

func (*CreateGroupOK) String

func (o *CreateGroupOK) String() string

type CreateGroupParams

type CreateGroupParams struct {

	// Body.
	Body *models.HashicorpCloudIamCreateGroupRequest

	/* ParentResourceName.

	     parent_resource is the parent resource of the group.
	organization/<org_id>
	*/
	ParentResourceName string

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

CreateGroupParams contains all the parameters to send to the API endpoint

for the create group operation.

Typically these are written to a http.Request.

func NewCreateGroupParams

func NewCreateGroupParams() *CreateGroupParams

NewCreateGroupParams creates a new CreateGroupParams 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 NewCreateGroupParamsWithContext

func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams

NewCreateGroupParamsWithContext creates a new CreateGroupParams object with the ability to set a context for a request.

func NewCreateGroupParamsWithHTTPClient

func NewCreateGroupParamsWithHTTPClient(client *http.Client) *CreateGroupParams

NewCreateGroupParamsWithHTTPClient creates a new CreateGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGroupParamsWithTimeout

func NewCreateGroupParamsWithTimeout(timeout time.Duration) *CreateGroupParams

NewCreateGroupParamsWithTimeout creates a new CreateGroupParams object with the ability to set a timeout on a request.

func (*CreateGroupParams) SetBody

SetBody adds the body to the create group params

func (*CreateGroupParams) SetContext

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

SetContext adds the context to the create group params

func (*CreateGroupParams) SetDefaults

func (o *CreateGroupParams) SetDefaults()

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

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

func (*CreateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) SetParentResourceName

func (o *CreateGroupParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the create group params

func (*CreateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create group params

func (*CreateGroupParams) WithBody

WithBody adds the body to the create group params

func (*CreateGroupParams) WithContext

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

WithContext adds the context to the create group params

func (*CreateGroupParams) WithDefaults

func (o *CreateGroupParams) WithDefaults() *CreateGroupParams

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

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

func (*CreateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) WithParentResourceName

func (o *CreateGroupParams) WithParentResourceName(parentResourceName string) *CreateGroupParams

WithParentResourceName adds the parentResourceName to the create group params

func (*CreateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create group params

func (*CreateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateGroupReader

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

CreateGroupReader is a Reader for the CreateGroup structure.

func (*CreateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGroupDefault

type DeleteGroupDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

DeleteGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteGroupDefault

func NewDeleteGroupDefault(code int) *DeleteGroupDefault

NewDeleteGroupDefault creates a DeleteGroupDefault with default headers values

func (*DeleteGroupDefault) Code

func (o *DeleteGroupDefault) Code() int

Code gets the status code for the delete group default response

func (*DeleteGroupDefault) Error

func (o *DeleteGroupDefault) Error() string

func (*DeleteGroupDefault) GetPayload

func (o *DeleteGroupDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteGroupDefault) IsClientError

func (o *DeleteGroupDefault) IsClientError() bool

IsClientError returns true when this delete group default response has a 4xx status code

func (*DeleteGroupDefault) IsCode

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

IsCode returns true when this delete group default response a status code equal to that given

func (*DeleteGroupDefault) IsRedirect

func (o *DeleteGroupDefault) IsRedirect() bool

IsRedirect returns true when this delete group default response has a 3xx status code

func (*DeleteGroupDefault) IsServerError

func (o *DeleteGroupDefault) IsServerError() bool

IsServerError returns true when this delete group default response has a 5xx status code

func (*DeleteGroupDefault) IsSuccess

func (o *DeleteGroupDefault) IsSuccess() bool

IsSuccess returns true when this delete group default response has a 2xx status code

func (*DeleteGroupDefault) String

func (o *DeleteGroupDefault) String() string

type DeleteGroupOK

type DeleteGroupOK struct {
	Payload interface{}
}

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

A successful response.

func NewDeleteGroupOK

func NewDeleteGroupOK() *DeleteGroupOK

NewDeleteGroupOK creates a DeleteGroupOK with default headers values

func (*DeleteGroupOK) Error

func (o *DeleteGroupOK) Error() string

func (*DeleteGroupOK) GetPayload

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

func (*DeleteGroupOK) IsClientError

func (o *DeleteGroupOK) IsClientError() bool

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

func (*DeleteGroupOK) IsCode

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

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

func (*DeleteGroupOK) IsRedirect

func (o *DeleteGroupOK) IsRedirect() bool

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

func (*DeleteGroupOK) IsServerError

func (o *DeleteGroupOK) IsServerError() bool

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

func (*DeleteGroupOK) IsSuccess

func (o *DeleteGroupOK) IsSuccess() bool

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

func (*DeleteGroupOK) String

func (o *DeleteGroupOK) String() string

type DeleteGroupParams

type DeleteGroupParams struct {

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>.
	*/
	ResourceName string

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

DeleteGroupParams contains all the parameters to send to the API endpoint

for the delete group operation.

Typically these are written to a http.Request.

func NewDeleteGroupParams

func NewDeleteGroupParams() *DeleteGroupParams

NewDeleteGroupParams creates a new DeleteGroupParams 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 NewDeleteGroupParamsWithContext

func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams

NewDeleteGroupParamsWithContext creates a new DeleteGroupParams object with the ability to set a context for a request.

func NewDeleteGroupParamsWithHTTPClient

func NewDeleteGroupParamsWithHTTPClient(client *http.Client) *DeleteGroupParams

NewDeleteGroupParamsWithHTTPClient creates a new DeleteGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGroupParamsWithTimeout

func NewDeleteGroupParamsWithTimeout(timeout time.Duration) *DeleteGroupParams

NewDeleteGroupParamsWithTimeout creates a new DeleteGroupParams object with the ability to set a timeout on a request.

func (*DeleteGroupParams) SetContext

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

SetContext adds the context to the delete group params

func (*DeleteGroupParams) SetDefaults

func (o *DeleteGroupParams) SetDefaults()

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

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

func (*DeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) SetResourceName

func (o *DeleteGroupParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the delete group params

func (*DeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WithContext

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

WithContext adds the context to the delete group params

func (*DeleteGroupParams) WithDefaults

func (o *DeleteGroupParams) WithDefaults() *DeleteGroupParams

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

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

func (*DeleteGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) WithResourceName

func (o *DeleteGroupParams) WithResourceName(resourceName string) *DeleteGroupParams

WithResourceName adds the resourceName to the delete group params

func (*DeleteGroupParams) WithTimeout

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

WithTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupReader

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

DeleteGroupReader is a Reader for the DeleteGroup structure.

func (*DeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupDefault

type GetGroupDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetGroupDefault

func NewGetGroupDefault(code int) *GetGroupDefault

NewGetGroupDefault creates a GetGroupDefault with default headers values

func (*GetGroupDefault) Code

func (o *GetGroupDefault) Code() int

Code gets the status code for the get group default response

func (*GetGroupDefault) Error

func (o *GetGroupDefault) Error() string

func (*GetGroupDefault) GetPayload

func (o *GetGroupDefault) GetPayload() *cloud.GoogleRPCStatus

func (*GetGroupDefault) IsClientError

func (o *GetGroupDefault) IsClientError() bool

IsClientError returns true when this get group default response has a 4xx status code

func (*GetGroupDefault) IsCode

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

IsCode returns true when this get group default response a status code equal to that given

func (*GetGroupDefault) IsRedirect

func (o *GetGroupDefault) IsRedirect() bool

IsRedirect returns true when this get group default response has a 3xx status code

func (*GetGroupDefault) IsServerError

func (o *GetGroupDefault) IsServerError() bool

IsServerError returns true when this get group default response has a 5xx status code

func (*GetGroupDefault) IsSuccess

func (o *GetGroupDefault) IsSuccess() bool

IsSuccess returns true when this get group default response has a 2xx status code

func (*GetGroupDefault) String

func (o *GetGroupDefault) String() string

type GetGroupOK

type GetGroupOK struct {
	Payload *models.HashicorpCloudIamGetGroupResponse
}

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

A successful response.

func NewGetGroupOK

func NewGetGroupOK() *GetGroupOK

NewGetGroupOK creates a GetGroupOK with default headers values

func (*GetGroupOK) Error

func (o *GetGroupOK) Error() string

func (*GetGroupOK) GetPayload

func (*GetGroupOK) IsClientError

func (o *GetGroupOK) IsClientError() bool

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

func (*GetGroupOK) IsCode

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

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

func (*GetGroupOK) IsRedirect

func (o *GetGroupOK) IsRedirect() bool

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

func (*GetGroupOK) IsServerError

func (o *GetGroupOK) IsServerError() bool

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

func (*GetGroupOK) IsSuccess

func (o *GetGroupOK) IsSuccess() bool

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

func (*GetGroupOK) String

func (o *GetGroupOK) String() string

type GetGroupParams

type GetGroupParams struct {

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>
	*/
	ResourceName string

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

GetGroupParams contains all the parameters to send to the API endpoint

for the get group operation.

Typically these are written to a http.Request.

func NewGetGroupParams

func NewGetGroupParams() *GetGroupParams

NewGetGroupParams creates a new GetGroupParams 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 NewGetGroupParamsWithContext

func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams

NewGetGroupParamsWithContext creates a new GetGroupParams object with the ability to set a context for a request.

func NewGetGroupParamsWithHTTPClient

func NewGetGroupParamsWithHTTPClient(client *http.Client) *GetGroupParams

NewGetGroupParamsWithHTTPClient creates a new GetGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupParamsWithTimeout

func NewGetGroupParamsWithTimeout(timeout time.Duration) *GetGroupParams

NewGetGroupParamsWithTimeout creates a new GetGroupParams object with the ability to set a timeout on a request.

func (*GetGroupParams) SetContext

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

SetContext adds the context to the get group params

func (*GetGroupParams) SetDefaults

func (o *GetGroupParams) SetDefaults()

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

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

func (*GetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) SetResourceName

func (o *GetGroupParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the get group params

func (*GetGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get group params

func (*GetGroupParams) WithContext

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

WithContext adds the context to the get group params

func (*GetGroupParams) WithDefaults

func (o *GetGroupParams) WithDefaults() *GetGroupParams

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

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

func (*GetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) WithResourceName

func (o *GetGroupParams) WithResourceName(resourceName string) *GetGroupParams

WithResourceName adds the resourceName to the get group params

func (*GetGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get group params

func (*GetGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupReader

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

GetGroupReader is a Reader for the GetGroup structure.

func (*GetGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGroupMembersDefault

type ListGroupMembersDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListGroupMembersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListGroupMembersDefault

func NewListGroupMembersDefault(code int) *ListGroupMembersDefault

NewListGroupMembersDefault creates a ListGroupMembersDefault with default headers values

func (*ListGroupMembersDefault) Code

func (o *ListGroupMembersDefault) Code() int

Code gets the status code for the list group members default response

func (*ListGroupMembersDefault) Error

func (o *ListGroupMembersDefault) Error() string

func (*ListGroupMembersDefault) GetPayload

func (*ListGroupMembersDefault) IsClientError

func (o *ListGroupMembersDefault) IsClientError() bool

IsClientError returns true when this list group members default response has a 4xx status code

func (*ListGroupMembersDefault) IsCode

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

IsCode returns true when this list group members default response a status code equal to that given

func (*ListGroupMembersDefault) IsRedirect

func (o *ListGroupMembersDefault) IsRedirect() bool

IsRedirect returns true when this list group members default response has a 3xx status code

func (*ListGroupMembersDefault) IsServerError

func (o *ListGroupMembersDefault) IsServerError() bool

IsServerError returns true when this list group members default response has a 5xx status code

func (*ListGroupMembersDefault) IsSuccess

func (o *ListGroupMembersDefault) IsSuccess() bool

IsSuccess returns true when this list group members default response has a 2xx status code

func (*ListGroupMembersDefault) String

func (o *ListGroupMembersDefault) String() string

type ListGroupMembersOK

type ListGroupMembersOK struct {
	Payload *models.HashicorpCloudIamListGroupMembersResponse
}

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

A successful response.

func NewListGroupMembersOK

func NewListGroupMembersOK() *ListGroupMembersOK

NewListGroupMembersOK creates a ListGroupMembersOK with default headers values

func (*ListGroupMembersOK) Error

func (o *ListGroupMembersOK) Error() string

func (*ListGroupMembersOK) GetPayload

func (*ListGroupMembersOK) IsClientError

func (o *ListGroupMembersOK) IsClientError() bool

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

func (*ListGroupMembersOK) IsCode

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

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

func (*ListGroupMembersOK) IsRedirect

func (o *ListGroupMembersOK) IsRedirect() bool

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

func (*ListGroupMembersOK) IsServerError

func (o *ListGroupMembersOK) IsServerError() bool

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

func (*ListGroupMembersOK) IsSuccess

func (o *ListGroupMembersOK) IsSuccess() bool

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

func (*ListGroupMembersOK) String

func (o *ListGroupMembersOK) String() string

type ListGroupMembersParams

type ListGroupMembersParams 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

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>.
	*/
	ResourceName string

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

ListGroupMembersParams contains all the parameters to send to the API endpoint

for the list group members operation.

Typically these are written to a http.Request.

func NewListGroupMembersParams

func NewListGroupMembersParams() *ListGroupMembersParams

NewListGroupMembersParams creates a new ListGroupMembersParams 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 NewListGroupMembersParamsWithContext

func NewListGroupMembersParamsWithContext(ctx context.Context) *ListGroupMembersParams

NewListGroupMembersParamsWithContext creates a new ListGroupMembersParams object with the ability to set a context for a request.

func NewListGroupMembersParamsWithHTTPClient

func NewListGroupMembersParamsWithHTTPClient(client *http.Client) *ListGroupMembersParams

NewListGroupMembersParamsWithHTTPClient creates a new ListGroupMembersParams object with the ability to set a custom HTTPClient for a request.

func NewListGroupMembersParamsWithTimeout

func NewListGroupMembersParamsWithTimeout(timeout time.Duration) *ListGroupMembersParams

NewListGroupMembersParamsWithTimeout creates a new ListGroupMembersParams object with the ability to set a timeout on a request.

func (*ListGroupMembersParams) SetContext

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

SetContext adds the context to the list group members params

func (*ListGroupMembersParams) SetDefaults

func (o *ListGroupMembersParams) SetDefaults()

SetDefaults hydrates default values in the list group members params (not the query body).

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

func (*ListGroupMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list group members params

func (*ListGroupMembersParams) SetPaginationNextPageToken

func (o *ListGroupMembersParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list group members params

func (*ListGroupMembersParams) SetPaginationPageSize

func (o *ListGroupMembersParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list group members params

func (*ListGroupMembersParams) SetPaginationPreviousPageToken

func (o *ListGroupMembersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list group members params

func (*ListGroupMembersParams) SetResourceName

func (o *ListGroupMembersParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the list group members params

func (*ListGroupMembersParams) SetTimeout

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

SetTimeout adds the timeout to the list group members params

func (*ListGroupMembersParams) WithContext

WithContext adds the context to the list group members params

func (*ListGroupMembersParams) WithDefaults

WithDefaults hydrates default values in the list group members params (not the query body).

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

func (*ListGroupMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list group members params

func (*ListGroupMembersParams) WithPaginationNextPageToken

func (o *ListGroupMembersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListGroupMembersParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list group members params

func (*ListGroupMembersParams) WithPaginationPageSize

func (o *ListGroupMembersParams) WithPaginationPageSize(paginationPageSize *int64) *ListGroupMembersParams

WithPaginationPageSize adds the paginationPageSize to the list group members params

func (*ListGroupMembersParams) WithPaginationPreviousPageToken

func (o *ListGroupMembersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListGroupMembersParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list group members params

func (*ListGroupMembersParams) WithResourceName

func (o *ListGroupMembersParams) WithResourceName(resourceName string) *ListGroupMembersParams

WithResourceName adds the resourceName to the list group members params

func (*ListGroupMembersParams) WithTimeout

WithTimeout adds the timeout to the list group members params

func (*ListGroupMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGroupMembersReader

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

ListGroupMembersReader is a Reader for the ListGroupMembers structure.

func (*ListGroupMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGroupsDefault

type ListGroupsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListGroupsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListGroupsDefault

func NewListGroupsDefault(code int) *ListGroupsDefault

NewListGroupsDefault creates a ListGroupsDefault with default headers values

func (*ListGroupsDefault) Code

func (o *ListGroupsDefault) Code() int

Code gets the status code for the list groups default response

func (*ListGroupsDefault) Error

func (o *ListGroupsDefault) Error() string

func (*ListGroupsDefault) GetPayload

func (o *ListGroupsDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListGroupsDefault) IsClientError

func (o *ListGroupsDefault) IsClientError() bool

IsClientError returns true when this list groups default response has a 4xx status code

func (*ListGroupsDefault) IsCode

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

IsCode returns true when this list groups default response a status code equal to that given

func (*ListGroupsDefault) IsRedirect

func (o *ListGroupsDefault) IsRedirect() bool

IsRedirect returns true when this list groups default response has a 3xx status code

func (*ListGroupsDefault) IsServerError

func (o *ListGroupsDefault) IsServerError() bool

IsServerError returns true when this list groups default response has a 5xx status code

func (*ListGroupsDefault) IsSuccess

func (o *ListGroupsDefault) IsSuccess() bool

IsSuccess returns true when this list groups default response has a 2xx status code

func (*ListGroupsDefault) String

func (o *ListGroupsDefault) String() string

type ListGroupsOK

type ListGroupsOK struct {
	Payload *models.HashicorpCloudIamListGroupsResponse
}

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

A successful response.

func NewListGroupsOK

func NewListGroupsOK() *ListGroupsOK

NewListGroupsOK creates a ListGroupsOK with default headers values

func (*ListGroupsOK) Error

func (o *ListGroupsOK) Error() string

func (*ListGroupsOK) GetPayload

func (*ListGroupsOK) IsClientError

func (o *ListGroupsOK) IsClientError() bool

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

func (*ListGroupsOK) IsCode

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

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

func (*ListGroupsOK) IsRedirect

func (o *ListGroupsOK) IsRedirect() bool

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

func (*ListGroupsOK) IsServerError

func (o *ListGroupsOK) IsServerError() bool

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

func (*ListGroupsOK) IsSuccess

func (o *ListGroupsOK) IsSuccess() bool

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

func (*ListGroupsOK) String

func (o *ListGroupsOK) String() string

type ListGroupsParams

type ListGroupsParams struct {

	/* FilterGroupResourceIds.

	     group_resource_ids is a way to filter groups by a list of group
	ids when we need to resolve group attributes (e.g. name) from a
	list of ids we get from a project policy.
	*/
	FilterGroupResourceIds []string

	/* FilterMemberPrincipalID.

	   member_principal_id is an optional query param to filter groups that a principal belongs to.
	*/
	FilterMemberPrincipalID *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

	/* ParentResourceName.

	     parent_resource is the parent resource of the group.
	organization/<org_id>
	*/
	ParentResourceName string

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

ListGroupsParams contains all the parameters to send to the API endpoint

for the list groups operation.

Typically these are written to a http.Request.

func NewListGroupsParams

func NewListGroupsParams() *ListGroupsParams

NewListGroupsParams creates a new ListGroupsParams 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 NewListGroupsParamsWithContext

func NewListGroupsParamsWithContext(ctx context.Context) *ListGroupsParams

NewListGroupsParamsWithContext creates a new ListGroupsParams object with the ability to set a context for a request.

func NewListGroupsParamsWithHTTPClient

func NewListGroupsParamsWithHTTPClient(client *http.Client) *ListGroupsParams

NewListGroupsParamsWithHTTPClient creates a new ListGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListGroupsParamsWithTimeout

func NewListGroupsParamsWithTimeout(timeout time.Duration) *ListGroupsParams

NewListGroupsParamsWithTimeout creates a new ListGroupsParams object with the ability to set a timeout on a request.

func (*ListGroupsParams) SetContext

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

SetContext adds the context to the list groups params

func (*ListGroupsParams) SetDefaults

func (o *ListGroupsParams) SetDefaults()

SetDefaults hydrates default values in the list groups params (not the query body).

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

func (*ListGroupsParams) SetFilterGroupResourceIds

func (o *ListGroupsParams) SetFilterGroupResourceIds(filterGroupResourceIds []string)

SetFilterGroupResourceIds adds the filterGroupResourceIds to the list groups params

func (*ListGroupsParams) SetFilterMemberPrincipalID

func (o *ListGroupsParams) SetFilterMemberPrincipalID(filterMemberPrincipalID *string)

SetFilterMemberPrincipalID adds the filterMemberPrincipalId to the list groups params

func (*ListGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list groups params

func (*ListGroupsParams) SetPaginationNextPageToken

func (o *ListGroupsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list groups params

func (*ListGroupsParams) SetPaginationPageSize

func (o *ListGroupsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list groups params

func (*ListGroupsParams) SetPaginationPreviousPageToken

func (o *ListGroupsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list groups params

func (*ListGroupsParams) SetParentResourceName

func (o *ListGroupsParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the list groups params

func (*ListGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the list groups params

func (*ListGroupsParams) WithContext

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

WithContext adds the context to the list groups params

func (*ListGroupsParams) WithDefaults

func (o *ListGroupsParams) WithDefaults() *ListGroupsParams

WithDefaults hydrates default values in the list groups params (not the query body).

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

func (*ListGroupsParams) WithFilterGroupResourceIds

func (o *ListGroupsParams) WithFilterGroupResourceIds(filterGroupResourceIds []string) *ListGroupsParams

WithFilterGroupResourceIds adds the filterGroupResourceIds to the list groups params

func (*ListGroupsParams) WithFilterMemberPrincipalID

func (o *ListGroupsParams) WithFilterMemberPrincipalID(filterMemberPrincipalID *string) *ListGroupsParams

WithFilterMemberPrincipalID adds the filterMemberPrincipalID to the list groups params

func (*ListGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list groups params

func (*ListGroupsParams) WithPaginationNextPageToken

func (o *ListGroupsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListGroupsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list groups params

func (*ListGroupsParams) WithPaginationPageSize

func (o *ListGroupsParams) WithPaginationPageSize(paginationPageSize *int64) *ListGroupsParams

WithPaginationPageSize adds the paginationPageSize to the list groups params

func (*ListGroupsParams) WithPaginationPreviousPageToken

func (o *ListGroupsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListGroupsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list groups params

func (*ListGroupsParams) WithParentResourceName

func (o *ListGroupsParams) WithParentResourceName(parentResourceName string) *ListGroupsParams

WithParentResourceName adds the parentResourceName to the list groups params

func (*ListGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the list groups params

func (*ListGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListGroupsReader

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

ListGroupsReader is a Reader for the ListGroups structure.

func (*ListGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGroupDefault

type UpdateGroupDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

UpdateGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateGroupDefault

func NewUpdateGroupDefault(code int) *UpdateGroupDefault

NewUpdateGroupDefault creates a UpdateGroupDefault with default headers values

func (*UpdateGroupDefault) Code

func (o *UpdateGroupDefault) Code() int

Code gets the status code for the update group default response

func (*UpdateGroupDefault) Error

func (o *UpdateGroupDefault) Error() string

func (*UpdateGroupDefault) GetPayload

func (o *UpdateGroupDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UpdateGroupDefault) IsClientError

func (o *UpdateGroupDefault) IsClientError() bool

IsClientError returns true when this update group default response has a 4xx status code

func (*UpdateGroupDefault) IsCode

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

IsCode returns true when this update group default response a status code equal to that given

func (*UpdateGroupDefault) IsRedirect

func (o *UpdateGroupDefault) IsRedirect() bool

IsRedirect returns true when this update group default response has a 3xx status code

func (*UpdateGroupDefault) IsServerError

func (o *UpdateGroupDefault) IsServerError() bool

IsServerError returns true when this update group default response has a 5xx status code

func (*UpdateGroupDefault) IsSuccess

func (o *UpdateGroupDefault) IsSuccess() bool

IsSuccess returns true when this update group default response has a 2xx status code

func (*UpdateGroupDefault) String

func (o *UpdateGroupDefault) String() string

type UpdateGroupMembersDefault

type UpdateGroupMembersDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

UpdateGroupMembersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateGroupMembersDefault

func NewUpdateGroupMembersDefault(code int) *UpdateGroupMembersDefault

NewUpdateGroupMembersDefault creates a UpdateGroupMembersDefault with default headers values

func (*UpdateGroupMembersDefault) Code

func (o *UpdateGroupMembersDefault) Code() int

Code gets the status code for the update group members default response

func (*UpdateGroupMembersDefault) Error

func (o *UpdateGroupMembersDefault) Error() string

func (*UpdateGroupMembersDefault) GetPayload

func (*UpdateGroupMembersDefault) IsClientError

func (o *UpdateGroupMembersDefault) IsClientError() bool

IsClientError returns true when this update group members default response has a 4xx status code

func (*UpdateGroupMembersDefault) IsCode

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

IsCode returns true when this update group members default response a status code equal to that given

func (*UpdateGroupMembersDefault) IsRedirect

func (o *UpdateGroupMembersDefault) IsRedirect() bool

IsRedirect returns true when this update group members default response has a 3xx status code

func (*UpdateGroupMembersDefault) IsServerError

func (o *UpdateGroupMembersDefault) IsServerError() bool

IsServerError returns true when this update group members default response has a 5xx status code

func (*UpdateGroupMembersDefault) IsSuccess

func (o *UpdateGroupMembersDefault) IsSuccess() bool

IsSuccess returns true when this update group members default response has a 2xx status code

func (*UpdateGroupMembersDefault) String

func (o *UpdateGroupMembersDefault) String() string

type UpdateGroupMembersOK

type UpdateGroupMembersOK struct {
	Payload interface{}
}

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

A successful response.

func NewUpdateGroupMembersOK

func NewUpdateGroupMembersOK() *UpdateGroupMembersOK

NewUpdateGroupMembersOK creates a UpdateGroupMembersOK with default headers values

func (*UpdateGroupMembersOK) Error

func (o *UpdateGroupMembersOK) Error() string

func (*UpdateGroupMembersOK) GetPayload

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

func (*UpdateGroupMembersOK) IsClientError

func (o *UpdateGroupMembersOK) IsClientError() bool

IsClientError returns true when this update group members o k response has a 4xx status code

func (*UpdateGroupMembersOK) IsCode

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

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

func (*UpdateGroupMembersOK) IsRedirect

func (o *UpdateGroupMembersOK) IsRedirect() bool

IsRedirect returns true when this update group members o k response has a 3xx status code

func (*UpdateGroupMembersOK) IsServerError

func (o *UpdateGroupMembersOK) IsServerError() bool

IsServerError returns true when this update group members o k response has a 5xx status code

func (*UpdateGroupMembersOK) IsSuccess

func (o *UpdateGroupMembersOK) IsSuccess() bool

IsSuccess returns true when this update group members o k response has a 2xx status code

func (*UpdateGroupMembersOK) String

func (o *UpdateGroupMembersOK) String() string

type UpdateGroupMembersParams

type UpdateGroupMembersParams struct {

	// Body.
	Body *models.HashicorpCloudIamUpdateGroupMembersRequest

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>.
	*/
	ResourceName string

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

UpdateGroupMembersParams contains all the parameters to send to the API endpoint

for the update group members operation.

Typically these are written to a http.Request.

func NewUpdateGroupMembersParams

func NewUpdateGroupMembersParams() *UpdateGroupMembersParams

NewUpdateGroupMembersParams creates a new UpdateGroupMembersParams 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 NewUpdateGroupMembersParamsWithContext

func NewUpdateGroupMembersParamsWithContext(ctx context.Context) *UpdateGroupMembersParams

NewUpdateGroupMembersParamsWithContext creates a new UpdateGroupMembersParams object with the ability to set a context for a request.

func NewUpdateGroupMembersParamsWithHTTPClient

func NewUpdateGroupMembersParamsWithHTTPClient(client *http.Client) *UpdateGroupMembersParams

NewUpdateGroupMembersParamsWithHTTPClient creates a new UpdateGroupMembersParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGroupMembersParamsWithTimeout

func NewUpdateGroupMembersParamsWithTimeout(timeout time.Duration) *UpdateGroupMembersParams

NewUpdateGroupMembersParamsWithTimeout creates a new UpdateGroupMembersParams object with the ability to set a timeout on a request.

func (*UpdateGroupMembersParams) SetBody

SetBody adds the body to the update group members params

func (*UpdateGroupMembersParams) SetContext

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

SetContext adds the context to the update group members params

func (*UpdateGroupMembersParams) SetDefaults

func (o *UpdateGroupMembersParams) SetDefaults()

SetDefaults hydrates default values in the update group members params (not the query body).

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

func (*UpdateGroupMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update group members params

func (*UpdateGroupMembersParams) SetResourceName

func (o *UpdateGroupMembersParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the update group members params

func (*UpdateGroupMembersParams) SetTimeout

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

SetTimeout adds the timeout to the update group members params

func (*UpdateGroupMembersParams) WithBody

WithBody adds the body to the update group members params

func (*UpdateGroupMembersParams) WithContext

WithContext adds the context to the update group members params

func (*UpdateGroupMembersParams) WithDefaults

WithDefaults hydrates default values in the update group members params (not the query body).

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

func (*UpdateGroupMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update group members params

func (*UpdateGroupMembersParams) WithResourceName

func (o *UpdateGroupMembersParams) WithResourceName(resourceName string) *UpdateGroupMembersParams

WithResourceName adds the resourceName to the update group members params

func (*UpdateGroupMembersParams) WithTimeout

WithTimeout adds the timeout to the update group members params

func (*UpdateGroupMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGroupMembersReader

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

UpdateGroupMembersReader is a Reader for the UpdateGroupMembers structure.

func (*UpdateGroupMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGroupOK

type UpdateGroupOK struct {
	Payload interface{}
}

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

A successful response.

func NewUpdateGroupOK

func NewUpdateGroupOK() *UpdateGroupOK

NewUpdateGroupOK creates a UpdateGroupOK with default headers values

func (*UpdateGroupOK) Error

func (o *UpdateGroupOK) Error() string

func (*UpdateGroupOK) GetPayload

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

func (*UpdateGroupOK) IsClientError

func (o *UpdateGroupOK) IsClientError() bool

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

func (*UpdateGroupOK) IsCode

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

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

func (*UpdateGroupOK) IsRedirect

func (o *UpdateGroupOK) IsRedirect() bool

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

func (*UpdateGroupOK) IsServerError

func (o *UpdateGroupOK) IsServerError() bool

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

func (*UpdateGroupOK) IsSuccess

func (o *UpdateGroupOK) IsSuccess() bool

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

func (*UpdateGroupOK) String

func (o *UpdateGroupOK) String() string

type UpdateGroupParams

type UpdateGroupParams struct {

	// Body.
	Body *models.HashicorpCloudIamUpdateGroupRequest

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>
	*/
	ResourceName string

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

UpdateGroupParams contains all the parameters to send to the API endpoint

for the update group operation.

Typically these are written to a http.Request.

func NewUpdateGroupParams

func NewUpdateGroupParams() *UpdateGroupParams

NewUpdateGroupParams creates a new UpdateGroupParams 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 NewUpdateGroupParamsWithContext

func NewUpdateGroupParamsWithContext(ctx context.Context) *UpdateGroupParams

NewUpdateGroupParamsWithContext creates a new UpdateGroupParams object with the ability to set a context for a request.

func NewUpdateGroupParamsWithHTTPClient

func NewUpdateGroupParamsWithHTTPClient(client *http.Client) *UpdateGroupParams

NewUpdateGroupParamsWithHTTPClient creates a new UpdateGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGroupParamsWithTimeout

func NewUpdateGroupParamsWithTimeout(timeout time.Duration) *UpdateGroupParams

NewUpdateGroupParamsWithTimeout creates a new UpdateGroupParams object with the ability to set a timeout on a request.

func (*UpdateGroupParams) SetBody

SetBody adds the body to the update group params

func (*UpdateGroupParams) SetContext

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

SetContext adds the context to the update group params

func (*UpdateGroupParams) SetDefaults

func (o *UpdateGroupParams) SetDefaults()

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

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

func (*UpdateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) SetResourceName

func (o *UpdateGroupParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the update group params

func (*UpdateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update group params

func (*UpdateGroupParams) WithBody

WithBody adds the body to the update group params

func (*UpdateGroupParams) WithContext

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

WithContext adds the context to the update group params

func (*UpdateGroupParams) WithDefaults

func (o *UpdateGroupParams) WithDefaults() *UpdateGroupParams

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

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

func (*UpdateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) WithResourceName

func (o *UpdateGroupParams) WithResourceName(resourceName string) *UpdateGroupParams

WithResourceName adds the resourceName to the update group params

func (*UpdateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update group params

func (*UpdateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateGroupReader

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

UpdateGroupReader is a Reader for the UpdateGroup structure.

func (*UpdateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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