status_update_templates

package
v0.0.0-...-c0d51b7 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 status update templates API

func (*Client) DeleteV1StatusUpdateTemplatesStatusUpdateTemplateID

DeleteV1StatusUpdateTemplatesStatusUpdateTemplateID deletes a status update template

Delete a single status update template

func (*Client) GetV1StatusUpdateTemplates

func (a *Client) GetV1StatusUpdateTemplates(params *GetV1StatusUpdateTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1StatusUpdateTemplatesOK, error)

GetV1StatusUpdateTemplates lists all status update templates

List all status update templates for your organization

func (*Client) GetV1StatusUpdateTemplatesStatusUpdateTemplateID

GetV1StatusUpdateTemplatesStatusUpdateTemplateID gets a status update template

Get a single status update template by ID

func (*Client) PatchV1StatusUpdateTemplatesStatusUpdateTemplateID

PatchV1StatusUpdateTemplatesStatusUpdateTemplateID updates a status update template

Update a single status update template

func (*Client) PostV1StatusUpdateTemplates

func (a *Client) PostV1StatusUpdateTemplates(params *PostV1StatusUpdateTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1StatusUpdateTemplatesCreated, error)

PostV1StatusUpdateTemplates creates a status update template

Create a status update template for your organization

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

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new status update templates API client.

type DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

type DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK struct {
	Payload *models.StatusUpdateTemplateEntity
}

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

Delete a single status update template

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK() *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK creates a DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK with default headers values

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) Error

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) GetPayload

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsClientError

IsClientError returns true when this delete v1 status update templates status update template Id o k response has a 4xx status code

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsCode

IsCode returns true when this delete v1 status update templates status update template Id o k response a status code equal to that given

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsRedirect

IsRedirect returns true when this delete v1 status update templates status update template Id o k response has a 3xx status code

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsServerError

IsServerError returns true when this delete v1 status update templates status update template Id o k response has a 5xx status code

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsSuccess

IsSuccess returns true when this delete v1 status update templates status update template Id o k response has a 2xx status code

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) String

type DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

type DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams struct {

	// StatusUpdateTemplateID.
	//
	// Format: int32
	StatusUpdateTemplateID int32

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

DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams contains all the parameters to send to the API endpoint

for the delete v1 status update templates status update template Id operation.

Typically these are written to a http.Request.

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams() *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams creates a new DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams 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 NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext(ctx context.Context) *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext creates a new DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a context for a request.

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient(client *http.Client) *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient creates a new DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout

func NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout(timeout time.Duration) *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewDeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout creates a new DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a timeout on a request.

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetContext

SetContext adds the context to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 status update templates status update template Id params (not the query body).

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

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID

func (o *DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID(statusUpdateTemplateID int32)

SetStatusUpdateTemplateID adds the statusUpdateTemplateId to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithContext

WithContext adds the context to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 status update templates status update template Id params (not the query body).

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

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithStatusUpdateTemplateID

WithStatusUpdateTemplateID adds the statusUpdateTemplateID to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 status update templates status update template Id params

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDReader

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

DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDReader is a Reader for the DeleteV1StatusUpdateTemplatesStatusUpdateTemplateID structure.

func (*DeleteV1StatusUpdateTemplatesStatusUpdateTemplateIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV1StatusUpdateTemplatesOK

type GetV1StatusUpdateTemplatesOK struct {
	Payload *models.StatusUpdateTemplateEntity
}

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

List all status update templates for your organization

func NewGetV1StatusUpdateTemplatesOK

func NewGetV1StatusUpdateTemplatesOK() *GetV1StatusUpdateTemplatesOK

NewGetV1StatusUpdateTemplatesOK creates a GetV1StatusUpdateTemplatesOK with default headers values

func (*GetV1StatusUpdateTemplatesOK) Error

func (*GetV1StatusUpdateTemplatesOK) GetPayload

func (*GetV1StatusUpdateTemplatesOK) IsClientError

func (o *GetV1StatusUpdateTemplatesOK) IsClientError() bool

IsClientError returns true when this get v1 status update templates o k response has a 4xx status code

func (*GetV1StatusUpdateTemplatesOK) IsCode

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

IsCode returns true when this get v1 status update templates o k response a status code equal to that given

func (*GetV1StatusUpdateTemplatesOK) IsRedirect

func (o *GetV1StatusUpdateTemplatesOK) IsRedirect() bool

IsRedirect returns true when this get v1 status update templates o k response has a 3xx status code

func (*GetV1StatusUpdateTemplatesOK) IsServerError

func (o *GetV1StatusUpdateTemplatesOK) IsServerError() bool

IsServerError returns true when this get v1 status update templates o k response has a 5xx status code

func (*GetV1StatusUpdateTemplatesOK) IsSuccess

func (o *GetV1StatusUpdateTemplatesOK) IsSuccess() bool

IsSuccess returns true when this get v1 status update templates o k response has a 2xx status code

func (*GetV1StatusUpdateTemplatesOK) String

type GetV1StatusUpdateTemplatesParams

type GetV1StatusUpdateTemplatesParams struct {

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

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

GetV1StatusUpdateTemplatesParams contains all the parameters to send to the API endpoint

for the get v1 status update templates operation.

Typically these are written to a http.Request.

func NewGetV1StatusUpdateTemplatesParams

func NewGetV1StatusUpdateTemplatesParams() *GetV1StatusUpdateTemplatesParams

NewGetV1StatusUpdateTemplatesParams creates a new GetV1StatusUpdateTemplatesParams 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 NewGetV1StatusUpdateTemplatesParamsWithContext

func NewGetV1StatusUpdateTemplatesParamsWithContext(ctx context.Context) *GetV1StatusUpdateTemplatesParams

NewGetV1StatusUpdateTemplatesParamsWithContext creates a new GetV1StatusUpdateTemplatesParams object with the ability to set a context for a request.

func NewGetV1StatusUpdateTemplatesParamsWithHTTPClient

func NewGetV1StatusUpdateTemplatesParamsWithHTTPClient(client *http.Client) *GetV1StatusUpdateTemplatesParams

NewGetV1StatusUpdateTemplatesParamsWithHTTPClient creates a new GetV1StatusUpdateTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1StatusUpdateTemplatesParamsWithTimeout

func NewGetV1StatusUpdateTemplatesParamsWithTimeout(timeout time.Duration) *GetV1StatusUpdateTemplatesParams

NewGetV1StatusUpdateTemplatesParamsWithTimeout creates a new GetV1StatusUpdateTemplatesParams object with the ability to set a timeout on a request.

func (*GetV1StatusUpdateTemplatesParams) SetContext

SetContext adds the context to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) SetDefaults

func (o *GetV1StatusUpdateTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the get v1 status update templates params (not the query body).

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

func (*GetV1StatusUpdateTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) SetPage

func (o *GetV1StatusUpdateTemplatesParams) SetPage(page *int32)

SetPage adds the page to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) SetPerPage

func (o *GetV1StatusUpdateTemplatesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WithContext

WithContext adds the context to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WithDefaults

WithDefaults hydrates default values in the get v1 status update templates params (not the query body).

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

func (*GetV1StatusUpdateTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WithPage

WithPage adds the page to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WithPerPage

WithPerPage adds the perPage to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WithTimeout

WithTimeout adds the timeout to the get v1 status update templates params

func (*GetV1StatusUpdateTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1StatusUpdateTemplatesReader

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

GetV1StatusUpdateTemplatesReader is a Reader for the GetV1StatusUpdateTemplates structure.

func (*GetV1StatusUpdateTemplatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

type GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK struct {
	Payload *models.StatusUpdateTemplateEntity
}

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

Get a single status update template by ID

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK() *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK creates a GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK with default headers values

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) Error

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) GetPayload

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsClientError

IsClientError returns true when this get v1 status update templates status update template Id o k response has a 4xx status code

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsCode

IsCode returns true when this get v1 status update templates status update template Id o k response a status code equal to that given

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsRedirect

IsRedirect returns true when this get v1 status update templates status update template Id o k response has a 3xx status code

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsServerError

IsServerError returns true when this get v1 status update templates status update template Id o k response has a 5xx status code

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsSuccess

IsSuccess returns true when this get v1 status update templates status update template Id o k response has a 2xx status code

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) String

type GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

type GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams struct {

	// StatusUpdateTemplateID.
	StatusUpdateTemplateID string

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

GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams contains all the parameters to send to the API endpoint

for the get v1 status update templates status update template Id operation.

Typically these are written to a http.Request.

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams() *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams creates a new GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams 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 NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext(ctx context.Context) *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext creates a new GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a context for a request.

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient(client *http.Client) *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient creates a new GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout

func NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout(timeout time.Duration) *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewGetV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout creates a new GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a timeout on a request.

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetContext

SetContext adds the context to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 status update templates status update template Id params (not the query body).

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

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID

func (o *GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID(statusUpdateTemplateID string)

SetStatusUpdateTemplateID adds the statusUpdateTemplateId to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithContext

WithContext adds the context to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 status update templates status update template Id params (not the query body).

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

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithStatusUpdateTemplateID

WithStatusUpdateTemplateID adds the statusUpdateTemplateID to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 status update templates status update template Id params

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1StatusUpdateTemplatesStatusUpdateTemplateIDReader

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

GetV1StatusUpdateTemplatesStatusUpdateTemplateIDReader is a Reader for the GetV1StatusUpdateTemplatesStatusUpdateTemplateID structure.

func (*GetV1StatusUpdateTemplatesStatusUpdateTemplateIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

type PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK struct {
	Payload *models.StatusUpdateTemplateEntity
}

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

Update a single status update template

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK() *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK

NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK creates a PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK with default headers values

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) Error

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) GetPayload

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsClientError

IsClientError returns true when this patch v1 status update templates status update template Id o k response has a 4xx status code

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsCode

IsCode returns true when this patch v1 status update templates status update template Id o k response a status code equal to that given

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsRedirect

IsRedirect returns true when this patch v1 status update templates status update template Id o k response has a 3xx status code

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsServerError

IsServerError returns true when this patch v1 status update templates status update template Id o k response has a 5xx status code

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) IsSuccess

IsSuccess returns true when this patch v1 status update templates status update template Id o k response has a 2xx status code

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDOK) String

type PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

type PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams struct {

	// PatchV1StatusUpdateTemplatesStatusUpdateTemplateID.
	PatchV1StatusUpdateTemplatesStatusUpdateTemplateID *models.PatchV1StatusUpdateTemplatesStatusUpdateTemplateID

	// StatusUpdateTemplateID.
	//
	// Format: int32
	StatusUpdateTemplateID int32

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

PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams contains all the parameters to send to the API endpoint

for the patch v1 status update templates status update template Id operation.

Typically these are written to a http.Request.

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams() *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams creates a new PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams 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 NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext(ctx context.Context) *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithContext creates a new PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a context for a request.

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient(client *http.Client) *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithHTTPClient creates a new PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout

func NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout(timeout time.Duration) *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

NewPatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParamsWithTimeout creates a new PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams object with the ability to set a timeout on a request.

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetContext

SetContext adds the context to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 status update templates status update template Id params (not the query body).

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

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetPatchV1StatusUpdateTemplatesStatusUpdateTemplateID

func (o *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetPatchV1StatusUpdateTemplatesStatusUpdateTemplateID(patchV1StatusUpdateTemplatesStatusUpdateTemplateID *models.PatchV1StatusUpdateTemplatesStatusUpdateTemplateID)

SetPatchV1StatusUpdateTemplatesStatusUpdateTemplateID adds the patchV1StatusUpdateTemplatesStatusUpdateTemplateId to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID

func (o *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetStatusUpdateTemplateID(statusUpdateTemplateID int32)

SetStatusUpdateTemplateID adds the statusUpdateTemplateId to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithContext

WithContext adds the context to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 status update templates status update template Id params (not the query body).

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

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithPatchV1StatusUpdateTemplatesStatusUpdateTemplateID

func (o *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithPatchV1StatusUpdateTemplatesStatusUpdateTemplateID(patchV1StatusUpdateTemplatesStatusUpdateTemplateID *models.PatchV1StatusUpdateTemplatesStatusUpdateTemplateID) *PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams

WithPatchV1StatusUpdateTemplatesStatusUpdateTemplateID adds the patchV1StatusUpdateTemplatesStatusUpdateTemplateID to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithStatusUpdateTemplateID

WithStatusUpdateTemplateID adds the statusUpdateTemplateID to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 status update templates status update template Id params

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDReader

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

PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDReader is a Reader for the PatchV1StatusUpdateTemplatesStatusUpdateTemplateID structure.

func (*PatchV1StatusUpdateTemplatesStatusUpdateTemplateIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1StatusUpdateTemplatesCreated

type PostV1StatusUpdateTemplatesCreated struct {
	Payload *models.StatusUpdateTemplateEntity
}

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

Create a status update template for your organization

func NewPostV1StatusUpdateTemplatesCreated

func NewPostV1StatusUpdateTemplatesCreated() *PostV1StatusUpdateTemplatesCreated

NewPostV1StatusUpdateTemplatesCreated creates a PostV1StatusUpdateTemplatesCreated with default headers values

func (*PostV1StatusUpdateTemplatesCreated) Error

func (*PostV1StatusUpdateTemplatesCreated) GetPayload

func (*PostV1StatusUpdateTemplatesCreated) IsClientError

func (o *PostV1StatusUpdateTemplatesCreated) IsClientError() bool

IsClientError returns true when this post v1 status update templates created response has a 4xx status code

func (*PostV1StatusUpdateTemplatesCreated) IsCode

IsCode returns true when this post v1 status update templates created response a status code equal to that given

func (*PostV1StatusUpdateTemplatesCreated) IsRedirect

func (o *PostV1StatusUpdateTemplatesCreated) IsRedirect() bool

IsRedirect returns true when this post v1 status update templates created response has a 3xx status code

func (*PostV1StatusUpdateTemplatesCreated) IsServerError

func (o *PostV1StatusUpdateTemplatesCreated) IsServerError() bool

IsServerError returns true when this post v1 status update templates created response has a 5xx status code

func (*PostV1StatusUpdateTemplatesCreated) IsSuccess

IsSuccess returns true when this post v1 status update templates created response has a 2xx status code

func (*PostV1StatusUpdateTemplatesCreated) String

type PostV1StatusUpdateTemplatesParams

type PostV1StatusUpdateTemplatesParams struct {

	// PostV1StatusUpdateTemplates.
	PostV1StatusUpdateTemplates *models.PostV1StatusUpdateTemplates

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

PostV1StatusUpdateTemplatesParams contains all the parameters to send to the API endpoint

for the post v1 status update templates operation.

Typically these are written to a http.Request.

func NewPostV1StatusUpdateTemplatesParams

func NewPostV1StatusUpdateTemplatesParams() *PostV1StatusUpdateTemplatesParams

NewPostV1StatusUpdateTemplatesParams creates a new PostV1StatusUpdateTemplatesParams 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 NewPostV1StatusUpdateTemplatesParamsWithContext

func NewPostV1StatusUpdateTemplatesParamsWithContext(ctx context.Context) *PostV1StatusUpdateTemplatesParams

NewPostV1StatusUpdateTemplatesParamsWithContext creates a new PostV1StatusUpdateTemplatesParams object with the ability to set a context for a request.

func NewPostV1StatusUpdateTemplatesParamsWithHTTPClient

func NewPostV1StatusUpdateTemplatesParamsWithHTTPClient(client *http.Client) *PostV1StatusUpdateTemplatesParams

NewPostV1StatusUpdateTemplatesParamsWithHTTPClient creates a new PostV1StatusUpdateTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1StatusUpdateTemplatesParamsWithTimeout

func NewPostV1StatusUpdateTemplatesParamsWithTimeout(timeout time.Duration) *PostV1StatusUpdateTemplatesParams

NewPostV1StatusUpdateTemplatesParamsWithTimeout creates a new PostV1StatusUpdateTemplatesParams object with the ability to set a timeout on a request.

func (*PostV1StatusUpdateTemplatesParams) SetContext

SetContext adds the context to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) SetDefaults

func (o *PostV1StatusUpdateTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the post v1 status update templates params (not the query body).

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

func (*PostV1StatusUpdateTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) SetPostV1StatusUpdateTemplates

func (o *PostV1StatusUpdateTemplatesParams) SetPostV1StatusUpdateTemplates(postV1StatusUpdateTemplates *models.PostV1StatusUpdateTemplates)

SetPostV1StatusUpdateTemplates adds the postV1StatusUpdateTemplates to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) WithContext

WithContext adds the context to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) WithDefaults

WithDefaults hydrates default values in the post v1 status update templates params (not the query body).

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

func (*PostV1StatusUpdateTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) WithPostV1StatusUpdateTemplates

func (o *PostV1StatusUpdateTemplatesParams) WithPostV1StatusUpdateTemplates(postV1StatusUpdateTemplates *models.PostV1StatusUpdateTemplates) *PostV1StatusUpdateTemplatesParams

WithPostV1StatusUpdateTemplates adds the postV1StatusUpdateTemplates to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) WithTimeout

WithTimeout adds the timeout to the post v1 status update templates params

func (*PostV1StatusUpdateTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1StatusUpdateTemplatesReader

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

PostV1StatusUpdateTemplatesReader is a Reader for the PostV1StatusUpdateTemplates structure.

func (*PostV1StatusUpdateTemplatesReader) ReadResponse

func (o *PostV1StatusUpdateTemplatesReader) 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