mobile_enrollment

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 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 added in v0.7.0

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 added in v0.2.33

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

func (*RequestDeviceEnrollmentV3BadRequest) Error

func (*RequestDeviceEnrollmentV3BadRequest) GetPayload

func (*RequestDeviceEnrollmentV3BadRequest) IsClientError added in v0.2.27

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 added in v0.2.27

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

func (*RequestDeviceEnrollmentV3BadRequest) IsRedirect added in v0.2.27

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 added in v0.2.27

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 added in v0.2.27

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

func (*RequestDeviceEnrollmentV3BadRequest) String added in v0.2.27

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 added in v0.2.33

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

func (*RequestDeviceEnrollmentV3Forbidden) Error

func (*RequestDeviceEnrollmentV3Forbidden) GetPayload

func (*RequestDeviceEnrollmentV3Forbidden) IsClientError added in v0.2.27

func (o *RequestDeviceEnrollmentV3Forbidden) IsClientError() bool

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

func (*RequestDeviceEnrollmentV3Forbidden) IsCode added in v0.2.27

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

func (*RequestDeviceEnrollmentV3Forbidden) IsRedirect added in v0.2.27

func (o *RequestDeviceEnrollmentV3Forbidden) IsRedirect() bool

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

func (*RequestDeviceEnrollmentV3Forbidden) IsServerError added in v0.2.27

func (o *RequestDeviceEnrollmentV3Forbidden) IsServerError() bool

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

func (*RequestDeviceEnrollmentV3Forbidden) IsSuccess added in v0.2.27

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

func (*RequestDeviceEnrollmentV3Forbidden) String added in v0.2.27

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 added in v0.2.33

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

func (*RequestDeviceEnrollmentV3InternalServerError) Error

func (*RequestDeviceEnrollmentV3InternalServerError) GetPayload

func (*RequestDeviceEnrollmentV3InternalServerError) IsClientError added in v0.2.27

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

func (*RequestDeviceEnrollmentV3InternalServerError) IsCode added in v0.2.27

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

func (*RequestDeviceEnrollmentV3InternalServerError) IsRedirect added in v0.2.27

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

func (*RequestDeviceEnrollmentV3InternalServerError) IsServerError added in v0.2.27

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

func (*RequestDeviceEnrollmentV3InternalServerError) IsSuccess added in v0.2.27

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

func (*RequestDeviceEnrollmentV3InternalServerError) String added in v0.2.27

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 added in v0.2.33

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 added in v0.2.27

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 added in v0.2.27

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 added in v0.2.27

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 added in v0.2.27

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 added in v0.2.27

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 added in v0.2.27

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 added in v0.2.33

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

func (*RequestDeviceEnrollmentV3TooManyRequests) Error

func (*RequestDeviceEnrollmentV3TooManyRequests) GetPayload

func (*RequestDeviceEnrollmentV3TooManyRequests) IsClientError added in v0.2.27

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

func (*RequestDeviceEnrollmentV3TooManyRequests) IsCode added in v0.2.27

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

func (*RequestDeviceEnrollmentV3TooManyRequests) IsRedirect added in v0.2.27

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

func (*RequestDeviceEnrollmentV3TooManyRequests) IsServerError added in v0.2.27

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

func (*RequestDeviceEnrollmentV3TooManyRequests) IsSuccess added in v0.2.27

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

func (*RequestDeviceEnrollmentV3TooManyRequests) String added in v0.2.27

type RequestDeviceEnrollmentV4BadRequest added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4BadRequest() *RequestDeviceEnrollmentV4BadRequest

NewRequestDeviceEnrollmentV4BadRequest creates a RequestDeviceEnrollmentV4BadRequest with default headers values

func (*RequestDeviceEnrollmentV4BadRequest) Code added in v0.7.0

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

func (*RequestDeviceEnrollmentV4BadRequest) Error added in v0.7.0

func (*RequestDeviceEnrollmentV4BadRequest) GetPayload added in v0.7.0

func (*RequestDeviceEnrollmentV4BadRequest) IsClientError added in v0.7.0

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 added in v0.7.0

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

func (*RequestDeviceEnrollmentV4BadRequest) IsRedirect added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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

func (*RequestDeviceEnrollmentV4BadRequest) String added in v0.7.0

type RequestDeviceEnrollmentV4Forbidden added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4Forbidden() *RequestDeviceEnrollmentV4Forbidden

NewRequestDeviceEnrollmentV4Forbidden creates a RequestDeviceEnrollmentV4Forbidden with default headers values

func (*RequestDeviceEnrollmentV4Forbidden) Code added in v0.7.0

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

func (*RequestDeviceEnrollmentV4Forbidden) Error added in v0.7.0

func (*RequestDeviceEnrollmentV4Forbidden) GetPayload added in v0.7.0

func (*RequestDeviceEnrollmentV4Forbidden) IsClientError added in v0.7.0

func (o *RequestDeviceEnrollmentV4Forbidden) IsClientError() bool

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

func (*RequestDeviceEnrollmentV4Forbidden) IsCode added in v0.7.0

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

func (*RequestDeviceEnrollmentV4Forbidden) IsRedirect added in v0.7.0

func (o *RequestDeviceEnrollmentV4Forbidden) IsRedirect() bool

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

func (*RequestDeviceEnrollmentV4Forbidden) IsServerError added in v0.7.0

func (o *RequestDeviceEnrollmentV4Forbidden) IsServerError() bool

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

func (*RequestDeviceEnrollmentV4Forbidden) IsSuccess added in v0.7.0

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

func (*RequestDeviceEnrollmentV4Forbidden) String added in v0.7.0

type RequestDeviceEnrollmentV4InternalServerError added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4InternalServerError() *RequestDeviceEnrollmentV4InternalServerError

NewRequestDeviceEnrollmentV4InternalServerError creates a RequestDeviceEnrollmentV4InternalServerError with default headers values

func (*RequestDeviceEnrollmentV4InternalServerError) Code added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) Error added in v0.7.0

func (*RequestDeviceEnrollmentV4InternalServerError) GetPayload added in v0.7.0

func (*RequestDeviceEnrollmentV4InternalServerError) IsClientError added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) IsCode added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) IsRedirect added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) IsServerError added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) IsSuccess added in v0.7.0

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

func (*RequestDeviceEnrollmentV4InternalServerError) String added in v0.7.0

type RequestDeviceEnrollmentV4OK added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4OK() *RequestDeviceEnrollmentV4OK

NewRequestDeviceEnrollmentV4OK creates a RequestDeviceEnrollmentV4OK with default headers values

func (*RequestDeviceEnrollmentV4OK) Code added in v0.7.0

func (o *RequestDeviceEnrollmentV4OK) Code() int

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

func (*RequestDeviceEnrollmentV4OK) Error added in v0.7.0

func (*RequestDeviceEnrollmentV4OK) GetPayload added in v0.7.0

func (*RequestDeviceEnrollmentV4OK) IsClientError added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *RequestDeviceEnrollmentV4OK) String() string

type RequestDeviceEnrollmentV4Params added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4ParamsWithContext(ctx context.Context) *RequestDeviceEnrollmentV4Params

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

func NewRequestDeviceEnrollmentV4ParamsWithHTTPClient added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *RequestDeviceEnrollmentV4Params) SetActionName(actionName string)

SetActionName adds the actionName to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetBody added in v0.7.0

SetBody adds the body to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetContext added in v0.7.0

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

SetContext adds the context to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetDefaults added in v0.7.0

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 added in v0.7.0

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

SetFilter adds the filter to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetHTTPClient added in v0.7.0

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

SetHTTPClient adds the HTTPClient to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithActionName added in v0.7.0

WithActionName adds the actionName to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithBody added in v0.7.0

WithBody adds the body to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithContext added in v0.7.0

WithContext adds the context to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithDefaults added in v0.7.0

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 added in v0.7.0

WithFilter adds the filter to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the request device enrollment v4 params

func (*RequestDeviceEnrollmentV4Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type RequestDeviceEnrollmentV4Reader added in v0.7.0

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

RequestDeviceEnrollmentV4Reader is a Reader for the RequestDeviceEnrollmentV4 structure.

func (*RequestDeviceEnrollmentV4Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type RequestDeviceEnrollmentV4TooManyRequests added in v0.7.0

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 added in v0.7.0

func NewRequestDeviceEnrollmentV4TooManyRequests() *RequestDeviceEnrollmentV4TooManyRequests

NewRequestDeviceEnrollmentV4TooManyRequests creates a RequestDeviceEnrollmentV4TooManyRequests with default headers values

func (*RequestDeviceEnrollmentV4TooManyRequests) Code added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) Error added in v0.7.0

func (*RequestDeviceEnrollmentV4TooManyRequests) GetPayload added in v0.7.0

func (*RequestDeviceEnrollmentV4TooManyRequests) IsClientError added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) IsCode added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) IsRedirect added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) IsServerError added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) IsSuccess added in v0.7.0

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

func (*RequestDeviceEnrollmentV4TooManyRequests) String added in v0.7.0

Jump to

Keyboard shortcuts

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