Documentation ¶
Index ¶
- type Client
- func (a *Client) RequestDeviceEnrollmentV3(params *RequestDeviceEnrollmentV3Params, opts ...ClientOption) (*RequestDeviceEnrollmentV3OK, error)
- func (a *Client) RequestDeviceEnrollmentV4(params *RequestDeviceEnrollmentV4Params, opts ...ClientOption) (*RequestDeviceEnrollmentV4OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RequestDeviceEnrollmentV3BadRequest
- func (o *RequestDeviceEnrollmentV3BadRequest) Code() int
- func (o *RequestDeviceEnrollmentV3BadRequest) Error() string
- func (o *RequestDeviceEnrollmentV3BadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *RequestDeviceEnrollmentV3BadRequest) IsClientError() bool
- func (o *RequestDeviceEnrollmentV3BadRequest) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV3BadRequest) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV3BadRequest) IsServerError() bool
- func (o *RequestDeviceEnrollmentV3BadRequest) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV3BadRequest) String() string
- type RequestDeviceEnrollmentV3Forbidden
- func (o *RequestDeviceEnrollmentV3Forbidden) Code() int
- func (o *RequestDeviceEnrollmentV3Forbidden) Error() string
- func (o *RequestDeviceEnrollmentV3Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *RequestDeviceEnrollmentV3Forbidden) IsClientError() bool
- func (o *RequestDeviceEnrollmentV3Forbidden) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV3Forbidden) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV3Forbidden) IsServerError() bool
- func (o *RequestDeviceEnrollmentV3Forbidden) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV3Forbidden) String() string
- type RequestDeviceEnrollmentV3InternalServerError
- func (o *RequestDeviceEnrollmentV3InternalServerError) Code() int
- func (o *RequestDeviceEnrollmentV3InternalServerError) Error() string
- func (o *RequestDeviceEnrollmentV3InternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *RequestDeviceEnrollmentV3InternalServerError) IsClientError() bool
- func (o *RequestDeviceEnrollmentV3InternalServerError) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV3InternalServerError) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV3InternalServerError) IsServerError() bool
- func (o *RequestDeviceEnrollmentV3InternalServerError) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV3InternalServerError) String() string
- type RequestDeviceEnrollmentV3OK
- func (o *RequestDeviceEnrollmentV3OK) Code() int
- func (o *RequestDeviceEnrollmentV3OK) Error() string
- func (o *RequestDeviceEnrollmentV3OK) GetPayload() *models.APIPostEnrollmentDetailsResponse
- func (o *RequestDeviceEnrollmentV3OK) IsClientError() bool
- func (o *RequestDeviceEnrollmentV3OK) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV3OK) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV3OK) IsServerError() bool
- func (o *RequestDeviceEnrollmentV3OK) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV3OK) String() string
- type RequestDeviceEnrollmentV3Params
- func NewRequestDeviceEnrollmentV3Params() *RequestDeviceEnrollmentV3Params
- func NewRequestDeviceEnrollmentV3ParamsWithContext(ctx context.Context) *RequestDeviceEnrollmentV3Params
- func NewRequestDeviceEnrollmentV3ParamsWithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV3Params
- func NewRequestDeviceEnrollmentV3ParamsWithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) SetActionName(actionName string)
- func (o *RequestDeviceEnrollmentV3Params) SetBody(body *models.APIPostEnrollmentDetails)
- func (o *RequestDeviceEnrollmentV3Params) SetContext(ctx context.Context)
- func (o *RequestDeviceEnrollmentV3Params) SetDefaults()
- func (o *RequestDeviceEnrollmentV3Params) SetFilter(filter *string)
- func (o *RequestDeviceEnrollmentV3Params) SetHTTPClient(client *http.Client)
- func (o *RequestDeviceEnrollmentV3Params) SetTimeout(timeout time.Duration)
- func (o *RequestDeviceEnrollmentV3Params) WithActionName(actionName string) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithBody(body *models.APIPostEnrollmentDetails) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithContext(ctx context.Context) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithDefaults() *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithFilter(filter *string) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV3Params
- func (o *RequestDeviceEnrollmentV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestDeviceEnrollmentV3Reader
- type RequestDeviceEnrollmentV3TooManyRequests
- func (o *RequestDeviceEnrollmentV3TooManyRequests) Code() int
- func (o *RequestDeviceEnrollmentV3TooManyRequests) Error() string
- func (o *RequestDeviceEnrollmentV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *RequestDeviceEnrollmentV3TooManyRequests) IsClientError() bool
- func (o *RequestDeviceEnrollmentV3TooManyRequests) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV3TooManyRequests) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV3TooManyRequests) IsServerError() bool
- func (o *RequestDeviceEnrollmentV3TooManyRequests) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV3TooManyRequests) String() string
- type RequestDeviceEnrollmentV4BadRequest
- func (o *RequestDeviceEnrollmentV4BadRequest) Code() int
- func (o *RequestDeviceEnrollmentV4BadRequest) Error() string
- func (o *RequestDeviceEnrollmentV4BadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *RequestDeviceEnrollmentV4BadRequest) IsClientError() bool
- func (o *RequestDeviceEnrollmentV4BadRequest) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV4BadRequest) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV4BadRequest) IsServerError() bool
- func (o *RequestDeviceEnrollmentV4BadRequest) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV4BadRequest) String() string
- type RequestDeviceEnrollmentV4Forbidden
- func (o *RequestDeviceEnrollmentV4Forbidden) Code() int
- func (o *RequestDeviceEnrollmentV4Forbidden) Error() string
- func (o *RequestDeviceEnrollmentV4Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *RequestDeviceEnrollmentV4Forbidden) IsClientError() bool
- func (o *RequestDeviceEnrollmentV4Forbidden) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV4Forbidden) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV4Forbidden) IsServerError() bool
- func (o *RequestDeviceEnrollmentV4Forbidden) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV4Forbidden) String() string
- type RequestDeviceEnrollmentV4InternalServerError
- func (o *RequestDeviceEnrollmentV4InternalServerError) Code() int
- func (o *RequestDeviceEnrollmentV4InternalServerError) Error() string
- func (o *RequestDeviceEnrollmentV4InternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *RequestDeviceEnrollmentV4InternalServerError) IsClientError() bool
- func (o *RequestDeviceEnrollmentV4InternalServerError) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV4InternalServerError) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV4InternalServerError) IsServerError() bool
- func (o *RequestDeviceEnrollmentV4InternalServerError) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV4InternalServerError) String() string
- type RequestDeviceEnrollmentV4OK
- func (o *RequestDeviceEnrollmentV4OK) Code() int
- func (o *RequestDeviceEnrollmentV4OK) Error() string
- func (o *RequestDeviceEnrollmentV4OK) GetPayload() *models.APIPostEnrollmentDetailsResponse
- func (o *RequestDeviceEnrollmentV4OK) IsClientError() bool
- func (o *RequestDeviceEnrollmentV4OK) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV4OK) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV4OK) IsServerError() bool
- func (o *RequestDeviceEnrollmentV4OK) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV4OK) String() string
- type RequestDeviceEnrollmentV4Params
- func NewRequestDeviceEnrollmentV4Params() *RequestDeviceEnrollmentV4Params
- func NewRequestDeviceEnrollmentV4ParamsWithContext(ctx context.Context) *RequestDeviceEnrollmentV4Params
- func NewRequestDeviceEnrollmentV4ParamsWithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV4Params
- func NewRequestDeviceEnrollmentV4ParamsWithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) SetActionName(actionName string)
- func (o *RequestDeviceEnrollmentV4Params) SetBody(body *models.APIPostEnrollmentDetailsV4)
- func (o *RequestDeviceEnrollmentV4Params) SetContext(ctx context.Context)
- func (o *RequestDeviceEnrollmentV4Params) SetDefaults()
- func (o *RequestDeviceEnrollmentV4Params) SetFilter(filter *string)
- func (o *RequestDeviceEnrollmentV4Params) SetHTTPClient(client *http.Client)
- func (o *RequestDeviceEnrollmentV4Params) SetTimeout(timeout time.Duration)
- func (o *RequestDeviceEnrollmentV4Params) WithActionName(actionName string) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithBody(body *models.APIPostEnrollmentDetailsV4) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithContext(ctx context.Context) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithDefaults() *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithFilter(filter *string) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV4Params
- func (o *RequestDeviceEnrollmentV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestDeviceEnrollmentV4Reader
- type RequestDeviceEnrollmentV4TooManyRequests
- func (o *RequestDeviceEnrollmentV4TooManyRequests) Code() int
- func (o *RequestDeviceEnrollmentV4TooManyRequests) Error() string
- func (o *RequestDeviceEnrollmentV4TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *RequestDeviceEnrollmentV4TooManyRequests) IsClientError() bool
- func (o *RequestDeviceEnrollmentV4TooManyRequests) IsCode(code int) bool
- func (o *RequestDeviceEnrollmentV4TooManyRequests) IsRedirect() bool
- func (o *RequestDeviceEnrollmentV4TooManyRequests) IsServerError() bool
- func (o *RequestDeviceEnrollmentV4TooManyRequests) IsSuccess() bool
- func (o *RequestDeviceEnrollmentV4TooManyRequests) String() string
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 ¶
func (o *RequestDeviceEnrollmentV3BadRequest) Code() int
Code gets the status code for the request device enrollment v3 bad request response
func (*RequestDeviceEnrollmentV3BadRequest) Error ¶
func (o *RequestDeviceEnrollmentV3BadRequest) Error() string
func (*RequestDeviceEnrollmentV3BadRequest) GetPayload ¶
func (o *RequestDeviceEnrollmentV3BadRequest) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *RequestDeviceEnrollmentV3BadRequest) IsCode(code int) bool
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 ¶
func (o *RequestDeviceEnrollmentV3BadRequest) IsSuccess() bool
IsSuccess returns true when this request device enrollment v3 bad request response has a 2xx status code
func (*RequestDeviceEnrollmentV3BadRequest) String ¶
func (o *RequestDeviceEnrollmentV3BadRequest) String() 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 ¶
func (o *RequestDeviceEnrollmentV3Forbidden) Code() int
Code gets the status code for the request device enrollment v3 forbidden response
func (*RequestDeviceEnrollmentV3Forbidden) Error ¶
func (o *RequestDeviceEnrollmentV3Forbidden) Error() string
func (*RequestDeviceEnrollmentV3Forbidden) GetPayload ¶
func (o *RequestDeviceEnrollmentV3Forbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *RequestDeviceEnrollmentV3Forbidden) IsCode(code int) bool
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 ¶
func (o *RequestDeviceEnrollmentV3Forbidden) IsSuccess() bool
IsSuccess returns true when this request device enrollment v3 forbidden response has a 2xx status code
func (*RequestDeviceEnrollmentV3Forbidden) String ¶
func (o *RequestDeviceEnrollmentV3Forbidden) String() 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 ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) Code() int
Code gets the status code for the request device enrollment v3 internal server error response
func (*RequestDeviceEnrollmentV3InternalServerError) Error ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) Error() string
func (*RequestDeviceEnrollmentV3InternalServerError) GetPayload ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) GetPayload() *models.MsaspecResponseFields
func (*RequestDeviceEnrollmentV3InternalServerError) IsClientError ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) IsClientError() bool
IsClientError returns true when this request device enrollment v3 internal server error response has a 4xx status code
func (*RequestDeviceEnrollmentV3InternalServerError) IsCode ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) IsCode(code int) bool
IsCode returns true when this request device enrollment v3 internal server error response a status code equal to that given
func (*RequestDeviceEnrollmentV3InternalServerError) IsRedirect ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) IsRedirect() bool
IsRedirect returns true when this request device enrollment v3 internal server error response has a 3xx status code
func (*RequestDeviceEnrollmentV3InternalServerError) IsServerError ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) IsServerError() bool
IsServerError returns true when this request device enrollment v3 internal server error response has a 5xx status code
func (*RequestDeviceEnrollmentV3InternalServerError) IsSuccess ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) IsSuccess() bool
IsSuccess returns true when this request device enrollment v3 internal server error response has a 2xx status code
func (*RequestDeviceEnrollmentV3InternalServerError) String ¶
func (o *RequestDeviceEnrollmentV3InternalServerError) String() 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 (o *RequestDeviceEnrollmentV3OK) Error() string
func (*RequestDeviceEnrollmentV3OK) GetPayload ¶
func (o *RequestDeviceEnrollmentV3OK) GetPayload() *models.APIPostEnrollmentDetailsResponse
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 ¶
func (o *RequestDeviceEnrollmentV3Params) SetBody(body *models.APIPostEnrollmentDetails)
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 ¶
func (o *RequestDeviceEnrollmentV3Params) WithActionName(actionName string) *RequestDeviceEnrollmentV3Params
WithActionName adds the actionName to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WithBody ¶
func (o *RequestDeviceEnrollmentV3Params) WithBody(body *models.APIPostEnrollmentDetails) *RequestDeviceEnrollmentV3Params
WithBody adds the body to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WithContext ¶
func (o *RequestDeviceEnrollmentV3Params) WithContext(ctx context.Context) *RequestDeviceEnrollmentV3Params
WithContext adds the context to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WithDefaults ¶
func (o *RequestDeviceEnrollmentV3Params) WithDefaults() *RequestDeviceEnrollmentV3Params
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 ¶
func (o *RequestDeviceEnrollmentV3Params) WithFilter(filter *string) *RequestDeviceEnrollmentV3Params
WithFilter adds the filter to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WithHTTPClient ¶
func (o *RequestDeviceEnrollmentV3Params) WithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV3Params
WithHTTPClient adds the HTTPClient to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WithTimeout ¶
func (o *RequestDeviceEnrollmentV3Params) WithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV3Params
WithTimeout adds the timeout to the request device enrollment v3 params
func (*RequestDeviceEnrollmentV3Params) WriteToRequest ¶
func (o *RequestDeviceEnrollmentV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) Code() int
Code gets the status code for the request device enrollment v3 too many requests response
func (*RequestDeviceEnrollmentV3TooManyRequests) Error ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) Error() string
func (*RequestDeviceEnrollmentV3TooManyRequests) GetPayload ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*RequestDeviceEnrollmentV3TooManyRequests) IsClientError ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) IsClientError() bool
IsClientError returns true when this request device enrollment v3 too many requests response has a 4xx status code
func (*RequestDeviceEnrollmentV3TooManyRequests) IsCode ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) IsCode(code int) bool
IsCode returns true when this request device enrollment v3 too many requests response a status code equal to that given
func (*RequestDeviceEnrollmentV3TooManyRequests) IsRedirect ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) IsRedirect() bool
IsRedirect returns true when this request device enrollment v3 too many requests response has a 3xx status code
func (*RequestDeviceEnrollmentV3TooManyRequests) IsServerError ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) IsServerError() bool
IsServerError returns true when this request device enrollment v3 too many requests response has a 5xx status code
func (*RequestDeviceEnrollmentV3TooManyRequests) IsSuccess ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) IsSuccess() bool
IsSuccess returns true when this request device enrollment v3 too many requests response has a 2xx status code
func (*RequestDeviceEnrollmentV3TooManyRequests) String ¶
func (o *RequestDeviceEnrollmentV3TooManyRequests) String() 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 ¶
func (o *RequestDeviceEnrollmentV4BadRequest) Code() int
Code gets the status code for the request device enrollment v4 bad request response
func (*RequestDeviceEnrollmentV4BadRequest) Error ¶
func (o *RequestDeviceEnrollmentV4BadRequest) Error() string
func (*RequestDeviceEnrollmentV4BadRequest) GetPayload ¶
func (o *RequestDeviceEnrollmentV4BadRequest) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *RequestDeviceEnrollmentV4BadRequest) IsCode(code int) bool
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 ¶
func (o *RequestDeviceEnrollmentV4BadRequest) IsSuccess() bool
IsSuccess returns true when this request device enrollment v4 bad request response has a 2xx status code
func (*RequestDeviceEnrollmentV4BadRequest) String ¶
func (o *RequestDeviceEnrollmentV4BadRequest) String() 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 ¶
func (o *RequestDeviceEnrollmentV4Forbidden) Code() int
Code gets the status code for the request device enrollment v4 forbidden response
func (*RequestDeviceEnrollmentV4Forbidden) Error ¶
func (o *RequestDeviceEnrollmentV4Forbidden) Error() string
func (*RequestDeviceEnrollmentV4Forbidden) GetPayload ¶
func (o *RequestDeviceEnrollmentV4Forbidden) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *RequestDeviceEnrollmentV4Forbidden) IsCode(code int) bool
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 ¶
func (o *RequestDeviceEnrollmentV4Forbidden) IsSuccess() bool
IsSuccess returns true when this request device enrollment v4 forbidden response has a 2xx status code
func (*RequestDeviceEnrollmentV4Forbidden) String ¶
func (o *RequestDeviceEnrollmentV4Forbidden) String() 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 ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) Code() int
Code gets the status code for the request device enrollment v4 internal server error response
func (*RequestDeviceEnrollmentV4InternalServerError) Error ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) Error() string
func (*RequestDeviceEnrollmentV4InternalServerError) GetPayload ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) GetPayload() *models.MsaspecResponseFields
func (*RequestDeviceEnrollmentV4InternalServerError) IsClientError ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) IsClientError() bool
IsClientError returns true when this request device enrollment v4 internal server error response has a 4xx status code
func (*RequestDeviceEnrollmentV4InternalServerError) IsCode ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) IsCode(code int) bool
IsCode returns true when this request device enrollment v4 internal server error response a status code equal to that given
func (*RequestDeviceEnrollmentV4InternalServerError) IsRedirect ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) IsRedirect() bool
IsRedirect returns true when this request device enrollment v4 internal server error response has a 3xx status code
func (*RequestDeviceEnrollmentV4InternalServerError) IsServerError ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) IsServerError() bool
IsServerError returns true when this request device enrollment v4 internal server error response has a 5xx status code
func (*RequestDeviceEnrollmentV4InternalServerError) IsSuccess ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) IsSuccess() bool
IsSuccess returns true when this request device enrollment v4 internal server error response has a 2xx status code
func (*RequestDeviceEnrollmentV4InternalServerError) String ¶
func (o *RequestDeviceEnrollmentV4InternalServerError) String() 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 (o *RequestDeviceEnrollmentV4OK) Error() string
func (*RequestDeviceEnrollmentV4OK) GetPayload ¶
func (o *RequestDeviceEnrollmentV4OK) GetPayload() *models.APIPostEnrollmentDetailsResponse
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 ¶
func (o *RequestDeviceEnrollmentV4Params) SetBody(body *models.APIPostEnrollmentDetailsV4)
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 ¶
func (o *RequestDeviceEnrollmentV4Params) WithActionName(actionName string) *RequestDeviceEnrollmentV4Params
WithActionName adds the actionName to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WithBody ¶
func (o *RequestDeviceEnrollmentV4Params) WithBody(body *models.APIPostEnrollmentDetailsV4) *RequestDeviceEnrollmentV4Params
WithBody adds the body to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WithContext ¶
func (o *RequestDeviceEnrollmentV4Params) WithContext(ctx context.Context) *RequestDeviceEnrollmentV4Params
WithContext adds the context to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WithDefaults ¶
func (o *RequestDeviceEnrollmentV4Params) WithDefaults() *RequestDeviceEnrollmentV4Params
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 ¶
func (o *RequestDeviceEnrollmentV4Params) WithFilter(filter *string) *RequestDeviceEnrollmentV4Params
WithFilter adds the filter to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WithHTTPClient ¶
func (o *RequestDeviceEnrollmentV4Params) WithHTTPClient(client *http.Client) *RequestDeviceEnrollmentV4Params
WithHTTPClient adds the HTTPClient to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WithTimeout ¶
func (o *RequestDeviceEnrollmentV4Params) WithTimeout(timeout time.Duration) *RequestDeviceEnrollmentV4Params
WithTimeout adds the timeout to the request device enrollment v4 params
func (*RequestDeviceEnrollmentV4Params) WriteToRequest ¶
func (o *RequestDeviceEnrollmentV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) Code() int
Code gets the status code for the request device enrollment v4 too many requests response
func (*RequestDeviceEnrollmentV4TooManyRequests) Error ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) Error() string
func (*RequestDeviceEnrollmentV4TooManyRequests) GetPayload ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*RequestDeviceEnrollmentV4TooManyRequests) IsClientError ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) IsClientError() bool
IsClientError returns true when this request device enrollment v4 too many requests response has a 4xx status code
func (*RequestDeviceEnrollmentV4TooManyRequests) IsCode ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) IsCode(code int) bool
IsCode returns true when this request device enrollment v4 too many requests response a status code equal to that given
func (*RequestDeviceEnrollmentV4TooManyRequests) IsRedirect ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) IsRedirect() bool
IsRedirect returns true when this request device enrollment v4 too many requests response has a 3xx status code
func (*RequestDeviceEnrollmentV4TooManyRequests) IsServerError ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) IsServerError() bool
IsServerError returns true when this request device enrollment v4 too many requests response has a 5xx status code
func (*RequestDeviceEnrollmentV4TooManyRequests) IsSuccess ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) IsSuccess() bool
IsSuccess returns true when this request device enrollment v4 too many requests response has a 2xx status code
func (*RequestDeviceEnrollmentV4TooManyRequests) String ¶
func (o *RequestDeviceEnrollmentV4TooManyRequests) String() string