customers

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for customers API

func (*Client) DeleteCustomers

func (a *Client) DeleteCustomers(params *DeleteCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCustomersOK, error)

DeleteCustomers deletes customer

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

func (*Client) GetCustomers

func (a *Client) GetCustomers(params *GetCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*GetCustomersOK, error)

GetCustomers gets all customers

Get all Customers

func (*Client) PostCustomers

func (a *Client) PostCustomers(params *PostCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*PostCustomersOK, error)

PostCustomers Create / Update Customers.

func (*Client) PostUpdateCustomerContacts

func (a *Client) PostUpdateCustomerContacts(params *PostUpdateCustomerContactsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCustomerContactsOK, error)

PostUpdateCustomerContacts Create / Update Customer Contacts

func (*Client) PutCustomFields

func (a *Client) PutCustomFields(params *PutCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsOK, error)

PutCustomFields Custom Fields

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteCustomers(params *DeleteCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCustomersOK, error)

	GetCustomers(params *GetCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*GetCustomersOK, error)

	PostCustomers(params *PostCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*PostCustomersOK, error)

	PostUpdateCustomerContacts(params *PostUpdateCustomerContactsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCustomerContactsOK, error)

	PutCustomFields(params *PutCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsOK, 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 customers API client.

type DeleteCustomersBadRequest

type DeleteCustomersBadRequest struct {
}

DeleteCustomersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteCustomersBadRequest

func NewDeleteCustomersBadRequest() *DeleteCustomersBadRequest

NewDeleteCustomersBadRequest creates a DeleteCustomersBadRequest with default headers values

func (*DeleteCustomersBadRequest) Error

func (o *DeleteCustomersBadRequest) Error() string

type DeleteCustomersForbidden

type DeleteCustomersForbidden struct {
}

DeleteCustomersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteCustomersForbidden

func NewDeleteCustomersForbidden() *DeleteCustomersForbidden

NewDeleteCustomersForbidden creates a DeleteCustomersForbidden with default headers values

func (*DeleteCustomersForbidden) Error

func (o *DeleteCustomersForbidden) Error() string

type DeleteCustomersGone

type DeleteCustomersGone struct {
}

DeleteCustomersGone handles this case with default header values.

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

func NewDeleteCustomersGone

func NewDeleteCustomersGone() *DeleteCustomersGone

NewDeleteCustomersGone creates a DeleteCustomersGone with default headers values

func (*DeleteCustomersGone) Error

func (o *DeleteCustomersGone) Error() string

type DeleteCustomersInternalServerError

type DeleteCustomersInternalServerError struct {
}

DeleteCustomersInternalServerError 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 NewDeleteCustomersInternalServerError

func NewDeleteCustomersInternalServerError() *DeleteCustomersInternalServerError

NewDeleteCustomersInternalServerError creates a DeleteCustomersInternalServerError with default headers values

func (*DeleteCustomersInternalServerError) Error

type DeleteCustomersMethodNotAllowed

type DeleteCustomersMethodNotAllowed struct {
}

DeleteCustomersMethodNotAllowed handles this case with default header values.

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

func NewDeleteCustomersMethodNotAllowed

func NewDeleteCustomersMethodNotAllowed() *DeleteCustomersMethodNotAllowed

NewDeleteCustomersMethodNotAllowed creates a DeleteCustomersMethodNotAllowed with default headers values

func (*DeleteCustomersMethodNotAllowed) Error

type DeleteCustomersNotFound

type DeleteCustomersNotFound struct {
}

DeleteCustomersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteCustomersNotFound

func NewDeleteCustomersNotFound() *DeleteCustomersNotFound

NewDeleteCustomersNotFound creates a DeleteCustomersNotFound with default headers values

func (*DeleteCustomersNotFound) Error

func (o *DeleteCustomersNotFound) Error() string

type DeleteCustomersOK

type DeleteCustomersOK struct {
	Payload *DeleteCustomersOKBody
}

DeleteCustomersOK handles this case with default header values.

The above command returns results like this:

func NewDeleteCustomersOK

func NewDeleteCustomersOK() *DeleteCustomersOK

NewDeleteCustomersOK creates a DeleteCustomersOK with default headers values

func (*DeleteCustomersOK) Error

func (o *DeleteCustomersOK) Error() string

func (*DeleteCustomersOK) GetPayload

func (o *DeleteCustomersOK) GetPayload() *DeleteCustomersOKBody

type DeleteCustomersOKBody

type DeleteCustomersOKBody struct {

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

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

DeleteCustomersOKBody delete customers o k body swagger:model DeleteCustomersOKBody

func (*DeleteCustomersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteCustomersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteCustomersOKBody) Validate

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

Validate validates this delete customers o k body

type DeleteCustomersParams

type DeleteCustomersParams struct {

	/*ID
	  IP Address id

	*/
	ID int64

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

DeleteCustomersParams contains all the parameters to send to the API endpoint for the delete customers operation typically these are written to a http.Request

func NewDeleteCustomersParams

func NewDeleteCustomersParams() *DeleteCustomersParams

NewDeleteCustomersParams creates a new DeleteCustomersParams object with the default values initialized.

func NewDeleteCustomersParamsWithContext

func NewDeleteCustomersParamsWithContext(ctx context.Context) *DeleteCustomersParams

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

func NewDeleteCustomersParamsWithHTTPClient

func NewDeleteCustomersParamsWithHTTPClient(client *http.Client) *DeleteCustomersParams

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

func NewDeleteCustomersParamsWithTimeout

func NewDeleteCustomersParamsWithTimeout(timeout time.Duration) *DeleteCustomersParams

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

func (*DeleteCustomersParams) SetContext

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

SetContext adds the context to the delete customers params

func (*DeleteCustomersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete customers params

func (*DeleteCustomersParams) SetID

func (o *DeleteCustomersParams) SetID(id int64)

SetID adds the id to the delete customers params

func (*DeleteCustomersParams) SetTimeout

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

SetTimeout adds the timeout to the delete customers params

func (*DeleteCustomersParams) WithContext

WithContext adds the context to the delete customers params

func (*DeleteCustomersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete customers params

func (*DeleteCustomersParams) WithID

WithID adds the id to the delete customers params

func (*DeleteCustomersParams) WithTimeout

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

WithTimeout adds the timeout to the delete customers params

func (*DeleteCustomersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCustomersReader

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

DeleteCustomersReader is a Reader for the DeleteCustomers structure.

func (*DeleteCustomersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCustomersServiceUnavailable

type DeleteCustomersServiceUnavailable struct {
}

DeleteCustomersServiceUnavailable handles this case with default header values.

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

func NewDeleteCustomersServiceUnavailable

func NewDeleteCustomersServiceUnavailable() *DeleteCustomersServiceUnavailable

NewDeleteCustomersServiceUnavailable creates a DeleteCustomersServiceUnavailable with default headers values

func (*DeleteCustomersServiceUnavailable) Error

type DeleteCustomersUnauthorized

type DeleteCustomersUnauthorized struct {
}

DeleteCustomersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteCustomersUnauthorized

func NewDeleteCustomersUnauthorized() *DeleteCustomersUnauthorized

NewDeleteCustomersUnauthorized creates a DeleteCustomersUnauthorized with default headers values

func (*DeleteCustomersUnauthorized) Error

type GetCustomersBadRequest

type GetCustomersBadRequest struct {
}

GetCustomersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetCustomersBadRequest

func NewGetCustomersBadRequest() *GetCustomersBadRequest

NewGetCustomersBadRequest creates a GetCustomersBadRequest with default headers values

func (*GetCustomersBadRequest) Error

func (o *GetCustomersBadRequest) Error() string

type GetCustomersForbidden

type GetCustomersForbidden struct {
}

GetCustomersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetCustomersForbidden

func NewGetCustomersForbidden() *GetCustomersForbidden

NewGetCustomersForbidden creates a GetCustomersForbidden with default headers values

func (*GetCustomersForbidden) Error

func (o *GetCustomersForbidden) Error() string

type GetCustomersGone

type GetCustomersGone struct {
}

GetCustomersGone handles this case with default header values.

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

func NewGetCustomersGone

func NewGetCustomersGone() *GetCustomersGone

NewGetCustomersGone creates a GetCustomersGone with default headers values

func (*GetCustomersGone) Error

func (o *GetCustomersGone) Error() string

type GetCustomersInternalServerError

type GetCustomersInternalServerError struct {
}

GetCustomersInternalServerError 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 NewGetCustomersInternalServerError

func NewGetCustomersInternalServerError() *GetCustomersInternalServerError

NewGetCustomersInternalServerError creates a GetCustomersInternalServerError with default headers values

func (*GetCustomersInternalServerError) Error

type GetCustomersMethodNotAllowed

type GetCustomersMethodNotAllowed struct {
}

GetCustomersMethodNotAllowed handles this case with default header values.

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

func NewGetCustomersMethodNotAllowed

func NewGetCustomersMethodNotAllowed() *GetCustomersMethodNotAllowed

NewGetCustomersMethodNotAllowed creates a GetCustomersMethodNotAllowed with default headers values

func (*GetCustomersMethodNotAllowed) Error

type GetCustomersNotFound

type GetCustomersNotFound struct {
}

GetCustomersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetCustomersNotFound

func NewGetCustomersNotFound() *GetCustomersNotFound

NewGetCustomersNotFound creates a GetCustomersNotFound with default headers values

func (*GetCustomersNotFound) Error

func (o *GetCustomersNotFound) Error() string

type GetCustomersOK

type GetCustomersOK struct {
	Payload *GetCustomersOKBody
}

GetCustomersOK handles this case with default header values.

The above command returns results like this:

func NewGetCustomersOK

func NewGetCustomersOK() *GetCustomersOK

NewGetCustomersOK creates a GetCustomersOK with default headers values

func (*GetCustomersOK) Error

func (o *GetCustomersOK) Error() string

func (*GetCustomersOK) GetPayload

func (o *GetCustomersOK) GetPayload() *GetCustomersOKBody

type GetCustomersOKBody

type GetCustomersOKBody struct {

	// customers
	Customers []*models.Customers `json:"Customers"`
}

GetCustomersOKBody get customers o k body swagger:model GetCustomersOKBody

func (*GetCustomersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetCustomersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetCustomersOKBody) Validate

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

Validate validates this get customers o k body

type GetCustomersParams

type GetCustomersParams struct {

	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string

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

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

func NewGetCustomersParams

func NewGetCustomersParams() *GetCustomersParams

NewGetCustomersParams creates a new GetCustomersParams object with the default values initialized.

func NewGetCustomersParamsWithContext

func NewGetCustomersParamsWithContext(ctx context.Context) *GetCustomersParams

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

func NewGetCustomersParamsWithHTTPClient

func NewGetCustomersParamsWithHTTPClient(client *http.Client) *GetCustomersParams

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

func NewGetCustomersParamsWithTimeout

func NewGetCustomersParamsWithTimeout(timeout time.Duration) *GetCustomersParams

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

func (*GetCustomersParams) SetContext

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

SetContext adds the context to the get customers params

func (*GetCustomersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get customers params

func (*GetCustomersParams) SetIncludeCols

func (o *GetCustomersParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get customers params

func (*GetCustomersParams) SetTimeout

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

SetTimeout adds the timeout to the get customers params

func (*GetCustomersParams) WithContext

WithContext adds the context to the get customers params

func (*GetCustomersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get customers params

func (*GetCustomersParams) WithIncludeCols

func (o *GetCustomersParams) WithIncludeCols(includeCols *string) *GetCustomersParams

WithIncludeCols adds the includeCols to the get customers params

func (*GetCustomersParams) WithTimeout

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

WithTimeout adds the timeout to the get customers params

func (*GetCustomersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCustomersReader

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

GetCustomersReader is a Reader for the GetCustomers structure.

func (*GetCustomersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCustomersServiceUnavailable

type GetCustomersServiceUnavailable struct {
}

GetCustomersServiceUnavailable handles this case with default header values.

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

func NewGetCustomersServiceUnavailable

func NewGetCustomersServiceUnavailable() *GetCustomersServiceUnavailable

NewGetCustomersServiceUnavailable creates a GetCustomersServiceUnavailable with default headers values

func (*GetCustomersServiceUnavailable) Error

type GetCustomersUnauthorized

type GetCustomersUnauthorized struct {
}

GetCustomersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetCustomersUnauthorized

func NewGetCustomersUnauthorized() *GetCustomersUnauthorized

NewGetCustomersUnauthorized creates a GetCustomersUnauthorized with default headers values

func (*GetCustomersUnauthorized) Error

func (o *GetCustomersUnauthorized) Error() string

type PostCustomersBadRequest

type PostCustomersBadRequest struct {
}

PostCustomersBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostCustomersBadRequest

func NewPostCustomersBadRequest() *PostCustomersBadRequest

NewPostCustomersBadRequest creates a PostCustomersBadRequest with default headers values

func (*PostCustomersBadRequest) Error

func (o *PostCustomersBadRequest) Error() string

type PostCustomersForbidden

type PostCustomersForbidden struct {
}

PostCustomersForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostCustomersForbidden

func NewPostCustomersForbidden() *PostCustomersForbidden

NewPostCustomersForbidden creates a PostCustomersForbidden with default headers values

func (*PostCustomersForbidden) Error

func (o *PostCustomersForbidden) Error() string

type PostCustomersGone

type PostCustomersGone struct {
}

PostCustomersGone handles this case with default header values.

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

func NewPostCustomersGone

func NewPostCustomersGone() *PostCustomersGone

NewPostCustomersGone creates a PostCustomersGone with default headers values

func (*PostCustomersGone) Error

func (o *PostCustomersGone) Error() string

type PostCustomersInternalServerError

type PostCustomersInternalServerError struct {
}

PostCustomersInternalServerError 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 NewPostCustomersInternalServerError

func NewPostCustomersInternalServerError() *PostCustomersInternalServerError

NewPostCustomersInternalServerError creates a PostCustomersInternalServerError with default headers values

func (*PostCustomersInternalServerError) Error

type PostCustomersMethodNotAllowed

type PostCustomersMethodNotAllowed struct {
}

PostCustomersMethodNotAllowed handles this case with default header values.

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

func NewPostCustomersMethodNotAllowed

func NewPostCustomersMethodNotAllowed() *PostCustomersMethodNotAllowed

NewPostCustomersMethodNotAllowed creates a PostCustomersMethodNotAllowed with default headers values

func (*PostCustomersMethodNotAllowed) Error

type PostCustomersNotFound

type PostCustomersNotFound struct {
}

PostCustomersNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostCustomersNotFound

func NewPostCustomersNotFound() *PostCustomersNotFound

NewPostCustomersNotFound creates a PostCustomersNotFound with default headers values

func (*PostCustomersNotFound) Error

func (o *PostCustomersNotFound) Error() string

type PostCustomersOK

type PostCustomersOK struct {
	Payload *PostCustomersOKBody
}

PostCustomersOK handles this case with default header values.

The above command returns results like this:

func NewPostCustomersOK

func NewPostCustomersOK() *PostCustomersOK

NewPostCustomersOK creates a PostCustomersOK with default headers values

func (*PostCustomersOK) Error

func (o *PostCustomersOK) Error() string

func (*PostCustomersOK) GetPayload

func (o *PostCustomersOK) GetPayload() *PostCustomersOKBody

type PostCustomersOKBody

type PostCustomersOKBody struct {

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

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

PostCustomersOKBody post customers o k body swagger:model PostCustomersOKBody

func (*PostCustomersOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostCustomersOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostCustomersOKBody) Validate

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

Validate validates this post customers o k body

type PostCustomersParams

type PostCustomersParams struct {

	/*ContactInfo
	  text field for information

	*/
	ContactInfo *string
	/*Groups
	  If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted.

	*/
	Groups *string
	/*Name
	  Customer name

	*/
	Name string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*Type*/
	Type *string

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

PostCustomersParams contains all the parameters to send to the API endpoint for the post customers operation typically these are written to a http.Request

func NewPostCustomersParams

func NewPostCustomersParams() *PostCustomersParams

NewPostCustomersParams creates a new PostCustomersParams object with the default values initialized.

func NewPostCustomersParamsWithContext

func NewPostCustomersParamsWithContext(ctx context.Context) *PostCustomersParams

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

func NewPostCustomersParamsWithHTTPClient

func NewPostCustomersParamsWithHTTPClient(client *http.Client) *PostCustomersParams

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

func NewPostCustomersParamsWithTimeout

func NewPostCustomersParamsWithTimeout(timeout time.Duration) *PostCustomersParams

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

func (*PostCustomersParams) SetContactInfo

func (o *PostCustomersParams) SetContactInfo(contactInfo *string)

SetContactInfo adds the contactInfo to the post customers params

func (*PostCustomersParams) SetContext

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

SetContext adds the context to the post customers params

func (*PostCustomersParams) SetGroups

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

SetGroups adds the groups to the post customers params

func (*PostCustomersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post customers params

func (*PostCustomersParams) SetName

func (o *PostCustomersParams) SetName(name string)

SetName adds the name to the post customers params

func (*PostCustomersParams) SetNotes

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

SetNotes adds the notes to the post customers params

func (*PostCustomersParams) SetTimeout

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

SetTimeout adds the timeout to the post customers params

func (*PostCustomersParams) SetType

func (o *PostCustomersParams) SetType(typeVar *string)

SetType adds the type to the post customers params

func (*PostCustomersParams) WithContactInfo

func (o *PostCustomersParams) WithContactInfo(contactInfo *string) *PostCustomersParams

WithContactInfo adds the contactInfo to the post customers params

func (*PostCustomersParams) WithContext

WithContext adds the context to the post customers params

func (*PostCustomersParams) WithGroups

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

WithGroups adds the groups to the post customers params

func (*PostCustomersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post customers params

func (*PostCustomersParams) WithName

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

WithName adds the name to the post customers params

func (*PostCustomersParams) WithNotes

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

WithNotes adds the notes to the post customers params

func (*PostCustomersParams) WithTimeout

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

WithTimeout adds the timeout to the post customers params

func (*PostCustomersParams) WithType

func (o *PostCustomersParams) WithType(typeVar *string) *PostCustomersParams

WithType adds the typeVar to the post customers params

func (*PostCustomersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostCustomersReader

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

PostCustomersReader is a Reader for the PostCustomers structure.

func (*PostCustomersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostCustomersServiceUnavailable

type PostCustomersServiceUnavailable struct {
}

PostCustomersServiceUnavailable handles this case with default header values.

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

func NewPostCustomersServiceUnavailable

func NewPostCustomersServiceUnavailable() *PostCustomersServiceUnavailable

NewPostCustomersServiceUnavailable creates a PostCustomersServiceUnavailable with default headers values

func (*PostCustomersServiceUnavailable) Error

type PostCustomersUnauthorized

type PostCustomersUnauthorized struct {
}

PostCustomersUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostCustomersUnauthorized

func NewPostCustomersUnauthorized() *PostCustomersUnauthorized

NewPostCustomersUnauthorized creates a PostCustomersUnauthorized with default headers values

func (*PostCustomersUnauthorized) Error

func (o *PostCustomersUnauthorized) Error() string

type PostUpdateCustomerContactsBadRequest

type PostUpdateCustomerContactsBadRequest struct {
}

PostUpdateCustomerContactsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostUpdateCustomerContactsBadRequest

func NewPostUpdateCustomerContactsBadRequest() *PostUpdateCustomerContactsBadRequest

NewPostUpdateCustomerContactsBadRequest creates a PostUpdateCustomerContactsBadRequest with default headers values

func (*PostUpdateCustomerContactsBadRequest) Error

type PostUpdateCustomerContactsForbidden

type PostUpdateCustomerContactsForbidden struct {
}

PostUpdateCustomerContactsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostUpdateCustomerContactsForbidden

func NewPostUpdateCustomerContactsForbidden() *PostUpdateCustomerContactsForbidden

NewPostUpdateCustomerContactsForbidden creates a PostUpdateCustomerContactsForbidden with default headers values

func (*PostUpdateCustomerContactsForbidden) Error

type PostUpdateCustomerContactsGone

type PostUpdateCustomerContactsGone struct {
}

PostUpdateCustomerContactsGone handles this case with default header values.

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

func NewPostUpdateCustomerContactsGone

func NewPostUpdateCustomerContactsGone() *PostUpdateCustomerContactsGone

NewPostUpdateCustomerContactsGone creates a PostUpdateCustomerContactsGone with default headers values

func (*PostUpdateCustomerContactsGone) Error

type PostUpdateCustomerContactsInternalServerError

type PostUpdateCustomerContactsInternalServerError struct {
}

PostUpdateCustomerContactsInternalServerError 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 NewPostUpdateCustomerContactsInternalServerError

func NewPostUpdateCustomerContactsInternalServerError() *PostUpdateCustomerContactsInternalServerError

NewPostUpdateCustomerContactsInternalServerError creates a PostUpdateCustomerContactsInternalServerError with default headers values

func (*PostUpdateCustomerContactsInternalServerError) Error

type PostUpdateCustomerContactsMethodNotAllowed

type PostUpdateCustomerContactsMethodNotAllowed struct {
}

PostUpdateCustomerContactsMethodNotAllowed handles this case with default header values.

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

func NewPostUpdateCustomerContactsMethodNotAllowed

func NewPostUpdateCustomerContactsMethodNotAllowed() *PostUpdateCustomerContactsMethodNotAllowed

NewPostUpdateCustomerContactsMethodNotAllowed creates a PostUpdateCustomerContactsMethodNotAllowed with default headers values

func (*PostUpdateCustomerContactsMethodNotAllowed) Error

type PostUpdateCustomerContactsNotFound

type PostUpdateCustomerContactsNotFound struct {
}

PostUpdateCustomerContactsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostUpdateCustomerContactsNotFound

func NewPostUpdateCustomerContactsNotFound() *PostUpdateCustomerContactsNotFound

NewPostUpdateCustomerContactsNotFound creates a PostUpdateCustomerContactsNotFound with default headers values

func (*PostUpdateCustomerContactsNotFound) Error

type PostUpdateCustomerContactsOK

type PostUpdateCustomerContactsOK struct {
	Payload *PostUpdateCustomerContactsOKBody
}

PostUpdateCustomerContactsOK handles this case with default header values.

The above command returns results like this:

func NewPostUpdateCustomerContactsOK

func NewPostUpdateCustomerContactsOK() *PostUpdateCustomerContactsOK

NewPostUpdateCustomerContactsOK creates a PostUpdateCustomerContactsOK with default headers values

func (*PostUpdateCustomerContactsOK) Error

func (*PostUpdateCustomerContactsOK) GetPayload

type PostUpdateCustomerContactsOKBody

type PostUpdateCustomerContactsOKBody struct {

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

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

PostUpdateCustomerContactsOKBody post update customer contacts o k body swagger:model PostUpdateCustomerContactsOKBody

func (*PostUpdateCustomerContactsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostUpdateCustomerContactsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostUpdateCustomerContactsOKBody) Validate

Validate validates this post update customer contacts o k body

type PostUpdateCustomerContactsParams

type PostUpdateCustomerContactsParams struct {

	/*Address
	  Text field

	*/
	Address *string
	/*Customer
	  Customer name

	*/
	Customer string
	/*Email
	  Text field.

	*/
	Email *string
	/*Name
	  Customer contact name

	*/
	Name string
	/*Phone
	  Text field.

	*/
	Phone *string
	/*Type
	  Contact type, must already exist

	*/
	Type string

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

PostUpdateCustomerContactsParams contains all the parameters to send to the API endpoint for the post update customer contacts operation typically these are written to a http.Request

func NewPostUpdateCustomerContactsParams

func NewPostUpdateCustomerContactsParams() *PostUpdateCustomerContactsParams

NewPostUpdateCustomerContactsParams creates a new PostUpdateCustomerContactsParams object with the default values initialized.

func NewPostUpdateCustomerContactsParamsWithContext

func NewPostUpdateCustomerContactsParamsWithContext(ctx context.Context) *PostUpdateCustomerContactsParams

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

func NewPostUpdateCustomerContactsParamsWithHTTPClient

func NewPostUpdateCustomerContactsParamsWithHTTPClient(client *http.Client) *PostUpdateCustomerContactsParams

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

func NewPostUpdateCustomerContactsParamsWithTimeout

func NewPostUpdateCustomerContactsParamsWithTimeout(timeout time.Duration) *PostUpdateCustomerContactsParams

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

func (*PostUpdateCustomerContactsParams) SetAddress

func (o *PostUpdateCustomerContactsParams) SetAddress(address *string)

SetAddress adds the address to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetContext

SetContext adds the context to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetCustomer

func (o *PostUpdateCustomerContactsParams) SetCustomer(customer string)

SetCustomer adds the customer to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetEmail

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

SetEmail adds the email to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetName

func (o *PostUpdateCustomerContactsParams) SetName(name string)

SetName adds the name to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetPhone

func (o *PostUpdateCustomerContactsParams) SetPhone(phone *string)

SetPhone adds the phone to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetTimeout

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

SetTimeout adds the timeout to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) SetType

func (o *PostUpdateCustomerContactsParams) SetType(typeVar string)

SetType adds the type to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithAddress

WithAddress adds the address to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithContext

WithContext adds the context to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithCustomer

WithCustomer adds the customer to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithEmail

WithEmail adds the email to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithName

WithName adds the name to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithPhone

WithPhone adds the phone to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithTimeout

WithTimeout adds the timeout to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WithType

WithType adds the typeVar to the post update customer contacts params

func (*PostUpdateCustomerContactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUpdateCustomerContactsReader

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

PostUpdateCustomerContactsReader is a Reader for the PostUpdateCustomerContacts structure.

func (*PostUpdateCustomerContactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUpdateCustomerContactsServiceUnavailable

type PostUpdateCustomerContactsServiceUnavailable struct {
}

PostUpdateCustomerContactsServiceUnavailable handles this case with default header values.

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

func NewPostUpdateCustomerContactsServiceUnavailable

func NewPostUpdateCustomerContactsServiceUnavailable() *PostUpdateCustomerContactsServiceUnavailable

NewPostUpdateCustomerContactsServiceUnavailable creates a PostUpdateCustomerContactsServiceUnavailable with default headers values

func (*PostUpdateCustomerContactsServiceUnavailable) Error

type PostUpdateCustomerContactsUnauthorized

type PostUpdateCustomerContactsUnauthorized struct {
}

PostUpdateCustomerContactsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostUpdateCustomerContactsUnauthorized

func NewPostUpdateCustomerContactsUnauthorized() *PostUpdateCustomerContactsUnauthorized

NewPostUpdateCustomerContactsUnauthorized creates a PostUpdateCustomerContactsUnauthorized with default headers values

func (*PostUpdateCustomerContactsUnauthorized) Error

type PutCustomFieldsBadRequest

type PutCustomFieldsBadRequest struct {
}

PutCustomFieldsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutCustomFieldsBadRequest

func NewPutCustomFieldsBadRequest() *PutCustomFieldsBadRequest

NewPutCustomFieldsBadRequest creates a PutCustomFieldsBadRequest with default headers values

func (*PutCustomFieldsBadRequest) Error

func (o *PutCustomFieldsBadRequest) Error() string

type PutCustomFieldsForbidden

type PutCustomFieldsForbidden struct {
}

PutCustomFieldsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutCustomFieldsForbidden

func NewPutCustomFieldsForbidden() *PutCustomFieldsForbidden

NewPutCustomFieldsForbidden creates a PutCustomFieldsForbidden with default headers values

func (*PutCustomFieldsForbidden) Error

func (o *PutCustomFieldsForbidden) Error() string

type PutCustomFieldsGone

type PutCustomFieldsGone struct {
}

PutCustomFieldsGone handles this case with default header values.

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

func NewPutCustomFieldsGone

func NewPutCustomFieldsGone() *PutCustomFieldsGone

NewPutCustomFieldsGone creates a PutCustomFieldsGone with default headers values

func (*PutCustomFieldsGone) Error

func (o *PutCustomFieldsGone) Error() string

type PutCustomFieldsInternalServerError

type PutCustomFieldsInternalServerError struct {
}

PutCustomFieldsInternalServerError 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 NewPutCustomFieldsInternalServerError

func NewPutCustomFieldsInternalServerError() *PutCustomFieldsInternalServerError

NewPutCustomFieldsInternalServerError creates a PutCustomFieldsInternalServerError with default headers values

func (*PutCustomFieldsInternalServerError) Error

type PutCustomFieldsMethodNotAllowed

type PutCustomFieldsMethodNotAllowed struct {
}

PutCustomFieldsMethodNotAllowed handles this case with default header values.

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

func NewPutCustomFieldsMethodNotAllowed

func NewPutCustomFieldsMethodNotAllowed() *PutCustomFieldsMethodNotAllowed

NewPutCustomFieldsMethodNotAllowed creates a PutCustomFieldsMethodNotAllowed with default headers values

func (*PutCustomFieldsMethodNotAllowed) Error

type PutCustomFieldsNotFound

type PutCustomFieldsNotFound struct {
}

PutCustomFieldsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutCustomFieldsNotFound

func NewPutCustomFieldsNotFound() *PutCustomFieldsNotFound

NewPutCustomFieldsNotFound creates a PutCustomFieldsNotFound with default headers values

func (*PutCustomFieldsNotFound) Error

func (o *PutCustomFieldsNotFound) Error() string

type PutCustomFieldsOK

type PutCustomFieldsOK struct {
	Payload *PutCustomFieldsOKBody
}

PutCustomFieldsOK handles this case with default header values.

The above command returns results like this:

func NewPutCustomFieldsOK

func NewPutCustomFieldsOK() *PutCustomFieldsOK

NewPutCustomFieldsOK creates a PutCustomFieldsOK with default headers values

func (*PutCustomFieldsOK) Error

func (o *PutCustomFieldsOK) Error() string

func (*PutCustomFieldsOK) GetPayload

func (o *PutCustomFieldsOK) GetPayload() *PutCustomFieldsOKBody

type PutCustomFieldsOKBody

type PutCustomFieldsOKBody struct {

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

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

PutCustomFieldsOKBody put custom fields o k body swagger:model PutCustomFieldsOKBody

func (*PutCustomFieldsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutCustomFieldsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutCustomFieldsOKBody) Validate

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

Validate validates this put custom fields o k body

type PutCustomFieldsParams

type PutCustomFieldsParams struct {

	/*BulkFields
	  comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2

	*/
	BulkFields *string
	/*ClearValue
	  yes to clear existing value for that field

	*/
	ClearValue *string
	/*Key
	  Can be new or existing. This is the custom field name.

	*/
	Key string
	/*Name
	  Name of the customer

	*/
	Name string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RelatedFieldName
	  Required if type = related field.

	*/
	RelatedFieldName *string
	/*Type
	  this is the custom field type. If left blank, default is text. Date should be formatted as YYYY-MM-DD

	*/
	Type *string
	/*Value
	  This will set the value of the custom field for the specific object.

	*/
	Value *string

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

PutCustomFieldsParams contains all the parameters to send to the API endpoint for the put custom fields operation typically these are written to a http.Request

func NewPutCustomFieldsParams

func NewPutCustomFieldsParams() *PutCustomFieldsParams

NewPutCustomFieldsParams creates a new PutCustomFieldsParams object with the default values initialized.

func NewPutCustomFieldsParamsWithContext

func NewPutCustomFieldsParamsWithContext(ctx context.Context) *PutCustomFieldsParams

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

func NewPutCustomFieldsParamsWithHTTPClient

func NewPutCustomFieldsParamsWithHTTPClient(client *http.Client) *PutCustomFieldsParams

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

func NewPutCustomFieldsParamsWithTimeout

func NewPutCustomFieldsParamsWithTimeout(timeout time.Duration) *PutCustomFieldsParams

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

func (*PutCustomFieldsParams) SetBulkFields

func (o *PutCustomFieldsParams) SetBulkFields(bulkFields *string)

SetBulkFields adds the bulkFields to the put custom fields params

func (*PutCustomFieldsParams) SetClearValue

func (o *PutCustomFieldsParams) SetClearValue(clearValue *string)

SetClearValue adds the clearValue to the put custom fields params

func (*PutCustomFieldsParams) SetContext

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

SetContext adds the context to the put custom fields params

func (*PutCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put custom fields params

func (*PutCustomFieldsParams) SetKey

func (o *PutCustomFieldsParams) SetKey(key string)

SetKey adds the key to the put custom fields params

func (*PutCustomFieldsParams) SetName

func (o *PutCustomFieldsParams) SetName(name string)

SetName adds the name to the put custom fields params

func (*PutCustomFieldsParams) SetNotes

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

SetNotes adds the notes to the put custom fields params

func (*PutCustomFieldsParams) SetRelatedFieldName

func (o *PutCustomFieldsParams) SetRelatedFieldName(relatedFieldName *string)

SetRelatedFieldName adds the relatedFieldName to the put custom fields params

func (*PutCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the put custom fields params

func (*PutCustomFieldsParams) SetType

func (o *PutCustomFieldsParams) SetType(typeVar *string)

SetType adds the type to the put custom fields params

func (*PutCustomFieldsParams) SetValue

func (o *PutCustomFieldsParams) SetValue(value *string)

SetValue adds the value to the put custom fields params

func (*PutCustomFieldsParams) WithBulkFields

func (o *PutCustomFieldsParams) WithBulkFields(bulkFields *string) *PutCustomFieldsParams

WithBulkFields adds the bulkFields to the put custom fields params

func (*PutCustomFieldsParams) WithClearValue

func (o *PutCustomFieldsParams) WithClearValue(clearValue *string) *PutCustomFieldsParams

WithClearValue adds the clearValue to the put custom fields params

func (*PutCustomFieldsParams) WithContext

WithContext adds the context to the put custom fields params

func (*PutCustomFieldsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put custom fields params

func (*PutCustomFieldsParams) WithKey

WithKey adds the key to the put custom fields params

func (*PutCustomFieldsParams) WithName

WithName adds the name to the put custom fields params

func (*PutCustomFieldsParams) WithNotes

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

WithNotes adds the notes to the put custom fields params

func (*PutCustomFieldsParams) WithRelatedFieldName

func (o *PutCustomFieldsParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsParams

WithRelatedFieldName adds the relatedFieldName to the put custom fields params

func (*PutCustomFieldsParams) WithTimeout

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

WithTimeout adds the timeout to the put custom fields params

func (*PutCustomFieldsParams) WithType

func (o *PutCustomFieldsParams) WithType(typeVar *string) *PutCustomFieldsParams

WithType adds the typeVar to the put custom fields params

func (*PutCustomFieldsParams) WithValue

func (o *PutCustomFieldsParams) WithValue(value *string) *PutCustomFieldsParams

WithValue adds the value to the put custom fields params

func (*PutCustomFieldsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutCustomFieldsReader

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

PutCustomFieldsReader is a Reader for the PutCustomFields structure.

func (*PutCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCustomFieldsServiceUnavailable

type PutCustomFieldsServiceUnavailable struct {
}

PutCustomFieldsServiceUnavailable handles this case with default header values.

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

func NewPutCustomFieldsServiceUnavailable

func NewPutCustomFieldsServiceUnavailable() *PutCustomFieldsServiceUnavailable

NewPutCustomFieldsServiceUnavailable creates a PutCustomFieldsServiceUnavailable with default headers values

func (*PutCustomFieldsServiceUnavailable) Error

type PutCustomFieldsUnauthorized

type PutCustomFieldsUnauthorized struct {
}

PutCustomFieldsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutCustomFieldsUnauthorized

func NewPutCustomFieldsUnauthorized() *PutCustomFieldsUnauthorized

NewPutCustomFieldsUnauthorized creates a PutCustomFieldsUnauthorized with default headers values

func (*PutCustomFieldsUnauthorized) Error

Jump to

Keyboard shortcuts

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