end_users

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 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 Client

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

Client for end users API

func (*Client) DeleteEndUsers

func (a *Client) DeleteEndUsers(params *DeleteEndUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEndUsersOK, error)

DeleteEndUsers deletes end user

This API is used to delete the end user with the end user id supplied as the required argument.

func (*Client) GetEndusers

func (a *Client) GetEndusers(params *GetEndusersParams, authInfo runtime.ClientAuthInfoWriter) (*GetEndusersOK, error)

GetEndusers gets all end users

Get End Users

func (*Client) PostEndUsers

func (a *Client) PostEndUsers(params *PostEndUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostEndUsersOK, error)

PostEndUsers creates update end users

Create / Update End Users

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteEndUsers(params *DeleteEndUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEndUsersOK, error)

	GetEndusers(params *GetEndusersParams, authInfo runtime.ClientAuthInfoWriter) (*GetEndusersOK, error)

	PostEndUsers(params *PostEndUsersParams, authInfo runtime.ClientAuthInfoWriter) (*PostEndUsersOK, 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 end users API client.

type DeleteEndUsersBadRequest

type DeleteEndUsersBadRequest struct {
}

DeleteEndUsersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteEndUsersBadRequest

func NewDeleteEndUsersBadRequest() *DeleteEndUsersBadRequest

NewDeleteEndUsersBadRequest creates a DeleteEndUsersBadRequest with default headers values

func (*DeleteEndUsersBadRequest) Error

func (o *DeleteEndUsersBadRequest) Error() string

type DeleteEndUsersForbidden

type DeleteEndUsersForbidden struct {
}

DeleteEndUsersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteEndUsersForbidden

func NewDeleteEndUsersForbidden() *DeleteEndUsersForbidden

NewDeleteEndUsersForbidden creates a DeleteEndUsersForbidden with default headers values

func (*DeleteEndUsersForbidden) Error

func (o *DeleteEndUsersForbidden) Error() string

type DeleteEndUsersGone

type DeleteEndUsersGone struct {
}

DeleteEndUsersGone handles this case with default header values.

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

func NewDeleteEndUsersGone

func NewDeleteEndUsersGone() *DeleteEndUsersGone

NewDeleteEndUsersGone creates a DeleteEndUsersGone with default headers values

func (*DeleteEndUsersGone) Error

func (o *DeleteEndUsersGone) Error() string

type DeleteEndUsersInternalServerError

type DeleteEndUsersInternalServerError struct {
}

DeleteEndUsersInternalServerError 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 NewDeleteEndUsersInternalServerError

func NewDeleteEndUsersInternalServerError() *DeleteEndUsersInternalServerError

NewDeleteEndUsersInternalServerError creates a DeleteEndUsersInternalServerError with default headers values

func (*DeleteEndUsersInternalServerError) Error

type DeleteEndUsersMethodNotAllowed

type DeleteEndUsersMethodNotAllowed struct {
}

DeleteEndUsersMethodNotAllowed handles this case with default header values.

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

func NewDeleteEndUsersMethodNotAllowed

func NewDeleteEndUsersMethodNotAllowed() *DeleteEndUsersMethodNotAllowed

NewDeleteEndUsersMethodNotAllowed creates a DeleteEndUsersMethodNotAllowed with default headers values

func (*DeleteEndUsersMethodNotAllowed) Error

type DeleteEndUsersNotFound

type DeleteEndUsersNotFound struct {
}

DeleteEndUsersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteEndUsersNotFound

func NewDeleteEndUsersNotFound() *DeleteEndUsersNotFound

NewDeleteEndUsersNotFound creates a DeleteEndUsersNotFound with default headers values

func (*DeleteEndUsersNotFound) Error

func (o *DeleteEndUsersNotFound) Error() string

type DeleteEndUsersOK

type DeleteEndUsersOK struct {
	Payload *DeleteEndUsersOKBody
}

DeleteEndUsersOK handles this case with default header values.

The above command returns results like this:

func NewDeleteEndUsersOK

func NewDeleteEndUsersOK() *DeleteEndUsersOK

NewDeleteEndUsersOK creates a DeleteEndUsersOK with default headers values

func (*DeleteEndUsersOK) Error

func (o *DeleteEndUsersOK) Error() string

func (*DeleteEndUsersOK) GetPayload

func (o *DeleteEndUsersOK) GetPayload() *DeleteEndUsersOKBody

type DeleteEndUsersOKBody

type DeleteEndUsersOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

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

DeleteEndUsersOKBody delete end users o k body swagger:model DeleteEndUsersOKBody

func (*DeleteEndUsersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteEndUsersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteEndUsersOKBody) Validate

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

Validate validates this delete end users o k body

type DeleteEndUsersParams

type DeleteEndUsersParams struct {

	/*ID
	  end user id

	*/
	ID int64

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

DeleteEndUsersParams contains all the parameters to send to the API endpoint for the delete end users operation typically these are written to a http.Request

func NewDeleteEndUsersParams

func NewDeleteEndUsersParams() *DeleteEndUsersParams

NewDeleteEndUsersParams creates a new DeleteEndUsersParams object with the default values initialized.

func NewDeleteEndUsersParamsWithContext

func NewDeleteEndUsersParamsWithContext(ctx context.Context) *DeleteEndUsersParams

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

func NewDeleteEndUsersParamsWithHTTPClient

func NewDeleteEndUsersParamsWithHTTPClient(client *http.Client) *DeleteEndUsersParams

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

func NewDeleteEndUsersParamsWithTimeout

func NewDeleteEndUsersParamsWithTimeout(timeout time.Duration) *DeleteEndUsersParams

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

func (*DeleteEndUsersParams) SetContext

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

SetContext adds the context to the delete end users params

func (*DeleteEndUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete end users params

func (*DeleteEndUsersParams) SetID

func (o *DeleteEndUsersParams) SetID(id int64)

SetID adds the id to the delete end users params

func (*DeleteEndUsersParams) SetTimeout

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

SetTimeout adds the timeout to the delete end users params

func (*DeleteEndUsersParams) WithContext

WithContext adds the context to the delete end users params

func (*DeleteEndUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete end users params

func (*DeleteEndUsersParams) WithID

WithID adds the id to the delete end users params

func (*DeleteEndUsersParams) WithTimeout

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

WithTimeout adds the timeout to the delete end users params

func (*DeleteEndUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteEndUsersReader

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

DeleteEndUsersReader is a Reader for the DeleteEndUsers structure.

func (*DeleteEndUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEndUsersServiceUnavailable

type DeleteEndUsersServiceUnavailable struct {
}

DeleteEndUsersServiceUnavailable handles this case with default header values.

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

func NewDeleteEndUsersServiceUnavailable

func NewDeleteEndUsersServiceUnavailable() *DeleteEndUsersServiceUnavailable

NewDeleteEndUsersServiceUnavailable creates a DeleteEndUsersServiceUnavailable with default headers values

func (*DeleteEndUsersServiceUnavailable) Error

type DeleteEndUsersUnauthorized

type DeleteEndUsersUnauthorized struct {
}

DeleteEndUsersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteEndUsersUnauthorized

func NewDeleteEndUsersUnauthorized() *DeleteEndUsersUnauthorized

NewDeleteEndUsersUnauthorized creates a DeleteEndUsersUnauthorized with default headers values

func (*DeleteEndUsersUnauthorized) Error

type GetEndusersBadRequest

type GetEndusersBadRequest struct {
}

GetEndusersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetEndusersBadRequest

func NewGetEndusersBadRequest() *GetEndusersBadRequest

NewGetEndusersBadRequest creates a GetEndusersBadRequest with default headers values

func (*GetEndusersBadRequest) Error

func (o *GetEndusersBadRequest) Error() string

type GetEndusersForbidden

type GetEndusersForbidden struct {
}

GetEndusersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetEndusersForbidden

func NewGetEndusersForbidden() *GetEndusersForbidden

NewGetEndusersForbidden creates a GetEndusersForbidden with default headers values

func (*GetEndusersForbidden) Error

func (o *GetEndusersForbidden) Error() string

type GetEndusersGone

type GetEndusersGone struct {
}

GetEndusersGone handles this case with default header values.

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

func NewGetEndusersGone

func NewGetEndusersGone() *GetEndusersGone

NewGetEndusersGone creates a GetEndusersGone with default headers values

func (*GetEndusersGone) Error

func (o *GetEndusersGone) Error() string

type GetEndusersInternalServerError

type GetEndusersInternalServerError struct {
}

GetEndusersInternalServerError 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 NewGetEndusersInternalServerError

func NewGetEndusersInternalServerError() *GetEndusersInternalServerError

NewGetEndusersInternalServerError creates a GetEndusersInternalServerError with default headers values

func (*GetEndusersInternalServerError) Error

type GetEndusersMethodNotAllowed

type GetEndusersMethodNotAllowed struct {
}

GetEndusersMethodNotAllowed handles this case with default header values.

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

func NewGetEndusersMethodNotAllowed

func NewGetEndusersMethodNotAllowed() *GetEndusersMethodNotAllowed

NewGetEndusersMethodNotAllowed creates a GetEndusersMethodNotAllowed with default headers values

func (*GetEndusersMethodNotAllowed) Error

type GetEndusersNotFound

type GetEndusersNotFound struct {
}

GetEndusersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetEndusersNotFound

func NewGetEndusersNotFound() *GetEndusersNotFound

NewGetEndusersNotFound creates a GetEndusersNotFound with default headers values

func (*GetEndusersNotFound) Error

func (o *GetEndusersNotFound) Error() string

type GetEndusersOK

type GetEndusersOK struct {
	Payload *GetEndusersOKBody
}

GetEndusersOK handles this case with default header values.

The above command returns results like this:

func NewGetEndusersOK

func NewGetEndusersOK() *GetEndusersOK

NewGetEndusersOK creates a GetEndusersOK with default headers values

func (*GetEndusersOK) Error

func (o *GetEndusersOK) Error() string

func (*GetEndusersOK) GetPayload

func (o *GetEndusersOK) GetPayload() *GetEndusersOKBody

type GetEndusersOKBody

type GetEndusersOKBody struct {

	// values
	Values []*ValuesItems0 `json:"values"`
}

GetEndusersOKBody get endusers o k body swagger:model GetEndusersOKBody

func (*GetEndusersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetEndusersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetEndusersOKBody) Validate

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

Validate validates this get endusers o k body

type GetEndusersParams

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

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

func NewGetEndusersParams

func NewGetEndusersParams() *GetEndusersParams

NewGetEndusersParams creates a new GetEndusersParams object with the default values initialized.

func NewGetEndusersParamsWithContext

func NewGetEndusersParamsWithContext(ctx context.Context) *GetEndusersParams

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

func NewGetEndusersParamsWithHTTPClient

func NewGetEndusersParamsWithHTTPClient(client *http.Client) *GetEndusersParams

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

func NewGetEndusersParamsWithTimeout

func NewGetEndusersParamsWithTimeout(timeout time.Duration) *GetEndusersParams

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

func (*GetEndusersParams) SetContext

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

SetContext adds the context to the get endusers params

func (*GetEndusersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endusers params

func (*GetEndusersParams) SetTimeout

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

SetTimeout adds the timeout to the get endusers params

func (*GetEndusersParams) WithContext

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

WithContext adds the context to the get endusers params

func (*GetEndusersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get endusers params

func (*GetEndusersParams) WithTimeout

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

WithTimeout adds the timeout to the get endusers params

func (*GetEndusersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEndusersReader

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

GetEndusersReader is a Reader for the GetEndusers structure.

func (*GetEndusersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEndusersServiceUnavailable

type GetEndusersServiceUnavailable struct {
}

GetEndusersServiceUnavailable handles this case with default header values.

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

func NewGetEndusersServiceUnavailable

func NewGetEndusersServiceUnavailable() *GetEndusersServiceUnavailable

NewGetEndusersServiceUnavailable creates a GetEndusersServiceUnavailable with default headers values

func (*GetEndusersServiceUnavailable) Error

type GetEndusersUnauthorized

type GetEndusersUnauthorized struct {
}

GetEndusersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetEndusersUnauthorized

func NewGetEndusersUnauthorized() *GetEndusersUnauthorized

NewGetEndusersUnauthorized creates a GetEndusersUnauthorized with default headers values

func (*GetEndusersUnauthorized) Error

func (o *GetEndusersUnauthorized) Error() string

type PostEndUsersBadRequest

type PostEndUsersBadRequest struct {
}

PostEndUsersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostEndUsersBadRequest

func NewPostEndUsersBadRequest() *PostEndUsersBadRequest

NewPostEndUsersBadRequest creates a PostEndUsersBadRequest with default headers values

func (*PostEndUsersBadRequest) Error

func (o *PostEndUsersBadRequest) Error() string

type PostEndUsersForbidden

type PostEndUsersForbidden struct {
}

PostEndUsersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostEndUsersForbidden

func NewPostEndUsersForbidden() *PostEndUsersForbidden

NewPostEndUsersForbidden creates a PostEndUsersForbidden with default headers values

func (*PostEndUsersForbidden) Error

func (o *PostEndUsersForbidden) Error() string

type PostEndUsersGone

type PostEndUsersGone struct {
}

PostEndUsersGone handles this case with default header values.

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

func NewPostEndUsersGone

func NewPostEndUsersGone() *PostEndUsersGone

NewPostEndUsersGone creates a PostEndUsersGone with default headers values

func (*PostEndUsersGone) Error

func (o *PostEndUsersGone) Error() string

type PostEndUsersInternalServerError

type PostEndUsersInternalServerError struct {
}

PostEndUsersInternalServerError 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 NewPostEndUsersInternalServerError

func NewPostEndUsersInternalServerError() *PostEndUsersInternalServerError

NewPostEndUsersInternalServerError creates a PostEndUsersInternalServerError with default headers values

func (*PostEndUsersInternalServerError) Error

type PostEndUsersMethodNotAllowed

type PostEndUsersMethodNotAllowed struct {
}

PostEndUsersMethodNotAllowed handles this case with default header values.

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

func NewPostEndUsersMethodNotAllowed

func NewPostEndUsersMethodNotAllowed() *PostEndUsersMethodNotAllowed

NewPostEndUsersMethodNotAllowed creates a PostEndUsersMethodNotAllowed with default headers values

func (*PostEndUsersMethodNotAllowed) Error

type PostEndUsersNotFound

type PostEndUsersNotFound struct {
}

PostEndUsersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostEndUsersNotFound

func NewPostEndUsersNotFound() *PostEndUsersNotFound

NewPostEndUsersNotFound creates a PostEndUsersNotFound with default headers values

func (*PostEndUsersNotFound) Error

func (o *PostEndUsersNotFound) Error() string

type PostEndUsersOK

type PostEndUsersOK struct {
	Payload *PostEndUsersOKBody
}

PostEndUsersOK handles this case with default header values.

The above command returns results like this:

func NewPostEndUsersOK

func NewPostEndUsersOK() *PostEndUsersOK

NewPostEndUsersOK creates a PostEndUsersOK with default headers values

func (*PostEndUsersOK) Error

func (o *PostEndUsersOK) Error() string

func (*PostEndUsersOK) GetPayload

func (o *PostEndUsersOK) GetPayload() *PostEndUsersOKBody

type PostEndUsersOKBody

type PostEndUsersOKBody struct {

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

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

PostEndUsersOKBody post end users o k body swagger:model PostEndUsersOKBody

func (*PostEndUsersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostEndUsersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostEndUsersOKBody) Validate

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

Validate validates this post end users o k body

type PostEndUsersParams

type PostEndUsersParams struct {

	/*Contact*/
	Contact *string
	/*Email
	  Text field.

	*/
	Email *string
	/*Location*/
	Location *string
	/*Name
	  enduser name

	*/
	Name string
	/*Notes
	  Any additional notes

	*/
	Notes *string

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

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

func NewPostEndUsersParams

func NewPostEndUsersParams() *PostEndUsersParams

NewPostEndUsersParams creates a new PostEndUsersParams object with the default values initialized.

func NewPostEndUsersParamsWithContext

func NewPostEndUsersParamsWithContext(ctx context.Context) *PostEndUsersParams

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

func NewPostEndUsersParamsWithHTTPClient

func NewPostEndUsersParamsWithHTTPClient(client *http.Client) *PostEndUsersParams

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

func NewPostEndUsersParamsWithTimeout

func NewPostEndUsersParamsWithTimeout(timeout time.Duration) *PostEndUsersParams

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

func (*PostEndUsersParams) SetContact

func (o *PostEndUsersParams) SetContact(contact *string)

SetContact adds the contact to the post end users params

func (*PostEndUsersParams) SetContext

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

SetContext adds the context to the post end users params

func (*PostEndUsersParams) SetEmail

func (o *PostEndUsersParams) SetEmail(email *string)

SetEmail adds the email to the post end users params

func (*PostEndUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post end users params

func (*PostEndUsersParams) SetLocation

func (o *PostEndUsersParams) SetLocation(location *string)

SetLocation adds the location to the post end users params

func (*PostEndUsersParams) SetName

func (o *PostEndUsersParams) SetName(name string)

SetName adds the name to the post end users params

func (*PostEndUsersParams) SetNotes

func (o *PostEndUsersParams) SetNotes(notes *string)

SetNotes adds the notes to the post end users params

func (*PostEndUsersParams) SetTimeout

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

SetTimeout adds the timeout to the post end users params

func (*PostEndUsersParams) WithContact

func (o *PostEndUsersParams) WithContact(contact *string) *PostEndUsersParams

WithContact adds the contact to the post end users params

func (*PostEndUsersParams) WithContext

WithContext adds the context to the post end users params

func (*PostEndUsersParams) WithEmail

func (o *PostEndUsersParams) WithEmail(email *string) *PostEndUsersParams

WithEmail adds the email to the post end users params

func (*PostEndUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post end users params

func (*PostEndUsersParams) WithLocation

func (o *PostEndUsersParams) WithLocation(location *string) *PostEndUsersParams

WithLocation adds the location to the post end users params

func (*PostEndUsersParams) WithName

func (o *PostEndUsersParams) WithName(name string) *PostEndUsersParams

WithName adds the name to the post end users params

func (*PostEndUsersParams) WithNotes

func (o *PostEndUsersParams) WithNotes(notes *string) *PostEndUsersParams

WithNotes adds the notes to the post end users params

func (*PostEndUsersParams) WithTimeout

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

WithTimeout adds the timeout to the post end users params

func (*PostEndUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostEndUsersReader

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

PostEndUsersReader is a Reader for the PostEndUsers structure.

func (*PostEndUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEndUsersServiceUnavailable

type PostEndUsersServiceUnavailable struct {
}

PostEndUsersServiceUnavailable handles this case with default header values.

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

func NewPostEndUsersServiceUnavailable

func NewPostEndUsersServiceUnavailable() *PostEndUsersServiceUnavailable

NewPostEndUsersServiceUnavailable creates a PostEndUsersServiceUnavailable with default headers values

func (*PostEndUsersServiceUnavailable) Error

type PostEndUsersUnauthorized

type PostEndUsersUnauthorized struct {
}

PostEndUsersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostEndUsersUnauthorized

func NewPostEndUsersUnauthorized() *PostEndUsersUnauthorized

NewPostEndUsersUnauthorized creates a PostEndUsersUnauthorized with default headers values

func (*PostEndUsersUnauthorized) Error

func (o *PostEndUsersUnauthorized) Error() string

type ValuesItems0

type ValuesItems0 struct {

	// adusername
	Adusername interface{} `json:"adusername,omitempty"`

	// contact
	Contact interface{} `json:"contact,omitempty"`

	// domain
	Domain interface{} `json:"domain,omitempty"`

	// email
	Email interface{} `json:"email,omitempty"`

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

	// location
	Location interface{} `json:"location,omitempty"`

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

	// notes
	Notes interface{} `json:"notes,omitempty"`
}

ValuesItems0 values items0 swagger:model ValuesItems0

func (*ValuesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ValuesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ValuesItems0) Validate

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

Validate validates this values items0

Jump to

Keyboard shortcuts

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