custom_fields

package
v0.0.0-...-d3fc958 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 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 custom fields API

func (*Client) DeleteV1CustomFieldsDefinitionsFieldID

DeleteV1CustomFieldsDefinitionsFieldID deletes a custom field definition

Delete a custom field definition

func (*Client) GetV1CustomFieldsDefinitions

func (a *Client) GetV1CustomFieldsDefinitions(params *GetV1CustomFieldsDefinitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1CustomFieldsDefinitionsOK, error)

GetV1CustomFieldsDefinitions lists custom field definitions

List all custom field definitions

func (*Client) GetV1CustomFieldsDefinitionsFieldIDSelectOptions

GetV1CustomFieldsDefinitionsFieldIDSelectOptions gets custom field permissible values

Get the permissible values for the a currently active custom select or multi-select field.

func (*Client) PatchV1CustomFieldsDefinitionsFieldID

func (a *Client) PatchV1CustomFieldsDefinitionsFieldID(params *PatchV1CustomFieldsDefinitionsFieldIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1CustomFieldsDefinitionsFieldIDOK, error)

PatchV1CustomFieldsDefinitionsFieldID updates custom field definition

Update a single custom field definition

func (*Client) PostV1CustomFieldsDefinitions

PostV1CustomFieldsDefinitions creates custom field definition

Create a new custom field definition

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteV1CustomFieldsDefinitionsFieldID(params *DeleteV1CustomFieldsDefinitionsFieldIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1CustomFieldsDefinitionsFieldIDOK, error)

	GetV1CustomFieldsDefinitions(params *GetV1CustomFieldsDefinitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1CustomFieldsDefinitionsOK, error)

	GetV1CustomFieldsDefinitionsFieldIDSelectOptions(params *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK, error)

	PatchV1CustomFieldsDefinitionsFieldID(params *PatchV1CustomFieldsDefinitionsFieldIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1CustomFieldsDefinitionsFieldIDOK, error)

	PostV1CustomFieldsDefinitions(params *PostV1CustomFieldsDefinitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1CustomFieldsDefinitionsCreated, 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 custom fields API client.

type DeleteV1CustomFieldsDefinitionsFieldIDOK

type DeleteV1CustomFieldsDefinitionsFieldIDOK struct {
	Payload *models.OrganizationsCustomFieldDefinitionEntity
}

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

Delete a custom field definition

func NewDeleteV1CustomFieldsDefinitionsFieldIDOK

func NewDeleteV1CustomFieldsDefinitionsFieldIDOK() *DeleteV1CustomFieldsDefinitionsFieldIDOK

NewDeleteV1CustomFieldsDefinitionsFieldIDOK creates a DeleteV1CustomFieldsDefinitionsFieldIDOK with default headers values

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) Error

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) GetPayload

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsClientError

IsClientError returns true when this delete v1 custom fields definitions field Id o k response has a 4xx status code

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsCode

IsCode returns true when this delete v1 custom fields definitions field Id o k response a status code equal to that given

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsRedirect

IsRedirect returns true when this delete v1 custom fields definitions field Id o k response has a 3xx status code

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsServerError

IsServerError returns true when this delete v1 custom fields definitions field Id o k response has a 5xx status code

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsSuccess

IsSuccess returns true when this delete v1 custom fields definitions field Id o k response has a 2xx status code

func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) String

type DeleteV1CustomFieldsDefinitionsFieldIDParams

type DeleteV1CustomFieldsDefinitionsFieldIDParams struct {

	/* FieldID.

	   Field ID of custom field definition
	*/
	FieldID string

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

DeleteV1CustomFieldsDefinitionsFieldIDParams contains all the parameters to send to the API endpoint

for the delete v1 custom fields definitions field Id operation.

Typically these are written to a http.Request.

func NewDeleteV1CustomFieldsDefinitionsFieldIDParams

func NewDeleteV1CustomFieldsDefinitionsFieldIDParams() *DeleteV1CustomFieldsDefinitionsFieldIDParams

NewDeleteV1CustomFieldsDefinitionsFieldIDParams creates a new DeleteV1CustomFieldsDefinitionsFieldIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithContext

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithContext(ctx context.Context) *DeleteV1CustomFieldsDefinitionsFieldIDParams

NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithContext creates a new DeleteV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a context for a request.

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient(client *http.Client) *DeleteV1CustomFieldsDefinitionsFieldIDParams

NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient creates a new DeleteV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithTimeout

func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithTimeout(timeout time.Duration) *DeleteV1CustomFieldsDefinitionsFieldIDParams

NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithTimeout creates a new DeleteV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a timeout on a request.

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetContext

SetContext adds the context to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 custom fields definitions field Id params (not the query body).

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

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetFieldID

SetFieldID adds the fieldId to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithContext

WithContext adds the context to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 custom fields definitions field Id params (not the query body).

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

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithFieldID

WithFieldID adds the fieldID to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 custom fields definitions field Id params

func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1CustomFieldsDefinitionsFieldIDReader

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

DeleteV1CustomFieldsDefinitionsFieldIDReader is a Reader for the DeleteV1CustomFieldsDefinitionsFieldID structure.

func (*DeleteV1CustomFieldsDefinitionsFieldIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK

type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK struct {
	Payload *models.OrganizationsCustomFieldDefinitionEntity
}

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

Get the permissible values for the a currently active custom select or multi-select field.

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK() *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK

NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK creates a GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK with default headers values

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) Error

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) GetPayload

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsClientError

IsClientError returns true when this get v1 custom fields definitions field Id select options o k response has a 4xx status code

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsCode

IsCode returns true when this get v1 custom fields definitions field Id select options o k response a status code equal to that given

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsRedirect

IsRedirect returns true when this get v1 custom fields definitions field Id select options o k response has a 3xx status code

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsServerError

IsServerError returns true when this get v1 custom fields definitions field Id select options o k response has a 5xx status code

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsSuccess

IsSuccess returns true when this get v1 custom fields definitions field Id select options o k response has a 2xx status code

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) String

type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams struct {

	/* AllVersions.

	   If true, return all versions of the custom field definition.
	*/
	AllVersions *bool

	/* FieldID.

	   Field ID of custom field definition
	*/
	FieldID string

	/* Query.

	   Text string of a query for filtering values.
	*/
	Query *string

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

GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams contains all the parameters to send to the API endpoint

for the get v1 custom fields definitions field Id select options operation.

Typically these are written to a http.Request.

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams() *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams creates a new GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithContext

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithContext creates a new GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams object with the ability to set a context for a request.

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithHTTPClient

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithHTTPClient creates a new GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithTimeout

func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams

NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithTimeout creates a new GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams object with the ability to set a timeout on a request.

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetAllVersions

func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetAllVersions(allVersions *bool)

SetAllVersions adds the allVersions to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetContext

SetContext adds the context to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetDefaults

SetDefaults hydrates default values in the get v1 custom fields definitions field Id select options params (not the query body).

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

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetFieldID

SetFieldID adds the fieldId to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetQuery

SetQuery adds the query to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetTimeout

SetTimeout adds the timeout to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithAllVersions

WithAllVersions adds the allVersions to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithContext

WithContext adds the context to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 custom fields definitions field Id select options params (not the query body).

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

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithFieldID

WithFieldID adds the fieldID to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithQuery

WithQuery adds the query to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 custom fields definitions field Id select options params

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsReader

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

GetV1CustomFieldsDefinitionsFieldIDSelectOptionsReader is a Reader for the GetV1CustomFieldsDefinitionsFieldIDSelectOptions structure.

func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CustomFieldsDefinitionsOK

type GetV1CustomFieldsDefinitionsOK struct {
	Payload *models.OrganizationsCustomFieldDefinitionEntity
}

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

List all custom field definitions

func NewGetV1CustomFieldsDefinitionsOK

func NewGetV1CustomFieldsDefinitionsOK() *GetV1CustomFieldsDefinitionsOK

NewGetV1CustomFieldsDefinitionsOK creates a GetV1CustomFieldsDefinitionsOK with default headers values

func (*GetV1CustomFieldsDefinitionsOK) Error

func (*GetV1CustomFieldsDefinitionsOK) GetPayload

func (*GetV1CustomFieldsDefinitionsOK) IsClientError

func (o *GetV1CustomFieldsDefinitionsOK) IsClientError() bool

IsClientError returns true when this get v1 custom fields definitions o k response has a 4xx status code

func (*GetV1CustomFieldsDefinitionsOK) IsCode

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

IsCode returns true when this get v1 custom fields definitions o k response a status code equal to that given

func (*GetV1CustomFieldsDefinitionsOK) IsRedirect

func (o *GetV1CustomFieldsDefinitionsOK) IsRedirect() bool

IsRedirect returns true when this get v1 custom fields definitions o k response has a 3xx status code

func (*GetV1CustomFieldsDefinitionsOK) IsServerError

func (o *GetV1CustomFieldsDefinitionsOK) IsServerError() bool

IsServerError returns true when this get v1 custom fields definitions o k response has a 5xx status code

func (*GetV1CustomFieldsDefinitionsOK) IsSuccess

func (o *GetV1CustomFieldsDefinitionsOK) IsSuccess() bool

IsSuccess returns true when this get v1 custom fields definitions o k response has a 2xx status code

func (*GetV1CustomFieldsDefinitionsOK) String

type GetV1CustomFieldsDefinitionsParams

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

GetV1CustomFieldsDefinitionsParams contains all the parameters to send to the API endpoint

for the get v1 custom fields definitions operation.

Typically these are written to a http.Request.

func NewGetV1CustomFieldsDefinitionsParams

func NewGetV1CustomFieldsDefinitionsParams() *GetV1CustomFieldsDefinitionsParams

NewGetV1CustomFieldsDefinitionsParams creates a new GetV1CustomFieldsDefinitionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV1CustomFieldsDefinitionsParamsWithContext

func NewGetV1CustomFieldsDefinitionsParamsWithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsParams

NewGetV1CustomFieldsDefinitionsParamsWithContext creates a new GetV1CustomFieldsDefinitionsParams object with the ability to set a context for a request.

func NewGetV1CustomFieldsDefinitionsParamsWithHTTPClient

func NewGetV1CustomFieldsDefinitionsParamsWithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsParams

NewGetV1CustomFieldsDefinitionsParamsWithHTTPClient creates a new GetV1CustomFieldsDefinitionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CustomFieldsDefinitionsParamsWithTimeout

func NewGetV1CustomFieldsDefinitionsParamsWithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsParams

NewGetV1CustomFieldsDefinitionsParamsWithTimeout creates a new GetV1CustomFieldsDefinitionsParams object with the ability to set a timeout on a request.

func (*GetV1CustomFieldsDefinitionsParams) SetContext

SetContext adds the context to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) SetDefaults

func (o *GetV1CustomFieldsDefinitionsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 custom fields definitions params (not the query body).

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

func (*GetV1CustomFieldsDefinitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) WithContext

WithContext adds the context to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 custom fields definitions params (not the query body).

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

func (*GetV1CustomFieldsDefinitionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 custom fields definitions params

func (*GetV1CustomFieldsDefinitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CustomFieldsDefinitionsReader

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

GetV1CustomFieldsDefinitionsReader is a Reader for the GetV1CustomFieldsDefinitions structure.

func (*GetV1CustomFieldsDefinitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1CustomFieldsDefinitionsFieldIDOK

type PatchV1CustomFieldsDefinitionsFieldIDOK struct {
	Payload *models.OrganizationsCustomFieldDefinitionEntity
}

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

Update a single custom field definition

func NewPatchV1CustomFieldsDefinitionsFieldIDOK

func NewPatchV1CustomFieldsDefinitionsFieldIDOK() *PatchV1CustomFieldsDefinitionsFieldIDOK

NewPatchV1CustomFieldsDefinitionsFieldIDOK creates a PatchV1CustomFieldsDefinitionsFieldIDOK with default headers values

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) Error

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) GetPayload

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) IsClientError

func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsClientError() bool

IsClientError returns true when this patch v1 custom fields definitions field Id o k response has a 4xx status code

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) IsCode

IsCode returns true when this patch v1 custom fields definitions field Id o k response a status code equal to that given

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) IsRedirect

IsRedirect returns true when this patch v1 custom fields definitions field Id o k response has a 3xx status code

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) IsServerError

func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsServerError() bool

IsServerError returns true when this patch v1 custom fields definitions field Id o k response has a 5xx status code

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) IsSuccess

IsSuccess returns true when this patch v1 custom fields definitions field Id o k response has a 2xx status code

func (*PatchV1CustomFieldsDefinitionsFieldIDOK) String

type PatchV1CustomFieldsDefinitionsFieldIDParams

type PatchV1CustomFieldsDefinitionsFieldIDParams struct {

	// FieldID.
	FieldID string

	// PatchV1CustomFieldsDefinitionsFieldID.
	PatchV1CustomFieldsDefinitionsFieldID *models.PatchV1CustomFieldsDefinitionsFieldID

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

PatchV1CustomFieldsDefinitionsFieldIDParams contains all the parameters to send to the API endpoint

for the patch v1 custom fields definitions field Id operation.

Typically these are written to a http.Request.

func NewPatchV1CustomFieldsDefinitionsFieldIDParams

func NewPatchV1CustomFieldsDefinitionsFieldIDParams() *PatchV1CustomFieldsDefinitionsFieldIDParams

NewPatchV1CustomFieldsDefinitionsFieldIDParams creates a new PatchV1CustomFieldsDefinitionsFieldIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithContext

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithContext(ctx context.Context) *PatchV1CustomFieldsDefinitionsFieldIDParams

NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithContext creates a new PatchV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a context for a request.

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient(client *http.Client) *PatchV1CustomFieldsDefinitionsFieldIDParams

NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient creates a new PatchV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithTimeout

func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithTimeout(timeout time.Duration) *PatchV1CustomFieldsDefinitionsFieldIDParams

NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithTimeout creates a new PatchV1CustomFieldsDefinitionsFieldIDParams object with the ability to set a timeout on a request.

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetContext

SetContext adds the context to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 custom fields definitions field Id params (not the query body).

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

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetFieldID

func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetFieldID(fieldID string)

SetFieldID adds the fieldId to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetPatchV1CustomFieldsDefinitionsFieldID

func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetPatchV1CustomFieldsDefinitionsFieldID(patchV1CustomFieldsDefinitionsFieldID *models.PatchV1CustomFieldsDefinitionsFieldID)

SetPatchV1CustomFieldsDefinitionsFieldID adds the patchV1CustomFieldsDefinitionsFieldId to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithContext

WithContext adds the context to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 custom fields definitions field Id params (not the query body).

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

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithFieldID

WithFieldID adds the fieldID to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithPatchV1CustomFieldsDefinitionsFieldID

func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithPatchV1CustomFieldsDefinitionsFieldID(patchV1CustomFieldsDefinitionsFieldID *models.PatchV1CustomFieldsDefinitionsFieldID) *PatchV1CustomFieldsDefinitionsFieldIDParams

WithPatchV1CustomFieldsDefinitionsFieldID adds the patchV1CustomFieldsDefinitionsFieldID to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 custom fields definitions field Id params

func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1CustomFieldsDefinitionsFieldIDReader

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

PatchV1CustomFieldsDefinitionsFieldIDReader is a Reader for the PatchV1CustomFieldsDefinitionsFieldID structure.

func (*PatchV1CustomFieldsDefinitionsFieldIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1CustomFieldsDefinitionsCreated

type PostV1CustomFieldsDefinitionsCreated struct {
	Payload *models.OrganizationsCustomFieldDefinitionEntity
}

PostV1CustomFieldsDefinitionsCreated describes a response with status code 201, with default header values.

Create a new custom field definition

func NewPostV1CustomFieldsDefinitionsCreated

func NewPostV1CustomFieldsDefinitionsCreated() *PostV1CustomFieldsDefinitionsCreated

NewPostV1CustomFieldsDefinitionsCreated creates a PostV1CustomFieldsDefinitionsCreated with default headers values

func (*PostV1CustomFieldsDefinitionsCreated) Error

func (*PostV1CustomFieldsDefinitionsCreated) GetPayload

func (*PostV1CustomFieldsDefinitionsCreated) IsClientError

func (o *PostV1CustomFieldsDefinitionsCreated) IsClientError() bool

IsClientError returns true when this post v1 custom fields definitions created response has a 4xx status code

func (*PostV1CustomFieldsDefinitionsCreated) IsCode

IsCode returns true when this post v1 custom fields definitions created response a status code equal to that given

func (*PostV1CustomFieldsDefinitionsCreated) IsRedirect

IsRedirect returns true when this post v1 custom fields definitions created response has a 3xx status code

func (*PostV1CustomFieldsDefinitionsCreated) IsServerError

func (o *PostV1CustomFieldsDefinitionsCreated) IsServerError() bool

IsServerError returns true when this post v1 custom fields definitions created response has a 5xx status code

func (*PostV1CustomFieldsDefinitionsCreated) IsSuccess

IsSuccess returns true when this post v1 custom fields definitions created response has a 2xx status code

func (*PostV1CustomFieldsDefinitionsCreated) String

type PostV1CustomFieldsDefinitionsParams

type PostV1CustomFieldsDefinitionsParams struct {

	// PostV1CustomFieldsDefinitions.
	PostV1CustomFieldsDefinitions *models.PostV1CustomFieldsDefinitions

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

PostV1CustomFieldsDefinitionsParams contains all the parameters to send to the API endpoint

for the post v1 custom fields definitions operation.

Typically these are written to a http.Request.

func NewPostV1CustomFieldsDefinitionsParams

func NewPostV1CustomFieldsDefinitionsParams() *PostV1CustomFieldsDefinitionsParams

NewPostV1CustomFieldsDefinitionsParams creates a new PostV1CustomFieldsDefinitionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostV1CustomFieldsDefinitionsParamsWithContext

func NewPostV1CustomFieldsDefinitionsParamsWithContext(ctx context.Context) *PostV1CustomFieldsDefinitionsParams

NewPostV1CustomFieldsDefinitionsParamsWithContext creates a new PostV1CustomFieldsDefinitionsParams object with the ability to set a context for a request.

func NewPostV1CustomFieldsDefinitionsParamsWithHTTPClient

func NewPostV1CustomFieldsDefinitionsParamsWithHTTPClient(client *http.Client) *PostV1CustomFieldsDefinitionsParams

NewPostV1CustomFieldsDefinitionsParamsWithHTTPClient creates a new PostV1CustomFieldsDefinitionsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1CustomFieldsDefinitionsParamsWithTimeout

func NewPostV1CustomFieldsDefinitionsParamsWithTimeout(timeout time.Duration) *PostV1CustomFieldsDefinitionsParams

NewPostV1CustomFieldsDefinitionsParamsWithTimeout creates a new PostV1CustomFieldsDefinitionsParams object with the ability to set a timeout on a request.

func (*PostV1CustomFieldsDefinitionsParams) SetContext

SetContext adds the context to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) SetDefaults

func (o *PostV1CustomFieldsDefinitionsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 custom fields definitions params (not the query body).

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

func (*PostV1CustomFieldsDefinitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) SetPostV1CustomFieldsDefinitions

func (o *PostV1CustomFieldsDefinitionsParams) SetPostV1CustomFieldsDefinitions(postV1CustomFieldsDefinitions *models.PostV1CustomFieldsDefinitions)

SetPostV1CustomFieldsDefinitions adds the postV1CustomFieldsDefinitions to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) WithContext

WithContext adds the context to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) WithDefaults

WithDefaults hydrates default values in the post v1 custom fields definitions params (not the query body).

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

func (*PostV1CustomFieldsDefinitionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) WithPostV1CustomFieldsDefinitions

func (o *PostV1CustomFieldsDefinitionsParams) WithPostV1CustomFieldsDefinitions(postV1CustomFieldsDefinitions *models.PostV1CustomFieldsDefinitions) *PostV1CustomFieldsDefinitionsParams

WithPostV1CustomFieldsDefinitions adds the postV1CustomFieldsDefinitions to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) WithTimeout

WithTimeout adds the timeout to the post v1 custom fields definitions params

func (*PostV1CustomFieldsDefinitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1CustomFieldsDefinitionsReader

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

PostV1CustomFieldsDefinitionsReader is a Reader for the PostV1CustomFieldsDefinitions structure.

func (*PostV1CustomFieldsDefinitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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