Documentation ¶
Index ¶
- type AdminBanDeviceV4BadRequest
- type AdminBanDeviceV4Conflict
- type AdminBanDeviceV4Forbidden
- type AdminBanDeviceV4InternalServerError
- type AdminBanDeviceV4NoContent
- type AdminBanDeviceV4Params
- func NewAdminBanDeviceV4Params() *AdminBanDeviceV4Params
- func NewAdminBanDeviceV4ParamsWithContext(ctx context.Context) *AdminBanDeviceV4Params
- func NewAdminBanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminBanDeviceV4Params
- func NewAdminBanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBanDeviceV4Params) SetBody(body *iamclientmodels.ModelDeviceBanRequestV4)
- func (o *AdminBanDeviceV4Params) SetContext(ctx context.Context)
- func (o *AdminBanDeviceV4Params) SetFlightId(flightId string)
- func (o *AdminBanDeviceV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminBanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBanDeviceV4Params) SetNamespace(namespace string)
- func (o *AdminBanDeviceV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminBanDeviceV4Params) WithBody(body *iamclientmodels.ModelDeviceBanRequestV4) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) WithContext(ctx context.Context) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) WithNamespace(namespace string) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) WithTimeout(timeout time.Duration) *AdminBanDeviceV4Params
- func (o *AdminBanDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBanDeviceV4Reader
- type AdminBanDeviceV4Unauthorized
- type AdminDecryptDeviceV4BadRequest
- type AdminDecryptDeviceV4Forbidden
- type AdminDecryptDeviceV4InternalServerError
- type AdminDecryptDeviceV4OK
- type AdminDecryptDeviceV4Params
- func NewAdminDecryptDeviceV4Params() *AdminDecryptDeviceV4Params
- func NewAdminDecryptDeviceV4ParamsWithContext(ctx context.Context) *AdminDecryptDeviceV4Params
- func NewAdminDecryptDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminDecryptDeviceV4Params
- func NewAdminDecryptDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDecryptDeviceV4Params) SetContext(ctx context.Context)
- func (o *AdminDecryptDeviceV4Params) SetDeviceID(deviceID string)
- func (o *AdminDecryptDeviceV4Params) SetFlightId(flightId string)
- func (o *AdminDecryptDeviceV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminDecryptDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDecryptDeviceV4Params) SetNamespace(namespace string)
- func (o *AdminDecryptDeviceV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminDecryptDeviceV4Params) WithContext(ctx context.Context) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) WithDeviceID(deviceID string) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) WithHTTPClient(client *http.Client) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) WithNamespace(namespace string) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) WithTimeout(timeout time.Duration) *AdminDecryptDeviceV4Params
- func (o *AdminDecryptDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDecryptDeviceV4Reader
- type AdminDecryptDeviceV4Unauthorized
- type AdminGenerateReportV4BadRequest
- type AdminGenerateReportV4Forbidden
- type AdminGenerateReportV4InternalServerError
- type AdminGenerateReportV4NotFound
- type AdminGenerateReportV4OK
- type AdminGenerateReportV4Params
- func NewAdminGenerateReportV4Params() *AdminGenerateReportV4Params
- func NewAdminGenerateReportV4ParamsWithContext(ctx context.Context) *AdminGenerateReportV4Params
- func NewAdminGenerateReportV4ParamsWithHTTPClient(client *http.Client) *AdminGenerateReportV4Params
- func NewAdminGenerateReportV4ParamsWithTimeout(timeout time.Duration) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGenerateReportV4Params) SetContext(ctx context.Context)
- func (o *AdminGenerateReportV4Params) SetDeviceType(deviceType string)
- func (o *AdminGenerateReportV4Params) SetEndDate(endDate *string)
- func (o *AdminGenerateReportV4Params) SetFlightId(flightId string)
- func (o *AdminGenerateReportV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGenerateReportV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGenerateReportV4Params) SetNamespace(namespace string)
- func (o *AdminGenerateReportV4Params) SetStartDate(startDate *string)
- func (o *AdminGenerateReportV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGenerateReportV4Params) WithContext(ctx context.Context) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithDeviceType(deviceType string) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithEndDate(endDate *string) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithHTTPClient(client *http.Client) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithNamespace(namespace string) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithStartDate(startDate *string) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WithTimeout(timeout time.Duration) *AdminGenerateReportV4Params
- func (o *AdminGenerateReportV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGenerateReportV4Reader
- type AdminGenerateReportV4Unauthorized
- type AdminGetBannedDevicesV4Forbidden
- type AdminGetBannedDevicesV4InternalServerError
- type AdminGetBannedDevicesV4OK
- type AdminGetBannedDevicesV4Params
- func NewAdminGetBannedDevicesV4Params() *AdminGetBannedDevicesV4Params
- func NewAdminGetBannedDevicesV4ParamsWithContext(ctx context.Context) *AdminGetBannedDevicesV4Params
- func NewAdminGetBannedDevicesV4ParamsWithHTTPClient(client *http.Client) *AdminGetBannedDevicesV4Params
- func NewAdminGetBannedDevicesV4ParamsWithTimeout(timeout time.Duration) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetBannedDevicesV4Params) SetContext(ctx context.Context)
- func (o *AdminGetBannedDevicesV4Params) SetDeviceType(deviceType *string)
- func (o *AdminGetBannedDevicesV4Params) SetEndDate(endDate *string)
- func (o *AdminGetBannedDevicesV4Params) SetFlightId(flightId string)
- func (o *AdminGetBannedDevicesV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetBannedDevicesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetBannedDevicesV4Params) SetLimit(limit *int64)
- func (o *AdminGetBannedDevicesV4Params) SetNamespace(namespace string)
- func (o *AdminGetBannedDevicesV4Params) SetOffset(offset *int64)
- func (o *AdminGetBannedDevicesV4Params) SetStartDate(startDate *string)
- func (o *AdminGetBannedDevicesV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetBannedDevicesV4Params) WithContext(ctx context.Context) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithDeviceType(deviceType *string) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithEndDate(endDate *string) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithHTTPClient(client *http.Client) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithLimit(limit *int64) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithNamespace(namespace string) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithOffset(offset *int64) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithStartDate(startDate *string) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WithTimeout(timeout time.Duration) *AdminGetBannedDevicesV4Params
- func (o *AdminGetBannedDevicesV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetBannedDevicesV4Reader
- type AdminGetBannedDevicesV4Unauthorized
- type AdminGetDeviceBanV4BadRequest
- type AdminGetDeviceBanV4Forbidden
- type AdminGetDeviceBanV4InternalServerError
- type AdminGetDeviceBanV4NotFound
- type AdminGetDeviceBanV4OK
- type AdminGetDeviceBanV4Params
- func NewAdminGetDeviceBanV4Params() *AdminGetDeviceBanV4Params
- func NewAdminGetDeviceBanV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBanV4Params
- func NewAdminGetDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params
- func NewAdminGetDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetDeviceBanV4Params) SetBanID(banID string)
- func (o *AdminGetDeviceBanV4Params) SetContext(ctx context.Context)
- func (o *AdminGetDeviceBanV4Params) SetFlightId(flightId string)
- func (o *AdminGetDeviceBanV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetDeviceBanV4Params) SetNamespace(namespace string)
- func (o *AdminGetDeviceBanV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetDeviceBanV4Params) WithBanID(banID string) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) WithContext(ctx context.Context) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) WithNamespace(namespace string) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceBanV4Params
- func (o *AdminGetDeviceBanV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetDeviceBanV4Reader
- type AdminGetDeviceBanV4Unauthorized
- type AdminGetDeviceBansV4BadRequest
- type AdminGetDeviceBansV4Forbidden
- type AdminGetDeviceBansV4InternalServerError
- type AdminGetDeviceBansV4OK
- type AdminGetDeviceBansV4Params
- func NewAdminGetDeviceBansV4Params() *AdminGetDeviceBansV4Params
- func NewAdminGetDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBansV4Params
- func NewAdminGetDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBansV4Params
- func NewAdminGetDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetDeviceBansV4Params) SetContext(ctx context.Context)
- func (o *AdminGetDeviceBansV4Params) SetDeviceID(deviceID string)
- func (o *AdminGetDeviceBansV4Params) SetFlightId(flightId string)
- func (o *AdminGetDeviceBansV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetDeviceBansV4Params) SetNamespace(namespace string)
- func (o *AdminGetDeviceBansV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetDeviceBansV4Params) WithContext(ctx context.Context) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) WithDeviceID(deviceID string) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) WithNamespace(namespace string) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceBansV4Params
- func (o *AdminGetDeviceBansV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetDeviceBansV4Reader
- type AdminGetDeviceBansV4Unauthorized
- type AdminGetDeviceTypesV4Forbidden
- type AdminGetDeviceTypesV4InternalServerError
- type AdminGetDeviceTypesV4OK
- type AdminGetDeviceTypesV4Params
- func NewAdminGetDeviceTypesV4Params() *AdminGetDeviceTypesV4Params
- func NewAdminGetDeviceTypesV4ParamsWithContext(ctx context.Context) *AdminGetDeviceTypesV4Params
- func NewAdminGetDeviceTypesV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceTypesV4Params
- func NewAdminGetDeviceTypesV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceTypesV4Params
- func (o *AdminGetDeviceTypesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetDeviceTypesV4Params) SetContext(ctx context.Context)
- func (o *AdminGetDeviceTypesV4Params) SetFlightId(flightId string)
- func (o *AdminGetDeviceTypesV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetDeviceTypesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetDeviceTypesV4Params) SetNamespace(namespace string)
- func (o *AdminGetDeviceTypesV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetDeviceTypesV4Params) WithContext(ctx context.Context) *AdminGetDeviceTypesV4Params
- func (o *AdminGetDeviceTypesV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceTypesV4Params
- func (o *AdminGetDeviceTypesV4Params) WithNamespace(namespace string) *AdminGetDeviceTypesV4Params
- func (o *AdminGetDeviceTypesV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceTypesV4Params
- func (o *AdminGetDeviceTypesV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetDeviceTypesV4Reader
- type AdminGetDeviceTypesV4Unauthorized
- type AdminGetDevicesByUserV4BadRequest
- type AdminGetDevicesByUserV4Forbidden
- type AdminGetDevicesByUserV4InternalServerError
- type AdminGetDevicesByUserV4NotFound
- type AdminGetDevicesByUserV4OK
- type AdminGetDevicesByUserV4Params
- func NewAdminGetDevicesByUserV4Params() *AdminGetDevicesByUserV4Params
- func NewAdminGetDevicesByUserV4ParamsWithContext(ctx context.Context) *AdminGetDevicesByUserV4Params
- func NewAdminGetDevicesByUserV4ParamsWithHTTPClient(client *http.Client) *AdminGetDevicesByUserV4Params
- func NewAdminGetDevicesByUserV4ParamsWithTimeout(timeout time.Duration) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetDevicesByUserV4Params) SetContext(ctx context.Context)
- func (o *AdminGetDevicesByUserV4Params) SetFlightId(flightId string)
- func (o *AdminGetDevicesByUserV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetDevicesByUserV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetDevicesByUserV4Params) SetNamespace(namespace string)
- func (o *AdminGetDevicesByUserV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetDevicesByUserV4Params) SetUserID(userID *string)
- func (o *AdminGetDevicesByUserV4Params) WithContext(ctx context.Context) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) WithHTTPClient(client *http.Client) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) WithNamespace(namespace string) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) WithTimeout(timeout time.Duration) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) WithUserID(userID *string) *AdminGetDevicesByUserV4Params
- func (o *AdminGetDevicesByUserV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetDevicesByUserV4Reader
- type AdminGetDevicesByUserV4Unauthorized
- type AdminGetUserDeviceBansV4Forbidden
- type AdminGetUserDeviceBansV4InternalServerError
- type AdminGetUserDeviceBansV4NotFound
- type AdminGetUserDeviceBansV4OK
- type AdminGetUserDeviceBansV4Params
- func NewAdminGetUserDeviceBansV4Params() *AdminGetUserDeviceBansV4Params
- func NewAdminGetUserDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetUserDeviceBansV4Params
- func NewAdminGetUserDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetUserDeviceBansV4Params
- func NewAdminGetUserDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetUserDeviceBansV4Params) SetContext(ctx context.Context)
- func (o *AdminGetUserDeviceBansV4Params) SetFlightId(flightId string)
- func (o *AdminGetUserDeviceBansV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetUserDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetUserDeviceBansV4Params) SetNamespace(namespace string)
- func (o *AdminGetUserDeviceBansV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetUserDeviceBansV4Params) SetUserID(userID string)
- func (o *AdminGetUserDeviceBansV4Params) WithContext(ctx context.Context) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) WithHTTPClient(client *http.Client) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) WithNamespace(namespace string) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) WithTimeout(timeout time.Duration) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) WithUserID(userID string) *AdminGetUserDeviceBansV4Params
- func (o *AdminGetUserDeviceBansV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUserDeviceBansV4Reader
- type AdminGetUserDeviceBansV4Unauthorized
- type AdminGetUsersByDeviceV4BadRequest
- type AdminGetUsersByDeviceV4Forbidden
- type AdminGetUsersByDeviceV4InternalServerError
- type AdminGetUsersByDeviceV4OK
- type AdminGetUsersByDeviceV4Params
- func NewAdminGetUsersByDeviceV4Params() *AdminGetUsersByDeviceV4Params
- func NewAdminGetUsersByDeviceV4ParamsWithContext(ctx context.Context) *AdminGetUsersByDeviceV4Params
- func NewAdminGetUsersByDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminGetUsersByDeviceV4Params
- func NewAdminGetUsersByDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetUsersByDeviceV4Params) SetContext(ctx context.Context)
- func (o *AdminGetUsersByDeviceV4Params) SetDeviceID(deviceID string)
- func (o *AdminGetUsersByDeviceV4Params) SetFlightId(flightId string)
- func (o *AdminGetUsersByDeviceV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetUsersByDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetUsersByDeviceV4Params) SetNamespace(namespace string)
- func (o *AdminGetUsersByDeviceV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetUsersByDeviceV4Params) WithContext(ctx context.Context) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) WithDeviceID(deviceID string) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) WithHTTPClient(client *http.Client) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) WithNamespace(namespace string) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) WithTimeout(timeout time.Duration) *AdminGetUsersByDeviceV4Params
- func (o *AdminGetUsersByDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUsersByDeviceV4Reader
- type AdminGetUsersByDeviceV4Unauthorized
- type AdminUnbanDeviceV4BadRequest
- type AdminUnbanDeviceV4Forbidden
- type AdminUnbanDeviceV4InternalServerError
- type AdminUnbanDeviceV4NoContent
- type AdminUnbanDeviceV4Params
- func NewAdminUnbanDeviceV4Params() *AdminUnbanDeviceV4Params
- func NewAdminUnbanDeviceV4ParamsWithContext(ctx context.Context) *AdminUnbanDeviceV4Params
- func NewAdminUnbanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params
- func NewAdminUnbanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUnbanDeviceV4Params) SetContext(ctx context.Context)
- func (o *AdminUnbanDeviceV4Params) SetDeviceID(deviceID string)
- func (o *AdminUnbanDeviceV4Params) SetFlightId(flightId string)
- func (o *AdminUnbanDeviceV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminUnbanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUnbanDeviceV4Params) SetNamespace(namespace string)
- func (o *AdminUnbanDeviceV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminUnbanDeviceV4Params) WithContext(ctx context.Context) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) WithDeviceID(deviceID string) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) WithNamespace(namespace string) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) WithTimeout(timeout time.Duration) *AdminUnbanDeviceV4Params
- func (o *AdminUnbanDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUnbanDeviceV4Reader
- type AdminUnbanDeviceV4Unauthorized
- type AdminUpdateDeviceBanV4BadRequest
- type AdminUpdateDeviceBanV4Conflict
- type AdminUpdateDeviceBanV4Forbidden
- type AdminUpdateDeviceBanV4InternalServerError
- type AdminUpdateDeviceBanV4NoContent
- type AdminUpdateDeviceBanV4NotFound
- type AdminUpdateDeviceBanV4Params
- func NewAdminUpdateDeviceBanV4Params() *AdminUpdateDeviceBanV4Params
- func NewAdminUpdateDeviceBanV4ParamsWithContext(ctx context.Context) *AdminUpdateDeviceBanV4Params
- func NewAdminUpdateDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminUpdateDeviceBanV4Params
- func NewAdminUpdateDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateDeviceBanV4Params) SetBanID(banID string)
- func (o *AdminUpdateDeviceBanV4Params) SetBody(body *iamclientmodels.ModelDeviceBanUpdateRequestV4)
- func (o *AdminUpdateDeviceBanV4Params) SetContext(ctx context.Context)
- func (o *AdminUpdateDeviceBanV4Params) SetFlightId(flightId string)
- func (o *AdminUpdateDeviceBanV4Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateDeviceBanV4Params) SetNamespace(namespace string)
- func (o *AdminUpdateDeviceBanV4Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateDeviceBanV4Params) WithBanID(banID string) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WithBody(body *iamclientmodels.ModelDeviceBanUpdateRequestV4) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WithContext(ctx context.Context) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WithHTTPClient(client *http.Client) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WithNamespace(namespace string) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WithTimeout(timeout time.Duration) *AdminUpdateDeviceBanV4Params
- func (o *AdminUpdateDeviceBanV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateDeviceBanV4Reader
- type AdminUpdateDeviceBanV4Unauthorized
- type Client
- func (a *Client) AdminBanDeviceV4Short(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, error)
- func (a *Client) AdminDecryptDeviceV4Short(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, error)
- func (a *Client) AdminGenerateReportV4Short(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, error)
- func (a *Client) AdminGetBannedDevicesV4Short(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, error)
- func (a *Client) AdminGetDeviceBanV4Short(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, error)
- func (a *Client) AdminGetDeviceBansV4Short(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, error)
- func (a *Client) AdminGetDeviceTypesV4Short(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, error)
- func (a *Client) AdminGetDevicesByUserV4Short(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, error)
- func (a *Client) AdminGetUserDeviceBansV4Short(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, error)
- func (a *Client) AdminGetUsersByDeviceV4Short(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, error)
- func (a *Client) AdminUnbanDeviceV4Short(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, error)
- func (a *Client) AdminUpdateDeviceBanV4Short(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminBanDeviceV4BadRequest ¶
type AdminBanDeviceV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminBanDeviceV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>10204</td><td>device can not be banned</td></tr></table>
func NewAdminBanDeviceV4BadRequest ¶
func NewAdminBanDeviceV4BadRequest() *AdminBanDeviceV4BadRequest
NewAdminBanDeviceV4BadRequest creates a AdminBanDeviceV4BadRequest with default headers values
func (*AdminBanDeviceV4BadRequest) Error ¶
func (o *AdminBanDeviceV4BadRequest) Error() string
func (*AdminBanDeviceV4BadRequest) GetPayload ¶
func (o *AdminBanDeviceV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminBanDeviceV4BadRequest) ToJSONString ¶
func (o *AdminBanDeviceV4BadRequest) ToJSONString() string
type AdminBanDeviceV4Conflict ¶
type AdminBanDeviceV4Conflict struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminBanDeviceV4Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10202</td><td>active device ban config already exists</td></tr></table>
func NewAdminBanDeviceV4Conflict ¶
func NewAdminBanDeviceV4Conflict() *AdminBanDeviceV4Conflict
NewAdminBanDeviceV4Conflict creates a AdminBanDeviceV4Conflict with default headers values
func (*AdminBanDeviceV4Conflict) Error ¶
func (o *AdminBanDeviceV4Conflict) Error() string
func (*AdminBanDeviceV4Conflict) GetPayload ¶
func (o *AdminBanDeviceV4Conflict) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminBanDeviceV4Conflict) ToJSONString ¶
func (o *AdminBanDeviceV4Conflict) ToJSONString() string
type AdminBanDeviceV4Forbidden ¶
type AdminBanDeviceV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminBanDeviceV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminBanDeviceV4Forbidden ¶
func NewAdminBanDeviceV4Forbidden() *AdminBanDeviceV4Forbidden
NewAdminBanDeviceV4Forbidden creates a AdminBanDeviceV4Forbidden with default headers values
func (*AdminBanDeviceV4Forbidden) Error ¶
func (o *AdminBanDeviceV4Forbidden) Error() string
func (*AdminBanDeviceV4Forbidden) GetPayload ¶
func (o *AdminBanDeviceV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminBanDeviceV4Forbidden) ToJSONString ¶
func (o *AdminBanDeviceV4Forbidden) ToJSONString() string
type AdminBanDeviceV4InternalServerError ¶
type AdminBanDeviceV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminBanDeviceV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminBanDeviceV4InternalServerError ¶
func NewAdminBanDeviceV4InternalServerError() *AdminBanDeviceV4InternalServerError
NewAdminBanDeviceV4InternalServerError creates a AdminBanDeviceV4InternalServerError with default headers values
func (*AdminBanDeviceV4InternalServerError) Error ¶
func (o *AdminBanDeviceV4InternalServerError) Error() string
func (*AdminBanDeviceV4InternalServerError) GetPayload ¶
func (o *AdminBanDeviceV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminBanDeviceV4InternalServerError) ToJSONString ¶
func (o *AdminBanDeviceV4InternalServerError) ToJSONString() string
type AdminBanDeviceV4NoContent ¶
type AdminBanDeviceV4NoContent struct { }
AdminBanDeviceV4NoContent handles this case with default header values.
Operation succeeded
func NewAdminBanDeviceV4NoContent ¶
func NewAdminBanDeviceV4NoContent() *AdminBanDeviceV4NoContent
NewAdminBanDeviceV4NoContent creates a AdminBanDeviceV4NoContent with default headers values
func (*AdminBanDeviceV4NoContent) Error ¶
func (o *AdminBanDeviceV4NoContent) Error() string
type AdminBanDeviceV4Params ¶
type AdminBanDeviceV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *iamclientmodels.ModelDeviceBanRequestV4 /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminBanDeviceV4Params contains all the parameters to send to the API endpoint for the admin ban device v4 operation typically these are written to a http.Request
func NewAdminBanDeviceV4Params ¶
func NewAdminBanDeviceV4Params() *AdminBanDeviceV4Params
NewAdminBanDeviceV4Params creates a new AdminBanDeviceV4Params object with the default values initialized.
func NewAdminBanDeviceV4ParamsWithContext ¶
func NewAdminBanDeviceV4ParamsWithContext(ctx context.Context) *AdminBanDeviceV4Params
NewAdminBanDeviceV4ParamsWithContext creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminBanDeviceV4ParamsWithHTTPClient ¶
func NewAdminBanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminBanDeviceV4Params
NewAdminBanDeviceV4ParamsWithHTTPClient creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminBanDeviceV4ParamsWithTimeout ¶
func NewAdminBanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminBanDeviceV4Params
NewAdminBanDeviceV4ParamsWithTimeout creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminBanDeviceV4Params) SetAuthInfoWriter ¶
func (o *AdminBanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetBody ¶
func (o *AdminBanDeviceV4Params) SetBody(body *iamclientmodels.ModelDeviceBanRequestV4)
SetBody adds the body to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetContext ¶
func (o *AdminBanDeviceV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetFlightId ¶
func (o *AdminBanDeviceV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminBanDeviceV4Params) SetHTTPClient ¶
func (o *AdminBanDeviceV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetHTTPClientTransport ¶
func (o *AdminBanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetNamespace ¶
func (o *AdminBanDeviceV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin ban device v4 params
func (*AdminBanDeviceV4Params) SetTimeout ¶
func (o *AdminBanDeviceV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WithBody ¶
func (o *AdminBanDeviceV4Params) WithBody(body *iamclientmodels.ModelDeviceBanRequestV4) *AdminBanDeviceV4Params
WithBody adds the body to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WithContext ¶
func (o *AdminBanDeviceV4Params) WithContext(ctx context.Context) *AdminBanDeviceV4Params
WithContext adds the context to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WithHTTPClient ¶
func (o *AdminBanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminBanDeviceV4Params
WithHTTPClient adds the HTTPClient to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WithNamespace ¶
func (o *AdminBanDeviceV4Params) WithNamespace(namespace string) *AdminBanDeviceV4Params
WithNamespace adds the namespace to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WithTimeout ¶
func (o *AdminBanDeviceV4Params) WithTimeout(timeout time.Duration) *AdminBanDeviceV4Params
WithTimeout adds the timeout to the admin ban device v4 params
func (*AdminBanDeviceV4Params) WriteToRequest ¶
func (o *AdminBanDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBanDeviceV4Reader ¶
type AdminBanDeviceV4Reader struct {
// contains filtered or unexported fields
}
AdminBanDeviceV4Reader is a Reader for the AdminBanDeviceV4 structure.
func (*AdminBanDeviceV4Reader) ReadResponse ¶
func (o *AdminBanDeviceV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBanDeviceV4Unauthorized ¶
type AdminBanDeviceV4Unauthorized struct {
}AdminBanDeviceV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminBanDeviceV4Unauthorized ¶
func NewAdminBanDeviceV4Unauthorized() *AdminBanDeviceV4Unauthorized
NewAdminBanDeviceV4Unauthorized creates a AdminBanDeviceV4Unauthorized with default headers values
func (*AdminBanDeviceV4Unauthorized) Error ¶
func (o *AdminBanDeviceV4Unauthorized) Error() string
func (*AdminBanDeviceV4Unauthorized) GetPayload ¶
func (o *AdminBanDeviceV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminBanDeviceV4Unauthorized) ToJSONString ¶
func (o *AdminBanDeviceV4Unauthorized) ToJSONString() string
type AdminDecryptDeviceV4BadRequest ¶
type AdminDecryptDeviceV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDecryptDeviceV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminDecryptDeviceV4BadRequest ¶
func NewAdminDecryptDeviceV4BadRequest() *AdminDecryptDeviceV4BadRequest
NewAdminDecryptDeviceV4BadRequest creates a AdminDecryptDeviceV4BadRequest with default headers values
func (*AdminDecryptDeviceV4BadRequest) Error ¶
func (o *AdminDecryptDeviceV4BadRequest) Error() string
func (*AdminDecryptDeviceV4BadRequest) GetPayload ¶
func (o *AdminDecryptDeviceV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminDecryptDeviceV4BadRequest) ToJSONString ¶
func (o *AdminDecryptDeviceV4BadRequest) ToJSONString() string
type AdminDecryptDeviceV4Forbidden ¶
type AdminDecryptDeviceV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDecryptDeviceV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminDecryptDeviceV4Forbidden ¶
func NewAdminDecryptDeviceV4Forbidden() *AdminDecryptDeviceV4Forbidden
NewAdminDecryptDeviceV4Forbidden creates a AdminDecryptDeviceV4Forbidden with default headers values
func (*AdminDecryptDeviceV4Forbidden) Error ¶
func (o *AdminDecryptDeviceV4Forbidden) Error() string
func (*AdminDecryptDeviceV4Forbidden) GetPayload ¶
func (o *AdminDecryptDeviceV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminDecryptDeviceV4Forbidden) ToJSONString ¶
func (o *AdminDecryptDeviceV4Forbidden) ToJSONString() string
type AdminDecryptDeviceV4InternalServerError ¶
type AdminDecryptDeviceV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDecryptDeviceV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminDecryptDeviceV4InternalServerError ¶
func NewAdminDecryptDeviceV4InternalServerError() *AdminDecryptDeviceV4InternalServerError
NewAdminDecryptDeviceV4InternalServerError creates a AdminDecryptDeviceV4InternalServerError with default headers values
func (*AdminDecryptDeviceV4InternalServerError) Error ¶
func (o *AdminDecryptDeviceV4InternalServerError) Error() string
func (*AdminDecryptDeviceV4InternalServerError) GetPayload ¶
func (o *AdminDecryptDeviceV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminDecryptDeviceV4InternalServerError) ToJSONString ¶
func (o *AdminDecryptDeviceV4InternalServerError) ToJSONString() string
type AdminDecryptDeviceV4OK ¶
type AdminDecryptDeviceV4OK struct {
Payload *iamclientmodels.ModelDeviceIDDecryptResponseV4
}
AdminDecryptDeviceV4OK handles this case with default header values.
Operation succeeded
func NewAdminDecryptDeviceV4OK ¶
func NewAdminDecryptDeviceV4OK() *AdminDecryptDeviceV4OK
NewAdminDecryptDeviceV4OK creates a AdminDecryptDeviceV4OK with default headers values
func (*AdminDecryptDeviceV4OK) Error ¶
func (o *AdminDecryptDeviceV4OK) Error() string
func (*AdminDecryptDeviceV4OK) GetPayload ¶
func (o *AdminDecryptDeviceV4OK) GetPayload() *iamclientmodels.ModelDeviceIDDecryptResponseV4
func (*AdminDecryptDeviceV4OK) ToJSONString ¶
func (o *AdminDecryptDeviceV4OK) ToJSONString() string
type AdminDecryptDeviceV4Params ¶
type AdminDecryptDeviceV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*DeviceID device id */ DeviceID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminDecryptDeviceV4Params contains all the parameters to send to the API endpoint for the admin decrypt device v4 operation typically these are written to a http.Request
func NewAdminDecryptDeviceV4Params ¶
func NewAdminDecryptDeviceV4Params() *AdminDecryptDeviceV4Params
NewAdminDecryptDeviceV4Params creates a new AdminDecryptDeviceV4Params object with the default values initialized.
func NewAdminDecryptDeviceV4ParamsWithContext ¶
func NewAdminDecryptDeviceV4ParamsWithContext(ctx context.Context) *AdminDecryptDeviceV4Params
NewAdminDecryptDeviceV4ParamsWithContext creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminDecryptDeviceV4ParamsWithHTTPClient ¶
func NewAdminDecryptDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminDecryptDeviceV4Params
NewAdminDecryptDeviceV4ParamsWithHTTPClient creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDecryptDeviceV4ParamsWithTimeout ¶
func NewAdminDecryptDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminDecryptDeviceV4Params
NewAdminDecryptDeviceV4ParamsWithTimeout creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDecryptDeviceV4Params) SetAuthInfoWriter ¶
func (o *AdminDecryptDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetContext ¶
func (o *AdminDecryptDeviceV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetDeviceID ¶
func (o *AdminDecryptDeviceV4Params) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetFlightId ¶
func (o *AdminDecryptDeviceV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDecryptDeviceV4Params) SetHTTPClient ¶
func (o *AdminDecryptDeviceV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetHTTPClientTransport ¶
func (o *AdminDecryptDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetNamespace ¶
func (o *AdminDecryptDeviceV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) SetTimeout ¶
func (o *AdminDecryptDeviceV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WithContext ¶
func (o *AdminDecryptDeviceV4Params) WithContext(ctx context.Context) *AdminDecryptDeviceV4Params
WithContext adds the context to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WithDeviceID ¶
func (o *AdminDecryptDeviceV4Params) WithDeviceID(deviceID string) *AdminDecryptDeviceV4Params
WithDeviceID adds the deviceID to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WithHTTPClient ¶
func (o *AdminDecryptDeviceV4Params) WithHTTPClient(client *http.Client) *AdminDecryptDeviceV4Params
WithHTTPClient adds the HTTPClient to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WithNamespace ¶
func (o *AdminDecryptDeviceV4Params) WithNamespace(namespace string) *AdminDecryptDeviceV4Params
WithNamespace adds the namespace to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WithTimeout ¶
func (o *AdminDecryptDeviceV4Params) WithTimeout(timeout time.Duration) *AdminDecryptDeviceV4Params
WithTimeout adds the timeout to the admin decrypt device v4 params
func (*AdminDecryptDeviceV4Params) WriteToRequest ¶
func (o *AdminDecryptDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDecryptDeviceV4Reader ¶
type AdminDecryptDeviceV4Reader struct {
// contains filtered or unexported fields
}
AdminDecryptDeviceV4Reader is a Reader for the AdminDecryptDeviceV4 structure.
func (*AdminDecryptDeviceV4Reader) ReadResponse ¶
func (o *AdminDecryptDeviceV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDecryptDeviceV4Unauthorized ¶
type AdminDecryptDeviceV4Unauthorized struct {
}AdminDecryptDeviceV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminDecryptDeviceV4Unauthorized ¶
func NewAdminDecryptDeviceV4Unauthorized() *AdminDecryptDeviceV4Unauthorized
NewAdminDecryptDeviceV4Unauthorized creates a AdminDecryptDeviceV4Unauthorized with default headers values
func (*AdminDecryptDeviceV4Unauthorized) Error ¶
func (o *AdminDecryptDeviceV4Unauthorized) Error() string
func (*AdminDecryptDeviceV4Unauthorized) GetPayload ¶
func (o *AdminDecryptDeviceV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminDecryptDeviceV4Unauthorized) ToJSONString ¶
func (o *AdminDecryptDeviceV4Unauthorized) ToJSONString() string
type AdminGenerateReportV4BadRequest ¶
type AdminGenerateReportV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGenerateReportV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminGenerateReportV4BadRequest ¶
func NewAdminGenerateReportV4BadRequest() *AdminGenerateReportV4BadRequest
NewAdminGenerateReportV4BadRequest creates a AdminGenerateReportV4BadRequest with default headers values
func (*AdminGenerateReportV4BadRequest) Error ¶
func (o *AdminGenerateReportV4BadRequest) Error() string
func (*AdminGenerateReportV4BadRequest) GetPayload ¶
func (o *AdminGenerateReportV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGenerateReportV4BadRequest) ToJSONString ¶
func (o *AdminGenerateReportV4BadRequest) ToJSONString() string
type AdminGenerateReportV4Forbidden ¶
type AdminGenerateReportV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGenerateReportV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGenerateReportV4Forbidden ¶
func NewAdminGenerateReportV4Forbidden() *AdminGenerateReportV4Forbidden
NewAdminGenerateReportV4Forbidden creates a AdminGenerateReportV4Forbidden with default headers values
func (*AdminGenerateReportV4Forbidden) Error ¶
func (o *AdminGenerateReportV4Forbidden) Error() string
func (*AdminGenerateReportV4Forbidden) GetPayload ¶
func (o *AdminGenerateReportV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGenerateReportV4Forbidden) ToJSONString ¶
func (o *AdminGenerateReportV4Forbidden) ToJSONString() string
type AdminGenerateReportV4InternalServerError ¶
type AdminGenerateReportV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGenerateReportV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGenerateReportV4InternalServerError ¶
func NewAdminGenerateReportV4InternalServerError() *AdminGenerateReportV4InternalServerError
NewAdminGenerateReportV4InternalServerError creates a AdminGenerateReportV4InternalServerError with default headers values
func (*AdminGenerateReportV4InternalServerError) Error ¶
func (o *AdminGenerateReportV4InternalServerError) Error() string
func (*AdminGenerateReportV4InternalServerError) GetPayload ¶
func (o *AdminGenerateReportV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGenerateReportV4InternalServerError) ToJSONString ¶
func (o *AdminGenerateReportV4InternalServerError) ToJSONString() string
type AdminGenerateReportV4NotFound ¶
type AdminGenerateReportV4NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGenerateReportV4NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20008</td><td>user not found</td></tr><tr><td>10139</td><td>platform account not found</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>
func NewAdminGenerateReportV4NotFound ¶
func NewAdminGenerateReportV4NotFound() *AdminGenerateReportV4NotFound
NewAdminGenerateReportV4NotFound creates a AdminGenerateReportV4NotFound with default headers values
func (*AdminGenerateReportV4NotFound) Error ¶
func (o *AdminGenerateReportV4NotFound) Error() string
func (*AdminGenerateReportV4NotFound) GetPayload ¶
func (o *AdminGenerateReportV4NotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGenerateReportV4NotFound) ToJSONString ¶
func (o *AdminGenerateReportV4NotFound) ToJSONString() string
type AdminGenerateReportV4OK ¶
type AdminGenerateReportV4OK struct { }
AdminGenerateReportV4OK handles this case with default header values.
Operation succeeded
func NewAdminGenerateReportV4OK ¶
func NewAdminGenerateReportV4OK() *AdminGenerateReportV4OK
NewAdminGenerateReportV4OK creates a AdminGenerateReportV4OK with default headers values
func (*AdminGenerateReportV4OK) Error ¶
func (o *AdminGenerateReportV4OK) Error() string
type AdminGenerateReportV4Params ¶
type AdminGenerateReportV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*EndDate end date */ EndDate *string /*StartDate start date */ StartDate *string /*DeviceType device type */ DeviceType string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGenerateReportV4Params contains all the parameters to send to the API endpoint for the admin generate report v4 operation typically these are written to a http.Request
func NewAdminGenerateReportV4Params ¶
func NewAdminGenerateReportV4Params() *AdminGenerateReportV4Params
NewAdminGenerateReportV4Params creates a new AdminGenerateReportV4Params object with the default values initialized.
func NewAdminGenerateReportV4ParamsWithContext ¶
func NewAdminGenerateReportV4ParamsWithContext(ctx context.Context) *AdminGenerateReportV4Params
NewAdminGenerateReportV4ParamsWithContext creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGenerateReportV4ParamsWithHTTPClient ¶
func NewAdminGenerateReportV4ParamsWithHTTPClient(client *http.Client) *AdminGenerateReportV4Params
NewAdminGenerateReportV4ParamsWithHTTPClient creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGenerateReportV4ParamsWithTimeout ¶
func NewAdminGenerateReportV4ParamsWithTimeout(timeout time.Duration) *AdminGenerateReportV4Params
NewAdminGenerateReportV4ParamsWithTimeout creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGenerateReportV4Params) SetAuthInfoWriter ¶
func (o *AdminGenerateReportV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetContext ¶
func (o *AdminGenerateReportV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetDeviceType ¶
func (o *AdminGenerateReportV4Params) SetDeviceType(deviceType string)
SetDeviceType adds the deviceType to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetEndDate ¶
func (o *AdminGenerateReportV4Params) SetEndDate(endDate *string)
SetEndDate adds the endDate to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetFlightId ¶
func (o *AdminGenerateReportV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGenerateReportV4Params) SetHTTPClient ¶
func (o *AdminGenerateReportV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetHTTPClientTransport ¶
func (o *AdminGenerateReportV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetNamespace ¶
func (o *AdminGenerateReportV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetStartDate ¶
func (o *AdminGenerateReportV4Params) SetStartDate(startDate *string)
SetStartDate adds the startDate to the admin generate report v4 params
func (*AdminGenerateReportV4Params) SetTimeout ¶
func (o *AdminGenerateReportV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithContext ¶
func (o *AdminGenerateReportV4Params) WithContext(ctx context.Context) *AdminGenerateReportV4Params
WithContext adds the context to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithDeviceType ¶
func (o *AdminGenerateReportV4Params) WithDeviceType(deviceType string) *AdminGenerateReportV4Params
WithDeviceType adds the deviceType to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithEndDate ¶
func (o *AdminGenerateReportV4Params) WithEndDate(endDate *string) *AdminGenerateReportV4Params
WithEndDate adds the endDate to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithHTTPClient ¶
func (o *AdminGenerateReportV4Params) WithHTTPClient(client *http.Client) *AdminGenerateReportV4Params
WithHTTPClient adds the HTTPClient to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithNamespace ¶
func (o *AdminGenerateReportV4Params) WithNamespace(namespace string) *AdminGenerateReportV4Params
WithNamespace adds the namespace to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithStartDate ¶
func (o *AdminGenerateReportV4Params) WithStartDate(startDate *string) *AdminGenerateReportV4Params
WithStartDate adds the startDate to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WithTimeout ¶
func (o *AdminGenerateReportV4Params) WithTimeout(timeout time.Duration) *AdminGenerateReportV4Params
WithTimeout adds the timeout to the admin generate report v4 params
func (*AdminGenerateReportV4Params) WriteToRequest ¶
func (o *AdminGenerateReportV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGenerateReportV4Reader ¶
type AdminGenerateReportV4Reader struct {
// contains filtered or unexported fields
}
AdminGenerateReportV4Reader is a Reader for the AdminGenerateReportV4 structure.
func (*AdminGenerateReportV4Reader) ReadResponse ¶
func (o *AdminGenerateReportV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGenerateReportV4Unauthorized ¶
type AdminGenerateReportV4Unauthorized struct {
}AdminGenerateReportV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGenerateReportV4Unauthorized ¶
func NewAdminGenerateReportV4Unauthorized() *AdminGenerateReportV4Unauthorized
NewAdminGenerateReportV4Unauthorized creates a AdminGenerateReportV4Unauthorized with default headers values
func (*AdminGenerateReportV4Unauthorized) Error ¶
func (o *AdminGenerateReportV4Unauthorized) Error() string
func (*AdminGenerateReportV4Unauthorized) GetPayload ¶
func (o *AdminGenerateReportV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGenerateReportV4Unauthorized) ToJSONString ¶
func (o *AdminGenerateReportV4Unauthorized) ToJSONString() string
type AdminGetBannedDevicesV4Forbidden ¶
type AdminGetBannedDevicesV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetBannedDevicesV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetBannedDevicesV4Forbidden ¶
func NewAdminGetBannedDevicesV4Forbidden() *AdminGetBannedDevicesV4Forbidden
NewAdminGetBannedDevicesV4Forbidden creates a AdminGetBannedDevicesV4Forbidden with default headers values
func (*AdminGetBannedDevicesV4Forbidden) Error ¶
func (o *AdminGetBannedDevicesV4Forbidden) Error() string
func (*AdminGetBannedDevicesV4Forbidden) GetPayload ¶
func (o *AdminGetBannedDevicesV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetBannedDevicesV4Forbidden) ToJSONString ¶
func (o *AdminGetBannedDevicesV4Forbidden) ToJSONString() string
type AdminGetBannedDevicesV4InternalServerError ¶
type AdminGetBannedDevicesV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetBannedDevicesV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetBannedDevicesV4InternalServerError ¶
func NewAdminGetBannedDevicesV4InternalServerError() *AdminGetBannedDevicesV4InternalServerError
NewAdminGetBannedDevicesV4InternalServerError creates a AdminGetBannedDevicesV4InternalServerError with default headers values
func (*AdminGetBannedDevicesV4InternalServerError) Error ¶
func (o *AdminGetBannedDevicesV4InternalServerError) Error() string
func (*AdminGetBannedDevicesV4InternalServerError) GetPayload ¶
func (o *AdminGetBannedDevicesV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetBannedDevicesV4InternalServerError) ToJSONString ¶
func (o *AdminGetBannedDevicesV4InternalServerError) ToJSONString() string
type AdminGetBannedDevicesV4OK ¶
type AdminGetBannedDevicesV4OK struct {
Payload *iamclientmodels.ModelDeviceBannedResponseV4
}
AdminGetBannedDevicesV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetBannedDevicesV4OK ¶
func NewAdminGetBannedDevicesV4OK() *AdminGetBannedDevicesV4OK
NewAdminGetBannedDevicesV4OK creates a AdminGetBannedDevicesV4OK with default headers values
func (*AdminGetBannedDevicesV4OK) Error ¶
func (o *AdminGetBannedDevicesV4OK) Error() string
func (*AdminGetBannedDevicesV4OK) GetPayload ¶
func (o *AdminGetBannedDevicesV4OK) GetPayload() *iamclientmodels.ModelDeviceBannedResponseV4
func (*AdminGetBannedDevicesV4OK) ToJSONString ¶
func (o *AdminGetBannedDevicesV4OK) ToJSONString() string
type AdminGetBannedDevicesV4Params ¶
type AdminGetBannedDevicesV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*DeviceType device type */ DeviceType *string /*EndDate end date */ EndDate *string /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Offset the count to skip */ Offset *int64 /*StartDate start date */ StartDate *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetBannedDevicesV4Params contains all the parameters to send to the API endpoint for the admin get banned devices v4 operation typically these are written to a http.Request
func NewAdminGetBannedDevicesV4Params ¶
func NewAdminGetBannedDevicesV4Params() *AdminGetBannedDevicesV4Params
NewAdminGetBannedDevicesV4Params creates a new AdminGetBannedDevicesV4Params object with the default values initialized.
func NewAdminGetBannedDevicesV4ParamsWithContext ¶
func NewAdminGetBannedDevicesV4ParamsWithContext(ctx context.Context) *AdminGetBannedDevicesV4Params
NewAdminGetBannedDevicesV4ParamsWithContext creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetBannedDevicesV4ParamsWithHTTPClient ¶
func NewAdminGetBannedDevicesV4ParamsWithHTTPClient(client *http.Client) *AdminGetBannedDevicesV4Params
NewAdminGetBannedDevicesV4ParamsWithHTTPClient creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetBannedDevicesV4ParamsWithTimeout ¶
func NewAdminGetBannedDevicesV4ParamsWithTimeout(timeout time.Duration) *AdminGetBannedDevicesV4Params
NewAdminGetBannedDevicesV4ParamsWithTimeout creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetBannedDevicesV4Params) SetAuthInfoWriter ¶
func (o *AdminGetBannedDevicesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetContext ¶
func (o *AdminGetBannedDevicesV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetDeviceType ¶
func (o *AdminGetBannedDevicesV4Params) SetDeviceType(deviceType *string)
SetDeviceType adds the deviceType to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetEndDate ¶
func (o *AdminGetBannedDevicesV4Params) SetEndDate(endDate *string)
SetEndDate adds the endDate to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetFlightId ¶
func (o *AdminGetBannedDevicesV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetBannedDevicesV4Params) SetHTTPClient ¶
func (o *AdminGetBannedDevicesV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetHTTPClientTransport ¶
func (o *AdminGetBannedDevicesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetLimit ¶
func (o *AdminGetBannedDevicesV4Params) SetLimit(limit *int64)
SetLimit adds the limit to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetNamespace ¶
func (o *AdminGetBannedDevicesV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetOffset ¶
func (o *AdminGetBannedDevicesV4Params) SetOffset(offset *int64)
SetOffset adds the offset to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetStartDate ¶
func (o *AdminGetBannedDevicesV4Params) SetStartDate(startDate *string)
SetStartDate adds the startDate to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) SetTimeout ¶
func (o *AdminGetBannedDevicesV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithContext ¶
func (o *AdminGetBannedDevicesV4Params) WithContext(ctx context.Context) *AdminGetBannedDevicesV4Params
WithContext adds the context to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithDeviceType ¶
func (o *AdminGetBannedDevicesV4Params) WithDeviceType(deviceType *string) *AdminGetBannedDevicesV4Params
WithDeviceType adds the deviceType to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithEndDate ¶
func (o *AdminGetBannedDevicesV4Params) WithEndDate(endDate *string) *AdminGetBannedDevicesV4Params
WithEndDate adds the endDate to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithHTTPClient ¶
func (o *AdminGetBannedDevicesV4Params) WithHTTPClient(client *http.Client) *AdminGetBannedDevicesV4Params
WithHTTPClient adds the HTTPClient to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithLimit ¶
func (o *AdminGetBannedDevicesV4Params) WithLimit(limit *int64) *AdminGetBannedDevicesV4Params
WithLimit adds the limit to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithNamespace ¶
func (o *AdminGetBannedDevicesV4Params) WithNamespace(namespace string) *AdminGetBannedDevicesV4Params
WithNamespace adds the namespace to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithOffset ¶
func (o *AdminGetBannedDevicesV4Params) WithOffset(offset *int64) *AdminGetBannedDevicesV4Params
WithOffset adds the offset to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithStartDate ¶
func (o *AdminGetBannedDevicesV4Params) WithStartDate(startDate *string) *AdminGetBannedDevicesV4Params
WithStartDate adds the startDate to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WithTimeout ¶
func (o *AdminGetBannedDevicesV4Params) WithTimeout(timeout time.Duration) *AdminGetBannedDevicesV4Params
WithTimeout adds the timeout to the admin get banned devices v4 params
func (*AdminGetBannedDevicesV4Params) WriteToRequest ¶
func (o *AdminGetBannedDevicesV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetBannedDevicesV4Reader ¶
type AdminGetBannedDevicesV4Reader struct {
// contains filtered or unexported fields
}
AdminGetBannedDevicesV4Reader is a Reader for the AdminGetBannedDevicesV4 structure.
func (*AdminGetBannedDevicesV4Reader) ReadResponse ¶
func (o *AdminGetBannedDevicesV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetBannedDevicesV4Unauthorized ¶
type AdminGetBannedDevicesV4Unauthorized struct {
}AdminGetBannedDevicesV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetBannedDevicesV4Unauthorized ¶
func NewAdminGetBannedDevicesV4Unauthorized() *AdminGetBannedDevicesV4Unauthorized
NewAdminGetBannedDevicesV4Unauthorized creates a AdminGetBannedDevicesV4Unauthorized with default headers values
func (*AdminGetBannedDevicesV4Unauthorized) Error ¶
func (o *AdminGetBannedDevicesV4Unauthorized) Error() string
func (*AdminGetBannedDevicesV4Unauthorized) GetPayload ¶
func (o *AdminGetBannedDevicesV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetBannedDevicesV4Unauthorized) ToJSONString ¶
func (o *AdminGetBannedDevicesV4Unauthorized) ToJSONString() string
type AdminGetDeviceBanV4BadRequest ¶
type AdminGetDeviceBanV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBanV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminGetDeviceBanV4BadRequest ¶
func NewAdminGetDeviceBanV4BadRequest() *AdminGetDeviceBanV4BadRequest
NewAdminGetDeviceBanV4BadRequest creates a AdminGetDeviceBanV4BadRequest with default headers values
func (*AdminGetDeviceBanV4BadRequest) Error ¶
func (o *AdminGetDeviceBanV4BadRequest) Error() string
func (*AdminGetDeviceBanV4BadRequest) GetPayload ¶
func (o *AdminGetDeviceBanV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBanV4BadRequest) ToJSONString ¶
func (o *AdminGetDeviceBanV4BadRequest) ToJSONString() string
type AdminGetDeviceBanV4Forbidden ¶
type AdminGetDeviceBanV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBanV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetDeviceBanV4Forbidden ¶
func NewAdminGetDeviceBanV4Forbidden() *AdminGetDeviceBanV4Forbidden
NewAdminGetDeviceBanV4Forbidden creates a AdminGetDeviceBanV4Forbidden with default headers values
func (*AdminGetDeviceBanV4Forbidden) Error ¶
func (o *AdminGetDeviceBanV4Forbidden) Error() string
func (*AdminGetDeviceBanV4Forbidden) GetPayload ¶
func (o *AdminGetDeviceBanV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBanV4Forbidden) ToJSONString ¶
func (o *AdminGetDeviceBanV4Forbidden) ToJSONString() string
type AdminGetDeviceBanV4InternalServerError ¶
type AdminGetDeviceBanV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBanV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetDeviceBanV4InternalServerError ¶
func NewAdminGetDeviceBanV4InternalServerError() *AdminGetDeviceBanV4InternalServerError
NewAdminGetDeviceBanV4InternalServerError creates a AdminGetDeviceBanV4InternalServerError with default headers values
func (*AdminGetDeviceBanV4InternalServerError) Error ¶
func (o *AdminGetDeviceBanV4InternalServerError) Error() string
func (*AdminGetDeviceBanV4InternalServerError) GetPayload ¶
func (o *AdminGetDeviceBanV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBanV4InternalServerError) ToJSONString ¶
func (o *AdminGetDeviceBanV4InternalServerError) ToJSONString() string
type AdminGetDeviceBanV4NotFound ¶
type AdminGetDeviceBanV4NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBanV4NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>
func NewAdminGetDeviceBanV4NotFound ¶
func NewAdminGetDeviceBanV4NotFound() *AdminGetDeviceBanV4NotFound
NewAdminGetDeviceBanV4NotFound creates a AdminGetDeviceBanV4NotFound with default headers values
func (*AdminGetDeviceBanV4NotFound) Error ¶
func (o *AdminGetDeviceBanV4NotFound) Error() string
func (*AdminGetDeviceBanV4NotFound) GetPayload ¶
func (o *AdminGetDeviceBanV4NotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBanV4NotFound) ToJSONString ¶
func (o *AdminGetDeviceBanV4NotFound) ToJSONString() string
type AdminGetDeviceBanV4OK ¶
type AdminGetDeviceBanV4OK struct {
Payload *iamclientmodels.ModelDeviceBanResponseV4
}
AdminGetDeviceBanV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetDeviceBanV4OK ¶
func NewAdminGetDeviceBanV4OK() *AdminGetDeviceBanV4OK
NewAdminGetDeviceBanV4OK creates a AdminGetDeviceBanV4OK with default headers values
func (*AdminGetDeviceBanV4OK) Error ¶
func (o *AdminGetDeviceBanV4OK) Error() string
func (*AdminGetDeviceBanV4OK) GetPayload ¶
func (o *AdminGetDeviceBanV4OK) GetPayload() *iamclientmodels.ModelDeviceBanResponseV4
func (*AdminGetDeviceBanV4OK) ToJSONString ¶
func (o *AdminGetDeviceBanV4OK) ToJSONString() string
type AdminGetDeviceBanV4Params ¶
type AdminGetDeviceBanV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BanID device id */ BanID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetDeviceBanV4Params contains all the parameters to send to the API endpoint for the admin get device ban v4 operation typically these are written to a http.Request
func NewAdminGetDeviceBanV4Params ¶
func NewAdminGetDeviceBanV4Params() *AdminGetDeviceBanV4Params
NewAdminGetDeviceBanV4Params creates a new AdminGetDeviceBanV4Params object with the default values initialized.
func NewAdminGetDeviceBanV4ParamsWithContext ¶
func NewAdminGetDeviceBanV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBanV4Params
NewAdminGetDeviceBanV4ParamsWithContext creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetDeviceBanV4ParamsWithHTTPClient ¶
func NewAdminGetDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params
NewAdminGetDeviceBanV4ParamsWithHTTPClient creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetDeviceBanV4ParamsWithTimeout ¶
func NewAdminGetDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBanV4Params
NewAdminGetDeviceBanV4ParamsWithTimeout creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetDeviceBanV4Params) SetAuthInfoWriter ¶
func (o *AdminGetDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetBanID ¶
func (o *AdminGetDeviceBanV4Params) SetBanID(banID string)
SetBanID adds the banId to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetContext ¶
func (o *AdminGetDeviceBanV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetFlightId ¶
func (o *AdminGetDeviceBanV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetDeviceBanV4Params) SetHTTPClient ¶
func (o *AdminGetDeviceBanV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetHTTPClientTransport ¶
func (o *AdminGetDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetNamespace ¶
func (o *AdminGetDeviceBanV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) SetTimeout ¶
func (o *AdminGetDeviceBanV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WithBanID ¶
func (o *AdminGetDeviceBanV4Params) WithBanID(banID string) *AdminGetDeviceBanV4Params
WithBanID adds the banID to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WithContext ¶
func (o *AdminGetDeviceBanV4Params) WithContext(ctx context.Context) *AdminGetDeviceBanV4Params
WithContext adds the context to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WithHTTPClient ¶
func (o *AdminGetDeviceBanV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params
WithHTTPClient adds the HTTPClient to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WithNamespace ¶
func (o *AdminGetDeviceBanV4Params) WithNamespace(namespace string) *AdminGetDeviceBanV4Params
WithNamespace adds the namespace to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WithTimeout ¶
func (o *AdminGetDeviceBanV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceBanV4Params
WithTimeout adds the timeout to the admin get device ban v4 params
func (*AdminGetDeviceBanV4Params) WriteToRequest ¶
func (o *AdminGetDeviceBanV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetDeviceBanV4Reader ¶
type AdminGetDeviceBanV4Reader struct {
// contains filtered or unexported fields
}
AdminGetDeviceBanV4Reader is a Reader for the AdminGetDeviceBanV4 structure.
func (*AdminGetDeviceBanV4Reader) ReadResponse ¶
func (o *AdminGetDeviceBanV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetDeviceBanV4Unauthorized ¶
type AdminGetDeviceBanV4Unauthorized struct {
}AdminGetDeviceBanV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetDeviceBanV4Unauthorized ¶
func NewAdminGetDeviceBanV4Unauthorized() *AdminGetDeviceBanV4Unauthorized
NewAdminGetDeviceBanV4Unauthorized creates a AdminGetDeviceBanV4Unauthorized with default headers values
func (*AdminGetDeviceBanV4Unauthorized) Error ¶
func (o *AdminGetDeviceBanV4Unauthorized) Error() string
func (*AdminGetDeviceBanV4Unauthorized) GetPayload ¶
func (o *AdminGetDeviceBanV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBanV4Unauthorized) ToJSONString ¶
func (o *AdminGetDeviceBanV4Unauthorized) ToJSONString() string
type AdminGetDeviceBansV4BadRequest ¶
type AdminGetDeviceBansV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBansV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminGetDeviceBansV4BadRequest ¶
func NewAdminGetDeviceBansV4BadRequest() *AdminGetDeviceBansV4BadRequest
NewAdminGetDeviceBansV4BadRequest creates a AdminGetDeviceBansV4BadRequest with default headers values
func (*AdminGetDeviceBansV4BadRequest) Error ¶
func (o *AdminGetDeviceBansV4BadRequest) Error() string
func (*AdminGetDeviceBansV4BadRequest) GetPayload ¶
func (o *AdminGetDeviceBansV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBansV4BadRequest) ToJSONString ¶
func (o *AdminGetDeviceBansV4BadRequest) ToJSONString() string
type AdminGetDeviceBansV4Forbidden ¶
type AdminGetDeviceBansV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBansV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetDeviceBansV4Forbidden ¶
func NewAdminGetDeviceBansV4Forbidden() *AdminGetDeviceBansV4Forbidden
NewAdminGetDeviceBansV4Forbidden creates a AdminGetDeviceBansV4Forbidden with default headers values
func (*AdminGetDeviceBansV4Forbidden) Error ¶
func (o *AdminGetDeviceBansV4Forbidden) Error() string
func (*AdminGetDeviceBansV4Forbidden) GetPayload ¶
func (o *AdminGetDeviceBansV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBansV4Forbidden) ToJSONString ¶
func (o *AdminGetDeviceBansV4Forbidden) ToJSONString() string
type AdminGetDeviceBansV4InternalServerError ¶
type AdminGetDeviceBansV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceBansV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetDeviceBansV4InternalServerError ¶
func NewAdminGetDeviceBansV4InternalServerError() *AdminGetDeviceBansV4InternalServerError
NewAdminGetDeviceBansV4InternalServerError creates a AdminGetDeviceBansV4InternalServerError with default headers values
func (*AdminGetDeviceBansV4InternalServerError) Error ¶
func (o *AdminGetDeviceBansV4InternalServerError) Error() string
func (*AdminGetDeviceBansV4InternalServerError) GetPayload ¶
func (o *AdminGetDeviceBansV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBansV4InternalServerError) ToJSONString ¶
func (o *AdminGetDeviceBansV4InternalServerError) ToJSONString() string
type AdminGetDeviceBansV4OK ¶
type AdminGetDeviceBansV4OK struct {
Payload *iamclientmodels.ModelDeviceBansResponseV4
}
AdminGetDeviceBansV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetDeviceBansV4OK ¶
func NewAdminGetDeviceBansV4OK() *AdminGetDeviceBansV4OK
NewAdminGetDeviceBansV4OK creates a AdminGetDeviceBansV4OK with default headers values
func (*AdminGetDeviceBansV4OK) Error ¶
func (o *AdminGetDeviceBansV4OK) Error() string
func (*AdminGetDeviceBansV4OK) GetPayload ¶
func (o *AdminGetDeviceBansV4OK) GetPayload() *iamclientmodels.ModelDeviceBansResponseV4
func (*AdminGetDeviceBansV4OK) ToJSONString ¶
func (o *AdminGetDeviceBansV4OK) ToJSONString() string
type AdminGetDeviceBansV4Params ¶
type AdminGetDeviceBansV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*DeviceID device id */ DeviceID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetDeviceBansV4Params contains all the parameters to send to the API endpoint for the admin get device bans v4 operation typically these are written to a http.Request
func NewAdminGetDeviceBansV4Params ¶
func NewAdminGetDeviceBansV4Params() *AdminGetDeviceBansV4Params
NewAdminGetDeviceBansV4Params creates a new AdminGetDeviceBansV4Params object with the default values initialized.
func NewAdminGetDeviceBansV4ParamsWithContext ¶
func NewAdminGetDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBansV4Params
NewAdminGetDeviceBansV4ParamsWithContext creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetDeviceBansV4ParamsWithHTTPClient ¶
func NewAdminGetDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBansV4Params
NewAdminGetDeviceBansV4ParamsWithHTTPClient creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetDeviceBansV4ParamsWithTimeout ¶
func NewAdminGetDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBansV4Params
NewAdminGetDeviceBansV4ParamsWithTimeout creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetDeviceBansV4Params) SetAuthInfoWriter ¶
func (o *AdminGetDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetContext ¶
func (o *AdminGetDeviceBansV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetDeviceID ¶
func (o *AdminGetDeviceBansV4Params) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetFlightId ¶
func (o *AdminGetDeviceBansV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetDeviceBansV4Params) SetHTTPClient ¶
func (o *AdminGetDeviceBansV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetHTTPClientTransport ¶
func (o *AdminGetDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetNamespace ¶
func (o *AdminGetDeviceBansV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) SetTimeout ¶
func (o *AdminGetDeviceBansV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WithContext ¶
func (o *AdminGetDeviceBansV4Params) WithContext(ctx context.Context) *AdminGetDeviceBansV4Params
WithContext adds the context to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WithDeviceID ¶
func (o *AdminGetDeviceBansV4Params) WithDeviceID(deviceID string) *AdminGetDeviceBansV4Params
WithDeviceID adds the deviceID to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WithHTTPClient ¶
func (o *AdminGetDeviceBansV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceBansV4Params
WithHTTPClient adds the HTTPClient to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WithNamespace ¶
func (o *AdminGetDeviceBansV4Params) WithNamespace(namespace string) *AdminGetDeviceBansV4Params
WithNamespace adds the namespace to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WithTimeout ¶
func (o *AdminGetDeviceBansV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceBansV4Params
WithTimeout adds the timeout to the admin get device bans v4 params
func (*AdminGetDeviceBansV4Params) WriteToRequest ¶
func (o *AdminGetDeviceBansV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetDeviceBansV4Reader ¶
type AdminGetDeviceBansV4Reader struct {
// contains filtered or unexported fields
}
AdminGetDeviceBansV4Reader is a Reader for the AdminGetDeviceBansV4 structure.
func (*AdminGetDeviceBansV4Reader) ReadResponse ¶
func (o *AdminGetDeviceBansV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetDeviceBansV4Unauthorized ¶
type AdminGetDeviceBansV4Unauthorized struct {
}AdminGetDeviceBansV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetDeviceBansV4Unauthorized ¶
func NewAdminGetDeviceBansV4Unauthorized() *AdminGetDeviceBansV4Unauthorized
NewAdminGetDeviceBansV4Unauthorized creates a AdminGetDeviceBansV4Unauthorized with default headers values
func (*AdminGetDeviceBansV4Unauthorized) Error ¶
func (o *AdminGetDeviceBansV4Unauthorized) Error() string
func (*AdminGetDeviceBansV4Unauthorized) GetPayload ¶
func (o *AdminGetDeviceBansV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceBansV4Unauthorized) ToJSONString ¶
func (o *AdminGetDeviceBansV4Unauthorized) ToJSONString() string
type AdminGetDeviceTypesV4Forbidden ¶
type AdminGetDeviceTypesV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceTypesV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetDeviceTypesV4Forbidden ¶
func NewAdminGetDeviceTypesV4Forbidden() *AdminGetDeviceTypesV4Forbidden
NewAdminGetDeviceTypesV4Forbidden creates a AdminGetDeviceTypesV4Forbidden with default headers values
func (*AdminGetDeviceTypesV4Forbidden) Error ¶
func (o *AdminGetDeviceTypesV4Forbidden) Error() string
func (*AdminGetDeviceTypesV4Forbidden) GetPayload ¶
func (o *AdminGetDeviceTypesV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceTypesV4Forbidden) ToJSONString ¶
func (o *AdminGetDeviceTypesV4Forbidden) ToJSONString() string
type AdminGetDeviceTypesV4InternalServerError ¶
type AdminGetDeviceTypesV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDeviceTypesV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetDeviceTypesV4InternalServerError ¶
func NewAdminGetDeviceTypesV4InternalServerError() *AdminGetDeviceTypesV4InternalServerError
NewAdminGetDeviceTypesV4InternalServerError creates a AdminGetDeviceTypesV4InternalServerError with default headers values
func (*AdminGetDeviceTypesV4InternalServerError) Error ¶
func (o *AdminGetDeviceTypesV4InternalServerError) Error() string
func (*AdminGetDeviceTypesV4InternalServerError) GetPayload ¶
func (o *AdminGetDeviceTypesV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceTypesV4InternalServerError) ToJSONString ¶
func (o *AdminGetDeviceTypesV4InternalServerError) ToJSONString() string
type AdminGetDeviceTypesV4OK ¶
type AdminGetDeviceTypesV4OK struct {
Payload *iamclientmodels.ModelDeviceTypesResponseV4
}
AdminGetDeviceTypesV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetDeviceTypesV4OK ¶
func NewAdminGetDeviceTypesV4OK() *AdminGetDeviceTypesV4OK
NewAdminGetDeviceTypesV4OK creates a AdminGetDeviceTypesV4OK with default headers values
func (*AdminGetDeviceTypesV4OK) Error ¶
func (o *AdminGetDeviceTypesV4OK) Error() string
func (*AdminGetDeviceTypesV4OK) GetPayload ¶
func (o *AdminGetDeviceTypesV4OK) GetPayload() *iamclientmodels.ModelDeviceTypesResponseV4
func (*AdminGetDeviceTypesV4OK) ToJSONString ¶
func (o *AdminGetDeviceTypesV4OK) ToJSONString() string
type AdminGetDeviceTypesV4Params ¶
type AdminGetDeviceTypesV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetDeviceTypesV4Params contains all the parameters to send to the API endpoint for the admin get device types v4 operation typically these are written to a http.Request
func NewAdminGetDeviceTypesV4Params ¶
func NewAdminGetDeviceTypesV4Params() *AdminGetDeviceTypesV4Params
NewAdminGetDeviceTypesV4Params creates a new AdminGetDeviceTypesV4Params object with the default values initialized.
func NewAdminGetDeviceTypesV4ParamsWithContext ¶
func NewAdminGetDeviceTypesV4ParamsWithContext(ctx context.Context) *AdminGetDeviceTypesV4Params
NewAdminGetDeviceTypesV4ParamsWithContext creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetDeviceTypesV4ParamsWithHTTPClient ¶
func NewAdminGetDeviceTypesV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceTypesV4Params
NewAdminGetDeviceTypesV4ParamsWithHTTPClient creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetDeviceTypesV4ParamsWithTimeout ¶
func NewAdminGetDeviceTypesV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceTypesV4Params
NewAdminGetDeviceTypesV4ParamsWithTimeout creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetDeviceTypesV4Params) SetAuthInfoWriter ¶
func (o *AdminGetDeviceTypesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) SetContext ¶
func (o *AdminGetDeviceTypesV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) SetFlightId ¶
func (o *AdminGetDeviceTypesV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetDeviceTypesV4Params) SetHTTPClient ¶
func (o *AdminGetDeviceTypesV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) SetHTTPClientTransport ¶
func (o *AdminGetDeviceTypesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) SetNamespace ¶
func (o *AdminGetDeviceTypesV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) SetTimeout ¶
func (o *AdminGetDeviceTypesV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) WithContext ¶
func (o *AdminGetDeviceTypesV4Params) WithContext(ctx context.Context) *AdminGetDeviceTypesV4Params
WithContext adds the context to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) WithHTTPClient ¶
func (o *AdminGetDeviceTypesV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceTypesV4Params
WithHTTPClient adds the HTTPClient to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) WithNamespace ¶
func (o *AdminGetDeviceTypesV4Params) WithNamespace(namespace string) *AdminGetDeviceTypesV4Params
WithNamespace adds the namespace to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) WithTimeout ¶
func (o *AdminGetDeviceTypesV4Params) WithTimeout(timeout time.Duration) *AdminGetDeviceTypesV4Params
WithTimeout adds the timeout to the admin get device types v4 params
func (*AdminGetDeviceTypesV4Params) WriteToRequest ¶
func (o *AdminGetDeviceTypesV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetDeviceTypesV4Reader ¶
type AdminGetDeviceTypesV4Reader struct {
// contains filtered or unexported fields
}
AdminGetDeviceTypesV4Reader is a Reader for the AdminGetDeviceTypesV4 structure.
func (*AdminGetDeviceTypesV4Reader) ReadResponse ¶
func (o *AdminGetDeviceTypesV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetDeviceTypesV4Unauthorized ¶
type AdminGetDeviceTypesV4Unauthorized struct {
}AdminGetDeviceTypesV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetDeviceTypesV4Unauthorized ¶
func NewAdminGetDeviceTypesV4Unauthorized() *AdminGetDeviceTypesV4Unauthorized
NewAdminGetDeviceTypesV4Unauthorized creates a AdminGetDeviceTypesV4Unauthorized with default headers values
func (*AdminGetDeviceTypesV4Unauthorized) Error ¶
func (o *AdminGetDeviceTypesV4Unauthorized) Error() string
func (*AdminGetDeviceTypesV4Unauthorized) GetPayload ¶
func (o *AdminGetDeviceTypesV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDeviceTypesV4Unauthorized) ToJSONString ¶
func (o *AdminGetDeviceTypesV4Unauthorized) ToJSONString() string
type AdminGetDevicesByUserV4BadRequest ¶
type AdminGetDevicesByUserV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDevicesByUserV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20021</td><td>invalid pagination parameter</td></tr></table>
func NewAdminGetDevicesByUserV4BadRequest ¶
func NewAdminGetDevicesByUserV4BadRequest() *AdminGetDevicesByUserV4BadRequest
NewAdminGetDevicesByUserV4BadRequest creates a AdminGetDevicesByUserV4BadRequest with default headers values
func (*AdminGetDevicesByUserV4BadRequest) Error ¶
func (o *AdminGetDevicesByUserV4BadRequest) Error() string
func (*AdminGetDevicesByUserV4BadRequest) GetPayload ¶
func (o *AdminGetDevicesByUserV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDevicesByUserV4BadRequest) ToJSONString ¶
func (o *AdminGetDevicesByUserV4BadRequest) ToJSONString() string
type AdminGetDevicesByUserV4Forbidden ¶
type AdminGetDevicesByUserV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDevicesByUserV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetDevicesByUserV4Forbidden ¶
func NewAdminGetDevicesByUserV4Forbidden() *AdminGetDevicesByUserV4Forbidden
NewAdminGetDevicesByUserV4Forbidden creates a AdminGetDevicesByUserV4Forbidden with default headers values
func (*AdminGetDevicesByUserV4Forbidden) Error ¶
func (o *AdminGetDevicesByUserV4Forbidden) Error() string
func (*AdminGetDevicesByUserV4Forbidden) GetPayload ¶
func (o *AdminGetDevicesByUserV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDevicesByUserV4Forbidden) ToJSONString ¶
func (o *AdminGetDevicesByUserV4Forbidden) ToJSONString() string
type AdminGetDevicesByUserV4InternalServerError ¶
type AdminGetDevicesByUserV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDevicesByUserV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetDevicesByUserV4InternalServerError ¶
func NewAdminGetDevicesByUserV4InternalServerError() *AdminGetDevicesByUserV4InternalServerError
NewAdminGetDevicesByUserV4InternalServerError creates a AdminGetDevicesByUserV4InternalServerError with default headers values
func (*AdminGetDevicesByUserV4InternalServerError) Error ¶
func (o *AdminGetDevicesByUserV4InternalServerError) Error() string
func (*AdminGetDevicesByUserV4InternalServerError) GetPayload ¶
func (o *AdminGetDevicesByUserV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDevicesByUserV4InternalServerError) ToJSONString ¶
func (o *AdminGetDevicesByUserV4InternalServerError) ToJSONString() string
type AdminGetDevicesByUserV4NotFound ¶
type AdminGetDevicesByUserV4NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetDevicesByUserV4NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10139</td><td>platform account not found</td></tr></table>
func NewAdminGetDevicesByUserV4NotFound ¶
func NewAdminGetDevicesByUserV4NotFound() *AdminGetDevicesByUserV4NotFound
NewAdminGetDevicesByUserV4NotFound creates a AdminGetDevicesByUserV4NotFound with default headers values
func (*AdminGetDevicesByUserV4NotFound) Error ¶
func (o *AdminGetDevicesByUserV4NotFound) Error() string
func (*AdminGetDevicesByUserV4NotFound) GetPayload ¶
func (o *AdminGetDevicesByUserV4NotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDevicesByUserV4NotFound) ToJSONString ¶
func (o *AdminGetDevicesByUserV4NotFound) ToJSONString() string
type AdminGetDevicesByUserV4OK ¶
type AdminGetDevicesByUserV4OK struct {
Payload *iamclientmodels.ModelDevicesResponseV4
}
AdminGetDevicesByUserV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetDevicesByUserV4OK ¶
func NewAdminGetDevicesByUserV4OK() *AdminGetDevicesByUserV4OK
NewAdminGetDevicesByUserV4OK creates a AdminGetDevicesByUserV4OK with default headers values
func (*AdminGetDevicesByUserV4OK) Error ¶
func (o *AdminGetDevicesByUserV4OK) Error() string
func (*AdminGetDevicesByUserV4OK) GetPayload ¶
func (o *AdminGetDevicesByUserV4OK) GetPayload() *iamclientmodels.ModelDevicesResponseV4
func (*AdminGetDevicesByUserV4OK) ToJSONString ¶
func (o *AdminGetDevicesByUserV4OK) ToJSONString() string
type AdminGetDevicesByUserV4Params ¶
type AdminGetDevicesByUserV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*UserID user id */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetDevicesByUserV4Params contains all the parameters to send to the API endpoint for the admin get devices by user v4 operation typically these are written to a http.Request
func NewAdminGetDevicesByUserV4Params ¶
func NewAdminGetDevicesByUserV4Params() *AdminGetDevicesByUserV4Params
NewAdminGetDevicesByUserV4Params creates a new AdminGetDevicesByUserV4Params object with the default values initialized.
func NewAdminGetDevicesByUserV4ParamsWithContext ¶
func NewAdminGetDevicesByUserV4ParamsWithContext(ctx context.Context) *AdminGetDevicesByUserV4Params
NewAdminGetDevicesByUserV4ParamsWithContext creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetDevicesByUserV4ParamsWithHTTPClient ¶
func NewAdminGetDevicesByUserV4ParamsWithHTTPClient(client *http.Client) *AdminGetDevicesByUserV4Params
NewAdminGetDevicesByUserV4ParamsWithHTTPClient creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetDevicesByUserV4ParamsWithTimeout ¶
func NewAdminGetDevicesByUserV4ParamsWithTimeout(timeout time.Duration) *AdminGetDevicesByUserV4Params
NewAdminGetDevicesByUserV4ParamsWithTimeout creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetDevicesByUserV4Params) SetAuthInfoWriter ¶
func (o *AdminGetDevicesByUserV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetContext ¶
func (o *AdminGetDevicesByUserV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetFlightId ¶
func (o *AdminGetDevicesByUserV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetDevicesByUserV4Params) SetHTTPClient ¶
func (o *AdminGetDevicesByUserV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetHTTPClientTransport ¶
func (o *AdminGetDevicesByUserV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetNamespace ¶
func (o *AdminGetDevicesByUserV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetTimeout ¶
func (o *AdminGetDevicesByUserV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) SetUserID ¶
func (o *AdminGetDevicesByUserV4Params) SetUserID(userID *string)
SetUserID adds the userId to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WithContext ¶
func (o *AdminGetDevicesByUserV4Params) WithContext(ctx context.Context) *AdminGetDevicesByUserV4Params
WithContext adds the context to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WithHTTPClient ¶
func (o *AdminGetDevicesByUserV4Params) WithHTTPClient(client *http.Client) *AdminGetDevicesByUserV4Params
WithHTTPClient adds the HTTPClient to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WithNamespace ¶
func (o *AdminGetDevicesByUserV4Params) WithNamespace(namespace string) *AdminGetDevicesByUserV4Params
WithNamespace adds the namespace to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WithTimeout ¶
func (o *AdminGetDevicesByUserV4Params) WithTimeout(timeout time.Duration) *AdminGetDevicesByUserV4Params
WithTimeout adds the timeout to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WithUserID ¶
func (o *AdminGetDevicesByUserV4Params) WithUserID(userID *string) *AdminGetDevicesByUserV4Params
WithUserID adds the userID to the admin get devices by user v4 params
func (*AdminGetDevicesByUserV4Params) WriteToRequest ¶
func (o *AdminGetDevicesByUserV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetDevicesByUserV4Reader ¶
type AdminGetDevicesByUserV4Reader struct {
// contains filtered or unexported fields
}
AdminGetDevicesByUserV4Reader is a Reader for the AdminGetDevicesByUserV4 structure.
func (*AdminGetDevicesByUserV4Reader) ReadResponse ¶
func (o *AdminGetDevicesByUserV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetDevicesByUserV4Unauthorized ¶
type AdminGetDevicesByUserV4Unauthorized struct {
}AdminGetDevicesByUserV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetDevicesByUserV4Unauthorized ¶
func NewAdminGetDevicesByUserV4Unauthorized() *AdminGetDevicesByUserV4Unauthorized
NewAdminGetDevicesByUserV4Unauthorized creates a AdminGetDevicesByUserV4Unauthorized with default headers values
func (*AdminGetDevicesByUserV4Unauthorized) Error ¶
func (o *AdminGetDevicesByUserV4Unauthorized) Error() string
func (*AdminGetDevicesByUserV4Unauthorized) GetPayload ¶
func (o *AdminGetDevicesByUserV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetDevicesByUserV4Unauthorized) ToJSONString ¶
func (o *AdminGetDevicesByUserV4Unauthorized) ToJSONString() string
type AdminGetUserDeviceBansV4Forbidden ¶
type AdminGetUserDeviceBansV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUserDeviceBansV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetUserDeviceBansV4Forbidden ¶
func NewAdminGetUserDeviceBansV4Forbidden() *AdminGetUserDeviceBansV4Forbidden
NewAdminGetUserDeviceBansV4Forbidden creates a AdminGetUserDeviceBansV4Forbidden with default headers values
func (*AdminGetUserDeviceBansV4Forbidden) Error ¶
func (o *AdminGetUserDeviceBansV4Forbidden) Error() string
func (*AdminGetUserDeviceBansV4Forbidden) GetPayload ¶
func (o *AdminGetUserDeviceBansV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUserDeviceBansV4Forbidden) ToJSONString ¶
func (o *AdminGetUserDeviceBansV4Forbidden) ToJSONString() string
type AdminGetUserDeviceBansV4InternalServerError ¶
type AdminGetUserDeviceBansV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUserDeviceBansV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetUserDeviceBansV4InternalServerError ¶
func NewAdminGetUserDeviceBansV4InternalServerError() *AdminGetUserDeviceBansV4InternalServerError
NewAdminGetUserDeviceBansV4InternalServerError creates a AdminGetUserDeviceBansV4InternalServerError with default headers values
func (*AdminGetUserDeviceBansV4InternalServerError) Error ¶
func (o *AdminGetUserDeviceBansV4InternalServerError) Error() string
func (*AdminGetUserDeviceBansV4InternalServerError) GetPayload ¶
func (o *AdminGetUserDeviceBansV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUserDeviceBansV4InternalServerError) ToJSONString ¶
func (o *AdminGetUserDeviceBansV4InternalServerError) ToJSONString() string
type AdminGetUserDeviceBansV4NotFound ¶
type AdminGetUserDeviceBansV4NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUserDeviceBansV4NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10139</td><td>platform account not found</td></tr></table>
func NewAdminGetUserDeviceBansV4NotFound ¶
func NewAdminGetUserDeviceBansV4NotFound() *AdminGetUserDeviceBansV4NotFound
NewAdminGetUserDeviceBansV4NotFound creates a AdminGetUserDeviceBansV4NotFound with default headers values
func (*AdminGetUserDeviceBansV4NotFound) Error ¶
func (o *AdminGetUserDeviceBansV4NotFound) Error() string
func (*AdminGetUserDeviceBansV4NotFound) GetPayload ¶
func (o *AdminGetUserDeviceBansV4NotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUserDeviceBansV4NotFound) ToJSONString ¶
func (o *AdminGetUserDeviceBansV4NotFound) ToJSONString() string
type AdminGetUserDeviceBansV4OK ¶
type AdminGetUserDeviceBansV4OK struct {
Payload *iamclientmodels.ModelDeviceBansResponseV4
}
AdminGetUserDeviceBansV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetUserDeviceBansV4OK ¶
func NewAdminGetUserDeviceBansV4OK() *AdminGetUserDeviceBansV4OK
NewAdminGetUserDeviceBansV4OK creates a AdminGetUserDeviceBansV4OK with default headers values
func (*AdminGetUserDeviceBansV4OK) Error ¶
func (o *AdminGetUserDeviceBansV4OK) Error() string
func (*AdminGetUserDeviceBansV4OK) GetPayload ¶
func (o *AdminGetUserDeviceBansV4OK) GetPayload() *iamclientmodels.ModelDeviceBansResponseV4
func (*AdminGetUserDeviceBansV4OK) ToJSONString ¶
func (o *AdminGetUserDeviceBansV4OK) ToJSONString() string
type AdminGetUserDeviceBansV4Params ¶
type AdminGetUserDeviceBansV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*UserID user id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetUserDeviceBansV4Params contains all the parameters to send to the API endpoint for the admin get user device bans v4 operation typically these are written to a http.Request
func NewAdminGetUserDeviceBansV4Params ¶
func NewAdminGetUserDeviceBansV4Params() *AdminGetUserDeviceBansV4Params
NewAdminGetUserDeviceBansV4Params creates a new AdminGetUserDeviceBansV4Params object with the default values initialized.
func NewAdminGetUserDeviceBansV4ParamsWithContext ¶
func NewAdminGetUserDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetUserDeviceBansV4Params
NewAdminGetUserDeviceBansV4ParamsWithContext creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetUserDeviceBansV4ParamsWithHTTPClient ¶
func NewAdminGetUserDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetUserDeviceBansV4Params
NewAdminGetUserDeviceBansV4ParamsWithHTTPClient creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetUserDeviceBansV4ParamsWithTimeout ¶
func NewAdminGetUserDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetUserDeviceBansV4Params
NewAdminGetUserDeviceBansV4ParamsWithTimeout creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetUserDeviceBansV4Params) SetAuthInfoWriter ¶
func (o *AdminGetUserDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetContext ¶
func (o *AdminGetUserDeviceBansV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetFlightId ¶
func (o *AdminGetUserDeviceBansV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetUserDeviceBansV4Params) SetHTTPClient ¶
func (o *AdminGetUserDeviceBansV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetHTTPClientTransport ¶
func (o *AdminGetUserDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetNamespace ¶
func (o *AdminGetUserDeviceBansV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetTimeout ¶
func (o *AdminGetUserDeviceBansV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) SetUserID ¶
func (o *AdminGetUserDeviceBansV4Params) SetUserID(userID string)
SetUserID adds the userId to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WithContext ¶
func (o *AdminGetUserDeviceBansV4Params) WithContext(ctx context.Context) *AdminGetUserDeviceBansV4Params
WithContext adds the context to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WithHTTPClient ¶
func (o *AdminGetUserDeviceBansV4Params) WithHTTPClient(client *http.Client) *AdminGetUserDeviceBansV4Params
WithHTTPClient adds the HTTPClient to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WithNamespace ¶
func (o *AdminGetUserDeviceBansV4Params) WithNamespace(namespace string) *AdminGetUserDeviceBansV4Params
WithNamespace adds the namespace to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WithTimeout ¶
func (o *AdminGetUserDeviceBansV4Params) WithTimeout(timeout time.Duration) *AdminGetUserDeviceBansV4Params
WithTimeout adds the timeout to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WithUserID ¶
func (o *AdminGetUserDeviceBansV4Params) WithUserID(userID string) *AdminGetUserDeviceBansV4Params
WithUserID adds the userID to the admin get user device bans v4 params
func (*AdminGetUserDeviceBansV4Params) WriteToRequest ¶
func (o *AdminGetUserDeviceBansV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetUserDeviceBansV4Reader ¶
type AdminGetUserDeviceBansV4Reader struct {
// contains filtered or unexported fields
}
AdminGetUserDeviceBansV4Reader is a Reader for the AdminGetUserDeviceBansV4 structure.
func (*AdminGetUserDeviceBansV4Reader) ReadResponse ¶
func (o *AdminGetUserDeviceBansV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetUserDeviceBansV4Unauthorized ¶
type AdminGetUserDeviceBansV4Unauthorized struct {
}AdminGetUserDeviceBansV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetUserDeviceBansV4Unauthorized ¶
func NewAdminGetUserDeviceBansV4Unauthorized() *AdminGetUserDeviceBansV4Unauthorized
NewAdminGetUserDeviceBansV4Unauthorized creates a AdminGetUserDeviceBansV4Unauthorized with default headers values
func (*AdminGetUserDeviceBansV4Unauthorized) Error ¶
func (o *AdminGetUserDeviceBansV4Unauthorized) Error() string
func (*AdminGetUserDeviceBansV4Unauthorized) GetPayload ¶
func (o *AdminGetUserDeviceBansV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUserDeviceBansV4Unauthorized) ToJSONString ¶
func (o *AdminGetUserDeviceBansV4Unauthorized) ToJSONString() string
type AdminGetUsersByDeviceV4BadRequest ¶
type AdminGetUsersByDeviceV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUsersByDeviceV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminGetUsersByDeviceV4BadRequest ¶
func NewAdminGetUsersByDeviceV4BadRequest() *AdminGetUsersByDeviceV4BadRequest
NewAdminGetUsersByDeviceV4BadRequest creates a AdminGetUsersByDeviceV4BadRequest with default headers values
func (*AdminGetUsersByDeviceV4BadRequest) Error ¶
func (o *AdminGetUsersByDeviceV4BadRequest) Error() string
func (*AdminGetUsersByDeviceV4BadRequest) GetPayload ¶
func (o *AdminGetUsersByDeviceV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUsersByDeviceV4BadRequest) ToJSONString ¶
func (o *AdminGetUsersByDeviceV4BadRequest) ToJSONString() string
type AdminGetUsersByDeviceV4Forbidden ¶
type AdminGetUsersByDeviceV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUsersByDeviceV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminGetUsersByDeviceV4Forbidden ¶
func NewAdminGetUsersByDeviceV4Forbidden() *AdminGetUsersByDeviceV4Forbidden
NewAdminGetUsersByDeviceV4Forbidden creates a AdminGetUsersByDeviceV4Forbidden with default headers values
func (*AdminGetUsersByDeviceV4Forbidden) Error ¶
func (o *AdminGetUsersByDeviceV4Forbidden) Error() string
func (*AdminGetUsersByDeviceV4Forbidden) GetPayload ¶
func (o *AdminGetUsersByDeviceV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUsersByDeviceV4Forbidden) ToJSONString ¶
func (o *AdminGetUsersByDeviceV4Forbidden) ToJSONString() string
type AdminGetUsersByDeviceV4InternalServerError ¶
type AdminGetUsersByDeviceV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetUsersByDeviceV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetUsersByDeviceV4InternalServerError ¶
func NewAdminGetUsersByDeviceV4InternalServerError() *AdminGetUsersByDeviceV4InternalServerError
NewAdminGetUsersByDeviceV4InternalServerError creates a AdminGetUsersByDeviceV4InternalServerError with default headers values
func (*AdminGetUsersByDeviceV4InternalServerError) Error ¶
func (o *AdminGetUsersByDeviceV4InternalServerError) Error() string
func (*AdminGetUsersByDeviceV4InternalServerError) GetPayload ¶
func (o *AdminGetUsersByDeviceV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUsersByDeviceV4InternalServerError) ToJSONString ¶
func (o *AdminGetUsersByDeviceV4InternalServerError) ToJSONString() string
type AdminGetUsersByDeviceV4OK ¶
type AdminGetUsersByDeviceV4OK struct {
Payload *iamclientmodels.ModelDeviceUsersResponseV4
}
AdminGetUsersByDeviceV4OK handles this case with default header values.
Operation succeeded
func NewAdminGetUsersByDeviceV4OK ¶
func NewAdminGetUsersByDeviceV4OK() *AdminGetUsersByDeviceV4OK
NewAdminGetUsersByDeviceV4OK creates a AdminGetUsersByDeviceV4OK with default headers values
func (*AdminGetUsersByDeviceV4OK) Error ¶
func (o *AdminGetUsersByDeviceV4OK) Error() string
func (*AdminGetUsersByDeviceV4OK) GetPayload ¶
func (o *AdminGetUsersByDeviceV4OK) GetPayload() *iamclientmodels.ModelDeviceUsersResponseV4
func (*AdminGetUsersByDeviceV4OK) ToJSONString ¶
func (o *AdminGetUsersByDeviceV4OK) ToJSONString() string
type AdminGetUsersByDeviceV4Params ¶
type AdminGetUsersByDeviceV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*DeviceID device id */ DeviceID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetUsersByDeviceV4Params contains all the parameters to send to the API endpoint for the admin get users by device v4 operation typically these are written to a http.Request
func NewAdminGetUsersByDeviceV4Params ¶
func NewAdminGetUsersByDeviceV4Params() *AdminGetUsersByDeviceV4Params
NewAdminGetUsersByDeviceV4Params creates a new AdminGetUsersByDeviceV4Params object with the default values initialized.
func NewAdminGetUsersByDeviceV4ParamsWithContext ¶
func NewAdminGetUsersByDeviceV4ParamsWithContext(ctx context.Context) *AdminGetUsersByDeviceV4Params
NewAdminGetUsersByDeviceV4ParamsWithContext creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetUsersByDeviceV4ParamsWithHTTPClient ¶
func NewAdminGetUsersByDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminGetUsersByDeviceV4Params
NewAdminGetUsersByDeviceV4ParamsWithHTTPClient creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetUsersByDeviceV4ParamsWithTimeout ¶
func NewAdminGetUsersByDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminGetUsersByDeviceV4Params
NewAdminGetUsersByDeviceV4ParamsWithTimeout creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetUsersByDeviceV4Params) SetAuthInfoWriter ¶
func (o *AdminGetUsersByDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetContext ¶
func (o *AdminGetUsersByDeviceV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetDeviceID ¶
func (o *AdminGetUsersByDeviceV4Params) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetFlightId ¶
func (o *AdminGetUsersByDeviceV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetUsersByDeviceV4Params) SetHTTPClient ¶
func (o *AdminGetUsersByDeviceV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetHTTPClientTransport ¶
func (o *AdminGetUsersByDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetNamespace ¶
func (o *AdminGetUsersByDeviceV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) SetTimeout ¶
func (o *AdminGetUsersByDeviceV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WithContext ¶
func (o *AdminGetUsersByDeviceV4Params) WithContext(ctx context.Context) *AdminGetUsersByDeviceV4Params
WithContext adds the context to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WithDeviceID ¶
func (o *AdminGetUsersByDeviceV4Params) WithDeviceID(deviceID string) *AdminGetUsersByDeviceV4Params
WithDeviceID adds the deviceID to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WithHTTPClient ¶
func (o *AdminGetUsersByDeviceV4Params) WithHTTPClient(client *http.Client) *AdminGetUsersByDeviceV4Params
WithHTTPClient adds the HTTPClient to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WithNamespace ¶
func (o *AdminGetUsersByDeviceV4Params) WithNamespace(namespace string) *AdminGetUsersByDeviceV4Params
WithNamespace adds the namespace to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WithTimeout ¶
func (o *AdminGetUsersByDeviceV4Params) WithTimeout(timeout time.Duration) *AdminGetUsersByDeviceV4Params
WithTimeout adds the timeout to the admin get users by device v4 params
func (*AdminGetUsersByDeviceV4Params) WriteToRequest ¶
func (o *AdminGetUsersByDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetUsersByDeviceV4Reader ¶
type AdminGetUsersByDeviceV4Reader struct {
// contains filtered or unexported fields
}
AdminGetUsersByDeviceV4Reader is a Reader for the AdminGetUsersByDeviceV4 structure.
func (*AdminGetUsersByDeviceV4Reader) ReadResponse ¶
func (o *AdminGetUsersByDeviceV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetUsersByDeviceV4Unauthorized ¶
type AdminGetUsersByDeviceV4Unauthorized struct {
}AdminGetUsersByDeviceV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetUsersByDeviceV4Unauthorized ¶
func NewAdminGetUsersByDeviceV4Unauthorized() *AdminGetUsersByDeviceV4Unauthorized
NewAdminGetUsersByDeviceV4Unauthorized creates a AdminGetUsersByDeviceV4Unauthorized with default headers values
func (*AdminGetUsersByDeviceV4Unauthorized) Error ¶
func (o *AdminGetUsersByDeviceV4Unauthorized) Error() string
func (*AdminGetUsersByDeviceV4Unauthorized) GetPayload ¶
func (o *AdminGetUsersByDeviceV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetUsersByDeviceV4Unauthorized) ToJSONString ¶
func (o *AdminGetUsersByDeviceV4Unauthorized) ToJSONString() string
type AdminUnbanDeviceV4BadRequest ¶
type AdminUnbanDeviceV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUnbanDeviceV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminUnbanDeviceV4BadRequest ¶
func NewAdminUnbanDeviceV4BadRequest() *AdminUnbanDeviceV4BadRequest
NewAdminUnbanDeviceV4BadRequest creates a AdminUnbanDeviceV4BadRequest with default headers values
func (*AdminUnbanDeviceV4BadRequest) Error ¶
func (o *AdminUnbanDeviceV4BadRequest) Error() string
func (*AdminUnbanDeviceV4BadRequest) GetPayload ¶
func (o *AdminUnbanDeviceV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUnbanDeviceV4BadRequest) ToJSONString ¶
func (o *AdminUnbanDeviceV4BadRequest) ToJSONString() string
type AdminUnbanDeviceV4Forbidden ¶
type AdminUnbanDeviceV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUnbanDeviceV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminUnbanDeviceV4Forbidden ¶
func NewAdminUnbanDeviceV4Forbidden() *AdminUnbanDeviceV4Forbidden
NewAdminUnbanDeviceV4Forbidden creates a AdminUnbanDeviceV4Forbidden with default headers values
func (*AdminUnbanDeviceV4Forbidden) Error ¶
func (o *AdminUnbanDeviceV4Forbidden) Error() string
func (*AdminUnbanDeviceV4Forbidden) GetPayload ¶
func (o *AdminUnbanDeviceV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUnbanDeviceV4Forbidden) ToJSONString ¶
func (o *AdminUnbanDeviceV4Forbidden) ToJSONString() string
type AdminUnbanDeviceV4InternalServerError ¶
type AdminUnbanDeviceV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUnbanDeviceV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminUnbanDeviceV4InternalServerError ¶
func NewAdminUnbanDeviceV4InternalServerError() *AdminUnbanDeviceV4InternalServerError
NewAdminUnbanDeviceV4InternalServerError creates a AdminUnbanDeviceV4InternalServerError with default headers values
func (*AdminUnbanDeviceV4InternalServerError) Error ¶
func (o *AdminUnbanDeviceV4InternalServerError) Error() string
func (*AdminUnbanDeviceV4InternalServerError) GetPayload ¶
func (o *AdminUnbanDeviceV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUnbanDeviceV4InternalServerError) ToJSONString ¶
func (o *AdminUnbanDeviceV4InternalServerError) ToJSONString() string
type AdminUnbanDeviceV4NoContent ¶
type AdminUnbanDeviceV4NoContent struct { }
AdminUnbanDeviceV4NoContent handles this case with default header values.
Operation succeeded
func NewAdminUnbanDeviceV4NoContent ¶
func NewAdminUnbanDeviceV4NoContent() *AdminUnbanDeviceV4NoContent
NewAdminUnbanDeviceV4NoContent creates a AdminUnbanDeviceV4NoContent with default headers values
func (*AdminUnbanDeviceV4NoContent) Error ¶
func (o *AdminUnbanDeviceV4NoContent) Error() string
type AdminUnbanDeviceV4Params ¶
type AdminUnbanDeviceV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*DeviceID device id */ DeviceID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminUnbanDeviceV4Params contains all the parameters to send to the API endpoint for the admin unban device v4 operation typically these are written to a http.Request
func NewAdminUnbanDeviceV4Params ¶
func NewAdminUnbanDeviceV4Params() *AdminUnbanDeviceV4Params
NewAdminUnbanDeviceV4Params creates a new AdminUnbanDeviceV4Params object with the default values initialized.
func NewAdminUnbanDeviceV4ParamsWithContext ¶
func NewAdminUnbanDeviceV4ParamsWithContext(ctx context.Context) *AdminUnbanDeviceV4Params
NewAdminUnbanDeviceV4ParamsWithContext creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminUnbanDeviceV4ParamsWithHTTPClient ¶
func NewAdminUnbanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params
NewAdminUnbanDeviceV4ParamsWithHTTPClient creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUnbanDeviceV4ParamsWithTimeout ¶
func NewAdminUnbanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminUnbanDeviceV4Params
NewAdminUnbanDeviceV4ParamsWithTimeout creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUnbanDeviceV4Params) SetAuthInfoWriter ¶
func (o *AdminUnbanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetContext ¶
func (o *AdminUnbanDeviceV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetDeviceID ¶
func (o *AdminUnbanDeviceV4Params) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetFlightId ¶
func (o *AdminUnbanDeviceV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUnbanDeviceV4Params) SetHTTPClient ¶
func (o *AdminUnbanDeviceV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetHTTPClientTransport ¶
func (o *AdminUnbanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetNamespace ¶
func (o *AdminUnbanDeviceV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) SetTimeout ¶
func (o *AdminUnbanDeviceV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WithContext ¶
func (o *AdminUnbanDeviceV4Params) WithContext(ctx context.Context) *AdminUnbanDeviceV4Params
WithContext adds the context to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WithDeviceID ¶
func (o *AdminUnbanDeviceV4Params) WithDeviceID(deviceID string) *AdminUnbanDeviceV4Params
WithDeviceID adds the deviceID to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WithHTTPClient ¶
func (o *AdminUnbanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params
WithHTTPClient adds the HTTPClient to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WithNamespace ¶
func (o *AdminUnbanDeviceV4Params) WithNamespace(namespace string) *AdminUnbanDeviceV4Params
WithNamespace adds the namespace to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WithTimeout ¶
func (o *AdminUnbanDeviceV4Params) WithTimeout(timeout time.Duration) *AdminUnbanDeviceV4Params
WithTimeout adds the timeout to the admin unban device v4 params
func (*AdminUnbanDeviceV4Params) WriteToRequest ¶
func (o *AdminUnbanDeviceV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUnbanDeviceV4Reader ¶
type AdminUnbanDeviceV4Reader struct {
// contains filtered or unexported fields
}
AdminUnbanDeviceV4Reader is a Reader for the AdminUnbanDeviceV4 structure.
func (*AdminUnbanDeviceV4Reader) ReadResponse ¶
func (o *AdminUnbanDeviceV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUnbanDeviceV4Unauthorized ¶
type AdminUnbanDeviceV4Unauthorized struct {
}AdminUnbanDeviceV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminUnbanDeviceV4Unauthorized ¶
func NewAdminUnbanDeviceV4Unauthorized() *AdminUnbanDeviceV4Unauthorized
NewAdminUnbanDeviceV4Unauthorized creates a AdminUnbanDeviceV4Unauthorized with default headers values
func (*AdminUnbanDeviceV4Unauthorized) Error ¶
func (o *AdminUnbanDeviceV4Unauthorized) Error() string
func (*AdminUnbanDeviceV4Unauthorized) GetPayload ¶
func (o *AdminUnbanDeviceV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUnbanDeviceV4Unauthorized) ToJSONString ¶
func (o *AdminUnbanDeviceV4Unauthorized) ToJSONString() string
type AdminUpdateDeviceBanV4BadRequest ¶
type AdminUpdateDeviceBanV4BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateDeviceBanV4BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminUpdateDeviceBanV4BadRequest ¶
func NewAdminUpdateDeviceBanV4BadRequest() *AdminUpdateDeviceBanV4BadRequest
NewAdminUpdateDeviceBanV4BadRequest creates a AdminUpdateDeviceBanV4BadRequest with default headers values
func (*AdminUpdateDeviceBanV4BadRequest) Error ¶
func (o *AdminUpdateDeviceBanV4BadRequest) Error() string
func (*AdminUpdateDeviceBanV4BadRequest) GetPayload ¶
func (o *AdminUpdateDeviceBanV4BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4BadRequest) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4BadRequest) ToJSONString() string
type AdminUpdateDeviceBanV4Conflict ¶
type AdminUpdateDeviceBanV4Conflict struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateDeviceBanV4Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10202</td><td>active device ban config already exists</td></tr></table>
func NewAdminUpdateDeviceBanV4Conflict ¶
func NewAdminUpdateDeviceBanV4Conflict() *AdminUpdateDeviceBanV4Conflict
NewAdminUpdateDeviceBanV4Conflict creates a AdminUpdateDeviceBanV4Conflict with default headers values
func (*AdminUpdateDeviceBanV4Conflict) Error ¶
func (o *AdminUpdateDeviceBanV4Conflict) Error() string
func (*AdminUpdateDeviceBanV4Conflict) GetPayload ¶
func (o *AdminUpdateDeviceBanV4Conflict) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4Conflict) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4Conflict) ToJSONString() string
type AdminUpdateDeviceBanV4Forbidden ¶
type AdminUpdateDeviceBanV4Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateDeviceBanV4Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewAdminUpdateDeviceBanV4Forbidden ¶
func NewAdminUpdateDeviceBanV4Forbidden() *AdminUpdateDeviceBanV4Forbidden
NewAdminUpdateDeviceBanV4Forbidden creates a AdminUpdateDeviceBanV4Forbidden with default headers values
func (*AdminUpdateDeviceBanV4Forbidden) Error ¶
func (o *AdminUpdateDeviceBanV4Forbidden) Error() string
func (*AdminUpdateDeviceBanV4Forbidden) GetPayload ¶
func (o *AdminUpdateDeviceBanV4Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4Forbidden) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4Forbidden) ToJSONString() string
type AdminUpdateDeviceBanV4InternalServerError ¶
type AdminUpdateDeviceBanV4InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateDeviceBanV4InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminUpdateDeviceBanV4InternalServerError ¶
func NewAdminUpdateDeviceBanV4InternalServerError() *AdminUpdateDeviceBanV4InternalServerError
NewAdminUpdateDeviceBanV4InternalServerError creates a AdminUpdateDeviceBanV4InternalServerError with default headers values
func (*AdminUpdateDeviceBanV4InternalServerError) Error ¶
func (o *AdminUpdateDeviceBanV4InternalServerError) Error() string
func (*AdminUpdateDeviceBanV4InternalServerError) GetPayload ¶
func (o *AdminUpdateDeviceBanV4InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4InternalServerError) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4InternalServerError) ToJSONString() string
type AdminUpdateDeviceBanV4NoContent ¶
type AdminUpdateDeviceBanV4NoContent struct { }
AdminUpdateDeviceBanV4NoContent handles this case with default header values.
Operation succeeded
func NewAdminUpdateDeviceBanV4NoContent ¶
func NewAdminUpdateDeviceBanV4NoContent() *AdminUpdateDeviceBanV4NoContent
NewAdminUpdateDeviceBanV4NoContent creates a AdminUpdateDeviceBanV4NoContent with default headers values
func (*AdminUpdateDeviceBanV4NoContent) Error ¶
func (o *AdminUpdateDeviceBanV4NoContent) Error() string
type AdminUpdateDeviceBanV4NotFound ¶
type AdminUpdateDeviceBanV4NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateDeviceBanV4NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>
func NewAdminUpdateDeviceBanV4NotFound ¶
func NewAdminUpdateDeviceBanV4NotFound() *AdminUpdateDeviceBanV4NotFound
NewAdminUpdateDeviceBanV4NotFound creates a AdminUpdateDeviceBanV4NotFound with default headers values
func (*AdminUpdateDeviceBanV4NotFound) Error ¶
func (o *AdminUpdateDeviceBanV4NotFound) Error() string
func (*AdminUpdateDeviceBanV4NotFound) GetPayload ¶
func (o *AdminUpdateDeviceBanV4NotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4NotFound) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4NotFound) ToJSONString() string
type AdminUpdateDeviceBanV4Params ¶
type AdminUpdateDeviceBanV4Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *iamclientmodels.ModelDeviceBanUpdateRequestV4 /*BanID Ban ID, should follow UUID version 4 without hyphen */ BanID string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminUpdateDeviceBanV4Params contains all the parameters to send to the API endpoint for the admin update device ban v4 operation typically these are written to a http.Request
func NewAdminUpdateDeviceBanV4Params ¶
func NewAdminUpdateDeviceBanV4Params() *AdminUpdateDeviceBanV4Params
NewAdminUpdateDeviceBanV4Params creates a new AdminUpdateDeviceBanV4Params object with the default values initialized.
func NewAdminUpdateDeviceBanV4ParamsWithContext ¶
func NewAdminUpdateDeviceBanV4ParamsWithContext(ctx context.Context) *AdminUpdateDeviceBanV4Params
NewAdminUpdateDeviceBanV4ParamsWithContext creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateDeviceBanV4ParamsWithHTTPClient ¶
func NewAdminUpdateDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminUpdateDeviceBanV4Params
NewAdminUpdateDeviceBanV4ParamsWithHTTPClient creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateDeviceBanV4ParamsWithTimeout ¶
func NewAdminUpdateDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminUpdateDeviceBanV4Params
NewAdminUpdateDeviceBanV4ParamsWithTimeout creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateDeviceBanV4Params) SetAuthInfoWriter ¶
func (o *AdminUpdateDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetBanID ¶
func (o *AdminUpdateDeviceBanV4Params) SetBanID(banID string)
SetBanID adds the banId to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetBody ¶
func (o *AdminUpdateDeviceBanV4Params) SetBody(body *iamclientmodels.ModelDeviceBanUpdateRequestV4)
SetBody adds the body to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetContext ¶
func (o *AdminUpdateDeviceBanV4Params) SetContext(ctx context.Context)
SetContext adds the context to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetFlightId ¶
func (o *AdminUpdateDeviceBanV4Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateDeviceBanV4Params) SetHTTPClient ¶
func (o *AdminUpdateDeviceBanV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetHTTPClientTransport ¶
func (o *AdminUpdateDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetNamespace ¶
func (o *AdminUpdateDeviceBanV4Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) SetTimeout ¶
func (o *AdminUpdateDeviceBanV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithBanID ¶
func (o *AdminUpdateDeviceBanV4Params) WithBanID(banID string) *AdminUpdateDeviceBanV4Params
WithBanID adds the banID to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithBody ¶
func (o *AdminUpdateDeviceBanV4Params) WithBody(body *iamclientmodels.ModelDeviceBanUpdateRequestV4) *AdminUpdateDeviceBanV4Params
WithBody adds the body to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithContext ¶
func (o *AdminUpdateDeviceBanV4Params) WithContext(ctx context.Context) *AdminUpdateDeviceBanV4Params
WithContext adds the context to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithHTTPClient ¶
func (o *AdminUpdateDeviceBanV4Params) WithHTTPClient(client *http.Client) *AdminUpdateDeviceBanV4Params
WithHTTPClient adds the HTTPClient to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithNamespace ¶
func (o *AdminUpdateDeviceBanV4Params) WithNamespace(namespace string) *AdminUpdateDeviceBanV4Params
WithNamespace adds the namespace to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WithTimeout ¶
func (o *AdminUpdateDeviceBanV4Params) WithTimeout(timeout time.Duration) *AdminUpdateDeviceBanV4Params
WithTimeout adds the timeout to the admin update device ban v4 params
func (*AdminUpdateDeviceBanV4Params) WriteToRequest ¶
func (o *AdminUpdateDeviceBanV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateDeviceBanV4Reader ¶
type AdminUpdateDeviceBanV4Reader struct {
// contains filtered or unexported fields
}
AdminUpdateDeviceBanV4Reader is a Reader for the AdminUpdateDeviceBanV4 structure.
func (*AdminUpdateDeviceBanV4Reader) ReadResponse ¶
func (o *AdminUpdateDeviceBanV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateDeviceBanV4Unauthorized ¶
type AdminUpdateDeviceBanV4Unauthorized struct {
}AdminUpdateDeviceBanV4Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminUpdateDeviceBanV4Unauthorized ¶
func NewAdminUpdateDeviceBanV4Unauthorized() *AdminUpdateDeviceBanV4Unauthorized
NewAdminUpdateDeviceBanV4Unauthorized creates a AdminUpdateDeviceBanV4Unauthorized with default headers values
func (*AdminUpdateDeviceBanV4Unauthorized) Error ¶
func (o *AdminUpdateDeviceBanV4Unauthorized) Error() string
func (*AdminUpdateDeviceBanV4Unauthorized) GetPayload ¶
func (o *AdminUpdateDeviceBanV4Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateDeviceBanV4Unauthorized) ToJSONString ¶
func (o *AdminUpdateDeviceBanV4Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for devices v4 API
func (*Client) AdminBanDeviceV4Short ¶
func (a *Client) AdminBanDeviceV4Short(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, error)
AdminBanDeviceV4Short admin ban a device This is the endpoint for an admin to ban a device
func (*Client) AdminDecryptDeviceV4Short ¶
func (a *Client) AdminDecryptDeviceV4Short(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, error)
AdminDecryptDeviceV4Short admin decrypt device id This is the endpoint for an admin to decrypt device id
func (*Client) AdminGenerateReportV4Short ¶
func (a *Client) AdminGenerateReportV4Short(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, error)
AdminGenerateReportV4Short admin generate device report This is the endpoint for an admin to generate device report
func (*Client) AdminGetBannedDevicesV4Short ¶
func (a *Client) AdminGetBannedDevicesV4Short(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, error)
AdminGetBannedDevicesV4Short admin get banned devices This is the endpoint for an admin to get banned devices
func (*Client) AdminGetDeviceBanV4Short ¶
func (a *Client) AdminGetDeviceBanV4Short(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, error)
AdminGetDeviceBanV4Short admin get device ban config This is the endpoint for an admin to get device ban config
func (*Client) AdminGetDeviceBansV4Short ¶
func (a *Client) AdminGetDeviceBansV4Short(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, error)
AdminGetDeviceBansV4Short admin get device ban list This is the endpoint for an admin to get device ban list
func (*Client) AdminGetDeviceTypesV4Short ¶
func (a *Client) AdminGetDeviceTypesV4Short(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, error)
AdminGetDeviceTypesV4Short admin get device types This is the endpoint for an admin to get device types
func (*Client) AdminGetDevicesByUserV4Short ¶
func (a *Client) AdminGetDevicesByUserV4Short(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, error)
AdminGetDevicesByUserV4Short admin get devices by user id This is the endpoint for an admin to get devices a user ever used to login
func (*Client) AdminGetUserDeviceBansV4Short ¶
func (a *Client) AdminGetUserDeviceBansV4Short(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, error)
AdminGetUserDeviceBansV4Short admin get device bans of user This is the endpoint for an admin to get device bans of user
func (*Client) AdminGetUsersByDeviceV4Short ¶
func (a *Client) AdminGetUsersByDeviceV4Short(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, error)
AdminGetUsersByDeviceV4Short admin get users by device id This is the endpoint for an admin to get users that ever login on the device
func (*Client) AdminUnbanDeviceV4Short ¶
func (a *Client) AdminUnbanDeviceV4Short(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, error)
AdminUnbanDeviceV4Short admin unban device This is the endpoint for an admin to unban device
func (*Client) AdminUpdateDeviceBanV4Short ¶
func (a *Client) AdminUpdateDeviceBanV4Short(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, error)
AdminUpdateDeviceBanV4Short admin update device ban config This is the endpoint for an admin to update a device ban config
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetDevicesByUserV4Short(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, error) AdminGetBannedDevicesV4Short(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, error) AdminGetUserDeviceBansV4Short(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, error) AdminBanDeviceV4Short(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, error) AdminGetDeviceBanV4Short(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, error) AdminUpdateDeviceBanV4Short(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, error) AdminGenerateReportV4Short(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, error) AdminGetDeviceTypesV4Short(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, error) AdminGetDeviceBansV4Short(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, error) AdminDecryptDeviceV4Short(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, error) AdminUnbanDeviceV4Short(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, error) AdminGetUsersByDeviceV4Short(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, 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 devices v4 API client.
Source Files ¶
- admin_ban_device_v4_parameters.go
- admin_ban_device_v4_responses.go
- admin_decrypt_device_v4_parameters.go
- admin_decrypt_device_v4_responses.go
- admin_generate_report_v4_parameters.go
- admin_generate_report_v4_responses.go
- admin_get_banned_devices_v4_parameters.go
- admin_get_banned_devices_v4_responses.go
- admin_get_device_ban_v4_parameters.go
- admin_get_device_ban_v4_responses.go
- admin_get_device_bans_v4_parameters.go
- admin_get_device_bans_v4_responses.go
- admin_get_device_types_v4_parameters.go
- admin_get_device_types_v4_responses.go
- admin_get_devices_by_user_v4_parameters.go
- admin_get_devices_by_user_v4_responses.go
- admin_get_user_device_bans_v4_parameters.go
- admin_get_user_device_bans_v4_responses.go
- admin_get_users_by_device_v4_parameters.go
- admin_get_users_by_device_v4_responses.go
- admin_unban_device_v4_parameters.go
- admin_unban_device_v4_responses.go
- admin_update_device_ban_v4_parameters.go
- admin_update_device_ban_v4_responses.go
- devices_v4_client.go