mobile_enrollment

package
v0.0.0-...-4dc3446 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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 mobile enrollment API

func (*Client) RequestDeviceEnrollmentV3

func (a *Client) RequestDeviceEnrollmentV3(params *RequestDeviceEnrollmentV3Params, opts ...ClientOption) (*RequestDeviceEnrollmentV3OK, error)

RequestDeviceEnrollmentV3 triggers on boarding process for a mobile device

func (*Client) RequestDeviceEnrollmentV4

func (a *Client) RequestDeviceEnrollmentV4(params *RequestDeviceEnrollmentV4Params, opts ...ClientOption) (*RequestDeviceEnrollmentV4OK, error)

RequestDeviceEnrollmentV4 triggers on boarding process for a mobile device

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 {
	RequestDeviceEnrollmentV3(params *RequestDeviceEnrollmentV3Params, opts ...ClientOption) (*RequestDeviceEnrollmentV3OK, error)

	RequestDeviceEnrollmentV4(params *RequestDeviceEnrollmentV4Params, opts ...ClientOption) (*RequestDeviceEnrollmentV4OK, 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 mobile enrollment API client.

type RequestDeviceEnrollmentV3BadRequest

type RequestDeviceEnrollmentV3BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewRequestDeviceEnrollmentV3BadRequest

func NewRequestDeviceEnrollmentV3BadRequest() *RequestDeviceEnrollmentV3BadRequest

NewRequestDeviceEnrollmentV3BadRequest creates a RequestDeviceEnrollmentV3BadRequest with default headers values

func (*RequestDeviceEnrollmentV3BadRequest) Code

Code gets the status code for the request device enrollment v3 bad request response

func (*RequestDeviceEnrollmentV3BadRequest) Error

func (*RequestDeviceEnrollmentV3BadRequest) GetPayload

func (*RequestDeviceEnrollmentV3BadRequest) IsClientError

func (o *RequestDeviceEnrollmentV3BadRequest) IsClientError() bool

IsClientError returns true when this request device enrollment v3 bad request response has a 4xx status code

func (*RequestDeviceEnrollmentV3BadRequest) IsCode

IsCode returns true when this request device enrollment v3 bad request response a status code equal to that given

func (*RequestDeviceEnrollmentV3BadRequest) IsRedirect

func (o *RequestDeviceEnrollmentV3BadRequest) IsRedirect() bool

IsRedirect returns true when this request device enrollment v3 bad request response has a 3xx status code

func (*RequestDeviceEnrollmentV3BadRequest) IsServerError

func (o *RequestDeviceEnrollmentV3BadRequest) IsServerError() bool

IsServerError returns true when this request device enrollment v3 bad request response has a 5xx status code

func (*RequestDeviceEnrollmentV3BadRequest) IsSuccess

IsSuccess returns true when this request device enrollment v3 bad request response has a 2xx status code

func (*RequestDeviceEnrollmentV3BadRequest) String

type RequestDeviceEnrollmentV3Forbidden

type RequestDeviceEnrollmentV3Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

RequestDeviceEnrollmentV3Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewRequestDeviceEnrollmentV3Forbidden

func NewRequestDeviceEnrollmentV3Forbidden() *RequestDeviceEnrollmentV3Forbidden

NewRequestDeviceEnrollmentV3Forbidden creates a RequestDeviceEnrollmentV3Forbidden with default headers values

func (*RequestDeviceEnrollmentV3Forbidden) Code

Code gets the status code for the request device enrollment v3 forbidden response

func (*RequestDeviceEnrollmentV3Forbidden) Error

func (*RequestDeviceEnrollmentV3Forbidden) GetPayload

func (*RequestDeviceEnrollmentV3Forbidden) IsClientError

func (o *RequestDeviceEnrollmentV3Forbidden) IsClientError() bool

IsClientError returns true when this request device enrollment v3 forbidden response has a 4xx status code

func (*RequestDeviceEnrollmentV3Forbidden) IsCode

IsCode returns true when this request device enrollment v3 forbidden response a status code equal to that given

func (*RequestDeviceEnrollmentV3Forbidden) IsRedirect

func (o *RequestDeviceEnrollmentV3Forbidden) IsRedirect() bool

IsRedirect returns true when this request device enrollment v3 forbidden response has a 3xx status code

func (*RequestDeviceEnrollmentV3Forbidden) IsServerError

func (o *RequestDeviceEnrollmentV3Forbidden) IsServerError() bool

IsServerError returns true when this request device enrollment v3 forbidden response has a 5xx status code

func (*RequestDeviceEnrollmentV3Forbidden) IsSuccess

IsSuccess returns true when this request device enrollment v3 forbidden response has a 2xx status code

func (*RequestDeviceEnrollmentV3Forbidden) String

type RequestDeviceEnrollmentV3InternalServerError

type RequestDeviceEnrollmentV3InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewRequestDeviceEnrollmentV3InternalServerError

func NewRequestDeviceEnrollmentV3InternalServerError() *RequestDeviceEnrollmentV3InternalServerError

NewRequestDeviceEnrollmentV3InternalServerError creates a RequestDeviceEnrollmentV3InternalServerError with default headers values

func (*RequestDeviceEnrollmentV3InternalServerError) Code

Code gets the status code for the request device enrollment v3 internal server error response

func (*RequestDeviceEnrollmentV3InternalServerError) Error

func (*RequestDeviceEnrollmentV3InternalServerError) GetPayload

func (*RequestDeviceEnrollmentV3InternalServerError) IsClientError

IsClientError returns true when this request device enrollment v3 internal server error response has a 4xx status code

func (*RequestDeviceEnrollmentV3InternalServerError) IsCode

IsCode returns true when this request device enrollment v3 internal server error response a status code equal to that given

func (*RequestDeviceEnrollmentV3InternalServerError) IsRedirect

IsRedirect returns true when this request device enrollment v3 internal server error response has a 3xx status code

func (*RequestDeviceEnrollmentV3InternalServerError) IsServerError

IsServerError returns true when this request device enrollment v3 internal server error response has a 5xx status code

func (*RequestDeviceEnrollmentV3InternalServerError) IsSuccess

IsSuccess returns true when this request device enrollment v3 internal server error response has a 2xx status code

func (*RequestDeviceEnrollmentV3InternalServerError) String

type RequestDeviceEnrollmentV3OK

type RequestDeviceEnrollmentV3OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIPostEnrollmentDetailsResponse
}

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

OK

func NewRequestDeviceEnrollmentV3OK

func NewRequestDeviceEnrollmentV3OK() *RequestDeviceEnrollmentV3OK

NewRequestDeviceEnrollmentV3OK creates a RequestDeviceEnrollmentV3OK with default headers values

func (*RequestDeviceEnrollmentV3OK) Code

func (o *RequestDeviceEnrollmentV3OK) Code() int

Code gets the status code for the request device enrollment v3 o k response

func (*RequestDeviceEnrollmentV3OK) Error

func (*RequestDeviceEnrollmentV3OK) GetPayload

func (*RequestDeviceEnrollmentV3OK) IsClientError

func (o *RequestDeviceEnrollmentV3OK) IsClientError() bool

IsClientError returns true when this request device enrollment v3 o k response has a 4xx status code

func (*RequestDeviceEnrollmentV3OK) IsCode

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

IsCode returns true when this request device enrollment v3 o k response a status code equal to that given

func (*RequestDeviceEnrollmentV3OK) IsRedirect

func (o *RequestDeviceEnrollmentV3OK) IsRedirect() bool

IsRedirect returns true when this request device enrollment v3 o k response has a 3xx status code

func (*RequestDeviceEnrollmentV3OK) IsServerError

func (o *RequestDeviceEnrollmentV3OK) IsServerError() bool

IsServerError returns true when this request device enrollment v3 o k response has a 5xx status code

func (*RequestDeviceEnrollmentV3OK) IsSuccess

func (o *RequestDeviceEnrollmentV3OK) IsSuccess() bool

IsSuccess returns true when this request device enrollment v3 o k response has a 2xx status code

func (*RequestDeviceEnrollmentV3OK) String

func (o *RequestDeviceEnrollmentV3OK) String() string

type RequestDeviceEnrollmentV3Params

type RequestDeviceEnrollmentV3Params struct {

	/* ActionName.

	   Action to perform
	*/
	ActionName string

	// Body.
	Body *models.APIPostEnrollmentDetails

	/* Filter.

	   FQL filter
	*/
	Filter *string

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

RequestDeviceEnrollmentV3Params contains all the parameters to send to the API endpoint

for the request device enrollment v3 operation.

Typically these are written to a http.Request.

func NewRequestDeviceEnrollmentV3Params

func NewRequestDeviceEnrollmentV3Params() *RequestDeviceEnrollmentV3Params

NewRequestDeviceEnrollmentV3Params creates a new RequestDeviceEnrollmentV3Params 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 NewRequestDeviceEnrollmentV3ParamsWithContext

func NewRequestDeviceEnrollmentV3ParamsWithContext(ctx context.Context) *RequestDeviceEnrollmentV3Params

NewRequestDeviceEnrollmentV3ParamsWithContext creates a new RequestDeviceEnrollmentV3Params object with the ability to set a context for a request.

func NewRequestDeviceEnrollmentV3ParamsWithHTTPClient

func NewRequestDeviceEnrollmentV3ParamsWithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV3Params

NewRequestDeviceEnrollmentV3ParamsWithHTTPClient creates a new RequestDeviceEnrollmentV3Params object with the ability to set a custom HTTPClient for a request.

func NewRequestDeviceEnrollmentV3ParamsWithTimeout

func NewRequestDeviceEnrollmentV3ParamsWithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV3Params

NewRequestDeviceEnrollmentV3ParamsWithTimeout creates a new RequestDeviceEnrollmentV3Params object with the ability to set a timeout on a request.

func (*RequestDeviceEnrollmentV3Params) SetActionName

func (o *RequestDeviceEnrollmentV3Params) SetActionName(actionName string)

SetActionName adds the actionName to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) SetBody

SetBody adds the body to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) SetContext

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

SetContext adds the context to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) SetDefaults

func (o *RequestDeviceEnrollmentV3Params) SetDefaults()

SetDefaults hydrates default values in the request device enrollment v3 params (not the query body).

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

func (*RequestDeviceEnrollmentV3Params) SetFilter

func (o *RequestDeviceEnrollmentV3Params) SetFilter(filter *string)

SetFilter adds the filter to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) SetTimeout

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

SetTimeout adds the timeout to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithActionName

WithActionName adds the actionName to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithBody

WithBody adds the body to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithContext

WithContext adds the context to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithDefaults

WithDefaults hydrates default values in the request device enrollment v3 params (not the query body).

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

func (*RequestDeviceEnrollmentV3Params) WithFilter

WithFilter adds the filter to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WithTimeout

WithTimeout adds the timeout to the request device enrollment v3 params

func (*RequestDeviceEnrollmentV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestDeviceEnrollmentV3Reader

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

RequestDeviceEnrollmentV3Reader is a Reader for the RequestDeviceEnrollmentV3 structure.

func (*RequestDeviceEnrollmentV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestDeviceEnrollmentV3TooManyRequests

type RequestDeviceEnrollmentV3TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

RequestDeviceEnrollmentV3TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewRequestDeviceEnrollmentV3TooManyRequests

func NewRequestDeviceEnrollmentV3TooManyRequests() *RequestDeviceEnrollmentV3TooManyRequests

NewRequestDeviceEnrollmentV3TooManyRequests creates a RequestDeviceEnrollmentV3TooManyRequests with default headers values

func (*RequestDeviceEnrollmentV3TooManyRequests) Code

Code gets the status code for the request device enrollment v3 too many requests response

func (*RequestDeviceEnrollmentV3TooManyRequests) Error

func (*RequestDeviceEnrollmentV3TooManyRequests) GetPayload

func (*RequestDeviceEnrollmentV3TooManyRequests) IsClientError

IsClientError returns true when this request device enrollment v3 too many requests response has a 4xx status code

func (*RequestDeviceEnrollmentV3TooManyRequests) IsCode

IsCode returns true when this request device enrollment v3 too many requests response a status code equal to that given

func (*RequestDeviceEnrollmentV3TooManyRequests) IsRedirect

IsRedirect returns true when this request device enrollment v3 too many requests response has a 3xx status code

func (*RequestDeviceEnrollmentV3TooManyRequests) IsServerError

IsServerError returns true when this request device enrollment v3 too many requests response has a 5xx status code

func (*RequestDeviceEnrollmentV3TooManyRequests) IsSuccess

IsSuccess returns true when this request device enrollment v3 too many requests response has a 2xx status code

func (*RequestDeviceEnrollmentV3TooManyRequests) String

type RequestDeviceEnrollmentV4BadRequest

type RequestDeviceEnrollmentV4BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewRequestDeviceEnrollmentV4BadRequest

func NewRequestDeviceEnrollmentV4BadRequest() *RequestDeviceEnrollmentV4BadRequest

NewRequestDeviceEnrollmentV4BadRequest creates a RequestDeviceEnrollmentV4BadRequest with default headers values

func (*RequestDeviceEnrollmentV4BadRequest) Code

Code gets the status code for the request device enrollment v4 bad request response

func (*RequestDeviceEnrollmentV4BadRequest) Error

func (*RequestDeviceEnrollmentV4BadRequest) GetPayload

func (*RequestDeviceEnrollmentV4BadRequest) IsClientError

func (o *RequestDeviceEnrollmentV4BadRequest) IsClientError() bool

IsClientError returns true when this request device enrollment v4 bad request response has a 4xx status code

func (*RequestDeviceEnrollmentV4BadRequest) IsCode

IsCode returns true when this request device enrollment v4 bad request response a status code equal to that given

func (*RequestDeviceEnrollmentV4BadRequest) IsRedirect

func (o *RequestDeviceEnrollmentV4BadRequest) IsRedirect() bool

IsRedirect returns true when this request device enrollment v4 bad request response has a 3xx status code

func (*RequestDeviceEnrollmentV4BadRequest) IsServerError

func (o *RequestDeviceEnrollmentV4BadRequest) IsServerError() bool

IsServerError returns true when this request device enrollment v4 bad request response has a 5xx status code

func (*RequestDeviceEnrollmentV4BadRequest) IsSuccess

IsSuccess returns true when this request device enrollment v4 bad request response has a 2xx status code

func (*RequestDeviceEnrollmentV4BadRequest) String

type RequestDeviceEnrollmentV4Forbidden

type RequestDeviceEnrollmentV4Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

RequestDeviceEnrollmentV4Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewRequestDeviceEnrollmentV4Forbidden

func NewRequestDeviceEnrollmentV4Forbidden() *RequestDeviceEnrollmentV4Forbidden

NewRequestDeviceEnrollmentV4Forbidden creates a RequestDeviceEnrollmentV4Forbidden with default headers values

func (*RequestDeviceEnrollmentV4Forbidden) Code

Code gets the status code for the request device enrollment v4 forbidden response

func (*RequestDeviceEnrollmentV4Forbidden) Error

func (*RequestDeviceEnrollmentV4Forbidden) GetPayload

func (*RequestDeviceEnrollmentV4Forbidden) IsClientError

func (o *RequestDeviceEnrollmentV4Forbidden) IsClientError() bool

IsClientError returns true when this request device enrollment v4 forbidden response has a 4xx status code

func (*RequestDeviceEnrollmentV4Forbidden) IsCode

IsCode returns true when this request device enrollment v4 forbidden response a status code equal to that given

func (*RequestDeviceEnrollmentV4Forbidden) IsRedirect

func (o *RequestDeviceEnrollmentV4Forbidden) IsRedirect() bool

IsRedirect returns true when this request device enrollment v4 forbidden response has a 3xx status code

func (*RequestDeviceEnrollmentV4Forbidden) IsServerError

func (o *RequestDeviceEnrollmentV4Forbidden) IsServerError() bool

IsServerError returns true when this request device enrollment v4 forbidden response has a 5xx status code

func (*RequestDeviceEnrollmentV4Forbidden) IsSuccess

IsSuccess returns true when this request device enrollment v4 forbidden response has a 2xx status code

func (*RequestDeviceEnrollmentV4Forbidden) String

type RequestDeviceEnrollmentV4InternalServerError

type RequestDeviceEnrollmentV4InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewRequestDeviceEnrollmentV4InternalServerError

func NewRequestDeviceEnrollmentV4InternalServerError() *RequestDeviceEnrollmentV4InternalServerError

NewRequestDeviceEnrollmentV4InternalServerError creates a RequestDeviceEnrollmentV4InternalServerError with default headers values

func (*RequestDeviceEnrollmentV4InternalServerError) Code

Code gets the status code for the request device enrollment v4 internal server error response

func (*RequestDeviceEnrollmentV4InternalServerError) Error

func (*RequestDeviceEnrollmentV4InternalServerError) GetPayload

func (*RequestDeviceEnrollmentV4InternalServerError) IsClientError

IsClientError returns true when this request device enrollment v4 internal server error response has a 4xx status code

func (*RequestDeviceEnrollmentV4InternalServerError) IsCode

IsCode returns true when this request device enrollment v4 internal server error response a status code equal to that given

func (*RequestDeviceEnrollmentV4InternalServerError) IsRedirect

IsRedirect returns true when this request device enrollment v4 internal server error response has a 3xx status code

func (*RequestDeviceEnrollmentV4InternalServerError) IsServerError

IsServerError returns true when this request device enrollment v4 internal server error response has a 5xx status code

func (*RequestDeviceEnrollmentV4InternalServerError) IsSuccess

IsSuccess returns true when this request device enrollment v4 internal server error response has a 2xx status code

func (*RequestDeviceEnrollmentV4InternalServerError) String

type RequestDeviceEnrollmentV4OK

type RequestDeviceEnrollmentV4OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIPostEnrollmentDetailsResponse
}

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

OK

func NewRequestDeviceEnrollmentV4OK

func NewRequestDeviceEnrollmentV4OK() *RequestDeviceEnrollmentV4OK

NewRequestDeviceEnrollmentV4OK creates a RequestDeviceEnrollmentV4OK with default headers values

func (*RequestDeviceEnrollmentV4OK) Code

func (o *RequestDeviceEnrollmentV4OK) Code() int

Code gets the status code for the request device enrollment v4 o k response

func (*RequestDeviceEnrollmentV4OK) Error

func (*RequestDeviceEnrollmentV4OK) GetPayload

func (*RequestDeviceEnrollmentV4OK) IsClientError

func (o *RequestDeviceEnrollmentV4OK) IsClientError() bool

IsClientError returns true when this request device enrollment v4 o k response has a 4xx status code

func (*RequestDeviceEnrollmentV4OK) IsCode

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

IsCode returns true when this request device enrollment v4 o k response a status code equal to that given

func (*RequestDeviceEnrollmentV4OK) IsRedirect

func (o *RequestDeviceEnrollmentV4OK) IsRedirect() bool

IsRedirect returns true when this request device enrollment v4 o k response has a 3xx status code

func (*RequestDeviceEnrollmentV4OK) IsServerError

func (o *RequestDeviceEnrollmentV4OK) IsServerError() bool

IsServerError returns true when this request device enrollment v4 o k response has a 5xx status code

func (*RequestDeviceEnrollmentV4OK) IsSuccess

func (o *RequestDeviceEnrollmentV4OK) IsSuccess() bool

IsSuccess returns true when this request device enrollment v4 o k response has a 2xx status code

func (*RequestDeviceEnrollmentV4OK) String

func (o *RequestDeviceEnrollmentV4OK) String() string

type RequestDeviceEnrollmentV4Params

type RequestDeviceEnrollmentV4Params struct {

	/* ActionName.

	   Action to perform
	*/
	ActionName string

	// Body.
	Body *models.APIPostEnrollmentDetailsV4

	/* Filter.

	   FQL filter
	*/
	Filter *string

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

RequestDeviceEnrollmentV4Params contains all the parameters to send to the API endpoint

for the request device enrollment v4 operation.

Typically these are written to a http.Request.

func NewRequestDeviceEnrollmentV4Params

func NewRequestDeviceEnrollmentV4Params() *RequestDeviceEnrollmentV4Params

NewRequestDeviceEnrollmentV4Params creates a new RequestDeviceEnrollmentV4Params 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 NewRequestDeviceEnrollmentV4ParamsWithContext

func NewRequestDeviceEnrollmentV4ParamsWithContext(ctx context.Context) *RequestDeviceEnrollmentV4Params

NewRequestDeviceEnrollmentV4ParamsWithContext creates a new RequestDeviceEnrollmentV4Params object with the ability to set a context for a request.

func NewRequestDeviceEnrollmentV4ParamsWithHTTPClient

func NewRequestDeviceEnrollmentV4ParamsWithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV4Params

NewRequestDeviceEnrollmentV4ParamsWithHTTPClient creates a new RequestDeviceEnrollmentV4Params object with the ability to set a custom HTTPClient for a request.

func NewRequestDeviceEnrollmentV4ParamsWithTimeout

func NewRequestDeviceEnrollmentV4ParamsWithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV4Params

NewRequestDeviceEnrollmentV4ParamsWithTimeout creates a new RequestDeviceEnrollmentV4Params object with the ability to set a timeout on a request.

func (*RequestDeviceEnrollmentV4Params) SetActionName

func (o *RequestDeviceEnrollmentV4Params) SetActionName(actionName string)

SetActionName adds the actionName to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetBody

SetBody adds the body to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetContext

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

SetContext adds the context to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetDefaults

func (o *RequestDeviceEnrollmentV4Params) SetDefaults()

SetDefaults hydrates default values in the request device enrollment v4 params (not the query body).

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

func (*RequestDeviceEnrollmentV4Params) SetFilter

func (o *RequestDeviceEnrollmentV4Params) SetFilter(filter *string)

SetFilter adds the filter to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetTimeout

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

SetTimeout adds the timeout to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithActionName

WithActionName adds the actionName to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithBody

WithBody adds the body to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithContext

WithContext adds the context to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithDefaults

WithDefaults hydrates default values in the request device enrollment v4 params (not the query body).

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

func (*RequestDeviceEnrollmentV4Params) WithFilter

WithFilter adds the filter to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithTimeout

WithTimeout adds the timeout to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestDeviceEnrollmentV4Reader

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

RequestDeviceEnrollmentV4Reader is a Reader for the RequestDeviceEnrollmentV4 structure.

func (*RequestDeviceEnrollmentV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestDeviceEnrollmentV4TooManyRequests

type RequestDeviceEnrollmentV4TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

RequestDeviceEnrollmentV4TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewRequestDeviceEnrollmentV4TooManyRequests

func NewRequestDeviceEnrollmentV4TooManyRequests() *RequestDeviceEnrollmentV4TooManyRequests

NewRequestDeviceEnrollmentV4TooManyRequests creates a RequestDeviceEnrollmentV4TooManyRequests with default headers values

func (*RequestDeviceEnrollmentV4TooManyRequests) Code

Code gets the status code for the request device enrollment v4 too many requests response

func (*RequestDeviceEnrollmentV4TooManyRequests) Error

func (*RequestDeviceEnrollmentV4TooManyRequests) GetPayload

func (*RequestDeviceEnrollmentV4TooManyRequests) IsClientError

IsClientError returns true when this request device enrollment v4 too many requests response has a 4xx status code

func (*RequestDeviceEnrollmentV4TooManyRequests) IsCode

IsCode returns true when this request device enrollment v4 too many requests response a status code equal to that given

func (*RequestDeviceEnrollmentV4TooManyRequests) IsRedirect

IsRedirect returns true when this request device enrollment v4 too many requests response has a 3xx status code

func (*RequestDeviceEnrollmentV4TooManyRequests) IsServerError

IsServerError returns true when this request device enrollment v4 too many requests response has a 5xx status code

func (*RequestDeviceEnrollmentV4TooManyRequests) IsSuccess

IsSuccess returns true when this request device enrollment v4 too many requests response has a 2xx status code

func (*RequestDeviceEnrollmentV4TooManyRequests) String

Jump to

Keyboard shortcuts

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