Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSubOrganization(params *CreateSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSubOrganizationOK, error)
- func (a *Client) DeleteSubOrganization(params *DeleteSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSubOrganizationOK, error)
- func (a *Client) GetOrganizationConfigs(params *GetOrganizationConfigsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationConfigsOK, error)
- func (a *Client) GetSubOrgIds(params *GetSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSubOrgIdsOK, error)
- func (a *Client) GetVerifiedSubOrgIds(params *GetVerifiedSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVerifiedSubOrgIdsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRootQuorum(params *UpdateRootQuorumParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRootQuorumOK, error)
- type ClientOption
- type ClientService
- type CreateSubOrganizationOK
- func (o *CreateSubOrganizationOK) Code() int
- func (o *CreateSubOrganizationOK) Error() string
- func (o *CreateSubOrganizationOK) GetPayload() *models.ActivityResponse
- func (o *CreateSubOrganizationOK) IsClientError() bool
- func (o *CreateSubOrganizationOK) IsCode(code int) bool
- func (o *CreateSubOrganizationOK) IsRedirect() bool
- func (o *CreateSubOrganizationOK) IsServerError() bool
- func (o *CreateSubOrganizationOK) IsSuccess() bool
- func (o *CreateSubOrganizationOK) String() string
- type CreateSubOrganizationParams
- func NewCreateSubOrganizationParams() *CreateSubOrganizationParams
- func NewCreateSubOrganizationParamsWithContext(ctx context.Context) *CreateSubOrganizationParams
- func NewCreateSubOrganizationParamsWithHTTPClient(client *http.Client) *CreateSubOrganizationParams
- func NewCreateSubOrganizationParamsWithTimeout(timeout time.Duration) *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) SetBody(body *models.CreateSubOrganizationRequest)
- func (o *CreateSubOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateSubOrganizationParams) SetDefaults()
- func (o *CreateSubOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubOrganizationParams) WithBody(body *models.CreateSubOrganizationRequest) *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) WithContext(ctx context.Context) *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) WithDefaults() *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) WithHTTPClient(client *http.Client) *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) WithTimeout(timeout time.Duration) *CreateSubOrganizationParams
- func (o *CreateSubOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubOrganizationReader
- type DeleteSubOrganizationOK
- func (o *DeleteSubOrganizationOK) Code() int
- func (o *DeleteSubOrganizationOK) Error() string
- func (o *DeleteSubOrganizationOK) GetPayload() *models.ActivityResponse
- func (o *DeleteSubOrganizationOK) IsClientError() bool
- func (o *DeleteSubOrganizationOK) IsCode(code int) bool
- func (o *DeleteSubOrganizationOK) IsRedirect() bool
- func (o *DeleteSubOrganizationOK) IsServerError() bool
- func (o *DeleteSubOrganizationOK) IsSuccess() bool
- func (o *DeleteSubOrganizationOK) String() string
- type DeleteSubOrganizationParams
- func NewDeleteSubOrganizationParams() *DeleteSubOrganizationParams
- func NewDeleteSubOrganizationParamsWithContext(ctx context.Context) *DeleteSubOrganizationParams
- func NewDeleteSubOrganizationParamsWithHTTPClient(client *http.Client) *DeleteSubOrganizationParams
- func NewDeleteSubOrganizationParamsWithTimeout(timeout time.Duration) *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) SetBody(body *models.DeleteSubOrganizationRequest)
- func (o *DeleteSubOrganizationParams) SetContext(ctx context.Context)
- func (o *DeleteSubOrganizationParams) SetDefaults()
- func (o *DeleteSubOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubOrganizationParams) WithBody(body *models.DeleteSubOrganizationRequest) *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) WithContext(ctx context.Context) *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) WithDefaults() *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) WithHTTPClient(client *http.Client) *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) WithTimeout(timeout time.Duration) *DeleteSubOrganizationParams
- func (o *DeleteSubOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubOrganizationReader
- type GetOrganizationConfigsOK
- func (o *GetOrganizationConfigsOK) Code() int
- func (o *GetOrganizationConfigsOK) Error() string
- func (o *GetOrganizationConfigsOK) GetPayload() *models.GetOrganizationConfigsResponse
- func (o *GetOrganizationConfigsOK) IsClientError() bool
- func (o *GetOrganizationConfigsOK) IsCode(code int) bool
- func (o *GetOrganizationConfigsOK) IsRedirect() bool
- func (o *GetOrganizationConfigsOK) IsServerError() bool
- func (o *GetOrganizationConfigsOK) IsSuccess() bool
- func (o *GetOrganizationConfigsOK) String() string
- type GetOrganizationConfigsParams
- func NewGetOrganizationConfigsParams() *GetOrganizationConfigsParams
- func NewGetOrganizationConfigsParamsWithContext(ctx context.Context) *GetOrganizationConfigsParams
- func NewGetOrganizationConfigsParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigsParams
- func NewGetOrganizationConfigsParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) SetBody(body *models.GetOrganizationConfigsRequest)
- func (o *GetOrganizationConfigsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationConfigsParams) SetDefaults()
- func (o *GetOrganizationConfigsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationConfigsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationConfigsParams) WithBody(body *models.GetOrganizationConfigsRequest) *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) WithContext(ctx context.Context) *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) WithDefaults() *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigsParams
- func (o *GetOrganizationConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationConfigsReader
- type GetSubOrgIdsOK
- func (o *GetSubOrgIdsOK) Code() int
- func (o *GetSubOrgIdsOK) Error() string
- func (o *GetSubOrgIdsOK) GetPayload() *models.GetSubOrgIdsResponse
- func (o *GetSubOrgIdsOK) IsClientError() bool
- func (o *GetSubOrgIdsOK) IsCode(code int) bool
- func (o *GetSubOrgIdsOK) IsRedirect() bool
- func (o *GetSubOrgIdsOK) IsServerError() bool
- func (o *GetSubOrgIdsOK) IsSuccess() bool
- func (o *GetSubOrgIdsOK) String() string
- type GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) SetBody(body *models.GetSubOrgIdsRequest)
- func (o *GetSubOrgIdsParams) SetContext(ctx context.Context)
- func (o *GetSubOrgIdsParams) SetDefaults()
- func (o *GetSubOrgIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubOrgIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubOrgIdsParams) WithBody(body *models.GetSubOrgIdsRequest) *GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) WithContext(ctx context.Context) *GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) WithDefaults() *GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) WithHTTPClient(client *http.Client) *GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) WithTimeout(timeout time.Duration) *GetSubOrgIdsParams
- func (o *GetSubOrgIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubOrgIdsReader
- type GetVerifiedSubOrgIdsOK
- func (o *GetVerifiedSubOrgIdsOK) Code() int
- func (o *GetVerifiedSubOrgIdsOK) Error() string
- func (o *GetVerifiedSubOrgIdsOK) GetPayload() *models.GetVerifiedSubOrgIdsResponse
- func (o *GetVerifiedSubOrgIdsOK) IsClientError() bool
- func (o *GetVerifiedSubOrgIdsOK) IsCode(code int) bool
- func (o *GetVerifiedSubOrgIdsOK) IsRedirect() bool
- func (o *GetVerifiedSubOrgIdsOK) IsServerError() bool
- func (o *GetVerifiedSubOrgIdsOK) IsSuccess() bool
- func (o *GetVerifiedSubOrgIdsOK) String() string
- type GetVerifiedSubOrgIdsParams
- func NewGetVerifiedSubOrgIdsParams() *GetVerifiedSubOrgIdsParams
- func NewGetVerifiedSubOrgIdsParamsWithContext(ctx context.Context) *GetVerifiedSubOrgIdsParams
- func NewGetVerifiedSubOrgIdsParamsWithHTTPClient(client *http.Client) *GetVerifiedSubOrgIdsParams
- func NewGetVerifiedSubOrgIdsParamsWithTimeout(timeout time.Duration) *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) SetBody(body *models.GetVerifiedSubOrgIdsRequest)
- func (o *GetVerifiedSubOrgIdsParams) SetContext(ctx context.Context)
- func (o *GetVerifiedSubOrgIdsParams) SetDefaults()
- func (o *GetVerifiedSubOrgIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetVerifiedSubOrgIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetVerifiedSubOrgIdsParams) WithBody(body *models.GetVerifiedSubOrgIdsRequest) *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) WithContext(ctx context.Context) *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) WithDefaults() *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) WithHTTPClient(client *http.Client) *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) WithTimeout(timeout time.Duration) *GetVerifiedSubOrgIdsParams
- func (o *GetVerifiedSubOrgIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVerifiedSubOrgIdsReader
- type UpdateRootQuorumOK
- func (o *UpdateRootQuorumOK) Code() int
- func (o *UpdateRootQuorumOK) Error() string
- func (o *UpdateRootQuorumOK) GetPayload() *models.ActivityResponse
- func (o *UpdateRootQuorumOK) IsClientError() bool
- func (o *UpdateRootQuorumOK) IsCode(code int) bool
- func (o *UpdateRootQuorumOK) IsRedirect() bool
- func (o *UpdateRootQuorumOK) IsServerError() bool
- func (o *UpdateRootQuorumOK) IsSuccess() bool
- func (o *UpdateRootQuorumOK) String() string
- type UpdateRootQuorumParams
- func NewUpdateRootQuorumParams() *UpdateRootQuorumParams
- func NewUpdateRootQuorumParamsWithContext(ctx context.Context) *UpdateRootQuorumParams
- func NewUpdateRootQuorumParamsWithHTTPClient(client *http.Client) *UpdateRootQuorumParams
- func NewUpdateRootQuorumParamsWithTimeout(timeout time.Duration) *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) SetBody(body *models.UpdateRootQuorumRequest)
- func (o *UpdateRootQuorumParams) SetContext(ctx context.Context)
- func (o *UpdateRootQuorumParams) SetDefaults()
- func (o *UpdateRootQuorumParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRootQuorumParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRootQuorumParams) WithBody(body *models.UpdateRootQuorumRequest) *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) WithContext(ctx context.Context) *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) WithDefaults() *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) WithHTTPClient(client *http.Client) *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) WithTimeout(timeout time.Duration) *UpdateRootQuorumParams
- func (o *UpdateRootQuorumParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRootQuorumReader
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 organizations API
func (*Client) CreateSubOrganization ¶
func (a *Client) CreateSubOrganization(params *CreateSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubOrganizationOK, error)
CreateSubOrganization creates sub organization
Create a new Sub-Organization
func (*Client) DeleteSubOrganization ¶
func (a *Client) DeleteSubOrganization(params *DeleteSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSubOrganizationOK, error)
DeleteSubOrganization deletes sub organization
Deletes a sub organization
func (*Client) GetOrganizationConfigs ¶
func (a *Client) GetOrganizationConfigs(params *GetOrganizationConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigsOK, error)
GetOrganizationConfigs gets configs
Get quorum settings and features for an organization
func (*Client) GetSubOrgIds ¶
func (a *Client) GetSubOrgIds(params *GetSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubOrgIdsOK, error)
GetSubOrgIds gets suborgs
Get all suborg IDs associated given a parent org ID and an optional filter.
func (*Client) GetVerifiedSubOrgIds ¶
func (a *Client) GetVerifiedSubOrgIds(params *GetVerifiedSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVerifiedSubOrgIdsOK, error)
GetVerifiedSubOrgIds gets verified suborgs
Get all email or phone verified suborg IDs associated given a parent org ID.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRootQuorum ¶
func (a *Client) UpdateRootQuorum(params *UpdateRootQuorumParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRootQuorumOK, error)
UpdateRootQuorum updates root quorum
Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSubOrganization(params *CreateSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubOrganizationOK, error) DeleteSubOrganization(params *DeleteSubOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSubOrganizationOK, error) GetOrganizationConfigs(params *GetOrganizationConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigsOK, error) GetSubOrgIds(params *GetSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubOrgIdsOK, error) GetVerifiedSubOrgIds(params *GetVerifiedSubOrgIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVerifiedSubOrgIdsOK, error) UpdateRootQuorum(params *UpdateRootQuorumParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRootQuorumOK, 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 organizations API client.
type CreateSubOrganizationOK ¶
type CreateSubOrganizationOK struct {
Payload *models.ActivityResponse
}
CreateSubOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateSubOrganizationOK ¶
func NewCreateSubOrganizationOK() *CreateSubOrganizationOK
NewCreateSubOrganizationOK creates a CreateSubOrganizationOK with default headers values
func (*CreateSubOrganizationOK) Code ¶
func (o *CreateSubOrganizationOK) Code() int
Code gets the status code for the create sub organization o k response
func (*CreateSubOrganizationOK) Error ¶
func (o *CreateSubOrganizationOK) Error() string
func (*CreateSubOrganizationOK) GetPayload ¶
func (o *CreateSubOrganizationOK) GetPayload() *models.ActivityResponse
func (*CreateSubOrganizationOK) IsClientError ¶
func (o *CreateSubOrganizationOK) IsClientError() bool
IsClientError returns true when this create sub organization o k response has a 4xx status code
func (*CreateSubOrganizationOK) IsCode ¶
func (o *CreateSubOrganizationOK) IsCode(code int) bool
IsCode returns true when this create sub organization o k response a status code equal to that given
func (*CreateSubOrganizationOK) IsRedirect ¶
func (o *CreateSubOrganizationOK) IsRedirect() bool
IsRedirect returns true when this create sub organization o k response has a 3xx status code
func (*CreateSubOrganizationOK) IsServerError ¶
func (o *CreateSubOrganizationOK) IsServerError() bool
IsServerError returns true when this create sub organization o k response has a 5xx status code
func (*CreateSubOrganizationOK) IsSuccess ¶
func (o *CreateSubOrganizationOK) IsSuccess() bool
IsSuccess returns true when this create sub organization o k response has a 2xx status code
func (*CreateSubOrganizationOK) String ¶
func (o *CreateSubOrganizationOK) String() string
type CreateSubOrganizationParams ¶
type CreateSubOrganizationParams struct { // Body. Body *models.CreateSubOrganizationRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSubOrganizationParams contains all the parameters to send to the API endpoint
for the create sub organization operation. Typically these are written to a http.Request.
func NewCreateSubOrganizationParams ¶
func NewCreateSubOrganizationParams() *CreateSubOrganizationParams
NewCreateSubOrganizationParams creates a new CreateSubOrganizationParams 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 NewCreateSubOrganizationParamsWithContext ¶
func NewCreateSubOrganizationParamsWithContext(ctx context.Context) *CreateSubOrganizationParams
NewCreateSubOrganizationParamsWithContext creates a new CreateSubOrganizationParams object with the ability to set a context for a request.
func NewCreateSubOrganizationParamsWithHTTPClient ¶
func NewCreateSubOrganizationParamsWithHTTPClient(client *http.Client) *CreateSubOrganizationParams
NewCreateSubOrganizationParamsWithHTTPClient creates a new CreateSubOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubOrganizationParamsWithTimeout ¶
func NewCreateSubOrganizationParamsWithTimeout(timeout time.Duration) *CreateSubOrganizationParams
NewCreateSubOrganizationParamsWithTimeout creates a new CreateSubOrganizationParams object with the ability to set a timeout on a request.
func (*CreateSubOrganizationParams) SetBody ¶
func (o *CreateSubOrganizationParams) SetBody(body *models.CreateSubOrganizationRequest)
SetBody adds the body to the create sub organization params
func (*CreateSubOrganizationParams) SetContext ¶
func (o *CreateSubOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the create sub organization params
func (*CreateSubOrganizationParams) SetDefaults ¶
func (o *CreateSubOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the create sub organization params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubOrganizationParams) SetHTTPClient ¶
func (o *CreateSubOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create sub organization params
func (*CreateSubOrganizationParams) SetTimeout ¶
func (o *CreateSubOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create sub organization params
func (*CreateSubOrganizationParams) WithBody ¶
func (o *CreateSubOrganizationParams) WithBody(body *models.CreateSubOrganizationRequest) *CreateSubOrganizationParams
WithBody adds the body to the create sub organization params
func (*CreateSubOrganizationParams) WithContext ¶
func (o *CreateSubOrganizationParams) WithContext(ctx context.Context) *CreateSubOrganizationParams
WithContext adds the context to the create sub organization params
func (*CreateSubOrganizationParams) WithDefaults ¶
func (o *CreateSubOrganizationParams) WithDefaults() *CreateSubOrganizationParams
WithDefaults hydrates default values in the create sub organization params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubOrganizationParams) WithHTTPClient ¶
func (o *CreateSubOrganizationParams) WithHTTPClient(client *http.Client) *CreateSubOrganizationParams
WithHTTPClient adds the HTTPClient to the create sub organization params
func (*CreateSubOrganizationParams) WithTimeout ¶
func (o *CreateSubOrganizationParams) WithTimeout(timeout time.Duration) *CreateSubOrganizationParams
WithTimeout adds the timeout to the create sub organization params
func (*CreateSubOrganizationParams) WriteToRequest ¶
func (o *CreateSubOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubOrganizationReader ¶
type CreateSubOrganizationReader struct {
// contains filtered or unexported fields
}
CreateSubOrganizationReader is a Reader for the CreateSubOrganization structure.
func (*CreateSubOrganizationReader) ReadResponse ¶
func (o *CreateSubOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSubOrganizationOK ¶
type DeleteSubOrganizationOK struct {
Payload *models.ActivityResponse
}
DeleteSubOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteSubOrganizationOK ¶
func NewDeleteSubOrganizationOK() *DeleteSubOrganizationOK
NewDeleteSubOrganizationOK creates a DeleteSubOrganizationOK with default headers values
func (*DeleteSubOrganizationOK) Code ¶
func (o *DeleteSubOrganizationOK) Code() int
Code gets the status code for the delete sub organization o k response
func (*DeleteSubOrganizationOK) Error ¶
func (o *DeleteSubOrganizationOK) Error() string
func (*DeleteSubOrganizationOK) GetPayload ¶
func (o *DeleteSubOrganizationOK) GetPayload() *models.ActivityResponse
func (*DeleteSubOrganizationOK) IsClientError ¶
func (o *DeleteSubOrganizationOK) IsClientError() bool
IsClientError returns true when this delete sub organization o k response has a 4xx status code
func (*DeleteSubOrganizationOK) IsCode ¶
func (o *DeleteSubOrganizationOK) IsCode(code int) bool
IsCode returns true when this delete sub organization o k response a status code equal to that given
func (*DeleteSubOrganizationOK) IsRedirect ¶
func (o *DeleteSubOrganizationOK) IsRedirect() bool
IsRedirect returns true when this delete sub organization o k response has a 3xx status code
func (*DeleteSubOrganizationOK) IsServerError ¶
func (o *DeleteSubOrganizationOK) IsServerError() bool
IsServerError returns true when this delete sub organization o k response has a 5xx status code
func (*DeleteSubOrganizationOK) IsSuccess ¶
func (o *DeleteSubOrganizationOK) IsSuccess() bool
IsSuccess returns true when this delete sub organization o k response has a 2xx status code
func (*DeleteSubOrganizationOK) String ¶
func (o *DeleteSubOrganizationOK) String() string
type DeleteSubOrganizationParams ¶
type DeleteSubOrganizationParams struct { // Body. Body *models.DeleteSubOrganizationRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSubOrganizationParams contains all the parameters to send to the API endpoint
for the delete sub organization operation. Typically these are written to a http.Request.
func NewDeleteSubOrganizationParams ¶
func NewDeleteSubOrganizationParams() *DeleteSubOrganizationParams
NewDeleteSubOrganizationParams creates a new DeleteSubOrganizationParams 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 NewDeleteSubOrganizationParamsWithContext ¶
func NewDeleteSubOrganizationParamsWithContext(ctx context.Context) *DeleteSubOrganizationParams
NewDeleteSubOrganizationParamsWithContext creates a new DeleteSubOrganizationParams object with the ability to set a context for a request.
func NewDeleteSubOrganizationParamsWithHTTPClient ¶
func NewDeleteSubOrganizationParamsWithHTTPClient(client *http.Client) *DeleteSubOrganizationParams
NewDeleteSubOrganizationParamsWithHTTPClient creates a new DeleteSubOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSubOrganizationParamsWithTimeout ¶
func NewDeleteSubOrganizationParamsWithTimeout(timeout time.Duration) *DeleteSubOrganizationParams
NewDeleteSubOrganizationParamsWithTimeout creates a new DeleteSubOrganizationParams object with the ability to set a timeout on a request.
func (*DeleteSubOrganizationParams) SetBody ¶
func (o *DeleteSubOrganizationParams) SetBody(body *models.DeleteSubOrganizationRequest)
SetBody adds the body to the delete sub organization params
func (*DeleteSubOrganizationParams) SetContext ¶
func (o *DeleteSubOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete sub organization params
func (*DeleteSubOrganizationParams) SetDefaults ¶
func (o *DeleteSubOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the delete sub organization params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubOrganizationParams) SetHTTPClient ¶
func (o *DeleteSubOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete sub organization params
func (*DeleteSubOrganizationParams) SetTimeout ¶
func (o *DeleteSubOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete sub organization params
func (*DeleteSubOrganizationParams) WithBody ¶
func (o *DeleteSubOrganizationParams) WithBody(body *models.DeleteSubOrganizationRequest) *DeleteSubOrganizationParams
WithBody adds the body to the delete sub organization params
func (*DeleteSubOrganizationParams) WithContext ¶
func (o *DeleteSubOrganizationParams) WithContext(ctx context.Context) *DeleteSubOrganizationParams
WithContext adds the context to the delete sub organization params
func (*DeleteSubOrganizationParams) WithDefaults ¶
func (o *DeleteSubOrganizationParams) WithDefaults() *DeleteSubOrganizationParams
WithDefaults hydrates default values in the delete sub organization params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubOrganizationParams) WithHTTPClient ¶
func (o *DeleteSubOrganizationParams) WithHTTPClient(client *http.Client) *DeleteSubOrganizationParams
WithHTTPClient adds the HTTPClient to the delete sub organization params
func (*DeleteSubOrganizationParams) WithTimeout ¶
func (o *DeleteSubOrganizationParams) WithTimeout(timeout time.Duration) *DeleteSubOrganizationParams
WithTimeout adds the timeout to the delete sub organization params
func (*DeleteSubOrganizationParams) WriteToRequest ¶
func (o *DeleteSubOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubOrganizationReader ¶
type DeleteSubOrganizationReader struct {
// contains filtered or unexported fields
}
DeleteSubOrganizationReader is a Reader for the DeleteSubOrganization structure.
func (*DeleteSubOrganizationReader) ReadResponse ¶
func (o *DeleteSubOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationConfigsOK ¶
type GetOrganizationConfigsOK struct {
Payload *models.GetOrganizationConfigsResponse
}
GetOrganizationConfigsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetOrganizationConfigsOK ¶
func NewGetOrganizationConfigsOK() *GetOrganizationConfigsOK
NewGetOrganizationConfigsOK creates a GetOrganizationConfigsOK with default headers values
func (*GetOrganizationConfigsOK) Code ¶
func (o *GetOrganizationConfigsOK) Code() int
Code gets the status code for the get organization configs o k response
func (*GetOrganizationConfigsOK) Error ¶
func (o *GetOrganizationConfigsOK) Error() string
func (*GetOrganizationConfigsOK) GetPayload ¶
func (o *GetOrganizationConfigsOK) GetPayload() *models.GetOrganizationConfigsResponse
func (*GetOrganizationConfigsOK) IsClientError ¶
func (o *GetOrganizationConfigsOK) IsClientError() bool
IsClientError returns true when this get organization configs o k response has a 4xx status code
func (*GetOrganizationConfigsOK) IsCode ¶
func (o *GetOrganizationConfigsOK) IsCode(code int) bool
IsCode returns true when this get organization configs o k response a status code equal to that given
func (*GetOrganizationConfigsOK) IsRedirect ¶
func (o *GetOrganizationConfigsOK) IsRedirect() bool
IsRedirect returns true when this get organization configs o k response has a 3xx status code
func (*GetOrganizationConfigsOK) IsServerError ¶
func (o *GetOrganizationConfigsOK) IsServerError() bool
IsServerError returns true when this get organization configs o k response has a 5xx status code
func (*GetOrganizationConfigsOK) IsSuccess ¶
func (o *GetOrganizationConfigsOK) IsSuccess() bool
IsSuccess returns true when this get organization configs o k response has a 2xx status code
func (*GetOrganizationConfigsOK) String ¶
func (o *GetOrganizationConfigsOK) String() string
type GetOrganizationConfigsParams ¶
type GetOrganizationConfigsParams struct { // Body. Body *models.GetOrganizationConfigsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationConfigsParams contains all the parameters to send to the API endpoint
for the get organization configs operation. Typically these are written to a http.Request.
func NewGetOrganizationConfigsParams ¶
func NewGetOrganizationConfigsParams() *GetOrganizationConfigsParams
NewGetOrganizationConfigsParams creates a new GetOrganizationConfigsParams 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 NewGetOrganizationConfigsParamsWithContext ¶
func NewGetOrganizationConfigsParamsWithContext(ctx context.Context) *GetOrganizationConfigsParams
NewGetOrganizationConfigsParamsWithContext creates a new GetOrganizationConfigsParams object with the ability to set a context for a request.
func NewGetOrganizationConfigsParamsWithHTTPClient ¶
func NewGetOrganizationConfigsParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigsParams
NewGetOrganizationConfigsParamsWithHTTPClient creates a new GetOrganizationConfigsParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationConfigsParamsWithTimeout ¶
func NewGetOrganizationConfigsParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigsParams
NewGetOrganizationConfigsParamsWithTimeout creates a new GetOrganizationConfigsParams object with the ability to set a timeout on a request.
func (*GetOrganizationConfigsParams) SetBody ¶
func (o *GetOrganizationConfigsParams) SetBody(body *models.GetOrganizationConfigsRequest)
SetBody adds the body to the get organization configs params
func (*GetOrganizationConfigsParams) SetContext ¶
func (o *GetOrganizationConfigsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization configs params
func (*GetOrganizationConfigsParams) SetDefaults ¶
func (o *GetOrganizationConfigsParams) SetDefaults()
SetDefaults hydrates default values in the get organization configs params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationConfigsParams) SetHTTPClient ¶
func (o *GetOrganizationConfigsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization configs params
func (*GetOrganizationConfigsParams) SetTimeout ¶
func (o *GetOrganizationConfigsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization configs params
func (*GetOrganizationConfigsParams) WithBody ¶
func (o *GetOrganizationConfigsParams) WithBody(body *models.GetOrganizationConfigsRequest) *GetOrganizationConfigsParams
WithBody adds the body to the get organization configs params
func (*GetOrganizationConfigsParams) WithContext ¶
func (o *GetOrganizationConfigsParams) WithContext(ctx context.Context) *GetOrganizationConfigsParams
WithContext adds the context to the get organization configs params
func (*GetOrganizationConfigsParams) WithDefaults ¶
func (o *GetOrganizationConfigsParams) WithDefaults() *GetOrganizationConfigsParams
WithDefaults hydrates default values in the get organization configs params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationConfigsParams) WithHTTPClient ¶
func (o *GetOrganizationConfigsParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigsParams
WithHTTPClient adds the HTTPClient to the get organization configs params
func (*GetOrganizationConfigsParams) WithTimeout ¶
func (o *GetOrganizationConfigsParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigsParams
WithTimeout adds the timeout to the get organization configs params
func (*GetOrganizationConfigsParams) WriteToRequest ¶
func (o *GetOrganizationConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationConfigsReader ¶
type GetOrganizationConfigsReader struct {
// contains filtered or unexported fields
}
GetOrganizationConfigsReader is a Reader for the GetOrganizationConfigs structure.
func (*GetOrganizationConfigsReader) ReadResponse ¶
func (o *GetOrganizationConfigsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubOrgIdsOK ¶
type GetSubOrgIdsOK struct {
Payload *models.GetSubOrgIdsResponse
}
GetSubOrgIdsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetSubOrgIdsOK ¶
func NewGetSubOrgIdsOK() *GetSubOrgIdsOK
NewGetSubOrgIdsOK creates a GetSubOrgIdsOK with default headers values
func (*GetSubOrgIdsOK) Code ¶
func (o *GetSubOrgIdsOK) Code() int
Code gets the status code for the get sub org ids o k response
func (*GetSubOrgIdsOK) Error ¶
func (o *GetSubOrgIdsOK) Error() string
func (*GetSubOrgIdsOK) GetPayload ¶
func (o *GetSubOrgIdsOK) GetPayload() *models.GetSubOrgIdsResponse
func (*GetSubOrgIdsOK) IsClientError ¶
func (o *GetSubOrgIdsOK) IsClientError() bool
IsClientError returns true when this get sub org ids o k response has a 4xx status code
func (*GetSubOrgIdsOK) IsCode ¶
func (o *GetSubOrgIdsOK) IsCode(code int) bool
IsCode returns true when this get sub org ids o k response a status code equal to that given
func (*GetSubOrgIdsOK) IsRedirect ¶
func (o *GetSubOrgIdsOK) IsRedirect() bool
IsRedirect returns true when this get sub org ids o k response has a 3xx status code
func (*GetSubOrgIdsOK) IsServerError ¶
func (o *GetSubOrgIdsOK) IsServerError() bool
IsServerError returns true when this get sub org ids o k response has a 5xx status code
func (*GetSubOrgIdsOK) IsSuccess ¶
func (o *GetSubOrgIdsOK) IsSuccess() bool
IsSuccess returns true when this get sub org ids o k response has a 2xx status code
func (*GetSubOrgIdsOK) String ¶
func (o *GetSubOrgIdsOK) String() string
type GetSubOrgIdsParams ¶
type GetSubOrgIdsParams struct { // Body. Body *models.GetSubOrgIdsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubOrgIdsParams contains all the parameters to send to the API endpoint
for the get sub org ids operation. Typically these are written to a http.Request.
func NewGetSubOrgIdsParams ¶
func NewGetSubOrgIdsParams() *GetSubOrgIdsParams
NewGetSubOrgIdsParams creates a new GetSubOrgIdsParams 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 NewGetSubOrgIdsParamsWithContext ¶
func NewGetSubOrgIdsParamsWithContext(ctx context.Context) *GetSubOrgIdsParams
NewGetSubOrgIdsParamsWithContext creates a new GetSubOrgIdsParams object with the ability to set a context for a request.
func NewGetSubOrgIdsParamsWithHTTPClient ¶
func NewGetSubOrgIdsParamsWithHTTPClient(client *http.Client) *GetSubOrgIdsParams
NewGetSubOrgIdsParamsWithHTTPClient creates a new GetSubOrgIdsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubOrgIdsParamsWithTimeout ¶
func NewGetSubOrgIdsParamsWithTimeout(timeout time.Duration) *GetSubOrgIdsParams
NewGetSubOrgIdsParamsWithTimeout creates a new GetSubOrgIdsParams object with the ability to set a timeout on a request.
func (*GetSubOrgIdsParams) SetBody ¶
func (o *GetSubOrgIdsParams) SetBody(body *models.GetSubOrgIdsRequest)
SetBody adds the body to the get sub org ids params
func (*GetSubOrgIdsParams) SetContext ¶
func (o *GetSubOrgIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get sub org ids params
func (*GetSubOrgIdsParams) SetDefaults ¶
func (o *GetSubOrgIdsParams) SetDefaults()
SetDefaults hydrates default values in the get sub org ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubOrgIdsParams) SetHTTPClient ¶
func (o *GetSubOrgIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sub org ids params
func (*GetSubOrgIdsParams) SetTimeout ¶
func (o *GetSubOrgIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sub org ids params
func (*GetSubOrgIdsParams) WithBody ¶
func (o *GetSubOrgIdsParams) WithBody(body *models.GetSubOrgIdsRequest) *GetSubOrgIdsParams
WithBody adds the body to the get sub org ids params
func (*GetSubOrgIdsParams) WithContext ¶
func (o *GetSubOrgIdsParams) WithContext(ctx context.Context) *GetSubOrgIdsParams
WithContext adds the context to the get sub org ids params
func (*GetSubOrgIdsParams) WithDefaults ¶
func (o *GetSubOrgIdsParams) WithDefaults() *GetSubOrgIdsParams
WithDefaults hydrates default values in the get sub org ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubOrgIdsParams) WithHTTPClient ¶
func (o *GetSubOrgIdsParams) WithHTTPClient(client *http.Client) *GetSubOrgIdsParams
WithHTTPClient adds the HTTPClient to the get sub org ids params
func (*GetSubOrgIdsParams) WithTimeout ¶
func (o *GetSubOrgIdsParams) WithTimeout(timeout time.Duration) *GetSubOrgIdsParams
WithTimeout adds the timeout to the get sub org ids params
func (*GetSubOrgIdsParams) WriteToRequest ¶
func (o *GetSubOrgIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubOrgIdsReader ¶
type GetSubOrgIdsReader struct {
// contains filtered or unexported fields
}
GetSubOrgIdsReader is a Reader for the GetSubOrgIds structure.
func (*GetSubOrgIdsReader) ReadResponse ¶
func (o *GetSubOrgIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVerifiedSubOrgIdsOK ¶
type GetVerifiedSubOrgIdsOK struct {
Payload *models.GetVerifiedSubOrgIdsResponse
}
GetVerifiedSubOrgIdsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetVerifiedSubOrgIdsOK ¶
func NewGetVerifiedSubOrgIdsOK() *GetVerifiedSubOrgIdsOK
NewGetVerifiedSubOrgIdsOK creates a GetVerifiedSubOrgIdsOK with default headers values
func (*GetVerifiedSubOrgIdsOK) Code ¶
func (o *GetVerifiedSubOrgIdsOK) Code() int
Code gets the status code for the get verified sub org ids o k response
func (*GetVerifiedSubOrgIdsOK) Error ¶
func (o *GetVerifiedSubOrgIdsOK) Error() string
func (*GetVerifiedSubOrgIdsOK) GetPayload ¶
func (o *GetVerifiedSubOrgIdsOK) GetPayload() *models.GetVerifiedSubOrgIdsResponse
func (*GetVerifiedSubOrgIdsOK) IsClientError ¶
func (o *GetVerifiedSubOrgIdsOK) IsClientError() bool
IsClientError returns true when this get verified sub org ids o k response has a 4xx status code
func (*GetVerifiedSubOrgIdsOK) IsCode ¶
func (o *GetVerifiedSubOrgIdsOK) IsCode(code int) bool
IsCode returns true when this get verified sub org ids o k response a status code equal to that given
func (*GetVerifiedSubOrgIdsOK) IsRedirect ¶
func (o *GetVerifiedSubOrgIdsOK) IsRedirect() bool
IsRedirect returns true when this get verified sub org ids o k response has a 3xx status code
func (*GetVerifiedSubOrgIdsOK) IsServerError ¶
func (o *GetVerifiedSubOrgIdsOK) IsServerError() bool
IsServerError returns true when this get verified sub org ids o k response has a 5xx status code
func (*GetVerifiedSubOrgIdsOK) IsSuccess ¶
func (o *GetVerifiedSubOrgIdsOK) IsSuccess() bool
IsSuccess returns true when this get verified sub org ids o k response has a 2xx status code
func (*GetVerifiedSubOrgIdsOK) String ¶
func (o *GetVerifiedSubOrgIdsOK) String() string
type GetVerifiedSubOrgIdsParams ¶
type GetVerifiedSubOrgIdsParams struct { // Body. Body *models.GetVerifiedSubOrgIdsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVerifiedSubOrgIdsParams contains all the parameters to send to the API endpoint
for the get verified sub org ids operation. Typically these are written to a http.Request.
func NewGetVerifiedSubOrgIdsParams ¶
func NewGetVerifiedSubOrgIdsParams() *GetVerifiedSubOrgIdsParams
NewGetVerifiedSubOrgIdsParams creates a new GetVerifiedSubOrgIdsParams 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 NewGetVerifiedSubOrgIdsParamsWithContext ¶
func NewGetVerifiedSubOrgIdsParamsWithContext(ctx context.Context) *GetVerifiedSubOrgIdsParams
NewGetVerifiedSubOrgIdsParamsWithContext creates a new GetVerifiedSubOrgIdsParams object with the ability to set a context for a request.
func NewGetVerifiedSubOrgIdsParamsWithHTTPClient ¶
func NewGetVerifiedSubOrgIdsParamsWithHTTPClient(client *http.Client) *GetVerifiedSubOrgIdsParams
NewGetVerifiedSubOrgIdsParamsWithHTTPClient creates a new GetVerifiedSubOrgIdsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVerifiedSubOrgIdsParamsWithTimeout ¶
func NewGetVerifiedSubOrgIdsParamsWithTimeout(timeout time.Duration) *GetVerifiedSubOrgIdsParams
NewGetVerifiedSubOrgIdsParamsWithTimeout creates a new GetVerifiedSubOrgIdsParams object with the ability to set a timeout on a request.
func (*GetVerifiedSubOrgIdsParams) SetBody ¶
func (o *GetVerifiedSubOrgIdsParams) SetBody(body *models.GetVerifiedSubOrgIdsRequest)
SetBody adds the body to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) SetContext ¶
func (o *GetVerifiedSubOrgIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) SetDefaults ¶
func (o *GetVerifiedSubOrgIdsParams) SetDefaults()
SetDefaults hydrates default values in the get verified sub org ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetVerifiedSubOrgIdsParams) SetHTTPClient ¶
func (o *GetVerifiedSubOrgIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) SetTimeout ¶
func (o *GetVerifiedSubOrgIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) WithBody ¶
func (o *GetVerifiedSubOrgIdsParams) WithBody(body *models.GetVerifiedSubOrgIdsRequest) *GetVerifiedSubOrgIdsParams
WithBody adds the body to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) WithContext ¶
func (o *GetVerifiedSubOrgIdsParams) WithContext(ctx context.Context) *GetVerifiedSubOrgIdsParams
WithContext adds the context to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) WithDefaults ¶
func (o *GetVerifiedSubOrgIdsParams) WithDefaults() *GetVerifiedSubOrgIdsParams
WithDefaults hydrates default values in the get verified sub org ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetVerifiedSubOrgIdsParams) WithHTTPClient ¶
func (o *GetVerifiedSubOrgIdsParams) WithHTTPClient(client *http.Client) *GetVerifiedSubOrgIdsParams
WithHTTPClient adds the HTTPClient to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) WithTimeout ¶
func (o *GetVerifiedSubOrgIdsParams) WithTimeout(timeout time.Duration) *GetVerifiedSubOrgIdsParams
WithTimeout adds the timeout to the get verified sub org ids params
func (*GetVerifiedSubOrgIdsParams) WriteToRequest ¶
func (o *GetVerifiedSubOrgIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVerifiedSubOrgIdsReader ¶
type GetVerifiedSubOrgIdsReader struct {
// contains filtered or unexported fields
}
GetVerifiedSubOrgIdsReader is a Reader for the GetVerifiedSubOrgIds structure.
func (*GetVerifiedSubOrgIdsReader) ReadResponse ¶
func (o *GetVerifiedSubOrgIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRootQuorumOK ¶
type UpdateRootQuorumOK struct {
Payload *models.ActivityResponse
}
UpdateRootQuorumOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateRootQuorumOK ¶
func NewUpdateRootQuorumOK() *UpdateRootQuorumOK
NewUpdateRootQuorumOK creates a UpdateRootQuorumOK with default headers values
func (*UpdateRootQuorumOK) Code ¶
func (o *UpdateRootQuorumOK) Code() int
Code gets the status code for the update root quorum o k response
func (*UpdateRootQuorumOK) Error ¶
func (o *UpdateRootQuorumOK) Error() string
func (*UpdateRootQuorumOK) GetPayload ¶
func (o *UpdateRootQuorumOK) GetPayload() *models.ActivityResponse
func (*UpdateRootQuorumOK) IsClientError ¶
func (o *UpdateRootQuorumOK) IsClientError() bool
IsClientError returns true when this update root quorum o k response has a 4xx status code
func (*UpdateRootQuorumOK) IsCode ¶
func (o *UpdateRootQuorumOK) IsCode(code int) bool
IsCode returns true when this update root quorum o k response a status code equal to that given
func (*UpdateRootQuorumOK) IsRedirect ¶
func (o *UpdateRootQuorumOK) IsRedirect() bool
IsRedirect returns true when this update root quorum o k response has a 3xx status code
func (*UpdateRootQuorumOK) IsServerError ¶
func (o *UpdateRootQuorumOK) IsServerError() bool
IsServerError returns true when this update root quorum o k response has a 5xx status code
func (*UpdateRootQuorumOK) IsSuccess ¶
func (o *UpdateRootQuorumOK) IsSuccess() bool
IsSuccess returns true when this update root quorum o k response has a 2xx status code
func (*UpdateRootQuorumOK) String ¶
func (o *UpdateRootQuorumOK) String() string
type UpdateRootQuorumParams ¶
type UpdateRootQuorumParams struct { // Body. Body *models.UpdateRootQuorumRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRootQuorumParams contains all the parameters to send to the API endpoint
for the update root quorum operation. Typically these are written to a http.Request.
func NewUpdateRootQuorumParams ¶
func NewUpdateRootQuorumParams() *UpdateRootQuorumParams
NewUpdateRootQuorumParams creates a new UpdateRootQuorumParams 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 NewUpdateRootQuorumParamsWithContext ¶
func NewUpdateRootQuorumParamsWithContext(ctx context.Context) *UpdateRootQuorumParams
NewUpdateRootQuorumParamsWithContext creates a new UpdateRootQuorumParams object with the ability to set a context for a request.
func NewUpdateRootQuorumParamsWithHTTPClient ¶
func NewUpdateRootQuorumParamsWithHTTPClient(client *http.Client) *UpdateRootQuorumParams
NewUpdateRootQuorumParamsWithHTTPClient creates a new UpdateRootQuorumParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRootQuorumParamsWithTimeout ¶
func NewUpdateRootQuorumParamsWithTimeout(timeout time.Duration) *UpdateRootQuorumParams
NewUpdateRootQuorumParamsWithTimeout creates a new UpdateRootQuorumParams object with the ability to set a timeout on a request.
func (*UpdateRootQuorumParams) SetBody ¶
func (o *UpdateRootQuorumParams) SetBody(body *models.UpdateRootQuorumRequest)
SetBody adds the body to the update root quorum params
func (*UpdateRootQuorumParams) SetContext ¶
func (o *UpdateRootQuorumParams) SetContext(ctx context.Context)
SetContext adds the context to the update root quorum params
func (*UpdateRootQuorumParams) SetDefaults ¶
func (o *UpdateRootQuorumParams) SetDefaults()
SetDefaults hydrates default values in the update root quorum params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRootQuorumParams) SetHTTPClient ¶
func (o *UpdateRootQuorumParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update root quorum params
func (*UpdateRootQuorumParams) SetTimeout ¶
func (o *UpdateRootQuorumParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update root quorum params
func (*UpdateRootQuorumParams) WithBody ¶
func (o *UpdateRootQuorumParams) WithBody(body *models.UpdateRootQuorumRequest) *UpdateRootQuorumParams
WithBody adds the body to the update root quorum params
func (*UpdateRootQuorumParams) WithContext ¶
func (o *UpdateRootQuorumParams) WithContext(ctx context.Context) *UpdateRootQuorumParams
WithContext adds the context to the update root quorum params
func (*UpdateRootQuorumParams) WithDefaults ¶
func (o *UpdateRootQuorumParams) WithDefaults() *UpdateRootQuorumParams
WithDefaults hydrates default values in the update root quorum params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRootQuorumParams) WithHTTPClient ¶
func (o *UpdateRootQuorumParams) WithHTTPClient(client *http.Client) *UpdateRootQuorumParams
WithHTTPClient adds the HTTPClient to the update root quorum params
func (*UpdateRootQuorumParams) WithTimeout ¶
func (o *UpdateRootQuorumParams) WithTimeout(timeout time.Duration) *UpdateRootQuorumParams
WithTimeout adds the timeout to the update root quorum params
func (*UpdateRootQuorumParams) WriteToRequest ¶
func (o *UpdateRootQuorumParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRootQuorumReader ¶
type UpdateRootQuorumReader struct {
// contains filtered or unexported fields
}
UpdateRootQuorumReader is a Reader for the UpdateRootQuorum structure.
func (*UpdateRootQuorumReader) ReadResponse ¶
func (o *UpdateRootQuorumReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_sub_organization_parameters.go
- create_sub_organization_responses.go
- delete_sub_organization_parameters.go
- delete_sub_organization_responses.go
- get_organization_configs_parameters.go
- get_organization_configs_responses.go
- get_sub_org_ids_parameters.go
- get_sub_org_ids_responses.go
- get_verified_sub_org_ids_parameters.go
- get_verified_sub_org_ids_responses.go
- organizations_client.go
- update_root_quorum_parameters.go
- update_root_quorum_responses.go