admin_users_groups

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmingroupsItems0

type AdmingroupsItems0 struct {

	// id
	ID interface{} `json:"id,omitempty"`

	// members
	Members interface{} `json:"members,omitempty"`

	// name
	Name interface{} `json:"name,omitempty"`
}

AdmingroupsItems0 admingroups items0 swagger:model AdmingroupsItems0

func (*AdmingroupsItems0) MarshalBinary

func (o *AdmingroupsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdmingroupsItems0) UnmarshalBinary

func (o *AdmingroupsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdmingroupsItems0) Validate

func (o *AdmingroupsItems0) Validate(formats strfmt.Registry) error

Validate validates this admingroups items0

type AdminusersItems0

type AdminusersItems0 struct {

	// groups
	Groups interface{} `json:"groups,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`

	// username
	Username interface{} `json:"username,omitempty"`
}

AdminusersItems0 adminusers items0 swagger:model AdminusersItems0

func (*AdminusersItems0) MarshalBinary

func (o *AdminusersItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminusersItems0) UnmarshalBinary

func (o *AdminusersItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminusersItems0) Validate

func (o *AdminusersItems0) Validate(formats strfmt.Registry) error

Validate validates this adminusers items0

type Client

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

Client for admin users groups API

func (*Client) GetAdmingroups

func (a *Client) GetAdmingroups(params *GetAdmingroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdmingroupsOK, error)

GetAdmingroups gets all admin groups

Get all Admin Groups

func (*Client) GetAdminusers

func (a *Client) GetAdminusers(params *GetAdminusersParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdminusersOK, error)

GetAdminusers gets all admin users

Get Admin Users

func (*Client) PostAdminUsers

func (a *Client) PostAdminUsers(params *PostAdminUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostAdminUsersOK, error)

PostAdminUsers creates update admin users

Create/Edit Admin Users

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAdmingroups(params *GetAdmingroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdmingroupsOK, error)

	GetAdminusers(params *GetAdminusersParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdminusersOK, error)

	PostAdminUsers(params *PostAdminUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostAdminUsersOK, 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 admin users groups API client.

type GetAdmingroupsBadRequest

type GetAdmingroupsBadRequest struct {
}

GetAdmingroupsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetAdmingroupsBadRequest

func NewGetAdmingroupsBadRequest() *GetAdmingroupsBadRequest

NewGetAdmingroupsBadRequest creates a GetAdmingroupsBadRequest with default headers values

func (*GetAdmingroupsBadRequest) Error

func (o *GetAdmingroupsBadRequest) Error() string

type GetAdmingroupsForbidden

type GetAdmingroupsForbidden struct {
}

GetAdmingroupsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetAdmingroupsForbidden

func NewGetAdmingroupsForbidden() *GetAdmingroupsForbidden

NewGetAdmingroupsForbidden creates a GetAdmingroupsForbidden with default headers values

func (*GetAdmingroupsForbidden) Error

func (o *GetAdmingroupsForbidden) Error() string

type GetAdmingroupsGone

type GetAdmingroupsGone struct {
}

GetAdmingroupsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetAdmingroupsGone

func NewGetAdmingroupsGone() *GetAdmingroupsGone

NewGetAdmingroupsGone creates a GetAdmingroupsGone with default headers values

func (*GetAdmingroupsGone) Error

func (o *GetAdmingroupsGone) Error() string

type GetAdmingroupsInternalServerError

type GetAdmingroupsInternalServerError struct {
}

GetAdmingroupsInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewGetAdmingroupsInternalServerError

func NewGetAdmingroupsInternalServerError() *GetAdmingroupsInternalServerError

NewGetAdmingroupsInternalServerError creates a GetAdmingroupsInternalServerError with default headers values

func (*GetAdmingroupsInternalServerError) Error

type GetAdmingroupsMethodNotAllowed

type GetAdmingroupsMethodNotAllowed struct {
}

GetAdmingroupsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetAdmingroupsMethodNotAllowed

func NewGetAdmingroupsMethodNotAllowed() *GetAdmingroupsMethodNotAllowed

NewGetAdmingroupsMethodNotAllowed creates a GetAdmingroupsMethodNotAllowed with default headers values

func (*GetAdmingroupsMethodNotAllowed) Error

type GetAdmingroupsNotFound

type GetAdmingroupsNotFound struct {
}

GetAdmingroupsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetAdmingroupsNotFound

func NewGetAdmingroupsNotFound() *GetAdmingroupsNotFound

NewGetAdmingroupsNotFound creates a GetAdmingroupsNotFound with default headers values

func (*GetAdmingroupsNotFound) Error

func (o *GetAdmingroupsNotFound) Error() string

type GetAdmingroupsOK

type GetAdmingroupsOK struct {
	Payload *GetAdmingroupsOKBody
}

GetAdmingroupsOK handles this case with default header values.

The above command returns results like this:

func NewGetAdmingroupsOK

func NewGetAdmingroupsOK() *GetAdmingroupsOK

NewGetAdmingroupsOK creates a GetAdmingroupsOK with default headers values

func (*GetAdmingroupsOK) Error

func (o *GetAdmingroupsOK) Error() string

func (*GetAdmingroupsOK) GetPayload

func (o *GetAdmingroupsOK) GetPayload() *GetAdmingroupsOKBody

type GetAdmingroupsOKBody

type GetAdmingroupsOKBody struct {

	// adminusers
	Adminusers []*AdminusersItems0 `json:"adminusers"`
}

GetAdmingroupsOKBody get admingroups o k body swagger:model GetAdmingroupsOKBody

func (*GetAdmingroupsOKBody) MarshalBinary

func (o *GetAdmingroupsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAdmingroupsOKBody) UnmarshalBinary

func (o *GetAdmingroupsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAdmingroupsOKBody) Validate

func (o *GetAdmingroupsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get admingroups o k body

type GetAdmingroupsParams

type GetAdmingroupsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAdmingroupsParams contains all the parameters to send to the API endpoint for the get admingroups operation typically these are written to a http.Request

func NewGetAdmingroupsParams

func NewGetAdmingroupsParams() *GetAdmingroupsParams

NewGetAdmingroupsParams creates a new GetAdmingroupsParams object with the default values initialized.

func NewGetAdmingroupsParamsWithContext

func NewGetAdmingroupsParamsWithContext(ctx context.Context) *GetAdmingroupsParams

NewGetAdmingroupsParamsWithContext creates a new GetAdmingroupsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAdmingroupsParamsWithHTTPClient

func NewGetAdmingroupsParamsWithHTTPClient(client *http.Client) *GetAdmingroupsParams

NewGetAdmingroupsParamsWithHTTPClient creates a new GetAdmingroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAdmingroupsParamsWithTimeout

func NewGetAdmingroupsParamsWithTimeout(timeout time.Duration) *GetAdmingroupsParams

NewGetAdmingroupsParamsWithTimeout creates a new GetAdmingroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAdmingroupsParams) SetContext

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

SetContext adds the context to the get admingroups params

func (*GetAdmingroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get admingroups params

func (*GetAdmingroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get admingroups params

func (*GetAdmingroupsParams) WithContext

WithContext adds the context to the get admingroups params

func (*GetAdmingroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get admingroups params

func (*GetAdmingroupsParams) WithTimeout

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

WithTimeout adds the timeout to the get admingroups params

func (*GetAdmingroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAdmingroupsReader

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

GetAdmingroupsReader is a Reader for the GetAdmingroups structure.

func (*GetAdmingroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdmingroupsServiceUnavailable

type GetAdmingroupsServiceUnavailable struct {
}

GetAdmingroupsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetAdmingroupsServiceUnavailable

func NewGetAdmingroupsServiceUnavailable() *GetAdmingroupsServiceUnavailable

NewGetAdmingroupsServiceUnavailable creates a GetAdmingroupsServiceUnavailable with default headers values

func (*GetAdmingroupsServiceUnavailable) Error

type GetAdmingroupsUnauthorized

type GetAdmingroupsUnauthorized struct {
}

GetAdmingroupsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetAdmingroupsUnauthorized

func NewGetAdmingroupsUnauthorized() *GetAdmingroupsUnauthorized

NewGetAdmingroupsUnauthorized creates a GetAdmingroupsUnauthorized with default headers values

func (*GetAdmingroupsUnauthorized) Error

type GetAdminusersBadRequest

type GetAdminusersBadRequest struct {
}

GetAdminusersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetAdminusersBadRequest

func NewGetAdminusersBadRequest() *GetAdminusersBadRequest

NewGetAdminusersBadRequest creates a GetAdminusersBadRequest with default headers values

func (*GetAdminusersBadRequest) Error

func (o *GetAdminusersBadRequest) Error() string

type GetAdminusersForbidden

type GetAdminusersForbidden struct {
}

GetAdminusersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetAdminusersForbidden

func NewGetAdminusersForbidden() *GetAdminusersForbidden

NewGetAdminusersForbidden creates a GetAdminusersForbidden with default headers values

func (*GetAdminusersForbidden) Error

func (o *GetAdminusersForbidden) Error() string

type GetAdminusersGone

type GetAdminusersGone struct {
}

GetAdminusersGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetAdminusersGone

func NewGetAdminusersGone() *GetAdminusersGone

NewGetAdminusersGone creates a GetAdminusersGone with default headers values

func (*GetAdminusersGone) Error

func (o *GetAdminusersGone) Error() string

type GetAdminusersInternalServerError

type GetAdminusersInternalServerError struct {
}

GetAdminusersInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewGetAdminusersInternalServerError

func NewGetAdminusersInternalServerError() *GetAdminusersInternalServerError

NewGetAdminusersInternalServerError creates a GetAdminusersInternalServerError with default headers values

func (*GetAdminusersInternalServerError) Error

type GetAdminusersMethodNotAllowed

type GetAdminusersMethodNotAllowed struct {
}

GetAdminusersMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetAdminusersMethodNotAllowed

func NewGetAdminusersMethodNotAllowed() *GetAdminusersMethodNotAllowed

NewGetAdminusersMethodNotAllowed creates a GetAdminusersMethodNotAllowed with default headers values

func (*GetAdminusersMethodNotAllowed) Error

type GetAdminusersNotFound

type GetAdminusersNotFound struct {
}

GetAdminusersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetAdminusersNotFound

func NewGetAdminusersNotFound() *GetAdminusersNotFound

NewGetAdminusersNotFound creates a GetAdminusersNotFound with default headers values

func (*GetAdminusersNotFound) Error

func (o *GetAdminusersNotFound) Error() string

type GetAdminusersOK

type GetAdminusersOK struct {
	Payload *GetAdminusersOKBody
}

GetAdminusersOK handles this case with default header values.

The above command returns results like this:

func NewGetAdminusersOK

func NewGetAdminusersOK() *GetAdminusersOK

NewGetAdminusersOK creates a GetAdminusersOK with default headers values

func (*GetAdminusersOK) Error

func (o *GetAdminusersOK) Error() string

func (*GetAdminusersOK) GetPayload

func (o *GetAdminusersOK) GetPayload() *GetAdminusersOKBody

type GetAdminusersOKBody

type GetAdminusersOKBody struct {

	// admingroups
	Admingroups []*AdmingroupsItems0 `json:"admingroups"`
}

GetAdminusersOKBody get adminusers o k body swagger:model GetAdminusersOKBody

func (*GetAdminusersOKBody) MarshalBinary

func (o *GetAdminusersOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAdminusersOKBody) UnmarshalBinary

func (o *GetAdminusersOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAdminusersOKBody) Validate

func (o *GetAdminusersOKBody) Validate(formats strfmt.Registry) error

Validate validates this get adminusers o k body

type GetAdminusersParams

type GetAdminusersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAdminusersParams contains all the parameters to send to the API endpoint for the get adminusers operation typically these are written to a http.Request

func NewGetAdminusersParams

func NewGetAdminusersParams() *GetAdminusersParams

NewGetAdminusersParams creates a new GetAdminusersParams object with the default values initialized.

func NewGetAdminusersParamsWithContext

func NewGetAdminusersParamsWithContext(ctx context.Context) *GetAdminusersParams

NewGetAdminusersParamsWithContext creates a new GetAdminusersParams object with the default values initialized, and the ability to set a context for a request

func NewGetAdminusersParamsWithHTTPClient

func NewGetAdminusersParamsWithHTTPClient(client *http.Client) *GetAdminusersParams

NewGetAdminusersParamsWithHTTPClient creates a new GetAdminusersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAdminusersParamsWithTimeout

func NewGetAdminusersParamsWithTimeout(timeout time.Duration) *GetAdminusersParams

NewGetAdminusersParamsWithTimeout creates a new GetAdminusersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAdminusersParams) SetContext

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

SetContext adds the context to the get adminusers params

func (*GetAdminusersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get adminusers params

func (*GetAdminusersParams) SetTimeout

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

SetTimeout adds the timeout to the get adminusers params

func (*GetAdminusersParams) WithContext

WithContext adds the context to the get adminusers params

func (*GetAdminusersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get adminusers params

func (*GetAdminusersParams) WithTimeout

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

WithTimeout adds the timeout to the get adminusers params

func (*GetAdminusersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAdminusersReader

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

GetAdminusersReader is a Reader for the GetAdminusers structure.

func (*GetAdminusersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdminusersServiceUnavailable

type GetAdminusersServiceUnavailable struct {
}

GetAdminusersServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetAdminusersServiceUnavailable

func NewGetAdminusersServiceUnavailable() *GetAdminusersServiceUnavailable

NewGetAdminusersServiceUnavailable creates a GetAdminusersServiceUnavailable with default headers values

func (*GetAdminusersServiceUnavailable) Error

type GetAdminusersUnauthorized

type GetAdminusersUnauthorized struct {
}

GetAdminusersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetAdminusersUnauthorized

func NewGetAdminusersUnauthorized() *GetAdminusersUnauthorized

NewGetAdminusersUnauthorized creates a GetAdminusersUnauthorized with default headers values

func (*GetAdminusersUnauthorized) Error

func (o *GetAdminusersUnauthorized) Error() string

type PostAdminUsersBadRequest

type PostAdminUsersBadRequest struct {
}

PostAdminUsersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostAdminUsersBadRequest

func NewPostAdminUsersBadRequest() *PostAdminUsersBadRequest

NewPostAdminUsersBadRequest creates a PostAdminUsersBadRequest with default headers values

func (*PostAdminUsersBadRequest) Error

func (o *PostAdminUsersBadRequest) Error() string

type PostAdminUsersForbidden

type PostAdminUsersForbidden struct {
}

PostAdminUsersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostAdminUsersForbidden

func NewPostAdminUsersForbidden() *PostAdminUsersForbidden

NewPostAdminUsersForbidden creates a PostAdminUsersForbidden with default headers values

func (*PostAdminUsersForbidden) Error

func (o *PostAdminUsersForbidden) Error() string

type PostAdminUsersGone

type PostAdminUsersGone struct {
}

PostAdminUsersGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostAdminUsersGone

func NewPostAdminUsersGone() *PostAdminUsersGone

NewPostAdminUsersGone creates a PostAdminUsersGone with default headers values

func (*PostAdminUsersGone) Error

func (o *PostAdminUsersGone) Error() string

type PostAdminUsersInternalServerError

type PostAdminUsersInternalServerError struct {
}

PostAdminUsersInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewPostAdminUsersInternalServerError

func NewPostAdminUsersInternalServerError() *PostAdminUsersInternalServerError

NewPostAdminUsersInternalServerError creates a PostAdminUsersInternalServerError with default headers values

func (*PostAdminUsersInternalServerError) Error

type PostAdminUsersMethodNotAllowed

type PostAdminUsersMethodNotAllowed struct {
}

PostAdminUsersMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostAdminUsersMethodNotAllowed

func NewPostAdminUsersMethodNotAllowed() *PostAdminUsersMethodNotAllowed

NewPostAdminUsersMethodNotAllowed creates a PostAdminUsersMethodNotAllowed with default headers values

func (*PostAdminUsersMethodNotAllowed) Error

type PostAdminUsersNotFound

type PostAdminUsersNotFound struct {
}

PostAdminUsersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostAdminUsersNotFound

func NewPostAdminUsersNotFound() *PostAdminUsersNotFound

NewPostAdminUsersNotFound creates a PostAdminUsersNotFound with default headers values

func (*PostAdminUsersNotFound) Error

func (o *PostAdminUsersNotFound) Error() string

type PostAdminUsersOK

type PostAdminUsersOK struct {
	Payload *PostAdminUsersOKBody
}

PostAdminUsersOK handles this case with default header values.

The above command returns results like this:

func NewPostAdminUsersOK

func NewPostAdminUsersOK() *PostAdminUsersOK

NewPostAdminUsersOK creates a PostAdminUsersOK with default headers values

func (*PostAdminUsersOK) Error

func (o *PostAdminUsersOK) Error() string

func (*PostAdminUsersOK) GetPayload

func (o *PostAdminUsersOK) GetPayload() *PostAdminUsersOKBody

type PostAdminUsersOKBody

type PostAdminUsersOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostAdminUsersOKBody post admin users o k body swagger:model PostAdminUsersOKBody

func (*PostAdminUsersOKBody) MarshalBinary

func (o *PostAdminUsersOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostAdminUsersOKBody) UnmarshalBinary

func (o *PostAdminUsersOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostAdminUsersOKBody) Validate

func (o *PostAdminUsersOKBody) Validate(formats strfmt.Registry) error

Validate validates this post admin users o k body

type PostAdminUsersParams

type PostAdminUsersParams struct {

	/*Groups
	  Admin groups to assign user to. Note: groups with commas need to be wrapped in quotes. ie: “System Generated Read, Add, Edit and Delete”

	*/
	Groups *string
	/*Password
	  new user password

	*/
	Password string
	/*Username
	  admin user name

	*/
	Username string

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

PostAdminUsersParams contains all the parameters to send to the API endpoint for the post admin users operation typically these are written to a http.Request

func NewPostAdminUsersParams

func NewPostAdminUsersParams() *PostAdminUsersParams

NewPostAdminUsersParams creates a new PostAdminUsersParams object with the default values initialized.

func NewPostAdminUsersParamsWithContext

func NewPostAdminUsersParamsWithContext(ctx context.Context) *PostAdminUsersParams

NewPostAdminUsersParamsWithContext creates a new PostAdminUsersParams object with the default values initialized, and the ability to set a context for a request

func NewPostAdminUsersParamsWithHTTPClient

func NewPostAdminUsersParamsWithHTTPClient(client *http.Client) *PostAdminUsersParams

NewPostAdminUsersParamsWithHTTPClient creates a new PostAdminUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAdminUsersParamsWithTimeout

func NewPostAdminUsersParamsWithTimeout(timeout time.Duration) *PostAdminUsersParams

NewPostAdminUsersParamsWithTimeout creates a new PostAdminUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAdminUsersParams) SetContext

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

SetContext adds the context to the post admin users params

func (*PostAdminUsersParams) SetGroups

func (o *PostAdminUsersParams) SetGroups(groups *string)

SetGroups adds the groups to the post admin users params

func (*PostAdminUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post admin users params

func (*PostAdminUsersParams) SetPassword

func (o *PostAdminUsersParams) SetPassword(password string)

SetPassword adds the password to the post admin users params

func (*PostAdminUsersParams) SetTimeout

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

SetTimeout adds the timeout to the post admin users params

func (*PostAdminUsersParams) SetUsername

func (o *PostAdminUsersParams) SetUsername(username string)

SetUsername adds the username to the post admin users params

func (*PostAdminUsersParams) WithContext

WithContext adds the context to the post admin users params

func (*PostAdminUsersParams) WithGroups

func (o *PostAdminUsersParams) WithGroups(groups *string) *PostAdminUsersParams

WithGroups adds the groups to the post admin users params

func (*PostAdminUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post admin users params

func (*PostAdminUsersParams) WithPassword

func (o *PostAdminUsersParams) WithPassword(password string) *PostAdminUsersParams

WithPassword adds the password to the post admin users params

func (*PostAdminUsersParams) WithTimeout

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

WithTimeout adds the timeout to the post admin users params

func (*PostAdminUsersParams) WithUsername

func (o *PostAdminUsersParams) WithUsername(username string) *PostAdminUsersParams

WithUsername adds the username to the post admin users params

func (*PostAdminUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAdminUsersReader

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

PostAdminUsersReader is a Reader for the PostAdminUsers structure.

func (*PostAdminUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAdminUsersServiceUnavailable

type PostAdminUsersServiceUnavailable struct {
}

PostAdminUsersServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostAdminUsersServiceUnavailable

func NewPostAdminUsersServiceUnavailable() *PostAdminUsersServiceUnavailable

NewPostAdminUsersServiceUnavailable creates a PostAdminUsersServiceUnavailable with default headers values

func (*PostAdminUsersServiceUnavailable) Error

type PostAdminUsersUnauthorized

type PostAdminUsersUnauthorized struct {
}

PostAdminUsersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostAdminUsersUnauthorized

func NewPostAdminUsersUnauthorized() *PostAdminUsersUnauthorized

NewPostAdminUsersUnauthorized creates a PostAdminUsersUnauthorized with default headers values

func (*PostAdminUsersUnauthorized) Error

Jump to

Keyboard shortcuts

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