support_contact

package
v0.0.0-...-8ce13f6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 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 support contact API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SupportContactAdd

func (a *Client) SupportContactAdd(params *SupportContactAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactAddOK, error)

SupportContactAdd adds a support contact record to alfabet

Add a supportContact record to Alfabet. This interface takes in id, application id, name, title, url, phone and email.

func (*Client) SupportContactDeleteList

func (a *Client) SupportContactDeleteList(params *SupportContactDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactDeleteListOK, error)

SupportContactDeleteList deletes a list of support contacts by ID

Delete a list of supportContacts record to Alfabet. This interface takes an array of supportContact id's.

func (*Client) SupportContactFindList

func (a *Client) SupportContactFindList(params *SupportContactFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactFindListOK, error)

SupportContactFindList retrieves a list of support contacts based on the inputs passed in

Retrieve a list of supportContact records to Alfabet. This interface takes in id, application id, name, title, url, phone and email.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SupportContactAdd(params *SupportContactAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactAddOK, error)

	SupportContactDeleteList(params *SupportContactDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactDeleteListOK, error)

	SupportContactFindList(params *SupportContactFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportContactFindListOK, 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 support contact API client.

type SupportContactAddBadRequest

type SupportContactAddBadRequest struct {
	Payload *models.Response
}

SupportContactAddBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSupportContactAddBadRequest

func NewSupportContactAddBadRequest() *SupportContactAddBadRequest

NewSupportContactAddBadRequest creates a SupportContactAddBadRequest with default headers values

func (*SupportContactAddBadRequest) Code

func (o *SupportContactAddBadRequest) Code() int

Code gets the status code for the support contact add bad request response

func (*SupportContactAddBadRequest) Error

func (*SupportContactAddBadRequest) GetPayload

func (o *SupportContactAddBadRequest) GetPayload() *models.Response

func (*SupportContactAddBadRequest) IsClientError

func (o *SupportContactAddBadRequest) IsClientError() bool

IsClientError returns true when this support contact add bad request response has a 4xx status code

func (*SupportContactAddBadRequest) IsCode

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

IsCode returns true when this support contact add bad request response a status code equal to that given

func (*SupportContactAddBadRequest) IsRedirect

func (o *SupportContactAddBadRequest) IsRedirect() bool

IsRedirect returns true when this support contact add bad request response has a 3xx status code

func (*SupportContactAddBadRequest) IsServerError

func (o *SupportContactAddBadRequest) IsServerError() bool

IsServerError returns true when this support contact add bad request response has a 5xx status code

func (*SupportContactAddBadRequest) IsSuccess

func (o *SupportContactAddBadRequest) IsSuccess() bool

IsSuccess returns true when this support contact add bad request response has a 2xx status code

func (*SupportContactAddBadRequest) String

func (o *SupportContactAddBadRequest) String() string

type SupportContactAddInternalServerError

type SupportContactAddInternalServerError struct {
	Payload *models.Response
}

SupportContactAddInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewSupportContactAddInternalServerError

func NewSupportContactAddInternalServerError() *SupportContactAddInternalServerError

NewSupportContactAddInternalServerError creates a SupportContactAddInternalServerError with default headers values

func (*SupportContactAddInternalServerError) Code

Code gets the status code for the support contact add internal server error response

func (*SupportContactAddInternalServerError) Error

func (*SupportContactAddInternalServerError) GetPayload

func (*SupportContactAddInternalServerError) IsClientError

func (o *SupportContactAddInternalServerError) IsClientError() bool

IsClientError returns true when this support contact add internal server error response has a 4xx status code

func (*SupportContactAddInternalServerError) IsCode

IsCode returns true when this support contact add internal server error response a status code equal to that given

func (*SupportContactAddInternalServerError) IsRedirect

IsRedirect returns true when this support contact add internal server error response has a 3xx status code

func (*SupportContactAddInternalServerError) IsServerError

func (o *SupportContactAddInternalServerError) IsServerError() bool

IsServerError returns true when this support contact add internal server error response has a 5xx status code

func (*SupportContactAddInternalServerError) IsSuccess

IsSuccess returns true when this support contact add internal server error response has a 2xx status code

func (*SupportContactAddInternalServerError) String

type SupportContactAddOK

type SupportContactAddOK struct {
	Payload *models.Response
}

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

OK

func NewSupportContactAddOK

func NewSupportContactAddOK() *SupportContactAddOK

NewSupportContactAddOK creates a SupportContactAddOK with default headers values

func (*SupportContactAddOK) Code

func (o *SupportContactAddOK) Code() int

Code gets the status code for the support contact add o k response

func (*SupportContactAddOK) Error

func (o *SupportContactAddOK) Error() string

func (*SupportContactAddOK) GetPayload

func (o *SupportContactAddOK) GetPayload() *models.Response

func (*SupportContactAddOK) IsClientError

func (o *SupportContactAddOK) IsClientError() bool

IsClientError returns true when this support contact add o k response has a 4xx status code

func (*SupportContactAddOK) IsCode

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

IsCode returns true when this support contact add o k response a status code equal to that given

func (*SupportContactAddOK) IsRedirect

func (o *SupportContactAddOK) IsRedirect() bool

IsRedirect returns true when this support contact add o k response has a 3xx status code

func (*SupportContactAddOK) IsServerError

func (o *SupportContactAddOK) IsServerError() bool

IsServerError returns true when this support contact add o k response has a 5xx status code

func (*SupportContactAddOK) IsSuccess

func (o *SupportContactAddOK) IsSuccess() bool

IsSuccess returns true when this support contact add o k response has a 2xx status code

func (*SupportContactAddOK) String

func (o *SupportContactAddOK) String() string

type SupportContactAddParams

type SupportContactAddParams struct {

	/* Body.

	   supportContact information to be added to Alfabet.
	*/
	Body *models.SupportContactAddRequest

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

SupportContactAddParams contains all the parameters to send to the API endpoint

for the support contact add operation.

Typically these are written to a http.Request.

func NewSupportContactAddParams

func NewSupportContactAddParams() *SupportContactAddParams

NewSupportContactAddParams creates a new SupportContactAddParams 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 NewSupportContactAddParamsWithContext

func NewSupportContactAddParamsWithContext(ctx context.Context) *SupportContactAddParams

NewSupportContactAddParamsWithContext creates a new SupportContactAddParams object with the ability to set a context for a request.

func NewSupportContactAddParamsWithHTTPClient

func NewSupportContactAddParamsWithHTTPClient(client *http.Client) *SupportContactAddParams

NewSupportContactAddParamsWithHTTPClient creates a new SupportContactAddParams object with the ability to set a custom HTTPClient for a request.

func NewSupportContactAddParamsWithTimeout

func NewSupportContactAddParamsWithTimeout(timeout time.Duration) *SupportContactAddParams

NewSupportContactAddParamsWithTimeout creates a new SupportContactAddParams object with the ability to set a timeout on a request.

func (*SupportContactAddParams) SetBody

SetBody adds the body to the support contact add params

func (*SupportContactAddParams) SetContext

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

SetContext adds the context to the support contact add params

func (*SupportContactAddParams) SetDefaults

func (o *SupportContactAddParams) SetDefaults()

SetDefaults hydrates default values in the support contact add params (not the query body).

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

func (*SupportContactAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the support contact add params

func (*SupportContactAddParams) SetTimeout

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

SetTimeout adds the timeout to the support contact add params

func (*SupportContactAddParams) WithBody

WithBody adds the body to the support contact add params

func (*SupportContactAddParams) WithContext

WithContext adds the context to the support contact add params

func (*SupportContactAddParams) WithDefaults

WithDefaults hydrates default values in the support contact add params (not the query body).

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

func (*SupportContactAddParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the support contact add params

func (*SupportContactAddParams) WithTimeout

WithTimeout adds the timeout to the support contact add params

func (*SupportContactAddParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupportContactAddReader

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

SupportContactAddReader is a Reader for the SupportContactAdd structure.

func (*SupportContactAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportContactAddUnauthorized

type SupportContactAddUnauthorized struct {
	Payload *models.Response
}

SupportContactAddUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewSupportContactAddUnauthorized

func NewSupportContactAddUnauthorized() *SupportContactAddUnauthorized

NewSupportContactAddUnauthorized creates a SupportContactAddUnauthorized with default headers values

func (*SupportContactAddUnauthorized) Code

Code gets the status code for the support contact add unauthorized response

func (*SupportContactAddUnauthorized) Error

func (*SupportContactAddUnauthorized) GetPayload

func (*SupportContactAddUnauthorized) IsClientError

func (o *SupportContactAddUnauthorized) IsClientError() bool

IsClientError returns true when this support contact add unauthorized response has a 4xx status code

func (*SupportContactAddUnauthorized) IsCode

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

IsCode returns true when this support contact add unauthorized response a status code equal to that given

func (*SupportContactAddUnauthorized) IsRedirect

func (o *SupportContactAddUnauthorized) IsRedirect() bool

IsRedirect returns true when this support contact add unauthorized response has a 3xx status code

func (*SupportContactAddUnauthorized) IsServerError

func (o *SupportContactAddUnauthorized) IsServerError() bool

IsServerError returns true when this support contact add unauthorized response has a 5xx status code

func (*SupportContactAddUnauthorized) IsSuccess

func (o *SupportContactAddUnauthorized) IsSuccess() bool

IsSuccess returns true when this support contact add unauthorized response has a 2xx status code

func (*SupportContactAddUnauthorized) String

type SupportContactDeleteListBadRequest

type SupportContactDeleteListBadRequest struct {
	Payload *models.Response
}

SupportContactDeleteListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSupportContactDeleteListBadRequest

func NewSupportContactDeleteListBadRequest() *SupportContactDeleteListBadRequest

NewSupportContactDeleteListBadRequest creates a SupportContactDeleteListBadRequest with default headers values

func (*SupportContactDeleteListBadRequest) Code

Code gets the status code for the support contact delete list bad request response

func (*SupportContactDeleteListBadRequest) Error

func (*SupportContactDeleteListBadRequest) GetPayload

func (*SupportContactDeleteListBadRequest) IsClientError

func (o *SupportContactDeleteListBadRequest) IsClientError() bool

IsClientError returns true when this support contact delete list bad request response has a 4xx status code

func (*SupportContactDeleteListBadRequest) IsCode

IsCode returns true when this support contact delete list bad request response a status code equal to that given

func (*SupportContactDeleteListBadRequest) IsRedirect

func (o *SupportContactDeleteListBadRequest) IsRedirect() bool

IsRedirect returns true when this support contact delete list bad request response has a 3xx status code

func (*SupportContactDeleteListBadRequest) IsServerError

func (o *SupportContactDeleteListBadRequest) IsServerError() bool

IsServerError returns true when this support contact delete list bad request response has a 5xx status code

func (*SupportContactDeleteListBadRequest) IsSuccess

IsSuccess returns true when this support contact delete list bad request response has a 2xx status code

func (*SupportContactDeleteListBadRequest) String

type SupportContactDeleteListInternalServerError

type SupportContactDeleteListInternalServerError struct {
	Payload *models.Response
}

SupportContactDeleteListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewSupportContactDeleteListInternalServerError

func NewSupportContactDeleteListInternalServerError() *SupportContactDeleteListInternalServerError

NewSupportContactDeleteListInternalServerError creates a SupportContactDeleteListInternalServerError with default headers values

func (*SupportContactDeleteListInternalServerError) Code

Code gets the status code for the support contact delete list internal server error response

func (*SupportContactDeleteListInternalServerError) Error

func (*SupportContactDeleteListInternalServerError) GetPayload

func (*SupportContactDeleteListInternalServerError) IsClientError

IsClientError returns true when this support contact delete list internal server error response has a 4xx status code

func (*SupportContactDeleteListInternalServerError) IsCode

IsCode returns true when this support contact delete list internal server error response a status code equal to that given

func (*SupportContactDeleteListInternalServerError) IsRedirect

IsRedirect returns true when this support contact delete list internal server error response has a 3xx status code

func (*SupportContactDeleteListInternalServerError) IsServerError

IsServerError returns true when this support contact delete list internal server error response has a 5xx status code

func (*SupportContactDeleteListInternalServerError) IsSuccess

IsSuccess returns true when this support contact delete list internal server error response has a 2xx status code

func (*SupportContactDeleteListInternalServerError) String

type SupportContactDeleteListNotFound

type SupportContactDeleteListNotFound struct {
	Payload *models.Response
}

SupportContactDeleteListNotFound describes a response with status code 404, with default header values.

Not Found

func NewSupportContactDeleteListNotFound

func NewSupportContactDeleteListNotFound() *SupportContactDeleteListNotFound

NewSupportContactDeleteListNotFound creates a SupportContactDeleteListNotFound with default headers values

func (*SupportContactDeleteListNotFound) Code

Code gets the status code for the support contact delete list not found response

func (*SupportContactDeleteListNotFound) Error

func (*SupportContactDeleteListNotFound) GetPayload

func (*SupportContactDeleteListNotFound) IsClientError

func (o *SupportContactDeleteListNotFound) IsClientError() bool

IsClientError returns true when this support contact delete list not found response has a 4xx status code

func (*SupportContactDeleteListNotFound) IsCode

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

IsCode returns true when this support contact delete list not found response a status code equal to that given

func (*SupportContactDeleteListNotFound) IsRedirect

func (o *SupportContactDeleteListNotFound) IsRedirect() bool

IsRedirect returns true when this support contact delete list not found response has a 3xx status code

func (*SupportContactDeleteListNotFound) IsServerError

func (o *SupportContactDeleteListNotFound) IsServerError() bool

IsServerError returns true when this support contact delete list not found response has a 5xx status code

func (*SupportContactDeleteListNotFound) IsSuccess

func (o *SupportContactDeleteListNotFound) IsSuccess() bool

IsSuccess returns true when this support contact delete list not found response has a 2xx status code

func (*SupportContactDeleteListNotFound) String

type SupportContactDeleteListOK

type SupportContactDeleteListOK struct {
	Payload *models.Response
}

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

OK

func NewSupportContactDeleteListOK

func NewSupportContactDeleteListOK() *SupportContactDeleteListOK

NewSupportContactDeleteListOK creates a SupportContactDeleteListOK with default headers values

func (*SupportContactDeleteListOK) Code

func (o *SupportContactDeleteListOK) Code() int

Code gets the status code for the support contact delete list o k response

func (*SupportContactDeleteListOK) Error

func (*SupportContactDeleteListOK) GetPayload

func (o *SupportContactDeleteListOK) GetPayload() *models.Response

func (*SupportContactDeleteListOK) IsClientError

func (o *SupportContactDeleteListOK) IsClientError() bool

IsClientError returns true when this support contact delete list o k response has a 4xx status code

func (*SupportContactDeleteListOK) IsCode

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

IsCode returns true when this support contact delete list o k response a status code equal to that given

func (*SupportContactDeleteListOK) IsRedirect

func (o *SupportContactDeleteListOK) IsRedirect() bool

IsRedirect returns true when this support contact delete list o k response has a 3xx status code

func (*SupportContactDeleteListOK) IsServerError

func (o *SupportContactDeleteListOK) IsServerError() bool

IsServerError returns true when this support contact delete list o k response has a 5xx status code

func (*SupportContactDeleteListOK) IsSuccess

func (o *SupportContactDeleteListOK) IsSuccess() bool

IsSuccess returns true when this support contact delete list o k response has a 2xx status code

func (*SupportContactDeleteListOK) String

func (o *SupportContactDeleteListOK) String() string

type SupportContactDeleteListParams

type SupportContactDeleteListParams struct {

	/* ID.

	   An array of ids support contacts.
	*/
	ID []string

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

SupportContactDeleteListParams contains all the parameters to send to the API endpoint

for the support contact delete list operation.

Typically these are written to a http.Request.

func NewSupportContactDeleteListParams

func NewSupportContactDeleteListParams() *SupportContactDeleteListParams

NewSupportContactDeleteListParams creates a new SupportContactDeleteListParams 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 NewSupportContactDeleteListParamsWithContext

func NewSupportContactDeleteListParamsWithContext(ctx context.Context) *SupportContactDeleteListParams

NewSupportContactDeleteListParamsWithContext creates a new SupportContactDeleteListParams object with the ability to set a context for a request.

func NewSupportContactDeleteListParamsWithHTTPClient

func NewSupportContactDeleteListParamsWithHTTPClient(client *http.Client) *SupportContactDeleteListParams

NewSupportContactDeleteListParamsWithHTTPClient creates a new SupportContactDeleteListParams object with the ability to set a custom HTTPClient for a request.

func NewSupportContactDeleteListParamsWithTimeout

func NewSupportContactDeleteListParamsWithTimeout(timeout time.Duration) *SupportContactDeleteListParams

NewSupportContactDeleteListParamsWithTimeout creates a new SupportContactDeleteListParams object with the ability to set a timeout on a request.

func (*SupportContactDeleteListParams) SetContext

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

SetContext adds the context to the support contact delete list params

func (*SupportContactDeleteListParams) SetDefaults

func (o *SupportContactDeleteListParams) SetDefaults()

SetDefaults hydrates default values in the support contact delete list params (not the query body).

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

func (*SupportContactDeleteListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the support contact delete list params

func (*SupportContactDeleteListParams) SetID

func (o *SupportContactDeleteListParams) SetID(id []string)

SetID adds the id to the support contact delete list params

func (*SupportContactDeleteListParams) SetTimeout

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

SetTimeout adds the timeout to the support contact delete list params

func (*SupportContactDeleteListParams) WithContext

WithContext adds the context to the support contact delete list params

func (*SupportContactDeleteListParams) WithDefaults

WithDefaults hydrates default values in the support contact delete list params (not the query body).

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

func (*SupportContactDeleteListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the support contact delete list params

func (*SupportContactDeleteListParams) WithID

WithID adds the id to the support contact delete list params

func (*SupportContactDeleteListParams) WithTimeout

WithTimeout adds the timeout to the support contact delete list params

func (*SupportContactDeleteListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupportContactDeleteListReader

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

SupportContactDeleteListReader is a Reader for the SupportContactDeleteList structure.

func (*SupportContactDeleteListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportContactDeleteListUnauthorized

type SupportContactDeleteListUnauthorized struct {
	Payload *models.Response
}

SupportContactDeleteListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewSupportContactDeleteListUnauthorized

func NewSupportContactDeleteListUnauthorized() *SupportContactDeleteListUnauthorized

NewSupportContactDeleteListUnauthorized creates a SupportContactDeleteListUnauthorized with default headers values

func (*SupportContactDeleteListUnauthorized) Code

Code gets the status code for the support contact delete list unauthorized response

func (*SupportContactDeleteListUnauthorized) Error

func (*SupportContactDeleteListUnauthorized) GetPayload

func (*SupportContactDeleteListUnauthorized) IsClientError

func (o *SupportContactDeleteListUnauthorized) IsClientError() bool

IsClientError returns true when this support contact delete list unauthorized response has a 4xx status code

func (*SupportContactDeleteListUnauthorized) IsCode

IsCode returns true when this support contact delete list unauthorized response a status code equal to that given

func (*SupportContactDeleteListUnauthorized) IsRedirect

IsRedirect returns true when this support contact delete list unauthorized response has a 3xx status code

func (*SupportContactDeleteListUnauthorized) IsServerError

func (o *SupportContactDeleteListUnauthorized) IsServerError() bool

IsServerError returns true when this support contact delete list unauthorized response has a 5xx status code

func (*SupportContactDeleteListUnauthorized) IsSuccess

IsSuccess returns true when this support contact delete list unauthorized response has a 2xx status code

func (*SupportContactDeleteListUnauthorized) String

type SupportContactFindListBadRequest

type SupportContactFindListBadRequest struct {
	Payload *models.Response
}

SupportContactFindListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSupportContactFindListBadRequest

func NewSupportContactFindListBadRequest() *SupportContactFindListBadRequest

NewSupportContactFindListBadRequest creates a SupportContactFindListBadRequest with default headers values

func (*SupportContactFindListBadRequest) Code

Code gets the status code for the support contact find list bad request response

func (*SupportContactFindListBadRequest) Error

func (*SupportContactFindListBadRequest) GetPayload

func (*SupportContactFindListBadRequest) IsClientError

func (o *SupportContactFindListBadRequest) IsClientError() bool

IsClientError returns true when this support contact find list bad request response has a 4xx status code

func (*SupportContactFindListBadRequest) IsCode

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

IsCode returns true when this support contact find list bad request response a status code equal to that given

func (*SupportContactFindListBadRequest) IsRedirect

func (o *SupportContactFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this support contact find list bad request response has a 3xx status code

func (*SupportContactFindListBadRequest) IsServerError

func (o *SupportContactFindListBadRequest) IsServerError() bool

IsServerError returns true when this support contact find list bad request response has a 5xx status code

func (*SupportContactFindListBadRequest) IsSuccess

func (o *SupportContactFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this support contact find list bad request response has a 2xx status code

func (*SupportContactFindListBadRequest) String

type SupportContactFindListInternalServerError

type SupportContactFindListInternalServerError struct {
	Payload *models.Response
}

SupportContactFindListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewSupportContactFindListInternalServerError

func NewSupportContactFindListInternalServerError() *SupportContactFindListInternalServerError

NewSupportContactFindListInternalServerError creates a SupportContactFindListInternalServerError with default headers values

func (*SupportContactFindListInternalServerError) Code

Code gets the status code for the support contact find list internal server error response

func (*SupportContactFindListInternalServerError) Error

func (*SupportContactFindListInternalServerError) GetPayload

func (*SupportContactFindListInternalServerError) IsClientError

IsClientError returns true when this support contact find list internal server error response has a 4xx status code

func (*SupportContactFindListInternalServerError) IsCode

IsCode returns true when this support contact find list internal server error response a status code equal to that given

func (*SupportContactFindListInternalServerError) IsRedirect

IsRedirect returns true when this support contact find list internal server error response has a 3xx status code

func (*SupportContactFindListInternalServerError) IsServerError

IsServerError returns true when this support contact find list internal server error response has a 5xx status code

func (*SupportContactFindListInternalServerError) IsSuccess

IsSuccess returns true when this support contact find list internal server error response has a 2xx status code

func (*SupportContactFindListInternalServerError) String

type SupportContactFindListOK

type SupportContactFindListOK struct {
	Payload *models.SupportContactFindResponse
}

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

OK

func NewSupportContactFindListOK

func NewSupportContactFindListOK() *SupportContactFindListOK

NewSupportContactFindListOK creates a SupportContactFindListOK with default headers values

func (*SupportContactFindListOK) Code

func (o *SupportContactFindListOK) Code() int

Code gets the status code for the support contact find list o k response

func (*SupportContactFindListOK) Error

func (o *SupportContactFindListOK) Error() string

func (*SupportContactFindListOK) GetPayload

func (*SupportContactFindListOK) IsClientError

func (o *SupportContactFindListOK) IsClientError() bool

IsClientError returns true when this support contact find list o k response has a 4xx status code

func (*SupportContactFindListOK) IsCode

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

IsCode returns true when this support contact find list o k response a status code equal to that given

func (*SupportContactFindListOK) IsRedirect

func (o *SupportContactFindListOK) IsRedirect() bool

IsRedirect returns true when this support contact find list o k response has a 3xx status code

func (*SupportContactFindListOK) IsServerError

func (o *SupportContactFindListOK) IsServerError() bool

IsServerError returns true when this support contact find list o k response has a 5xx status code

func (*SupportContactFindListOK) IsSuccess

func (o *SupportContactFindListOK) IsSuccess() bool

IsSuccess returns true when this support contact find list o k response has a 2xx status code

func (*SupportContactFindListOK) String

func (o *SupportContactFindListOK) String() string

type SupportContactFindListParams

type SupportContactFindListParams struct {

	/* Application.

	   The applications id.
	*/
	Application string

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

SupportContactFindListParams contains all the parameters to send to the API endpoint

for the support contact find list operation.

Typically these are written to a http.Request.

func NewSupportContactFindListParams

func NewSupportContactFindListParams() *SupportContactFindListParams

NewSupportContactFindListParams creates a new SupportContactFindListParams 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 NewSupportContactFindListParamsWithContext

func NewSupportContactFindListParamsWithContext(ctx context.Context) *SupportContactFindListParams

NewSupportContactFindListParamsWithContext creates a new SupportContactFindListParams object with the ability to set a context for a request.

func NewSupportContactFindListParamsWithHTTPClient

func NewSupportContactFindListParamsWithHTTPClient(client *http.Client) *SupportContactFindListParams

NewSupportContactFindListParamsWithHTTPClient creates a new SupportContactFindListParams object with the ability to set a custom HTTPClient for a request.

func NewSupportContactFindListParamsWithTimeout

func NewSupportContactFindListParamsWithTimeout(timeout time.Duration) *SupportContactFindListParams

NewSupportContactFindListParamsWithTimeout creates a new SupportContactFindListParams object with the ability to set a timeout on a request.

func (*SupportContactFindListParams) SetApplication

func (o *SupportContactFindListParams) SetApplication(application string)

SetApplication adds the application to the support contact find list params

func (*SupportContactFindListParams) SetContext

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

SetContext adds the context to the support contact find list params

func (*SupportContactFindListParams) SetDefaults

func (o *SupportContactFindListParams) SetDefaults()

SetDefaults hydrates default values in the support contact find list params (not the query body).

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

func (*SupportContactFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the support contact find list params

func (*SupportContactFindListParams) SetTimeout

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

SetTimeout adds the timeout to the support contact find list params

func (*SupportContactFindListParams) WithApplication

func (o *SupportContactFindListParams) WithApplication(application string) *SupportContactFindListParams

WithApplication adds the application to the support contact find list params

func (*SupportContactFindListParams) WithContext

WithContext adds the context to the support contact find list params

func (*SupportContactFindListParams) WithDefaults

WithDefaults hydrates default values in the support contact find list params (not the query body).

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

func (*SupportContactFindListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the support contact find list params

func (*SupportContactFindListParams) WithTimeout

WithTimeout adds the timeout to the support contact find list params

func (*SupportContactFindListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupportContactFindListReader

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

SupportContactFindListReader is a Reader for the SupportContactFindList structure.

func (*SupportContactFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportContactFindListUnauthorized

type SupportContactFindListUnauthorized struct {
	Payload *models.Response
}

SupportContactFindListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewSupportContactFindListUnauthorized

func NewSupportContactFindListUnauthorized() *SupportContactFindListUnauthorized

NewSupportContactFindListUnauthorized creates a SupportContactFindListUnauthorized with default headers values

func (*SupportContactFindListUnauthorized) Code

Code gets the status code for the support contact find list unauthorized response

func (*SupportContactFindListUnauthorized) Error

func (*SupportContactFindListUnauthorized) GetPayload

func (*SupportContactFindListUnauthorized) IsClientError

func (o *SupportContactFindListUnauthorized) IsClientError() bool

IsClientError returns true when this support contact find list unauthorized response has a 4xx status code

func (*SupportContactFindListUnauthorized) IsCode

IsCode returns true when this support contact find list unauthorized response a status code equal to that given

func (*SupportContactFindListUnauthorized) IsRedirect

func (o *SupportContactFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this support contact find list unauthorized response has a 3xx status code

func (*SupportContactFindListUnauthorized) IsServerError

func (o *SupportContactFindListUnauthorized) IsServerError() bool

IsServerError returns true when this support contact find list unauthorized response has a 5xx status code

func (*SupportContactFindListUnauthorized) IsSuccess

IsSuccess returns true when this support contact find list unauthorized response has a 2xx status code

func (*SupportContactFindListUnauthorized) String

Jump to

Keyboard shortcuts

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