Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteV1CustomFieldsDefinitionsFieldID(params *DeleteV1CustomFieldsDefinitionsFieldIDParams, ...) (*DeleteV1CustomFieldsDefinitionsFieldIDOK, error)
- func (a *Client) GetV1CustomFieldsDefinitions(params *GetV1CustomFieldsDefinitionsParams, ...) (*GetV1CustomFieldsDefinitionsOK, error)
- func (a *Client) GetV1CustomFieldsDefinitionsFieldIDSelectOptions(params *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams, ...) (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK, error)
- func (a *Client) PatchV1CustomFieldsDefinitionsFieldID(params *PatchV1CustomFieldsDefinitionsFieldIDParams, ...) (*PatchV1CustomFieldsDefinitionsFieldIDOK, error)
- func (a *Client) PostV1CustomFieldsDefinitions(params *PostV1CustomFieldsDefinitionsParams, ...) (*PostV1CustomFieldsDefinitionsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1CustomFieldsDefinitionsFieldIDOK
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) Error() string
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsClientError() bool
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsCode(code int) bool
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsRedirect() bool
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsServerError() bool
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsSuccess() bool
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) String() string
- type DeleteV1CustomFieldsDefinitionsFieldIDParams
- func NewDeleteV1CustomFieldsDefinitionsFieldIDParams() *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithContext(ctx context.Context) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient(client *http.Client) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func NewDeleteV1CustomFieldsDefinitionsFieldIDParamsWithTimeout(timeout time.Duration) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetDefaults()
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetFieldID(fieldID string)
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithContext(ctx context.Context) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithDefaults() *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithFieldID(fieldID string) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient(client *http.Client) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithTimeout(timeout time.Duration) *DeleteV1CustomFieldsDefinitionsFieldIDParams
- func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1CustomFieldsDefinitionsFieldIDReader
- type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) Error() string
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsClientError() bool
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsCode(code int) bool
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsRedirect() bool
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsServerError() bool
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsSuccess() bool
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) String() string
- type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams() *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func NewGetV1CustomFieldsDefinitionsFieldIDSelectOptionsParamsWithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetAllVersions(allVersions *bool)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetContext(ctx context.Context)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetDefaults()
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetFieldID(fieldID string)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetQuery(query *string)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithAllVersions(allVersions *bool) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithDefaults() *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithFieldID(fieldID string) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithQuery(query *string) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
- func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsReader
- type GetV1CustomFieldsDefinitionsOK
- func (o *GetV1CustomFieldsDefinitionsOK) Error() string
- func (o *GetV1CustomFieldsDefinitionsOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
- func (o *GetV1CustomFieldsDefinitionsOK) IsClientError() bool
- func (o *GetV1CustomFieldsDefinitionsOK) IsCode(code int) bool
- func (o *GetV1CustomFieldsDefinitionsOK) IsRedirect() bool
- func (o *GetV1CustomFieldsDefinitionsOK) IsServerError() bool
- func (o *GetV1CustomFieldsDefinitionsOK) IsSuccess() bool
- func (o *GetV1CustomFieldsDefinitionsOK) String() string
- type GetV1CustomFieldsDefinitionsParams
- func NewGetV1CustomFieldsDefinitionsParams() *GetV1CustomFieldsDefinitionsParams
- func NewGetV1CustomFieldsDefinitionsParamsWithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsParams
- func NewGetV1CustomFieldsDefinitionsParamsWithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsParams
- func NewGetV1CustomFieldsDefinitionsParamsWithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsParams
- func (o *GetV1CustomFieldsDefinitionsParams) SetContext(ctx context.Context)
- func (o *GetV1CustomFieldsDefinitionsParams) SetDefaults()
- func (o *GetV1CustomFieldsDefinitionsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CustomFieldsDefinitionsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CustomFieldsDefinitionsParams) WithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsParams
- func (o *GetV1CustomFieldsDefinitionsParams) WithDefaults() *GetV1CustomFieldsDefinitionsParams
- func (o *GetV1CustomFieldsDefinitionsParams) WithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsParams
- func (o *GetV1CustomFieldsDefinitionsParams) WithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsParams
- func (o *GetV1CustomFieldsDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CustomFieldsDefinitionsReader
- type PatchV1CustomFieldsDefinitionsFieldIDOK
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) Error() string
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsClientError() bool
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsCode(code int) bool
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsRedirect() bool
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsServerError() bool
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsSuccess() bool
- func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) String() string
- type PatchV1CustomFieldsDefinitionsFieldIDParams
- func NewPatchV1CustomFieldsDefinitionsFieldIDParams() *PatchV1CustomFieldsDefinitionsFieldIDParams
- func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithContext(ctx context.Context) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithHTTPClient(client *http.Client) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func NewPatchV1CustomFieldsDefinitionsFieldIDParamsWithTimeout(timeout time.Duration) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetContext(ctx context.Context)
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetDefaults()
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetFieldID(fieldID string)
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetPatchV1CustomFieldsDefinitionsFieldID(...)
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithContext(ctx context.Context) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithDefaults() *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithFieldID(fieldID string) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient(client *http.Client) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithPatchV1CustomFieldsDefinitionsFieldID(...) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithTimeout(timeout time.Duration) *PatchV1CustomFieldsDefinitionsFieldIDParams
- func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1CustomFieldsDefinitionsFieldIDReader
- type PostV1CustomFieldsDefinitionsCreated
- func (o *PostV1CustomFieldsDefinitionsCreated) Error() string
- func (o *PostV1CustomFieldsDefinitionsCreated) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
- func (o *PostV1CustomFieldsDefinitionsCreated) IsClientError() bool
- func (o *PostV1CustomFieldsDefinitionsCreated) IsCode(code int) bool
- func (o *PostV1CustomFieldsDefinitionsCreated) IsRedirect() bool
- func (o *PostV1CustomFieldsDefinitionsCreated) IsServerError() bool
- func (o *PostV1CustomFieldsDefinitionsCreated) IsSuccess() bool
- func (o *PostV1CustomFieldsDefinitionsCreated) String() string
- type PostV1CustomFieldsDefinitionsParams
- func NewPostV1CustomFieldsDefinitionsParams() *PostV1CustomFieldsDefinitionsParams
- func NewPostV1CustomFieldsDefinitionsParamsWithContext(ctx context.Context) *PostV1CustomFieldsDefinitionsParams
- func NewPostV1CustomFieldsDefinitionsParamsWithHTTPClient(client *http.Client) *PostV1CustomFieldsDefinitionsParams
- func NewPostV1CustomFieldsDefinitionsParamsWithTimeout(timeout time.Duration) *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) SetContext(ctx context.Context)
- func (o *PostV1CustomFieldsDefinitionsParams) SetDefaults()
- func (o *PostV1CustomFieldsDefinitionsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1CustomFieldsDefinitionsParams) SetPostV1CustomFieldsDefinitions(postV1CustomFieldsDefinitions *models.PostV1CustomFieldsDefinitions)
- func (o *PostV1CustomFieldsDefinitionsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1CustomFieldsDefinitionsParams) WithContext(ctx context.Context) *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) WithDefaults() *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) WithHTTPClient(client *http.Client) *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) WithPostV1CustomFieldsDefinitions(postV1CustomFieldsDefinitions *models.PostV1CustomFieldsDefinitions) *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) WithTimeout(timeout time.Duration) *PostV1CustomFieldsDefinitionsParams
- func (o *PostV1CustomFieldsDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1CustomFieldsDefinitionsReader
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 ¶
func (a *Client) DeleteV1CustomFieldsDefinitionsFieldID(params *DeleteV1CustomFieldsDefinitionsFieldIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1CustomFieldsDefinitionsFieldIDOK, error)
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 ¶
func (a *Client) GetV1CustomFieldsDefinitionsFieldIDSelectOptions(params *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK, error)
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 ¶
func (a *Client) PostV1CustomFieldsDefinitions(params *PostV1CustomFieldsDefinitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1CustomFieldsDefinitionsCreated, error)
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 (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) Error() string
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) GetPayload ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsClientError ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsClientError() bool
IsClientError returns true when this delete v1 custom fields definitions field Id o k response has a 4xx status code
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsCode ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsCode(code int) bool
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 ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 custom fields definitions field Id o k response has a 3xx status code
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsServerError ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsServerError() bool
IsServerError returns true when this delete v1 custom fields definitions field Id o k response has a 5xx status code
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) IsSuccess ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 custom fields definitions field Id o k response has a 2xx status code
func (*DeleteV1CustomFieldsDefinitionsFieldIDOK) String ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDOK) String() string
type DeleteV1CustomFieldsDefinitionsFieldIDParams ¶
type DeleteV1CustomFieldsDefinitionsFieldIDParams struct { // FieldID. 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 ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetFieldID(fieldID string)
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 ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithContext ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithContext(ctx context.Context) *DeleteV1CustomFieldsDefinitionsFieldIDParams
WithContext adds the context to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithDefaults ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithDefaults() *DeleteV1CustomFieldsDefinitionsFieldIDParams
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 ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithFieldID(fieldID string) *DeleteV1CustomFieldsDefinitionsFieldIDParams
WithFieldID adds the fieldID to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient(client *http.Client) *DeleteV1CustomFieldsDefinitionsFieldIDParams
WithHTTPClient adds the HTTPClient to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WithTimeout ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WithTimeout(timeout time.Duration) *DeleteV1CustomFieldsDefinitionsFieldIDParams
WithTimeout adds the timeout to the delete v1 custom fields definitions field Id params
func (*DeleteV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest ¶
func (o *DeleteV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) Error() string
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) GetPayload ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsClientError ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsClientError() bool
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsCode(code int) bool
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsRedirect() bool
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsServerError() bool
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) IsSuccess() bool
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsOK) String() string
type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams ¶
type GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams struct { /* AllVersions. If true, return all versions of the custom field definition. */ AllVersions *bool // FieldID. 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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetFieldID(fieldID string)
SetFieldID adds the fieldId to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetHTTPClient ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetQuery ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetQuery(query *string)
SetQuery adds the query to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetTimeout ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithAllVersions ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithAllVersions(allVersions *bool) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithAllVersions adds the allVersions to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithContext ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithContext adds the context to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithDefaults ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithDefaults() *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
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 ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithFieldID(fieldID string) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithFieldID adds the fieldID to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithHTTPClient ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithHTTPClient adds the HTTPClient to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithQuery ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithQuery(query *string) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithQuery adds the query to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithTimeout ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams
WithTimeout adds the timeout to the get v1 custom fields definitions field Id select options params
func (*GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WriteToRequest ¶
func (o *GetV1CustomFieldsDefinitionsFieldIDSelectOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1CustomFieldsDefinitionsOK) Error() string
func (*GetV1CustomFieldsDefinitionsOK) GetPayload ¶
func (o *GetV1CustomFieldsDefinitionsOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
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 ¶
func (o *GetV1CustomFieldsDefinitionsOK) String() 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 ¶
func (o *GetV1CustomFieldsDefinitionsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetV1CustomFieldsDefinitionsParams) WithContext(ctx context.Context) *GetV1CustomFieldsDefinitionsParams
WithContext adds the context to the get v1 custom fields definitions params
func (*GetV1CustomFieldsDefinitionsParams) WithDefaults ¶
func (o *GetV1CustomFieldsDefinitionsParams) WithDefaults() *GetV1CustomFieldsDefinitionsParams
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 ¶
func (o *GetV1CustomFieldsDefinitionsParams) WithHTTPClient(client *http.Client) *GetV1CustomFieldsDefinitionsParams
WithHTTPClient adds the HTTPClient to the get v1 custom fields definitions params
func (*GetV1CustomFieldsDefinitionsParams) WithTimeout ¶
func (o *GetV1CustomFieldsDefinitionsParams) WithTimeout(timeout time.Duration) *GetV1CustomFieldsDefinitionsParams
WithTimeout adds the timeout to the get v1 custom fields definitions params
func (*GetV1CustomFieldsDefinitionsParams) WriteToRequest ¶
func (o *GetV1CustomFieldsDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PatchV1CustomFieldsDefinitionsFieldIDOK) Error() string
func (*PatchV1CustomFieldsDefinitionsFieldIDOK) GetPayload ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsCode(code int) bool
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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsRedirect() bool
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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 custom fields definitions field Id o k response has a 2xx status code
func (*PatchV1CustomFieldsDefinitionsFieldIDOK) String ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDOK) String() 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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 custom fields definitions field Id params
func (*PatchV1CustomFieldsDefinitionsFieldIDParams) SetDefaults ¶
func (o *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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 custom fields definitions field Id params
func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithContext ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithContext(ctx context.Context) *PatchV1CustomFieldsDefinitionsFieldIDParams
WithContext adds the context to the patch v1 custom fields definitions field Id params
func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithDefaults ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithDefaults() *PatchV1CustomFieldsDefinitionsFieldIDParams
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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithFieldID(fieldID string) *PatchV1CustomFieldsDefinitionsFieldIDParams
WithFieldID adds the fieldID to the patch v1 custom fields definitions field Id params
func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithHTTPClient(client *http.Client) *PatchV1CustomFieldsDefinitionsFieldIDParams
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 ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WithTimeout(timeout time.Duration) *PatchV1CustomFieldsDefinitionsFieldIDParams
WithTimeout adds the timeout to the patch v1 custom fields definitions field Id params
func (*PatchV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest ¶
func (o *PatchV1CustomFieldsDefinitionsFieldIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostV1CustomFieldsDefinitionsCreated) Error() string
func (*PostV1CustomFieldsDefinitionsCreated) GetPayload ¶
func (o *PostV1CustomFieldsDefinitionsCreated) GetPayload() *models.OrganizationsCustomFieldDefinitionEntity
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 ¶
func (o *PostV1CustomFieldsDefinitionsCreated) IsCode(code int) bool
IsCode returns true when this post v1 custom fields definitions created response a status code equal to that given
func (*PostV1CustomFieldsDefinitionsCreated) IsRedirect ¶
func (o *PostV1CustomFieldsDefinitionsCreated) IsRedirect() bool
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 ¶
func (o *PostV1CustomFieldsDefinitionsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 custom fields definitions created response has a 2xx status code
func (*PostV1CustomFieldsDefinitionsCreated) String ¶
func (o *PostV1CustomFieldsDefinitionsCreated) String() 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 ¶
func (o *PostV1CustomFieldsDefinitionsParams) SetContext(ctx context.Context)
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 ¶
func (o *PostV1CustomFieldsDefinitionsParams) WithContext(ctx context.Context) *PostV1CustomFieldsDefinitionsParams
WithContext adds the context to the post v1 custom fields definitions params
func (*PostV1CustomFieldsDefinitionsParams) WithDefaults ¶
func (o *PostV1CustomFieldsDefinitionsParams) WithDefaults() *PostV1CustomFieldsDefinitionsParams
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 ¶
func (o *PostV1CustomFieldsDefinitionsParams) WithHTTPClient(client *http.Client) *PostV1CustomFieldsDefinitionsParams
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 ¶
func (o *PostV1CustomFieldsDefinitionsParams) WithTimeout(timeout time.Duration) *PostV1CustomFieldsDefinitionsParams
WithTimeout adds the timeout to the post v1 custom fields definitions params
func (*PostV1CustomFieldsDefinitionsParams) WriteToRequest ¶
func (o *PostV1CustomFieldsDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- custom_fields_client.go
- delete_v1_custom_fields_definitions_field_id_parameters.go
- delete_v1_custom_fields_definitions_field_id_responses.go
- get_v1_custom_fields_definitions_field_id_select_options_parameters.go
- get_v1_custom_fields_definitions_field_id_select_options_responses.go
- get_v1_custom_fields_definitions_parameters.go
- get_v1_custom_fields_definitions_responses.go
- patch_v1_custom_fields_definitions_field_id_parameters.go
- patch_v1_custom_fields_definitions_field_id_responses.go
- post_v1_custom_fields_definitions_parameters.go
- post_v1_custom_fields_definitions_responses.go