Documentation ¶
Index ¶
- type AdminGetInputValidationsForbidden
- type AdminGetInputValidationsOK
- type AdminGetInputValidationsParams
- func NewAdminGetInputValidationsParams() *AdminGetInputValidationsParams
- func NewAdminGetInputValidationsParamsWithContext(ctx context.Context) *AdminGetInputValidationsParams
- func NewAdminGetInputValidationsParamsWithHTTPClient(client *http.Client) *AdminGetInputValidationsParams
- func NewAdminGetInputValidationsParamsWithTimeout(timeout time.Duration) *AdminGetInputValidationsParams
- func (o *AdminGetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetInputValidationsParams) SetContext(ctx context.Context)
- func (o *AdminGetInputValidationsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetInputValidationsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetInputValidationsParams) WithContext(ctx context.Context) *AdminGetInputValidationsParams
- func (o *AdminGetInputValidationsParams) WithHTTPClient(client *http.Client) *AdminGetInputValidationsParams
- func (o *AdminGetInputValidationsParams) WithTimeout(timeout time.Duration) *AdminGetInputValidationsParams
- func (o *AdminGetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetInputValidationsReader
- type AdminGetInputValidationsUnauthorized
- type AdminResetInputValidationsForbidden
- type AdminResetInputValidationsNoContent
- type AdminResetInputValidationsNotFound
- type AdminResetInputValidationsParams
- func NewAdminResetInputValidationsParams() *AdminResetInputValidationsParams
- func NewAdminResetInputValidationsParamsWithContext(ctx context.Context) *AdminResetInputValidationsParams
- func NewAdminResetInputValidationsParamsWithHTTPClient(client *http.Client) *AdminResetInputValidationsParams
- func NewAdminResetInputValidationsParamsWithTimeout(timeout time.Duration) *AdminResetInputValidationsParams
- func (o *AdminResetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminResetInputValidationsParams) SetContext(ctx context.Context)
- func (o *AdminResetInputValidationsParams) SetField(field string)
- func (o *AdminResetInputValidationsParams) SetHTTPClient(client *http.Client)
- func (o *AdminResetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminResetInputValidationsParams) SetTimeout(timeout time.Duration)
- func (o *AdminResetInputValidationsParams) WithContext(ctx context.Context) *AdminResetInputValidationsParams
- func (o *AdminResetInputValidationsParams) WithField(field string) *AdminResetInputValidationsParams
- func (o *AdminResetInputValidationsParams) WithHTTPClient(client *http.Client) *AdminResetInputValidationsParams
- func (o *AdminResetInputValidationsParams) WithTimeout(timeout time.Duration) *AdminResetInputValidationsParams
- func (o *AdminResetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminResetInputValidationsReader
- type AdminResetInputValidationsUnauthorized
- type AdminUpdateInputValidationsForbidden
- type AdminUpdateInputValidationsNoContent
- type AdminUpdateInputValidationsNotFound
- type AdminUpdateInputValidationsParams
- func NewAdminUpdateInputValidationsParams() *AdminUpdateInputValidationsParams
- func NewAdminUpdateInputValidationsParamsWithContext(ctx context.Context) *AdminUpdateInputValidationsParams
- func NewAdminUpdateInputValidationsParamsWithHTTPClient(client *http.Client) *AdminUpdateInputValidationsParams
- func NewAdminUpdateInputValidationsParamsWithTimeout(timeout time.Duration) *AdminUpdateInputValidationsParams
- func (o *AdminUpdateInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateInputValidationsParams) SetBody(body []*iamclientmodels.ModelInputValidationUpdatePayload)
- func (o *AdminUpdateInputValidationsParams) SetContext(ctx context.Context)
- func (o *AdminUpdateInputValidationsParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateInputValidationsParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateInputValidationsParams) WithBody(body []*iamclientmodels.ModelInputValidationUpdatePayload) *AdminUpdateInputValidationsParams
- func (o *AdminUpdateInputValidationsParams) WithContext(ctx context.Context) *AdminUpdateInputValidationsParams
- func (o *AdminUpdateInputValidationsParams) WithHTTPClient(client *http.Client) *AdminUpdateInputValidationsParams
- func (o *AdminUpdateInputValidationsParams) WithTimeout(timeout time.Duration) *AdminUpdateInputValidationsParams
- func (o *AdminUpdateInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateInputValidationsReader
- type AdminUpdateInputValidationsUnauthorized
- type Client
- func (a *Client) AdminGetInputValidations(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, *AdminGetInputValidationsUnauthorized, ...)deprecated
- func (a *Client) AdminGetInputValidationsShort(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, error)
- func (a *Client) AdminResetInputValidations(params *AdminResetInputValidationsParams, ...) (*AdminResetInputValidationsNoContent, *AdminResetInputValidationsUnauthorized, ...)deprecated
- func (a *Client) AdminResetInputValidationsShort(params *AdminResetInputValidationsParams, ...) (*AdminResetInputValidationsNoContent, error)
- func (a *Client) AdminUpdateInputValidations(params *AdminUpdateInputValidationsParams, ...) (*AdminUpdateInputValidationsNoContent, ...)deprecated
- func (a *Client) AdminUpdateInputValidationsShort(params *AdminUpdateInputValidationsParams, ...) (*AdminUpdateInputValidationsNoContent, error)
- func (a *Client) PublicGetInputValidationByField(params *PublicGetInputValidationByFieldParams, ...) (*PublicGetInputValidationByFieldOK, *PublicGetInputValidationByFieldNotFound, ...)deprecated
- func (a *Client) PublicGetInputValidationByFieldShort(params *PublicGetInputValidationByFieldParams, ...) (*PublicGetInputValidationByFieldOK, error)
- func (a *Client) PublicGetInputValidations(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, *PublicGetInputValidationsNotFound, ...)deprecated
- func (a *Client) PublicGetInputValidationsShort(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetInputValidationByFieldInternalServerError
- type PublicGetInputValidationByFieldNotFound
- type PublicGetInputValidationByFieldOK
- type PublicGetInputValidationByFieldParams
- func NewPublicGetInputValidationByFieldParams() *PublicGetInputValidationByFieldParams
- func NewPublicGetInputValidationByFieldParamsWithContext(ctx context.Context) *PublicGetInputValidationByFieldParams
- func NewPublicGetInputValidationByFieldParamsWithHTTPClient(client *http.Client) *PublicGetInputValidationByFieldParams
- func NewPublicGetInputValidationByFieldParamsWithTimeout(timeout time.Duration) *PublicGetInputValidationByFieldParams
- func (o *PublicGetInputValidationByFieldParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetInputValidationByFieldParams) SetContext(ctx context.Context)
- func (o *PublicGetInputValidationByFieldParams) SetField(field string)
- func (o *PublicGetInputValidationByFieldParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetInputValidationByFieldParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetInputValidationByFieldParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetInputValidationByFieldParams) WithContext(ctx context.Context) *PublicGetInputValidationByFieldParams
- func (o *PublicGetInputValidationByFieldParams) WithField(field string) *PublicGetInputValidationByFieldParams
- func (o *PublicGetInputValidationByFieldParams) WithHTTPClient(client *http.Client) *PublicGetInputValidationByFieldParams
- func (o *PublicGetInputValidationByFieldParams) WithTimeout(timeout time.Duration) *PublicGetInputValidationByFieldParams
- func (o *PublicGetInputValidationByFieldParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetInputValidationByFieldReader
- type PublicGetInputValidationsInternalServerError
- type PublicGetInputValidationsNotFound
- type PublicGetInputValidationsOK
- type PublicGetInputValidationsParams
- func NewPublicGetInputValidationsParams() *PublicGetInputValidationsParams
- func NewPublicGetInputValidationsParamsWithContext(ctx context.Context) *PublicGetInputValidationsParams
- func NewPublicGetInputValidationsParamsWithHTTPClient(client *http.Client) *PublicGetInputValidationsParams
- func NewPublicGetInputValidationsParamsWithTimeout(timeout time.Duration) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetInputValidationsParams) SetContext(ctx context.Context)
- func (o *PublicGetInputValidationsParams) SetDefaultOnEmpty(defaultOnEmpty *bool)
- func (o *PublicGetInputValidationsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetInputValidationsParams) SetLanguageCode(languageCode *string)
- func (o *PublicGetInputValidationsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetInputValidationsParams) WithContext(ctx context.Context) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) WithDefaultOnEmpty(defaultOnEmpty *bool) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) WithHTTPClient(client *http.Client) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) WithLanguageCode(languageCode *string) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) WithTimeout(timeout time.Duration) *PublicGetInputValidationsParams
- func (o *PublicGetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetInputValidationsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminGetInputValidationsForbidden ¶
type AdminGetInputValidationsForbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetInputValidationsForbidden 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 NewAdminGetInputValidationsForbidden ¶
func NewAdminGetInputValidationsForbidden() *AdminGetInputValidationsForbidden
NewAdminGetInputValidationsForbidden creates a AdminGetInputValidationsForbidden with default headers values
func (*AdminGetInputValidationsForbidden) Error ¶
func (o *AdminGetInputValidationsForbidden) Error() string
func (*AdminGetInputValidationsForbidden) GetPayload ¶
func (o *AdminGetInputValidationsForbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetInputValidationsForbidden) ToJSONString ¶
func (o *AdminGetInputValidationsForbidden) ToJSONString() string
type AdminGetInputValidationsOK ¶
type AdminGetInputValidationsOK struct {
Payload *iamclientmodels.ModelInputValidationsResponse
}
AdminGetInputValidationsOK handles this case with default header values.
OK
func NewAdminGetInputValidationsOK ¶
func NewAdminGetInputValidationsOK() *AdminGetInputValidationsOK
NewAdminGetInputValidationsOK creates a AdminGetInputValidationsOK with default headers values
func (*AdminGetInputValidationsOK) Error ¶
func (o *AdminGetInputValidationsOK) Error() string
func (*AdminGetInputValidationsOK) GetPayload ¶
func (o *AdminGetInputValidationsOK) GetPayload() *iamclientmodels.ModelInputValidationsResponse
func (*AdminGetInputValidationsOK) ToJSONString ¶
func (o *AdminGetInputValidationsOK) ToJSONString() string
type AdminGetInputValidationsParams ¶
type AdminGetInputValidationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetInputValidationsParams contains all the parameters to send to the API endpoint for the admin get input validations operation typically these are written to a http.Request
func NewAdminGetInputValidationsParams ¶
func NewAdminGetInputValidationsParams() *AdminGetInputValidationsParams
NewAdminGetInputValidationsParams creates a new AdminGetInputValidationsParams object with the default values initialized.
func NewAdminGetInputValidationsParamsWithContext ¶
func NewAdminGetInputValidationsParamsWithContext(ctx context.Context) *AdminGetInputValidationsParams
NewAdminGetInputValidationsParamsWithContext creates a new AdminGetInputValidationsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetInputValidationsParamsWithHTTPClient ¶
func NewAdminGetInputValidationsParamsWithHTTPClient(client *http.Client) *AdminGetInputValidationsParams
NewAdminGetInputValidationsParamsWithHTTPClient creates a new AdminGetInputValidationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetInputValidationsParamsWithTimeout ¶
func NewAdminGetInputValidationsParamsWithTimeout(timeout time.Duration) *AdminGetInputValidationsParams
NewAdminGetInputValidationsParamsWithTimeout creates a new AdminGetInputValidationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetInputValidationsParams) SetAuthInfoWriter ¶
func (o *AdminGetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get input validations params
func (*AdminGetInputValidationsParams) SetContext ¶
func (o *AdminGetInputValidationsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get input validations params
func (*AdminGetInputValidationsParams) SetHTTPClient ¶
func (o *AdminGetInputValidationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get input validations params
func (*AdminGetInputValidationsParams) SetHTTPClientTransport ¶
func (o *AdminGetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get input validations params
func (*AdminGetInputValidationsParams) SetTimeout ¶
func (o *AdminGetInputValidationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get input validations params
func (*AdminGetInputValidationsParams) WithContext ¶
func (o *AdminGetInputValidationsParams) WithContext(ctx context.Context) *AdminGetInputValidationsParams
WithContext adds the context to the admin get input validations params
func (*AdminGetInputValidationsParams) WithHTTPClient ¶
func (o *AdminGetInputValidationsParams) WithHTTPClient(client *http.Client) *AdminGetInputValidationsParams
WithHTTPClient adds the HTTPClient to the admin get input validations params
func (*AdminGetInputValidationsParams) WithTimeout ¶
func (o *AdminGetInputValidationsParams) WithTimeout(timeout time.Duration) *AdminGetInputValidationsParams
WithTimeout adds the timeout to the admin get input validations params
func (*AdminGetInputValidationsParams) WriteToRequest ¶
func (o *AdminGetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetInputValidationsReader ¶
type AdminGetInputValidationsReader struct {
// contains filtered or unexported fields
}
AdminGetInputValidationsReader is a Reader for the AdminGetInputValidations structure.
func (*AdminGetInputValidationsReader) ReadResponse ¶
func (o *AdminGetInputValidationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetInputValidationsUnauthorized ¶
type AdminGetInputValidationsUnauthorized struct {
}AdminGetInputValidationsUnauthorized 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 NewAdminGetInputValidationsUnauthorized ¶
func NewAdminGetInputValidationsUnauthorized() *AdminGetInputValidationsUnauthorized
NewAdminGetInputValidationsUnauthorized creates a AdminGetInputValidationsUnauthorized with default headers values
func (*AdminGetInputValidationsUnauthorized) Error ¶
func (o *AdminGetInputValidationsUnauthorized) Error() string
func (*AdminGetInputValidationsUnauthorized) GetPayload ¶
func (o *AdminGetInputValidationsUnauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetInputValidationsUnauthorized) ToJSONString ¶
func (o *AdminGetInputValidationsUnauthorized) ToJSONString() string
type AdminResetInputValidationsForbidden ¶
type AdminResetInputValidationsForbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminResetInputValidationsForbidden 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 NewAdminResetInputValidationsForbidden ¶
func NewAdminResetInputValidationsForbidden() *AdminResetInputValidationsForbidden
NewAdminResetInputValidationsForbidden creates a AdminResetInputValidationsForbidden with default headers values
func (*AdminResetInputValidationsForbidden) Error ¶
func (o *AdminResetInputValidationsForbidden) Error() string
func (*AdminResetInputValidationsForbidden) GetPayload ¶
func (o *AdminResetInputValidationsForbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminResetInputValidationsForbidden) ToJSONString ¶
func (o *AdminResetInputValidationsForbidden) ToJSONString() string
type AdminResetInputValidationsNoContent ¶
type AdminResetInputValidationsNoContent struct { }
AdminResetInputValidationsNoContent handles this case with default header values.
No Content
func NewAdminResetInputValidationsNoContent ¶
func NewAdminResetInputValidationsNoContent() *AdminResetInputValidationsNoContent
NewAdminResetInputValidationsNoContent creates a AdminResetInputValidationsNoContent with default headers values
func (*AdminResetInputValidationsNoContent) Error ¶
func (o *AdminResetInputValidationsNoContent) Error() string
type AdminResetInputValidationsNotFound ¶
type AdminResetInputValidationsNotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminResetInputValidationsNotFound handles this case with default header values.
func NewAdminResetInputValidationsNotFound ¶
func NewAdminResetInputValidationsNotFound() *AdminResetInputValidationsNotFound
NewAdminResetInputValidationsNotFound creates a AdminResetInputValidationsNotFound with default headers values
func (*AdminResetInputValidationsNotFound) Error ¶
func (o *AdminResetInputValidationsNotFound) Error() string
func (*AdminResetInputValidationsNotFound) GetPayload ¶
func (o *AdminResetInputValidationsNotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminResetInputValidationsNotFound) ToJSONString ¶
func (o *AdminResetInputValidationsNotFound) ToJSONString() string
type AdminResetInputValidationsParams ¶
type AdminResetInputValidationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Field Name of the input validation field to reset: email, username, displayName, password, avatar */ Field string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminResetInputValidationsParams contains all the parameters to send to the API endpoint for the admin reset input validations operation typically these are written to a http.Request
func NewAdminResetInputValidationsParams ¶
func NewAdminResetInputValidationsParams() *AdminResetInputValidationsParams
NewAdminResetInputValidationsParams creates a new AdminResetInputValidationsParams object with the default values initialized.
func NewAdminResetInputValidationsParamsWithContext ¶
func NewAdminResetInputValidationsParamsWithContext(ctx context.Context) *AdminResetInputValidationsParams
NewAdminResetInputValidationsParamsWithContext creates a new AdminResetInputValidationsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminResetInputValidationsParamsWithHTTPClient ¶
func NewAdminResetInputValidationsParamsWithHTTPClient(client *http.Client) *AdminResetInputValidationsParams
NewAdminResetInputValidationsParamsWithHTTPClient creates a new AdminResetInputValidationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminResetInputValidationsParamsWithTimeout ¶
func NewAdminResetInputValidationsParamsWithTimeout(timeout time.Duration) *AdminResetInputValidationsParams
NewAdminResetInputValidationsParamsWithTimeout creates a new AdminResetInputValidationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminResetInputValidationsParams) SetAuthInfoWriter ¶
func (o *AdminResetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin reset input validations params
func (*AdminResetInputValidationsParams) SetContext ¶
func (o *AdminResetInputValidationsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin reset input validations params
func (*AdminResetInputValidationsParams) SetField ¶
func (o *AdminResetInputValidationsParams) SetField(field string)
SetField adds the field to the admin reset input validations params
func (*AdminResetInputValidationsParams) SetHTTPClient ¶
func (o *AdminResetInputValidationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin reset input validations params
func (*AdminResetInputValidationsParams) SetHTTPClientTransport ¶
func (o *AdminResetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin reset input validations params
func (*AdminResetInputValidationsParams) SetTimeout ¶
func (o *AdminResetInputValidationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin reset input validations params
func (*AdminResetInputValidationsParams) WithContext ¶
func (o *AdminResetInputValidationsParams) WithContext(ctx context.Context) *AdminResetInputValidationsParams
WithContext adds the context to the admin reset input validations params
func (*AdminResetInputValidationsParams) WithField ¶
func (o *AdminResetInputValidationsParams) WithField(field string) *AdminResetInputValidationsParams
WithField adds the field to the admin reset input validations params
func (*AdminResetInputValidationsParams) WithHTTPClient ¶
func (o *AdminResetInputValidationsParams) WithHTTPClient(client *http.Client) *AdminResetInputValidationsParams
WithHTTPClient adds the HTTPClient to the admin reset input validations params
func (*AdminResetInputValidationsParams) WithTimeout ¶
func (o *AdminResetInputValidationsParams) WithTimeout(timeout time.Duration) *AdminResetInputValidationsParams
WithTimeout adds the timeout to the admin reset input validations params
func (*AdminResetInputValidationsParams) WriteToRequest ¶
func (o *AdminResetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminResetInputValidationsReader ¶
type AdminResetInputValidationsReader struct {
// contains filtered or unexported fields
}
AdminResetInputValidationsReader is a Reader for the AdminResetInputValidations structure.
func (*AdminResetInputValidationsReader) ReadResponse ¶
func (o *AdminResetInputValidationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminResetInputValidationsUnauthorized ¶
type AdminResetInputValidationsUnauthorized struct {
}AdminResetInputValidationsUnauthorized 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 NewAdminResetInputValidationsUnauthorized ¶
func NewAdminResetInputValidationsUnauthorized() *AdminResetInputValidationsUnauthorized
NewAdminResetInputValidationsUnauthorized creates a AdminResetInputValidationsUnauthorized with default headers values
func (*AdminResetInputValidationsUnauthorized) Error ¶
func (o *AdminResetInputValidationsUnauthorized) Error() string
func (*AdminResetInputValidationsUnauthorized) GetPayload ¶
func (o *AdminResetInputValidationsUnauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminResetInputValidationsUnauthorized) ToJSONString ¶
func (o *AdminResetInputValidationsUnauthorized) ToJSONString() string
type AdminUpdateInputValidationsForbidden ¶
type AdminUpdateInputValidationsForbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateInputValidationsForbidden 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 NewAdminUpdateInputValidationsForbidden ¶
func NewAdminUpdateInputValidationsForbidden() *AdminUpdateInputValidationsForbidden
NewAdminUpdateInputValidationsForbidden creates a AdminUpdateInputValidationsForbidden with default headers values
func (*AdminUpdateInputValidationsForbidden) Error ¶
func (o *AdminUpdateInputValidationsForbidden) Error() string
func (*AdminUpdateInputValidationsForbidden) GetPayload ¶
func (o *AdminUpdateInputValidationsForbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateInputValidationsForbidden) ToJSONString ¶
func (o *AdminUpdateInputValidationsForbidden) ToJSONString() string
type AdminUpdateInputValidationsNoContent ¶
type AdminUpdateInputValidationsNoContent struct { }
AdminUpdateInputValidationsNoContent handles this case with default header values.
No Content
func NewAdminUpdateInputValidationsNoContent ¶
func NewAdminUpdateInputValidationsNoContent() *AdminUpdateInputValidationsNoContent
NewAdminUpdateInputValidationsNoContent creates a AdminUpdateInputValidationsNoContent with default headers values
func (*AdminUpdateInputValidationsNoContent) Error ¶
func (o *AdminUpdateInputValidationsNoContent) Error() string
type AdminUpdateInputValidationsNotFound ¶
type AdminUpdateInputValidationsNotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateInputValidationsNotFound handles this case with default header values.
func NewAdminUpdateInputValidationsNotFound ¶
func NewAdminUpdateInputValidationsNotFound() *AdminUpdateInputValidationsNotFound
NewAdminUpdateInputValidationsNotFound creates a AdminUpdateInputValidationsNotFound with default headers values
func (*AdminUpdateInputValidationsNotFound) Error ¶
func (o *AdminUpdateInputValidationsNotFound) Error() string
func (*AdminUpdateInputValidationsNotFound) GetPayload ¶
func (o *AdminUpdateInputValidationsNotFound) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateInputValidationsNotFound) ToJSONString ¶
func (o *AdminUpdateInputValidationsNotFound) ToJSONString() string
type AdminUpdateInputValidationsParams ¶
type AdminUpdateInputValidationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*iamclientmodels.ModelInputValidationUpdatePayload AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateInputValidationsParams contains all the parameters to send to the API endpoint for the admin update input validations operation typically these are written to a http.Request
func NewAdminUpdateInputValidationsParams ¶
func NewAdminUpdateInputValidationsParams() *AdminUpdateInputValidationsParams
NewAdminUpdateInputValidationsParams creates a new AdminUpdateInputValidationsParams object with the default values initialized.
func NewAdminUpdateInputValidationsParamsWithContext ¶
func NewAdminUpdateInputValidationsParamsWithContext(ctx context.Context) *AdminUpdateInputValidationsParams
NewAdminUpdateInputValidationsParamsWithContext creates a new AdminUpdateInputValidationsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateInputValidationsParamsWithHTTPClient ¶
func NewAdminUpdateInputValidationsParamsWithHTTPClient(client *http.Client) *AdminUpdateInputValidationsParams
NewAdminUpdateInputValidationsParamsWithHTTPClient creates a new AdminUpdateInputValidationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateInputValidationsParamsWithTimeout ¶
func NewAdminUpdateInputValidationsParamsWithTimeout(timeout time.Duration) *AdminUpdateInputValidationsParams
NewAdminUpdateInputValidationsParamsWithTimeout creates a new AdminUpdateInputValidationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateInputValidationsParams) SetAuthInfoWriter ¶
func (o *AdminUpdateInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update input validations params
func (*AdminUpdateInputValidationsParams) SetBody ¶
func (o *AdminUpdateInputValidationsParams) SetBody(body []*iamclientmodels.ModelInputValidationUpdatePayload)
SetBody adds the body to the admin update input validations params
func (*AdminUpdateInputValidationsParams) SetContext ¶
func (o *AdminUpdateInputValidationsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update input validations params
func (*AdminUpdateInputValidationsParams) SetHTTPClient ¶
func (o *AdminUpdateInputValidationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update input validations params
func (*AdminUpdateInputValidationsParams) SetHTTPClientTransport ¶
func (o *AdminUpdateInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update input validations params
func (*AdminUpdateInputValidationsParams) SetTimeout ¶
func (o *AdminUpdateInputValidationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update input validations params
func (*AdminUpdateInputValidationsParams) WithBody ¶
func (o *AdminUpdateInputValidationsParams) WithBody(body []*iamclientmodels.ModelInputValidationUpdatePayload) *AdminUpdateInputValidationsParams
WithBody adds the body to the admin update input validations params
func (*AdminUpdateInputValidationsParams) WithContext ¶
func (o *AdminUpdateInputValidationsParams) WithContext(ctx context.Context) *AdminUpdateInputValidationsParams
WithContext adds the context to the admin update input validations params
func (*AdminUpdateInputValidationsParams) WithHTTPClient ¶
func (o *AdminUpdateInputValidationsParams) WithHTTPClient(client *http.Client) *AdminUpdateInputValidationsParams
WithHTTPClient adds the HTTPClient to the admin update input validations params
func (*AdminUpdateInputValidationsParams) WithTimeout ¶
func (o *AdminUpdateInputValidationsParams) WithTimeout(timeout time.Duration) *AdminUpdateInputValidationsParams
WithTimeout adds the timeout to the admin update input validations params
func (*AdminUpdateInputValidationsParams) WriteToRequest ¶
func (o *AdminUpdateInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateInputValidationsReader ¶
type AdminUpdateInputValidationsReader struct {
// contains filtered or unexported fields
}
AdminUpdateInputValidationsReader is a Reader for the AdminUpdateInputValidations structure.
func (*AdminUpdateInputValidationsReader) ReadResponse ¶
func (o *AdminUpdateInputValidationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateInputValidationsUnauthorized ¶
type AdminUpdateInputValidationsUnauthorized struct {
}AdminUpdateInputValidationsUnauthorized 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 NewAdminUpdateInputValidationsUnauthorized ¶
func NewAdminUpdateInputValidationsUnauthorized() *AdminUpdateInputValidationsUnauthorized
NewAdminUpdateInputValidationsUnauthorized creates a AdminUpdateInputValidationsUnauthorized with default headers values
func (*AdminUpdateInputValidationsUnauthorized) Error ¶
func (o *AdminUpdateInputValidationsUnauthorized) Error() string
func (*AdminUpdateInputValidationsUnauthorized) GetPayload ¶
func (o *AdminUpdateInputValidationsUnauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateInputValidationsUnauthorized) ToJSONString ¶
func (o *AdminUpdateInputValidationsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for input validations API
func (*Client) AdminGetInputValidations
deprecated
func (a *Client) AdminGetInputValidations(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, *AdminGetInputValidationsUnauthorized, *AdminGetInputValidationsForbidden, error)
Deprecated: 2022-08-10 - Use AdminGetInputValidationsShort instead.
AdminGetInputValidations admin get input validations ¶
Required permission 'ADMIN:CONFIGURATION'[READ]
This endpoint is to get list of input validation configuration.
`regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
func (*Client) AdminGetInputValidationsShort ¶
func (a *Client) AdminGetInputValidationsShort(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, error)
AdminGetInputValidationsShort admin get input validations
Required permission 'ADMIN:CONFIGURATION'[READ]
This endpoint is to get list of input validation configuration.
`regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
func (*Client) AdminResetInputValidations
deprecated
func (a *Client) AdminResetInputValidations(params *AdminResetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetInputValidationsNoContent, *AdminResetInputValidationsUnauthorized, *AdminResetInputValidationsForbidden, *AdminResetInputValidationsNotFound, error)
Deprecated: 2022-08-10 - Use AdminResetInputValidationsShort instead.
AdminResetInputValidations admin reset input validations ¶
Required permission 'ADMIN:CONFIGURATION' [DELETE]
This endpoint is used to reset input validation to the default input validation configurations
func (*Client) AdminResetInputValidationsShort ¶
func (a *Client) AdminResetInputValidationsShort(params *AdminResetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetInputValidationsNoContent, error)
AdminResetInputValidationsShort admin reset input validations
Required permission 'ADMIN:CONFIGURATION' [DELETE]
This endpoint is used to reset input validation to the default input validation configurations
func (*Client) AdminUpdateInputValidations
deprecated
func (a *Client) AdminUpdateInputValidations(params *AdminUpdateInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInputValidationsNoContent, *AdminUpdateInputValidationsUnauthorized, *AdminUpdateInputValidationsForbidden, *AdminUpdateInputValidationsNotFound, error)
Deprecated: 2022-08-10 - Use AdminUpdateInputValidationsShort instead.
AdminUpdateInputValidations admin update input validations ¶
Required permission 'ADMIN:CONFIGURATION' [UPDATE]
This endpoint is used to update input validation configuration.
Supported `field`:
displayName
password
username
email
avatar
If `isCustomRegex` is set to true, `regex` parameter will be used as input validation and the other parameters will be ignored. Otherwise, `regex` parameter will be ignored and regex for input validation will be generated based on the combination of the other parameters.
If `allowUnicode` is set to true, unicode regex pattern will be use as the input validation and the other parameters will be ignored.
Supported `letterCase`:
lowercase
uppercase
mixed: uppercase and lowercase
mixed: uppercase and/or lowercase
flexible special character non words with `allowAllSpecialCharacters`
if `allowAllSpecialCharacters` is set to true `specialCharacters` will forced to empty.
Supported `specialCharacterLocation`:
anywhere
middle
If `specialCharacters` is empty, `specialCharacterLocation` and `maxRepeatingSpecialCharacter` will be ignored.
`minCharType` is used to identify how many required criteria in the regex. The supported criteria are number, letter, special character, and letter case. If set to 0 or 1 means all criteria are optional. It can be set as much as the number of criteria enabled.
If `blockedWord` is set by admin, any input from user which contain kind of blocked word(s) will be blocked for create/upgrade/update account
If `avatarConfig` is set, will use this config and skip all the other validation conditions
func (*Client) AdminUpdateInputValidationsShort ¶
func (a *Client) AdminUpdateInputValidationsShort(params *AdminUpdateInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInputValidationsNoContent, error)
AdminUpdateInputValidationsShort admin update input validations
Required permission 'ADMIN:CONFIGURATION' [UPDATE]
This endpoint is used to update input validation configuration.
Supported `field`:
displayName
password
username
email
avatar
If `isCustomRegex` is set to true, `regex` parameter will be used as input validation and the other parameters will be ignored. Otherwise, `regex` parameter will be ignored and regex for input validation will be generated based on the combination of the other parameters.
If `allowUnicode` is set to true, unicode regex pattern will be use as the input validation and the other parameters will be ignored.
Supported `letterCase`:
lowercase
uppercase
mixed: uppercase and lowercase
mixed: uppercase and/or lowercase
flexible special character non words with `allowAllSpecialCharacters`
if `allowAllSpecialCharacters` is set to true `specialCharacters` will forced to empty.
Supported `specialCharacterLocation`:
anywhere
middle
If `specialCharacters` is empty, `specialCharacterLocation` and `maxRepeatingSpecialCharacter` will be ignored.
`minCharType` is used to identify how many required criteria in the regex. The supported criteria are number, letter, special character, and letter case. If set to 0 or 1 means all criteria are optional. It can be set as much as the number of criteria enabled.
If `blockedWord` is set by admin, any input from user which contain kind of blocked word(s) will be blocked for create/upgrade/update account
If `avatarConfig` is set, will use this config and skip all the other validation conditions
func (*Client) PublicGetInputValidationByField
deprecated
func (a *Client) PublicGetInputValidationByField(params *PublicGetInputValidationByFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetInputValidationByFieldOK, *PublicGetInputValidationByFieldNotFound, *PublicGetInputValidationByFieldInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetInputValidationByFieldShort instead.
PublicGetInputValidationByField public get input validation by field ¶
This endpoint is to get input validation configuration by field.
func (*Client) PublicGetInputValidationByFieldShort ¶
func (a *Client) PublicGetInputValidationByFieldShort(params *PublicGetInputValidationByFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetInputValidationByFieldOK, error)
PublicGetInputValidationByFieldShort public get input validation by field
This endpoint is to get input validation configuration by field.
func (*Client) PublicGetInputValidations
deprecated
func (a *Client) PublicGetInputValidations(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, *PublicGetInputValidationsNotFound, *PublicGetInputValidationsInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetInputValidationsShort instead.
PublicGetInputValidations public get input validations ¶
No role required ¶
This endpoint is to get list of input validation configuration.
`regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
func (*Client) PublicGetInputValidationsShort ¶
func (a *Client) PublicGetInputValidationsShort(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, error)
PublicGetInputValidationsShort public get input validations
No role required ¶
This endpoint is to get list of input validation configuration.
`regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetInputValidations(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, *AdminGetInputValidationsUnauthorized, *AdminGetInputValidationsForbidden, error) AdminGetInputValidationsShort(params *AdminGetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInputValidationsOK, error) AdminUpdateInputValidations(params *AdminUpdateInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInputValidationsNoContent, *AdminUpdateInputValidationsUnauthorized, *AdminUpdateInputValidationsForbidden, *AdminUpdateInputValidationsNotFound, error) AdminUpdateInputValidationsShort(params *AdminUpdateInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInputValidationsNoContent, error) AdminResetInputValidations(params *AdminResetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetInputValidationsNoContent, *AdminResetInputValidationsUnauthorized, *AdminResetInputValidationsForbidden, *AdminResetInputValidationsNotFound, error) AdminResetInputValidationsShort(params *AdminResetInputValidationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetInputValidationsNoContent, error) PublicGetInputValidations(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, *PublicGetInputValidationsNotFound, *PublicGetInputValidationsInternalServerError, error) PublicGetInputValidationsShort(params *PublicGetInputValidationsParams) (*PublicGetInputValidationsOK, error) PublicGetInputValidationByField(params *PublicGetInputValidationByFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetInputValidationByFieldOK, *PublicGetInputValidationByFieldNotFound, *PublicGetInputValidationByFieldInternalServerError, error) PublicGetInputValidationByFieldShort(params *PublicGetInputValidationByFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetInputValidationByFieldOK, 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 input validations API client.
type PublicGetInputValidationByFieldInternalServerError ¶
type PublicGetInputValidationByFieldInternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicGetInputValidationByFieldInternalServerError 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 NewPublicGetInputValidationByFieldInternalServerError ¶
func NewPublicGetInputValidationByFieldInternalServerError() *PublicGetInputValidationByFieldInternalServerError
NewPublicGetInputValidationByFieldInternalServerError creates a PublicGetInputValidationByFieldInternalServerError with default headers values
func (*PublicGetInputValidationByFieldInternalServerError) Error ¶
func (o *PublicGetInputValidationByFieldInternalServerError) Error() string
func (*PublicGetInputValidationByFieldInternalServerError) GetPayload ¶
func (o *PublicGetInputValidationByFieldInternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*PublicGetInputValidationByFieldInternalServerError) ToJSONString ¶
func (o *PublicGetInputValidationByFieldInternalServerError) ToJSONString() string
type PublicGetInputValidationByFieldNotFound ¶
type PublicGetInputValidationByFieldNotFound struct { }
PublicGetInputValidationByFieldNotFound handles this case with default header values.
Data not found
func NewPublicGetInputValidationByFieldNotFound ¶
func NewPublicGetInputValidationByFieldNotFound() *PublicGetInputValidationByFieldNotFound
NewPublicGetInputValidationByFieldNotFound creates a PublicGetInputValidationByFieldNotFound with default headers values
func (*PublicGetInputValidationByFieldNotFound) Error ¶
func (o *PublicGetInputValidationByFieldNotFound) Error() string
type PublicGetInputValidationByFieldOK ¶
type PublicGetInputValidationByFieldOK struct {
Payload *iamclientmodels.ModelInputValidationConfigVersion
}
PublicGetInputValidationByFieldOK handles this case with default header values.
OK
func NewPublicGetInputValidationByFieldOK ¶
func NewPublicGetInputValidationByFieldOK() *PublicGetInputValidationByFieldOK
NewPublicGetInputValidationByFieldOK creates a PublicGetInputValidationByFieldOK with default headers values
func (*PublicGetInputValidationByFieldOK) Error ¶
func (o *PublicGetInputValidationByFieldOK) Error() string
func (*PublicGetInputValidationByFieldOK) GetPayload ¶
func (o *PublicGetInputValidationByFieldOK) GetPayload() *iamclientmodels.ModelInputValidationConfigVersion
func (*PublicGetInputValidationByFieldOK) ToJSONString ¶
func (o *PublicGetInputValidationByFieldOK) ToJSONString() string
type PublicGetInputValidationByFieldParams ¶
type PublicGetInputValidationByFieldParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Field Name of the input validation field to get: email, username, displayName, password or avatar */ Field string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetInputValidationByFieldParams contains all the parameters to send to the API endpoint for the public get input validation by field operation typically these are written to a http.Request
func NewPublicGetInputValidationByFieldParams ¶
func NewPublicGetInputValidationByFieldParams() *PublicGetInputValidationByFieldParams
NewPublicGetInputValidationByFieldParams creates a new PublicGetInputValidationByFieldParams object with the default values initialized.
func NewPublicGetInputValidationByFieldParamsWithContext ¶
func NewPublicGetInputValidationByFieldParamsWithContext(ctx context.Context) *PublicGetInputValidationByFieldParams
NewPublicGetInputValidationByFieldParamsWithContext creates a new PublicGetInputValidationByFieldParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetInputValidationByFieldParamsWithHTTPClient ¶
func NewPublicGetInputValidationByFieldParamsWithHTTPClient(client *http.Client) *PublicGetInputValidationByFieldParams
NewPublicGetInputValidationByFieldParamsWithHTTPClient creates a new PublicGetInputValidationByFieldParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetInputValidationByFieldParamsWithTimeout ¶
func NewPublicGetInputValidationByFieldParamsWithTimeout(timeout time.Duration) *PublicGetInputValidationByFieldParams
NewPublicGetInputValidationByFieldParamsWithTimeout creates a new PublicGetInputValidationByFieldParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetInputValidationByFieldParams) SetAuthInfoWriter ¶
func (o *PublicGetInputValidationByFieldParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) SetContext ¶
func (o *PublicGetInputValidationByFieldParams) SetContext(ctx context.Context)
SetContext adds the context to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) SetField ¶
func (o *PublicGetInputValidationByFieldParams) SetField(field string)
SetField adds the field to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) SetHTTPClient ¶
func (o *PublicGetInputValidationByFieldParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) SetHTTPClientTransport ¶
func (o *PublicGetInputValidationByFieldParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) SetTimeout ¶
func (o *PublicGetInputValidationByFieldParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) WithContext ¶
func (o *PublicGetInputValidationByFieldParams) WithContext(ctx context.Context) *PublicGetInputValidationByFieldParams
WithContext adds the context to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) WithField ¶
func (o *PublicGetInputValidationByFieldParams) WithField(field string) *PublicGetInputValidationByFieldParams
WithField adds the field to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) WithHTTPClient ¶
func (o *PublicGetInputValidationByFieldParams) WithHTTPClient(client *http.Client) *PublicGetInputValidationByFieldParams
WithHTTPClient adds the HTTPClient to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) WithTimeout ¶
func (o *PublicGetInputValidationByFieldParams) WithTimeout(timeout time.Duration) *PublicGetInputValidationByFieldParams
WithTimeout adds the timeout to the public get input validation by field params
func (*PublicGetInputValidationByFieldParams) WriteToRequest ¶
func (o *PublicGetInputValidationByFieldParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetInputValidationByFieldReader ¶
type PublicGetInputValidationByFieldReader struct {
// contains filtered or unexported fields
}
PublicGetInputValidationByFieldReader is a Reader for the PublicGetInputValidationByField structure.
func (*PublicGetInputValidationByFieldReader) ReadResponse ¶
func (o *PublicGetInputValidationByFieldReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetInputValidationsInternalServerError ¶
type PublicGetInputValidationsInternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicGetInputValidationsInternalServerError 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 NewPublicGetInputValidationsInternalServerError ¶
func NewPublicGetInputValidationsInternalServerError() *PublicGetInputValidationsInternalServerError
NewPublicGetInputValidationsInternalServerError creates a PublicGetInputValidationsInternalServerError with default headers values
func (*PublicGetInputValidationsInternalServerError) Error ¶
func (o *PublicGetInputValidationsInternalServerError) Error() string
func (*PublicGetInputValidationsInternalServerError) GetPayload ¶
func (o *PublicGetInputValidationsInternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*PublicGetInputValidationsInternalServerError) ToJSONString ¶
func (o *PublicGetInputValidationsInternalServerError) ToJSONString() string
type PublicGetInputValidationsNotFound ¶
type PublicGetInputValidationsNotFound struct { }
PublicGetInputValidationsNotFound handles this case with default header values.
Data not found
func NewPublicGetInputValidationsNotFound ¶
func NewPublicGetInputValidationsNotFound() *PublicGetInputValidationsNotFound
NewPublicGetInputValidationsNotFound creates a PublicGetInputValidationsNotFound with default headers values
func (*PublicGetInputValidationsNotFound) Error ¶
func (o *PublicGetInputValidationsNotFound) Error() string
type PublicGetInputValidationsOK ¶
type PublicGetInputValidationsOK struct {
Payload *iamclientmodels.ModelInputValidationsPublicResponse
}
PublicGetInputValidationsOK handles this case with default header values.
OK
func NewPublicGetInputValidationsOK ¶
func NewPublicGetInputValidationsOK() *PublicGetInputValidationsOK
NewPublicGetInputValidationsOK creates a PublicGetInputValidationsOK with default headers values
func (*PublicGetInputValidationsOK) Error ¶
func (o *PublicGetInputValidationsOK) Error() string
func (*PublicGetInputValidationsOK) GetPayload ¶
func (o *PublicGetInputValidationsOK) GetPayload() *iamclientmodels.ModelInputValidationsPublicResponse
func (*PublicGetInputValidationsOK) ToJSONString ¶
func (o *PublicGetInputValidationsOK) ToJSONString() string
type PublicGetInputValidationsParams ¶
type PublicGetInputValidationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*DefaultOnEmpty default true, will return default language if languageCode is empty or language not available */ DefaultOnEmpty *bool /*LanguageCode Language Code for description */ LanguageCode *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetInputValidationsParams contains all the parameters to send to the API endpoint for the public get input validations operation typically these are written to a http.Request
func NewPublicGetInputValidationsParams ¶
func NewPublicGetInputValidationsParams() *PublicGetInputValidationsParams
NewPublicGetInputValidationsParams creates a new PublicGetInputValidationsParams object with the default values initialized.
func NewPublicGetInputValidationsParamsWithContext ¶
func NewPublicGetInputValidationsParamsWithContext(ctx context.Context) *PublicGetInputValidationsParams
NewPublicGetInputValidationsParamsWithContext creates a new PublicGetInputValidationsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetInputValidationsParamsWithHTTPClient ¶
func NewPublicGetInputValidationsParamsWithHTTPClient(client *http.Client) *PublicGetInputValidationsParams
NewPublicGetInputValidationsParamsWithHTTPClient creates a new PublicGetInputValidationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetInputValidationsParamsWithTimeout ¶
func NewPublicGetInputValidationsParamsWithTimeout(timeout time.Duration) *PublicGetInputValidationsParams
NewPublicGetInputValidationsParamsWithTimeout creates a new PublicGetInputValidationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetInputValidationsParams) SetAuthInfoWriter ¶
func (o *PublicGetInputValidationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get input validations params
func (*PublicGetInputValidationsParams) SetContext ¶
func (o *PublicGetInputValidationsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get input validations params
func (*PublicGetInputValidationsParams) SetDefaultOnEmpty ¶
func (o *PublicGetInputValidationsParams) SetDefaultOnEmpty(defaultOnEmpty *bool)
SetDefaultOnEmpty adds the defaultOnEmpty to the public get input validations params
func (*PublicGetInputValidationsParams) SetHTTPClient ¶
func (o *PublicGetInputValidationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get input validations params
func (*PublicGetInputValidationsParams) SetHTTPClientTransport ¶
func (o *PublicGetInputValidationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get input validations params
func (*PublicGetInputValidationsParams) SetLanguageCode ¶
func (o *PublicGetInputValidationsParams) SetLanguageCode(languageCode *string)
SetLanguageCode adds the languageCode to the public get input validations params
func (*PublicGetInputValidationsParams) SetTimeout ¶
func (o *PublicGetInputValidationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get input validations params
func (*PublicGetInputValidationsParams) WithContext ¶
func (o *PublicGetInputValidationsParams) WithContext(ctx context.Context) *PublicGetInputValidationsParams
WithContext adds the context to the public get input validations params
func (*PublicGetInputValidationsParams) WithDefaultOnEmpty ¶
func (o *PublicGetInputValidationsParams) WithDefaultOnEmpty(defaultOnEmpty *bool) *PublicGetInputValidationsParams
WithDefaultOnEmpty adds the defaultOnEmpty to the public get input validations params
func (*PublicGetInputValidationsParams) WithHTTPClient ¶
func (o *PublicGetInputValidationsParams) WithHTTPClient(client *http.Client) *PublicGetInputValidationsParams
WithHTTPClient adds the HTTPClient to the public get input validations params
func (*PublicGetInputValidationsParams) WithLanguageCode ¶
func (o *PublicGetInputValidationsParams) WithLanguageCode(languageCode *string) *PublicGetInputValidationsParams
WithLanguageCode adds the languageCode to the public get input validations params
func (*PublicGetInputValidationsParams) WithTimeout ¶
func (o *PublicGetInputValidationsParams) WithTimeout(timeout time.Duration) *PublicGetInputValidationsParams
WithTimeout adds the timeout to the public get input validations params
func (*PublicGetInputValidationsParams) WriteToRequest ¶
func (o *PublicGetInputValidationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetInputValidationsReader ¶
type PublicGetInputValidationsReader struct {
// contains filtered or unexported fields
}
PublicGetInputValidationsReader is a Reader for the PublicGetInputValidations structure.
func (*PublicGetInputValidationsReader) ReadResponse ¶
func (o *PublicGetInputValidationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- admin_get_input_validations_parameters.go
- admin_get_input_validations_responses.go
- admin_reset_input_validations_parameters.go
- admin_reset_input_validations_responses.go
- admin_update_input_validations_parameters.go
- admin_update_input_validations_responses.go
- input_validations_client.go
- public_get_input_validation_by_field_parameters.go
- public_get_input_validation_by_field_responses.go
- public_get_input_validations_parameters.go
- public_get_input_validations_responses.go