mobile_enrollment

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 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) 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)

	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

Jump to

Keyboard shortcuts

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