Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) ImportLdapUser(ctx context.Context, params *ImportLdapUserParams) (*ImportLdapUserOK, error)
- func (a *Client) PingLdap(ctx context.Context, params *PingLdapParams) (*PingLdapOK, error)
- func (a *Client) SearchLdapGroup(ctx context.Context, params *SearchLdapGroupParams) (*SearchLdapGroupOK, error)
- func (a *Client) SearchLdapUser(ctx context.Context, params *SearchLdapUserParams) (*SearchLdapUserOK, error)
- type ImportLdapUserBadRequest
- func (o *ImportLdapUserBadRequest) Error() string
- func (o *ImportLdapUserBadRequest) GetPayload() *models.Errors
- func (o *ImportLdapUserBadRequest) IsClientError() bool
- func (o *ImportLdapUserBadRequest) IsCode(code int) bool
- func (o *ImportLdapUserBadRequest) IsRedirect() bool
- func (o *ImportLdapUserBadRequest) IsServerError() bool
- func (o *ImportLdapUserBadRequest) IsSuccess() bool
- func (o *ImportLdapUserBadRequest) String() string
- type ImportLdapUserForbidden
- func (o *ImportLdapUserForbidden) Error() string
- func (o *ImportLdapUserForbidden) GetPayload() *models.Errors
- func (o *ImportLdapUserForbidden) IsClientError() bool
- func (o *ImportLdapUserForbidden) IsCode(code int) bool
- func (o *ImportLdapUserForbidden) IsRedirect() bool
- func (o *ImportLdapUserForbidden) IsServerError() bool
- func (o *ImportLdapUserForbidden) IsSuccess() bool
- func (o *ImportLdapUserForbidden) String() string
- type ImportLdapUserInternalServerError
- func (o *ImportLdapUserInternalServerError) Error() string
- func (o *ImportLdapUserInternalServerError) GetPayload() *models.Errors
- func (o *ImportLdapUserInternalServerError) IsClientError() bool
- func (o *ImportLdapUserInternalServerError) IsCode(code int) bool
- func (o *ImportLdapUserInternalServerError) IsRedirect() bool
- func (o *ImportLdapUserInternalServerError) IsServerError() bool
- func (o *ImportLdapUserInternalServerError) IsSuccess() bool
- func (o *ImportLdapUserInternalServerError) String() string
- type ImportLdapUserNotFound
- func (o *ImportLdapUserNotFound) Error() string
- func (o *ImportLdapUserNotFound) GetPayload() []*models.LdapFailedImportUser
- func (o *ImportLdapUserNotFound) IsClientError() bool
- func (o *ImportLdapUserNotFound) IsCode(code int) bool
- func (o *ImportLdapUserNotFound) IsRedirect() bool
- func (o *ImportLdapUserNotFound) IsServerError() bool
- func (o *ImportLdapUserNotFound) IsSuccess() bool
- func (o *ImportLdapUserNotFound) String() string
- type ImportLdapUserOK
- func (o *ImportLdapUserOK) Error() string
- func (o *ImportLdapUserOK) IsClientError() bool
- func (o *ImportLdapUserOK) IsCode(code int) bool
- func (o *ImportLdapUserOK) IsRedirect() bool
- func (o *ImportLdapUserOK) IsServerError() bool
- func (o *ImportLdapUserOK) IsSuccess() bool
- func (o *ImportLdapUserOK) String() string
- type ImportLdapUserParams
- func NewImportLdapUserParams() *ImportLdapUserParams
- func NewImportLdapUserParamsWithContext(ctx context.Context) *ImportLdapUserParams
- func NewImportLdapUserParamsWithHTTPClient(client *http.Client) *ImportLdapUserParams
- func NewImportLdapUserParamsWithTimeout(timeout time.Duration) *ImportLdapUserParams
- func (o *ImportLdapUserParams) SetContext(ctx context.Context)
- func (o *ImportLdapUserParams) SetDefaults()
- func (o *ImportLdapUserParams) SetHTTPClient(client *http.Client)
- func (o *ImportLdapUserParams) SetTimeout(timeout time.Duration)
- func (o *ImportLdapUserParams) SetUIDList(uIDList *models.LdapImportUsers)
- func (o *ImportLdapUserParams) SetXRequestID(xRequestID *string)
- func (o *ImportLdapUserParams) WithContext(ctx context.Context) *ImportLdapUserParams
- func (o *ImportLdapUserParams) WithDefaults() *ImportLdapUserParams
- func (o *ImportLdapUserParams) WithHTTPClient(client *http.Client) *ImportLdapUserParams
- func (o *ImportLdapUserParams) WithTimeout(timeout time.Duration) *ImportLdapUserParams
- func (o *ImportLdapUserParams) WithUIDList(uIDList *models.LdapImportUsers) *ImportLdapUserParams
- func (o *ImportLdapUserParams) WithXRequestID(xRequestID *string) *ImportLdapUserParams
- func (o *ImportLdapUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportLdapUserReader
- type ImportLdapUserUnauthorized
- func (o *ImportLdapUserUnauthorized) Error() string
- func (o *ImportLdapUserUnauthorized) GetPayload() *models.Errors
- func (o *ImportLdapUserUnauthorized) IsClientError() bool
- func (o *ImportLdapUserUnauthorized) IsCode(code int) bool
- func (o *ImportLdapUserUnauthorized) IsRedirect() bool
- func (o *ImportLdapUserUnauthorized) IsServerError() bool
- func (o *ImportLdapUserUnauthorized) IsSuccess() bool
- func (o *ImportLdapUserUnauthorized) String() string
- type PingLdapBadRequest
- func (o *PingLdapBadRequest) Error() string
- func (o *PingLdapBadRequest) GetPayload() *models.Errors
- func (o *PingLdapBadRequest) IsClientError() bool
- func (o *PingLdapBadRequest) IsCode(code int) bool
- func (o *PingLdapBadRequest) IsRedirect() bool
- func (o *PingLdapBadRequest) IsServerError() bool
- func (o *PingLdapBadRequest) IsSuccess() bool
- func (o *PingLdapBadRequest) String() string
- type PingLdapForbidden
- func (o *PingLdapForbidden) Error() string
- func (o *PingLdapForbidden) GetPayload() *models.Errors
- func (o *PingLdapForbidden) IsClientError() bool
- func (o *PingLdapForbidden) IsCode(code int) bool
- func (o *PingLdapForbidden) IsRedirect() bool
- func (o *PingLdapForbidden) IsServerError() bool
- func (o *PingLdapForbidden) IsSuccess() bool
- func (o *PingLdapForbidden) String() string
- type PingLdapInternalServerError
- func (o *PingLdapInternalServerError) Error() string
- func (o *PingLdapInternalServerError) GetPayload() *models.Errors
- func (o *PingLdapInternalServerError) IsClientError() bool
- func (o *PingLdapInternalServerError) IsCode(code int) bool
- func (o *PingLdapInternalServerError) IsRedirect() bool
- func (o *PingLdapInternalServerError) IsServerError() bool
- func (o *PingLdapInternalServerError) IsSuccess() bool
- func (o *PingLdapInternalServerError) String() string
- type PingLdapOK
- func (o *PingLdapOK) Error() string
- func (o *PingLdapOK) GetPayload() *models.LdapPingResult
- func (o *PingLdapOK) IsClientError() bool
- func (o *PingLdapOK) IsCode(code int) bool
- func (o *PingLdapOK) IsRedirect() bool
- func (o *PingLdapOK) IsServerError() bool
- func (o *PingLdapOK) IsSuccess() bool
- func (o *PingLdapOK) String() string
- type PingLdapParams
- func (o *PingLdapParams) SetContext(ctx context.Context)
- func (o *PingLdapParams) SetDefaults()
- func (o *PingLdapParams) SetHTTPClient(client *http.Client)
- func (o *PingLdapParams) SetLdapconf(ldapconf *models.LdapConf)
- func (o *PingLdapParams) SetTimeout(timeout time.Duration)
- func (o *PingLdapParams) SetXRequestID(xRequestID *string)
- func (o *PingLdapParams) WithContext(ctx context.Context) *PingLdapParams
- func (o *PingLdapParams) WithDefaults() *PingLdapParams
- func (o *PingLdapParams) WithHTTPClient(client *http.Client) *PingLdapParams
- func (o *PingLdapParams) WithLdapconf(ldapconf *models.LdapConf) *PingLdapParams
- func (o *PingLdapParams) WithTimeout(timeout time.Duration) *PingLdapParams
- func (o *PingLdapParams) WithXRequestID(xRequestID *string) *PingLdapParams
- func (o *PingLdapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingLdapReader
- type PingLdapUnauthorized
- func (o *PingLdapUnauthorized) Error() string
- func (o *PingLdapUnauthorized) GetPayload() *models.Errors
- func (o *PingLdapUnauthorized) IsClientError() bool
- func (o *PingLdapUnauthorized) IsCode(code int) bool
- func (o *PingLdapUnauthorized) IsRedirect() bool
- func (o *PingLdapUnauthorized) IsServerError() bool
- func (o *PingLdapUnauthorized) IsSuccess() bool
- func (o *PingLdapUnauthorized) String() string
- type SearchLdapGroupBadRequest
- func (o *SearchLdapGroupBadRequest) Error() string
- func (o *SearchLdapGroupBadRequest) GetPayload() *models.Errors
- func (o *SearchLdapGroupBadRequest) IsClientError() bool
- func (o *SearchLdapGroupBadRequest) IsCode(code int) bool
- func (o *SearchLdapGroupBadRequest) IsRedirect() bool
- func (o *SearchLdapGroupBadRequest) IsServerError() bool
- func (o *SearchLdapGroupBadRequest) IsSuccess() bool
- func (o *SearchLdapGroupBadRequest) String() string
- type SearchLdapGroupForbidden
- func (o *SearchLdapGroupForbidden) Error() string
- func (o *SearchLdapGroupForbidden) GetPayload() *models.Errors
- func (o *SearchLdapGroupForbidden) IsClientError() bool
- func (o *SearchLdapGroupForbidden) IsCode(code int) bool
- func (o *SearchLdapGroupForbidden) IsRedirect() bool
- func (o *SearchLdapGroupForbidden) IsServerError() bool
- func (o *SearchLdapGroupForbidden) IsSuccess() bool
- func (o *SearchLdapGroupForbidden) String() string
- type SearchLdapGroupInternalServerError
- func (o *SearchLdapGroupInternalServerError) Error() string
- func (o *SearchLdapGroupInternalServerError) GetPayload() *models.Errors
- func (o *SearchLdapGroupInternalServerError) IsClientError() bool
- func (o *SearchLdapGroupInternalServerError) IsCode(code int) bool
- func (o *SearchLdapGroupInternalServerError) IsRedirect() bool
- func (o *SearchLdapGroupInternalServerError) IsServerError() bool
- func (o *SearchLdapGroupInternalServerError) IsSuccess() bool
- func (o *SearchLdapGroupInternalServerError) String() string
- type SearchLdapGroupOK
- func (o *SearchLdapGroupOK) Error() string
- func (o *SearchLdapGroupOK) GetPayload() []*models.UserGroup
- func (o *SearchLdapGroupOK) IsClientError() bool
- func (o *SearchLdapGroupOK) IsCode(code int) bool
- func (o *SearchLdapGroupOK) IsRedirect() bool
- func (o *SearchLdapGroupOK) IsServerError() bool
- func (o *SearchLdapGroupOK) IsSuccess() bool
- func (o *SearchLdapGroupOK) String() string
- type SearchLdapGroupParams
- func NewSearchLdapGroupParams() *SearchLdapGroupParams
- func NewSearchLdapGroupParamsWithContext(ctx context.Context) *SearchLdapGroupParams
- func NewSearchLdapGroupParamsWithHTTPClient(client *http.Client) *SearchLdapGroupParams
- func NewSearchLdapGroupParamsWithTimeout(timeout time.Duration) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) SetContext(ctx context.Context)
- func (o *SearchLdapGroupParams) SetDefaults()
- func (o *SearchLdapGroupParams) SetGroupdn(groupdn *string)
- func (o *SearchLdapGroupParams) SetGroupname(groupname *string)
- func (o *SearchLdapGroupParams) SetHTTPClient(client *http.Client)
- func (o *SearchLdapGroupParams) SetTimeout(timeout time.Duration)
- func (o *SearchLdapGroupParams) SetXRequestID(xRequestID *string)
- func (o *SearchLdapGroupParams) WithContext(ctx context.Context) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithDefaults() *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithGroupdn(groupdn *string) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithGroupname(groupname *string) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithHTTPClient(client *http.Client) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithTimeout(timeout time.Duration) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WithXRequestID(xRequestID *string) *SearchLdapGroupParams
- func (o *SearchLdapGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchLdapGroupReader
- type SearchLdapGroupUnauthorized
- func (o *SearchLdapGroupUnauthorized) Error() string
- func (o *SearchLdapGroupUnauthorized) GetPayload() *models.Errors
- func (o *SearchLdapGroupUnauthorized) IsClientError() bool
- func (o *SearchLdapGroupUnauthorized) IsCode(code int) bool
- func (o *SearchLdapGroupUnauthorized) IsRedirect() bool
- func (o *SearchLdapGroupUnauthorized) IsServerError() bool
- func (o *SearchLdapGroupUnauthorized) IsSuccess() bool
- func (o *SearchLdapGroupUnauthorized) String() string
- type SearchLdapUserBadRequest
- func (o *SearchLdapUserBadRequest) Error() string
- func (o *SearchLdapUserBadRequest) GetPayload() *models.Errors
- func (o *SearchLdapUserBadRequest) IsClientError() bool
- func (o *SearchLdapUserBadRequest) IsCode(code int) bool
- func (o *SearchLdapUserBadRequest) IsRedirect() bool
- func (o *SearchLdapUserBadRequest) IsServerError() bool
- func (o *SearchLdapUserBadRequest) IsSuccess() bool
- func (o *SearchLdapUserBadRequest) String() string
- type SearchLdapUserForbidden
- func (o *SearchLdapUserForbidden) Error() string
- func (o *SearchLdapUserForbidden) GetPayload() *models.Errors
- func (o *SearchLdapUserForbidden) IsClientError() bool
- func (o *SearchLdapUserForbidden) IsCode(code int) bool
- func (o *SearchLdapUserForbidden) IsRedirect() bool
- func (o *SearchLdapUserForbidden) IsServerError() bool
- func (o *SearchLdapUserForbidden) IsSuccess() bool
- func (o *SearchLdapUserForbidden) String() string
- type SearchLdapUserInternalServerError
- func (o *SearchLdapUserInternalServerError) Error() string
- func (o *SearchLdapUserInternalServerError) GetPayload() *models.Errors
- func (o *SearchLdapUserInternalServerError) IsClientError() bool
- func (o *SearchLdapUserInternalServerError) IsCode(code int) bool
- func (o *SearchLdapUserInternalServerError) IsRedirect() bool
- func (o *SearchLdapUserInternalServerError) IsServerError() bool
- func (o *SearchLdapUserInternalServerError) IsSuccess() bool
- func (o *SearchLdapUserInternalServerError) String() string
- type SearchLdapUserOK
- func (o *SearchLdapUserOK) Error() string
- func (o *SearchLdapUserOK) GetPayload() []*models.LdapUser
- func (o *SearchLdapUserOK) IsClientError() bool
- func (o *SearchLdapUserOK) IsCode(code int) bool
- func (o *SearchLdapUserOK) IsRedirect() bool
- func (o *SearchLdapUserOK) IsServerError() bool
- func (o *SearchLdapUserOK) IsSuccess() bool
- func (o *SearchLdapUserOK) String() string
- type SearchLdapUserParams
- func NewSearchLdapUserParams() *SearchLdapUserParams
- func NewSearchLdapUserParamsWithContext(ctx context.Context) *SearchLdapUserParams
- func NewSearchLdapUserParamsWithHTTPClient(client *http.Client) *SearchLdapUserParams
- func NewSearchLdapUserParamsWithTimeout(timeout time.Duration) *SearchLdapUserParams
- func (o *SearchLdapUserParams) SetContext(ctx context.Context)
- func (o *SearchLdapUserParams) SetDefaults()
- func (o *SearchLdapUserParams) SetHTTPClient(client *http.Client)
- func (o *SearchLdapUserParams) SetTimeout(timeout time.Duration)
- func (o *SearchLdapUserParams) SetUsername(username *string)
- func (o *SearchLdapUserParams) SetXRequestID(xRequestID *string)
- func (o *SearchLdapUserParams) WithContext(ctx context.Context) *SearchLdapUserParams
- func (o *SearchLdapUserParams) WithDefaults() *SearchLdapUserParams
- func (o *SearchLdapUserParams) WithHTTPClient(client *http.Client) *SearchLdapUserParams
- func (o *SearchLdapUserParams) WithTimeout(timeout time.Duration) *SearchLdapUserParams
- func (o *SearchLdapUserParams) WithUsername(username *string) *SearchLdapUserParams
- func (o *SearchLdapUserParams) WithXRequestID(xRequestID *string) *SearchLdapUserParams
- func (o *SearchLdapUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchLdapUserReader
- type SearchLdapUserUnauthorized
- func (o *SearchLdapUserUnauthorized) Error() string
- func (o *SearchLdapUserUnauthorized) GetPayload() *models.Errors
- func (o *SearchLdapUserUnauthorized) IsClientError() bool
- func (o *SearchLdapUserUnauthorized) IsCode(code int) bool
- func (o *SearchLdapUserUnauthorized) IsRedirect() bool
- func (o *SearchLdapUserUnauthorized) IsServerError() bool
- func (o *SearchLdapUserUnauthorized) IsSuccess() bool
- func (o *SearchLdapUserUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* ImportLdapUser imports selected available ldap users This endpoint adds the selected available ldap users to harbor based on related configuration parameters from the system. System will try to guess the user email address and realname, add to harbor user information. If have errors when import user, will return the list of importing failed uid and the failed reason. */ ImportLdapUser(ctx context.Context, params *ImportLdapUserParams) (*ImportLdapUserOK, error) /* PingLdap pings available ldap service This endpoint ping the available ldap service for test related configuration parameters. */ PingLdap(ctx context.Context, params *PingLdapParams) (*PingLdapOK, error) /* SearchLdapGroup searches available ldap groups This endpoint searches the available ldap groups based on related configuration parameters. support to search by groupname or groupdn. */ SearchLdapGroup(ctx context.Context, params *SearchLdapGroupParams) (*SearchLdapGroupOK, error) /* SearchLdapUser searches available ldap users This endpoint searches the available ldap users based on related configuration parameters. Support searched by input ldap configuration, load configuration from the system and specific filter. */ SearchLdapUser(ctx context.Context, params *SearchLdapUserParams) (*SearchLdapUserOK, error) }
API is the interface of the ldap client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for ldap API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new ldap API client.
func (*Client) ImportLdapUser ¶
func (a *Client) ImportLdapUser(ctx context.Context, params *ImportLdapUserParams) (*ImportLdapUserOK, error)
ImportLdapUser imports selected available ldap users
This endpoint adds the selected available ldap users to harbor based on related configuration parameters from the system. System will try to guess the user email address and realname, add to harbor user information. If have errors when import user, will return the list of importing failed uid and the failed reason.
func (*Client) PingLdap ¶
func (a *Client) PingLdap(ctx context.Context, params *PingLdapParams) (*PingLdapOK, error)
PingLdap pings available ldap service
This endpoint ping the available ldap service for test related configuration parameters.
func (*Client) SearchLdapGroup ¶
func (a *Client) SearchLdapGroup(ctx context.Context, params *SearchLdapGroupParams) (*SearchLdapGroupOK, error)
SearchLdapGroup searches available ldap groups
This endpoint searches the available ldap groups based on related configuration parameters. support to search by groupname or groupdn.
func (*Client) SearchLdapUser ¶
func (a *Client) SearchLdapUser(ctx context.Context, params *SearchLdapUserParams) (*SearchLdapUserOK, error)
SearchLdapUser searches available ldap users
This endpoint searches the available ldap users based on related configuration parameters. Support searched by input ldap configuration, load configuration from the system and specific filter.
type ImportLdapUserBadRequest ¶
type ImportLdapUserBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ImportLdapUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportLdapUserBadRequest ¶
func NewImportLdapUserBadRequest() *ImportLdapUserBadRequest
NewImportLdapUserBadRequest creates a ImportLdapUserBadRequest with default headers values
func (*ImportLdapUserBadRequest) Error ¶
func (o *ImportLdapUserBadRequest) Error() string
func (*ImportLdapUserBadRequest) GetPayload ¶
func (o *ImportLdapUserBadRequest) GetPayload() *models.Errors
func (*ImportLdapUserBadRequest) IsClientError ¶
func (o *ImportLdapUserBadRequest) IsClientError() bool
IsClientError returns true when this import ldap user bad request response has a 4xx status code
func (*ImportLdapUserBadRequest) IsCode ¶
func (o *ImportLdapUserBadRequest) IsCode(code int) bool
IsCode returns true when this import ldap user bad request response a status code equal to that given
func (*ImportLdapUserBadRequest) IsRedirect ¶
func (o *ImportLdapUserBadRequest) IsRedirect() bool
IsRedirect returns true when this import ldap user bad request response has a 3xx status code
func (*ImportLdapUserBadRequest) IsServerError ¶
func (o *ImportLdapUserBadRequest) IsServerError() bool
IsServerError returns true when this import ldap user bad request response has a 5xx status code
func (*ImportLdapUserBadRequest) IsSuccess ¶
func (o *ImportLdapUserBadRequest) IsSuccess() bool
IsSuccess returns true when this import ldap user bad request response has a 2xx status code
func (*ImportLdapUserBadRequest) String ¶
func (o *ImportLdapUserBadRequest) String() string
type ImportLdapUserForbidden ¶
type ImportLdapUserForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ImportLdapUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewImportLdapUserForbidden ¶
func NewImportLdapUserForbidden() *ImportLdapUserForbidden
NewImportLdapUserForbidden creates a ImportLdapUserForbidden with default headers values
func (*ImportLdapUserForbidden) Error ¶
func (o *ImportLdapUserForbidden) Error() string
func (*ImportLdapUserForbidden) GetPayload ¶
func (o *ImportLdapUserForbidden) GetPayload() *models.Errors
func (*ImportLdapUserForbidden) IsClientError ¶
func (o *ImportLdapUserForbidden) IsClientError() bool
IsClientError returns true when this import ldap user forbidden response has a 4xx status code
func (*ImportLdapUserForbidden) IsCode ¶
func (o *ImportLdapUserForbidden) IsCode(code int) bool
IsCode returns true when this import ldap user forbidden response a status code equal to that given
func (*ImportLdapUserForbidden) IsRedirect ¶
func (o *ImportLdapUserForbidden) IsRedirect() bool
IsRedirect returns true when this import ldap user forbidden response has a 3xx status code
func (*ImportLdapUserForbidden) IsServerError ¶
func (o *ImportLdapUserForbidden) IsServerError() bool
IsServerError returns true when this import ldap user forbidden response has a 5xx status code
func (*ImportLdapUserForbidden) IsSuccess ¶
func (o *ImportLdapUserForbidden) IsSuccess() bool
IsSuccess returns true when this import ldap user forbidden response has a 2xx status code
func (*ImportLdapUserForbidden) String ¶
func (o *ImportLdapUserForbidden) String() string
type ImportLdapUserInternalServerError ¶
type ImportLdapUserInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ImportLdapUserInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewImportLdapUserInternalServerError ¶
func NewImportLdapUserInternalServerError() *ImportLdapUserInternalServerError
NewImportLdapUserInternalServerError creates a ImportLdapUserInternalServerError with default headers values
func (*ImportLdapUserInternalServerError) Error ¶
func (o *ImportLdapUserInternalServerError) Error() string
func (*ImportLdapUserInternalServerError) GetPayload ¶
func (o *ImportLdapUserInternalServerError) GetPayload() *models.Errors
func (*ImportLdapUserInternalServerError) IsClientError ¶
func (o *ImportLdapUserInternalServerError) IsClientError() bool
IsClientError returns true when this import ldap user internal server error response has a 4xx status code
func (*ImportLdapUserInternalServerError) IsCode ¶
func (o *ImportLdapUserInternalServerError) IsCode(code int) bool
IsCode returns true when this import ldap user internal server error response a status code equal to that given
func (*ImportLdapUserInternalServerError) IsRedirect ¶
func (o *ImportLdapUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this import ldap user internal server error response has a 3xx status code
func (*ImportLdapUserInternalServerError) IsServerError ¶
func (o *ImportLdapUserInternalServerError) IsServerError() bool
IsServerError returns true when this import ldap user internal server error response has a 5xx status code
func (*ImportLdapUserInternalServerError) IsSuccess ¶
func (o *ImportLdapUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this import ldap user internal server error response has a 2xx status code
func (*ImportLdapUserInternalServerError) String ¶
func (o *ImportLdapUserInternalServerError) String() string
type ImportLdapUserNotFound ¶
type ImportLdapUserNotFound struct {
Payload []*models.LdapFailedImportUser
}
ImportLdapUserNotFound describes a response with status code 404, with default header values.
Failed import some users.
func NewImportLdapUserNotFound ¶
func NewImportLdapUserNotFound() *ImportLdapUserNotFound
NewImportLdapUserNotFound creates a ImportLdapUserNotFound with default headers values
func (*ImportLdapUserNotFound) Error ¶
func (o *ImportLdapUserNotFound) Error() string
func (*ImportLdapUserNotFound) GetPayload ¶
func (o *ImportLdapUserNotFound) GetPayload() []*models.LdapFailedImportUser
func (*ImportLdapUserNotFound) IsClientError ¶
func (o *ImportLdapUserNotFound) IsClientError() bool
IsClientError returns true when this import ldap user not found response has a 4xx status code
func (*ImportLdapUserNotFound) IsCode ¶
func (o *ImportLdapUserNotFound) IsCode(code int) bool
IsCode returns true when this import ldap user not found response a status code equal to that given
func (*ImportLdapUserNotFound) IsRedirect ¶
func (o *ImportLdapUserNotFound) IsRedirect() bool
IsRedirect returns true when this import ldap user not found response has a 3xx status code
func (*ImportLdapUserNotFound) IsServerError ¶
func (o *ImportLdapUserNotFound) IsServerError() bool
IsServerError returns true when this import ldap user not found response has a 5xx status code
func (*ImportLdapUserNotFound) IsSuccess ¶
func (o *ImportLdapUserNotFound) IsSuccess() bool
IsSuccess returns true when this import ldap user not found response has a 2xx status code
func (*ImportLdapUserNotFound) String ¶
func (o *ImportLdapUserNotFound) String() string
type ImportLdapUserOK ¶
type ImportLdapUserOK struct { }
ImportLdapUserOK describes a response with status code 200, with default header values.
Add ldap users successfully.
func NewImportLdapUserOK ¶
func NewImportLdapUserOK() *ImportLdapUserOK
NewImportLdapUserOK creates a ImportLdapUserOK with default headers values
func (*ImportLdapUserOK) Error ¶
func (o *ImportLdapUserOK) Error() string
func (*ImportLdapUserOK) IsClientError ¶
func (o *ImportLdapUserOK) IsClientError() bool
IsClientError returns true when this import ldap user o k response has a 4xx status code
func (*ImportLdapUserOK) IsCode ¶
func (o *ImportLdapUserOK) IsCode(code int) bool
IsCode returns true when this import ldap user o k response a status code equal to that given
func (*ImportLdapUserOK) IsRedirect ¶
func (o *ImportLdapUserOK) IsRedirect() bool
IsRedirect returns true when this import ldap user o k response has a 3xx status code
func (*ImportLdapUserOK) IsServerError ¶
func (o *ImportLdapUserOK) IsServerError() bool
IsServerError returns true when this import ldap user o k response has a 5xx status code
func (*ImportLdapUserOK) IsSuccess ¶
func (o *ImportLdapUserOK) IsSuccess() bool
IsSuccess returns true when this import ldap user o k response has a 2xx status code
func (*ImportLdapUserOK) String ¶
func (o *ImportLdapUserOK) String() string
type ImportLdapUserParams ¶
type ImportLdapUserParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* UIDList. The uid listed for importing. This list will check users validity of ldap service based on configuration from the system. */ UIDList *models.LdapImportUsers Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportLdapUserParams contains all the parameters to send to the API endpoint
for the import ldap user operation. Typically these are written to a http.Request.
func NewImportLdapUserParams ¶
func NewImportLdapUserParams() *ImportLdapUserParams
NewImportLdapUserParams creates a new ImportLdapUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewImportLdapUserParamsWithContext ¶
func NewImportLdapUserParamsWithContext(ctx context.Context) *ImportLdapUserParams
NewImportLdapUserParamsWithContext creates a new ImportLdapUserParams object with the ability to set a context for a request.
func NewImportLdapUserParamsWithHTTPClient ¶
func NewImportLdapUserParamsWithHTTPClient(client *http.Client) *ImportLdapUserParams
NewImportLdapUserParamsWithHTTPClient creates a new ImportLdapUserParams object with the ability to set a custom HTTPClient for a request.
func NewImportLdapUserParamsWithTimeout ¶
func NewImportLdapUserParamsWithTimeout(timeout time.Duration) *ImportLdapUserParams
NewImportLdapUserParamsWithTimeout creates a new ImportLdapUserParams object with the ability to set a timeout on a request.
func (*ImportLdapUserParams) SetContext ¶
func (o *ImportLdapUserParams) SetContext(ctx context.Context)
SetContext adds the context to the import ldap user params
func (*ImportLdapUserParams) SetDefaults ¶
func (o *ImportLdapUserParams) SetDefaults()
SetDefaults hydrates default values in the import ldap user params (not the query body).
All values with no default are reset to their zero value.
func (*ImportLdapUserParams) SetHTTPClient ¶
func (o *ImportLdapUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import ldap user params
func (*ImportLdapUserParams) SetTimeout ¶
func (o *ImportLdapUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import ldap user params
func (*ImportLdapUserParams) SetUIDList ¶
func (o *ImportLdapUserParams) SetUIDList(uIDList *models.LdapImportUsers)
SetUIDList adds the uidList to the import ldap user params
func (*ImportLdapUserParams) SetXRequestID ¶
func (o *ImportLdapUserParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the import ldap user params
func (*ImportLdapUserParams) WithContext ¶
func (o *ImportLdapUserParams) WithContext(ctx context.Context) *ImportLdapUserParams
WithContext adds the context to the import ldap user params
func (*ImportLdapUserParams) WithDefaults ¶
func (o *ImportLdapUserParams) WithDefaults() *ImportLdapUserParams
WithDefaults hydrates default values in the import ldap user params (not the query body).
All values with no default are reset to their zero value.
func (*ImportLdapUserParams) WithHTTPClient ¶
func (o *ImportLdapUserParams) WithHTTPClient(client *http.Client) *ImportLdapUserParams
WithHTTPClient adds the HTTPClient to the import ldap user params
func (*ImportLdapUserParams) WithTimeout ¶
func (o *ImportLdapUserParams) WithTimeout(timeout time.Duration) *ImportLdapUserParams
WithTimeout adds the timeout to the import ldap user params
func (*ImportLdapUserParams) WithUIDList ¶
func (o *ImportLdapUserParams) WithUIDList(uIDList *models.LdapImportUsers) *ImportLdapUserParams
WithUIDList adds the uIDList to the import ldap user params
func (*ImportLdapUserParams) WithXRequestID ¶
func (o *ImportLdapUserParams) WithXRequestID(xRequestID *string) *ImportLdapUserParams
WithXRequestID adds the xRequestID to the import ldap user params
func (*ImportLdapUserParams) WriteToRequest ¶
func (o *ImportLdapUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportLdapUserReader ¶
type ImportLdapUserReader struct {
// contains filtered or unexported fields
}
ImportLdapUserReader is a Reader for the ImportLdapUser structure.
func (*ImportLdapUserReader) ReadResponse ¶
func (o *ImportLdapUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportLdapUserUnauthorized ¶
type ImportLdapUserUnauthorized struct { string }XRequestID
ImportLdapUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportLdapUserUnauthorized ¶
func NewImportLdapUserUnauthorized() *ImportLdapUserUnauthorized
NewImportLdapUserUnauthorized creates a ImportLdapUserUnauthorized with default headers values
func (*ImportLdapUserUnauthorized) Error ¶
func (o *ImportLdapUserUnauthorized) Error() string
func (*ImportLdapUserUnauthorized) GetPayload ¶
func (o *ImportLdapUserUnauthorized) GetPayload() *models.Errors
func (*ImportLdapUserUnauthorized) IsClientError ¶
func (o *ImportLdapUserUnauthorized) IsClientError() bool
IsClientError returns true when this import ldap user unauthorized response has a 4xx status code
func (*ImportLdapUserUnauthorized) IsCode ¶
func (o *ImportLdapUserUnauthorized) IsCode(code int) bool
IsCode returns true when this import ldap user unauthorized response a status code equal to that given
func (*ImportLdapUserUnauthorized) IsRedirect ¶
func (o *ImportLdapUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this import ldap user unauthorized response has a 3xx status code
func (*ImportLdapUserUnauthorized) IsServerError ¶
func (o *ImportLdapUserUnauthorized) IsServerError() bool
IsServerError returns true when this import ldap user unauthorized response has a 5xx status code
func (*ImportLdapUserUnauthorized) IsSuccess ¶
func (o *ImportLdapUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this import ldap user unauthorized response has a 2xx status code
func (*ImportLdapUserUnauthorized) String ¶
func (o *ImportLdapUserUnauthorized) String() string
type PingLdapBadRequest ¶
type PingLdapBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
PingLdapBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPingLdapBadRequest ¶
func NewPingLdapBadRequest() *PingLdapBadRequest
NewPingLdapBadRequest creates a PingLdapBadRequest with default headers values
func (*PingLdapBadRequest) Error ¶
func (o *PingLdapBadRequest) Error() string
func (*PingLdapBadRequest) GetPayload ¶
func (o *PingLdapBadRequest) GetPayload() *models.Errors
func (*PingLdapBadRequest) IsClientError ¶
func (o *PingLdapBadRequest) IsClientError() bool
IsClientError returns true when this ping ldap bad request response has a 4xx status code
func (*PingLdapBadRequest) IsCode ¶
func (o *PingLdapBadRequest) IsCode(code int) bool
IsCode returns true when this ping ldap bad request response a status code equal to that given
func (*PingLdapBadRequest) IsRedirect ¶
func (o *PingLdapBadRequest) IsRedirect() bool
IsRedirect returns true when this ping ldap bad request response has a 3xx status code
func (*PingLdapBadRequest) IsServerError ¶
func (o *PingLdapBadRequest) IsServerError() bool
IsServerError returns true when this ping ldap bad request response has a 5xx status code
func (*PingLdapBadRequest) IsSuccess ¶
func (o *PingLdapBadRequest) IsSuccess() bool
IsSuccess returns true when this ping ldap bad request response has a 2xx status code
func (*PingLdapBadRequest) String ¶
func (o *PingLdapBadRequest) String() string
type PingLdapForbidden ¶
type PingLdapForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
PingLdapForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPingLdapForbidden ¶
func NewPingLdapForbidden() *PingLdapForbidden
NewPingLdapForbidden creates a PingLdapForbidden with default headers values
func (*PingLdapForbidden) Error ¶
func (o *PingLdapForbidden) Error() string
func (*PingLdapForbidden) GetPayload ¶
func (o *PingLdapForbidden) GetPayload() *models.Errors
func (*PingLdapForbidden) IsClientError ¶
func (o *PingLdapForbidden) IsClientError() bool
IsClientError returns true when this ping ldap forbidden response has a 4xx status code
func (*PingLdapForbidden) IsCode ¶
func (o *PingLdapForbidden) IsCode(code int) bool
IsCode returns true when this ping ldap forbidden response a status code equal to that given
func (*PingLdapForbidden) IsRedirect ¶
func (o *PingLdapForbidden) IsRedirect() bool
IsRedirect returns true when this ping ldap forbidden response has a 3xx status code
func (*PingLdapForbidden) IsServerError ¶
func (o *PingLdapForbidden) IsServerError() bool
IsServerError returns true when this ping ldap forbidden response has a 5xx status code
func (*PingLdapForbidden) IsSuccess ¶
func (o *PingLdapForbidden) IsSuccess() bool
IsSuccess returns true when this ping ldap forbidden response has a 2xx status code
func (*PingLdapForbidden) String ¶
func (o *PingLdapForbidden) String() string
type PingLdapInternalServerError ¶
type PingLdapInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
PingLdapInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPingLdapInternalServerError ¶
func NewPingLdapInternalServerError() *PingLdapInternalServerError
NewPingLdapInternalServerError creates a PingLdapInternalServerError with default headers values
func (*PingLdapInternalServerError) Error ¶
func (o *PingLdapInternalServerError) Error() string
func (*PingLdapInternalServerError) GetPayload ¶
func (o *PingLdapInternalServerError) GetPayload() *models.Errors
func (*PingLdapInternalServerError) IsClientError ¶
func (o *PingLdapInternalServerError) IsClientError() bool
IsClientError returns true when this ping ldap internal server error response has a 4xx status code
func (*PingLdapInternalServerError) IsCode ¶
func (o *PingLdapInternalServerError) IsCode(code int) bool
IsCode returns true when this ping ldap internal server error response a status code equal to that given
func (*PingLdapInternalServerError) IsRedirect ¶
func (o *PingLdapInternalServerError) IsRedirect() bool
IsRedirect returns true when this ping ldap internal server error response has a 3xx status code
func (*PingLdapInternalServerError) IsServerError ¶
func (o *PingLdapInternalServerError) IsServerError() bool
IsServerError returns true when this ping ldap internal server error response has a 5xx status code
func (*PingLdapInternalServerError) IsSuccess ¶
func (o *PingLdapInternalServerError) IsSuccess() bool
IsSuccess returns true when this ping ldap internal server error response has a 2xx status code
func (*PingLdapInternalServerError) String ¶
func (o *PingLdapInternalServerError) String() string
type PingLdapOK ¶
type PingLdapOK struct {
Payload *models.LdapPingResult
}
PingLdapOK describes a response with status code 200, with default header values.
Ping ldap service successfully.
func NewPingLdapOK ¶
func NewPingLdapOK() *PingLdapOK
NewPingLdapOK creates a PingLdapOK with default headers values
func (*PingLdapOK) Error ¶
func (o *PingLdapOK) Error() string
func (*PingLdapOK) GetPayload ¶
func (o *PingLdapOK) GetPayload() *models.LdapPingResult
func (*PingLdapOK) IsClientError ¶
func (o *PingLdapOK) IsClientError() bool
IsClientError returns true when this ping ldap o k response has a 4xx status code
func (*PingLdapOK) IsCode ¶
func (o *PingLdapOK) IsCode(code int) bool
IsCode returns true when this ping ldap o k response a status code equal to that given
func (*PingLdapOK) IsRedirect ¶
func (o *PingLdapOK) IsRedirect() bool
IsRedirect returns true when this ping ldap o k response has a 3xx status code
func (*PingLdapOK) IsServerError ¶
func (o *PingLdapOK) IsServerError() bool
IsServerError returns true when this ping ldap o k response has a 5xx status code
func (*PingLdapOK) IsSuccess ¶
func (o *PingLdapOK) IsSuccess() bool
IsSuccess returns true when this ping ldap o k response has a 2xx status code
func (*PingLdapOK) String ¶
func (o *PingLdapOK) String() string
type PingLdapParams ¶
type PingLdapParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Ldapconf. ldap configuration. support input ldap service configuration. If it is a empty request, will load current configuration from the system. */ Ldapconf *models.LdapConf Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PingLdapParams contains all the parameters to send to the API endpoint
for the ping ldap operation. Typically these are written to a http.Request.
func NewPingLdapParams ¶
func NewPingLdapParams() *PingLdapParams
NewPingLdapParams creates a new PingLdapParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPingLdapParamsWithContext ¶
func NewPingLdapParamsWithContext(ctx context.Context) *PingLdapParams
NewPingLdapParamsWithContext creates a new PingLdapParams object with the ability to set a context for a request.
func NewPingLdapParamsWithHTTPClient ¶
func NewPingLdapParamsWithHTTPClient(client *http.Client) *PingLdapParams
NewPingLdapParamsWithHTTPClient creates a new PingLdapParams object with the ability to set a custom HTTPClient for a request.
func NewPingLdapParamsWithTimeout ¶
func NewPingLdapParamsWithTimeout(timeout time.Duration) *PingLdapParams
NewPingLdapParamsWithTimeout creates a new PingLdapParams object with the ability to set a timeout on a request.
func (*PingLdapParams) SetContext ¶
func (o *PingLdapParams) SetContext(ctx context.Context)
SetContext adds the context to the ping ldap params
func (*PingLdapParams) SetDefaults ¶
func (o *PingLdapParams) SetDefaults()
SetDefaults hydrates default values in the ping ldap params (not the query body).
All values with no default are reset to their zero value.
func (*PingLdapParams) SetHTTPClient ¶
func (o *PingLdapParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ping ldap params
func (*PingLdapParams) SetLdapconf ¶
func (o *PingLdapParams) SetLdapconf(ldapconf *models.LdapConf)
SetLdapconf adds the ldapconf to the ping ldap params
func (*PingLdapParams) SetTimeout ¶
func (o *PingLdapParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping ldap params
func (*PingLdapParams) SetXRequestID ¶
func (o *PingLdapParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the ping ldap params
func (*PingLdapParams) WithContext ¶
func (o *PingLdapParams) WithContext(ctx context.Context) *PingLdapParams
WithContext adds the context to the ping ldap params
func (*PingLdapParams) WithDefaults ¶
func (o *PingLdapParams) WithDefaults() *PingLdapParams
WithDefaults hydrates default values in the ping ldap params (not the query body).
All values with no default are reset to their zero value.
func (*PingLdapParams) WithHTTPClient ¶
func (o *PingLdapParams) WithHTTPClient(client *http.Client) *PingLdapParams
WithHTTPClient adds the HTTPClient to the ping ldap params
func (*PingLdapParams) WithLdapconf ¶
func (o *PingLdapParams) WithLdapconf(ldapconf *models.LdapConf) *PingLdapParams
WithLdapconf adds the ldapconf to the ping ldap params
func (*PingLdapParams) WithTimeout ¶
func (o *PingLdapParams) WithTimeout(timeout time.Duration) *PingLdapParams
WithTimeout adds the timeout to the ping ldap params
func (*PingLdapParams) WithXRequestID ¶
func (o *PingLdapParams) WithXRequestID(xRequestID *string) *PingLdapParams
WithXRequestID adds the xRequestID to the ping ldap params
func (*PingLdapParams) WriteToRequest ¶
func (o *PingLdapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PingLdapReader ¶
type PingLdapReader struct {
// contains filtered or unexported fields
}
PingLdapReader is a Reader for the PingLdap structure.
func (*PingLdapReader) ReadResponse ¶
func (o *PingLdapReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PingLdapUnauthorized ¶
type PingLdapUnauthorized struct { string }XRequestID
PingLdapUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPingLdapUnauthorized ¶
func NewPingLdapUnauthorized() *PingLdapUnauthorized
NewPingLdapUnauthorized creates a PingLdapUnauthorized with default headers values
func (*PingLdapUnauthorized) Error ¶
func (o *PingLdapUnauthorized) Error() string
func (*PingLdapUnauthorized) GetPayload ¶
func (o *PingLdapUnauthorized) GetPayload() *models.Errors
func (*PingLdapUnauthorized) IsClientError ¶
func (o *PingLdapUnauthorized) IsClientError() bool
IsClientError returns true when this ping ldap unauthorized response has a 4xx status code
func (*PingLdapUnauthorized) IsCode ¶
func (o *PingLdapUnauthorized) IsCode(code int) bool
IsCode returns true when this ping ldap unauthorized response a status code equal to that given
func (*PingLdapUnauthorized) IsRedirect ¶
func (o *PingLdapUnauthorized) IsRedirect() bool
IsRedirect returns true when this ping ldap unauthorized response has a 3xx status code
func (*PingLdapUnauthorized) IsServerError ¶
func (o *PingLdapUnauthorized) IsServerError() bool
IsServerError returns true when this ping ldap unauthorized response has a 5xx status code
func (*PingLdapUnauthorized) IsSuccess ¶
func (o *PingLdapUnauthorized) IsSuccess() bool
IsSuccess returns true when this ping ldap unauthorized response has a 2xx status code
func (*PingLdapUnauthorized) String ¶
func (o *PingLdapUnauthorized) String() string
type SearchLdapGroupBadRequest ¶
type SearchLdapGroupBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSearchLdapGroupBadRequest ¶
func NewSearchLdapGroupBadRequest() *SearchLdapGroupBadRequest
NewSearchLdapGroupBadRequest creates a SearchLdapGroupBadRequest with default headers values
func (*SearchLdapGroupBadRequest) Error ¶
func (o *SearchLdapGroupBadRequest) Error() string
func (*SearchLdapGroupBadRequest) GetPayload ¶
func (o *SearchLdapGroupBadRequest) GetPayload() *models.Errors
func (*SearchLdapGroupBadRequest) IsClientError ¶
func (o *SearchLdapGroupBadRequest) IsClientError() bool
IsClientError returns true when this search ldap group bad request response has a 4xx status code
func (*SearchLdapGroupBadRequest) IsCode ¶
func (o *SearchLdapGroupBadRequest) IsCode(code int) bool
IsCode returns true when this search ldap group bad request response a status code equal to that given
func (*SearchLdapGroupBadRequest) IsRedirect ¶
func (o *SearchLdapGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this search ldap group bad request response has a 3xx status code
func (*SearchLdapGroupBadRequest) IsServerError ¶
func (o *SearchLdapGroupBadRequest) IsServerError() bool
IsServerError returns true when this search ldap group bad request response has a 5xx status code
func (*SearchLdapGroupBadRequest) IsSuccess ¶
func (o *SearchLdapGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this search ldap group bad request response has a 2xx status code
func (*SearchLdapGroupBadRequest) String ¶
func (o *SearchLdapGroupBadRequest) String() string
type SearchLdapGroupForbidden ¶
type SearchLdapGroupForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapGroupForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSearchLdapGroupForbidden ¶
func NewSearchLdapGroupForbidden() *SearchLdapGroupForbidden
NewSearchLdapGroupForbidden creates a SearchLdapGroupForbidden with default headers values
func (*SearchLdapGroupForbidden) Error ¶
func (o *SearchLdapGroupForbidden) Error() string
func (*SearchLdapGroupForbidden) GetPayload ¶
func (o *SearchLdapGroupForbidden) GetPayload() *models.Errors
func (*SearchLdapGroupForbidden) IsClientError ¶
func (o *SearchLdapGroupForbidden) IsClientError() bool
IsClientError returns true when this search ldap group forbidden response has a 4xx status code
func (*SearchLdapGroupForbidden) IsCode ¶
func (o *SearchLdapGroupForbidden) IsCode(code int) bool
IsCode returns true when this search ldap group forbidden response a status code equal to that given
func (*SearchLdapGroupForbidden) IsRedirect ¶
func (o *SearchLdapGroupForbidden) IsRedirect() bool
IsRedirect returns true when this search ldap group forbidden response has a 3xx status code
func (*SearchLdapGroupForbidden) IsServerError ¶
func (o *SearchLdapGroupForbidden) IsServerError() bool
IsServerError returns true when this search ldap group forbidden response has a 5xx status code
func (*SearchLdapGroupForbidden) IsSuccess ¶
func (o *SearchLdapGroupForbidden) IsSuccess() bool
IsSuccess returns true when this search ldap group forbidden response has a 2xx status code
func (*SearchLdapGroupForbidden) String ¶
func (o *SearchLdapGroupForbidden) String() string
type SearchLdapGroupInternalServerError ¶
type SearchLdapGroupInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapGroupInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSearchLdapGroupInternalServerError ¶
func NewSearchLdapGroupInternalServerError() *SearchLdapGroupInternalServerError
NewSearchLdapGroupInternalServerError creates a SearchLdapGroupInternalServerError with default headers values
func (*SearchLdapGroupInternalServerError) Error ¶
func (o *SearchLdapGroupInternalServerError) Error() string
func (*SearchLdapGroupInternalServerError) GetPayload ¶
func (o *SearchLdapGroupInternalServerError) GetPayload() *models.Errors
func (*SearchLdapGroupInternalServerError) IsClientError ¶
func (o *SearchLdapGroupInternalServerError) IsClientError() bool
IsClientError returns true when this search ldap group internal server error response has a 4xx status code
func (*SearchLdapGroupInternalServerError) IsCode ¶
func (o *SearchLdapGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this search ldap group internal server error response a status code equal to that given
func (*SearchLdapGroupInternalServerError) IsRedirect ¶
func (o *SearchLdapGroupInternalServerError) IsRedirect() bool
IsRedirect returns true when this search ldap group internal server error response has a 3xx status code
func (*SearchLdapGroupInternalServerError) IsServerError ¶
func (o *SearchLdapGroupInternalServerError) IsServerError() bool
IsServerError returns true when this search ldap group internal server error response has a 5xx status code
func (*SearchLdapGroupInternalServerError) IsSuccess ¶
func (o *SearchLdapGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this search ldap group internal server error response has a 2xx status code
func (*SearchLdapGroupInternalServerError) String ¶
func (o *SearchLdapGroupInternalServerError) String() string
type SearchLdapGroupOK ¶
SearchLdapGroupOK describes a response with status code 200, with default header values.
Search ldap group successfully.
func NewSearchLdapGroupOK ¶
func NewSearchLdapGroupOK() *SearchLdapGroupOK
NewSearchLdapGroupOK creates a SearchLdapGroupOK with default headers values
func (*SearchLdapGroupOK) Error ¶
func (o *SearchLdapGroupOK) Error() string
func (*SearchLdapGroupOK) GetPayload ¶
func (o *SearchLdapGroupOK) GetPayload() []*models.UserGroup
func (*SearchLdapGroupOK) IsClientError ¶
func (o *SearchLdapGroupOK) IsClientError() bool
IsClientError returns true when this search ldap group o k response has a 4xx status code
func (*SearchLdapGroupOK) IsCode ¶
func (o *SearchLdapGroupOK) IsCode(code int) bool
IsCode returns true when this search ldap group o k response a status code equal to that given
func (*SearchLdapGroupOK) IsRedirect ¶
func (o *SearchLdapGroupOK) IsRedirect() bool
IsRedirect returns true when this search ldap group o k response has a 3xx status code
func (*SearchLdapGroupOK) IsServerError ¶
func (o *SearchLdapGroupOK) IsServerError() bool
IsServerError returns true when this search ldap group o k response has a 5xx status code
func (*SearchLdapGroupOK) IsSuccess ¶
func (o *SearchLdapGroupOK) IsSuccess() bool
IsSuccess returns true when this search ldap group o k response has a 2xx status code
func (*SearchLdapGroupOK) String ¶
func (o *SearchLdapGroupOK) String() string
type SearchLdapGroupParams ¶
type SearchLdapGroupParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Groupdn. The LDAP group DN */ Groupdn *string /* Groupname. Ldap group name */ Groupname *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchLdapGroupParams contains all the parameters to send to the API endpoint
for the search ldap group operation. Typically these are written to a http.Request.
func NewSearchLdapGroupParams ¶
func NewSearchLdapGroupParams() *SearchLdapGroupParams
NewSearchLdapGroupParams creates a new SearchLdapGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchLdapGroupParamsWithContext ¶
func NewSearchLdapGroupParamsWithContext(ctx context.Context) *SearchLdapGroupParams
NewSearchLdapGroupParamsWithContext creates a new SearchLdapGroupParams object with the ability to set a context for a request.
func NewSearchLdapGroupParamsWithHTTPClient ¶
func NewSearchLdapGroupParamsWithHTTPClient(client *http.Client) *SearchLdapGroupParams
NewSearchLdapGroupParamsWithHTTPClient creates a new SearchLdapGroupParams object with the ability to set a custom HTTPClient for a request.
func NewSearchLdapGroupParamsWithTimeout ¶
func NewSearchLdapGroupParamsWithTimeout(timeout time.Duration) *SearchLdapGroupParams
NewSearchLdapGroupParamsWithTimeout creates a new SearchLdapGroupParams object with the ability to set a timeout on a request.
func (*SearchLdapGroupParams) SetContext ¶
func (o *SearchLdapGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the search ldap group params
func (*SearchLdapGroupParams) SetDefaults ¶
func (o *SearchLdapGroupParams) SetDefaults()
SetDefaults hydrates default values in the search ldap group params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLdapGroupParams) SetGroupdn ¶
func (o *SearchLdapGroupParams) SetGroupdn(groupdn *string)
SetGroupdn adds the groupdn to the search ldap group params
func (*SearchLdapGroupParams) SetGroupname ¶
func (o *SearchLdapGroupParams) SetGroupname(groupname *string)
SetGroupname adds the groupname to the search ldap group params
func (*SearchLdapGroupParams) SetHTTPClient ¶
func (o *SearchLdapGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search ldap group params
func (*SearchLdapGroupParams) SetTimeout ¶
func (o *SearchLdapGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search ldap group params
func (*SearchLdapGroupParams) SetXRequestID ¶
func (o *SearchLdapGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the search ldap group params
func (*SearchLdapGroupParams) WithContext ¶
func (o *SearchLdapGroupParams) WithContext(ctx context.Context) *SearchLdapGroupParams
WithContext adds the context to the search ldap group params
func (*SearchLdapGroupParams) WithDefaults ¶
func (o *SearchLdapGroupParams) WithDefaults() *SearchLdapGroupParams
WithDefaults hydrates default values in the search ldap group params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLdapGroupParams) WithGroupdn ¶
func (o *SearchLdapGroupParams) WithGroupdn(groupdn *string) *SearchLdapGroupParams
WithGroupdn adds the groupdn to the search ldap group params
func (*SearchLdapGroupParams) WithGroupname ¶
func (o *SearchLdapGroupParams) WithGroupname(groupname *string) *SearchLdapGroupParams
WithGroupname adds the groupname to the search ldap group params
func (*SearchLdapGroupParams) WithHTTPClient ¶
func (o *SearchLdapGroupParams) WithHTTPClient(client *http.Client) *SearchLdapGroupParams
WithHTTPClient adds the HTTPClient to the search ldap group params
func (*SearchLdapGroupParams) WithTimeout ¶
func (o *SearchLdapGroupParams) WithTimeout(timeout time.Duration) *SearchLdapGroupParams
WithTimeout adds the timeout to the search ldap group params
func (*SearchLdapGroupParams) WithXRequestID ¶
func (o *SearchLdapGroupParams) WithXRequestID(xRequestID *string) *SearchLdapGroupParams
WithXRequestID adds the xRequestID to the search ldap group params
func (*SearchLdapGroupParams) WriteToRequest ¶
func (o *SearchLdapGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchLdapGroupReader ¶
type SearchLdapGroupReader struct {
// contains filtered or unexported fields
}
SearchLdapGroupReader is a Reader for the SearchLdapGroup structure.
func (*SearchLdapGroupReader) ReadResponse ¶
func (o *SearchLdapGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchLdapGroupUnauthorized ¶
type SearchLdapGroupUnauthorized struct { string }XRequestID
SearchLdapGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSearchLdapGroupUnauthorized ¶
func NewSearchLdapGroupUnauthorized() *SearchLdapGroupUnauthorized
NewSearchLdapGroupUnauthorized creates a SearchLdapGroupUnauthorized with default headers values
func (*SearchLdapGroupUnauthorized) Error ¶
func (o *SearchLdapGroupUnauthorized) Error() string
func (*SearchLdapGroupUnauthorized) GetPayload ¶
func (o *SearchLdapGroupUnauthorized) GetPayload() *models.Errors
func (*SearchLdapGroupUnauthorized) IsClientError ¶
func (o *SearchLdapGroupUnauthorized) IsClientError() bool
IsClientError returns true when this search ldap group unauthorized response has a 4xx status code
func (*SearchLdapGroupUnauthorized) IsCode ¶
func (o *SearchLdapGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this search ldap group unauthorized response a status code equal to that given
func (*SearchLdapGroupUnauthorized) IsRedirect ¶
func (o *SearchLdapGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this search ldap group unauthorized response has a 3xx status code
func (*SearchLdapGroupUnauthorized) IsServerError ¶
func (o *SearchLdapGroupUnauthorized) IsServerError() bool
IsServerError returns true when this search ldap group unauthorized response has a 5xx status code
func (*SearchLdapGroupUnauthorized) IsSuccess ¶
func (o *SearchLdapGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this search ldap group unauthorized response has a 2xx status code
func (*SearchLdapGroupUnauthorized) String ¶
func (o *SearchLdapGroupUnauthorized) String() string
type SearchLdapUserBadRequest ¶
type SearchLdapUserBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSearchLdapUserBadRequest ¶
func NewSearchLdapUserBadRequest() *SearchLdapUserBadRequest
NewSearchLdapUserBadRequest creates a SearchLdapUserBadRequest with default headers values
func (*SearchLdapUserBadRequest) Error ¶
func (o *SearchLdapUserBadRequest) Error() string
func (*SearchLdapUserBadRequest) GetPayload ¶
func (o *SearchLdapUserBadRequest) GetPayload() *models.Errors
func (*SearchLdapUserBadRequest) IsClientError ¶
func (o *SearchLdapUserBadRequest) IsClientError() bool
IsClientError returns true when this search ldap user bad request response has a 4xx status code
func (*SearchLdapUserBadRequest) IsCode ¶
func (o *SearchLdapUserBadRequest) IsCode(code int) bool
IsCode returns true when this search ldap user bad request response a status code equal to that given
func (*SearchLdapUserBadRequest) IsRedirect ¶
func (o *SearchLdapUserBadRequest) IsRedirect() bool
IsRedirect returns true when this search ldap user bad request response has a 3xx status code
func (*SearchLdapUserBadRequest) IsServerError ¶
func (o *SearchLdapUserBadRequest) IsServerError() bool
IsServerError returns true when this search ldap user bad request response has a 5xx status code
func (*SearchLdapUserBadRequest) IsSuccess ¶
func (o *SearchLdapUserBadRequest) IsSuccess() bool
IsSuccess returns true when this search ldap user bad request response has a 2xx status code
func (*SearchLdapUserBadRequest) String ¶
func (o *SearchLdapUserBadRequest) String() string
type SearchLdapUserForbidden ¶
type SearchLdapUserForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSearchLdapUserForbidden ¶
func NewSearchLdapUserForbidden() *SearchLdapUserForbidden
NewSearchLdapUserForbidden creates a SearchLdapUserForbidden with default headers values
func (*SearchLdapUserForbidden) Error ¶
func (o *SearchLdapUserForbidden) Error() string
func (*SearchLdapUserForbidden) GetPayload ¶
func (o *SearchLdapUserForbidden) GetPayload() *models.Errors
func (*SearchLdapUserForbidden) IsClientError ¶
func (o *SearchLdapUserForbidden) IsClientError() bool
IsClientError returns true when this search ldap user forbidden response has a 4xx status code
func (*SearchLdapUserForbidden) IsCode ¶
func (o *SearchLdapUserForbidden) IsCode(code int) bool
IsCode returns true when this search ldap user forbidden response a status code equal to that given
func (*SearchLdapUserForbidden) IsRedirect ¶
func (o *SearchLdapUserForbidden) IsRedirect() bool
IsRedirect returns true when this search ldap user forbidden response has a 3xx status code
func (*SearchLdapUserForbidden) IsServerError ¶
func (o *SearchLdapUserForbidden) IsServerError() bool
IsServerError returns true when this search ldap user forbidden response has a 5xx status code
func (*SearchLdapUserForbidden) IsSuccess ¶
func (o *SearchLdapUserForbidden) IsSuccess() bool
IsSuccess returns true when this search ldap user forbidden response has a 2xx status code
func (*SearchLdapUserForbidden) String ¶
func (o *SearchLdapUserForbidden) String() string
type SearchLdapUserInternalServerError ¶
type SearchLdapUserInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SearchLdapUserInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSearchLdapUserInternalServerError ¶
func NewSearchLdapUserInternalServerError() *SearchLdapUserInternalServerError
NewSearchLdapUserInternalServerError creates a SearchLdapUserInternalServerError with default headers values
func (*SearchLdapUserInternalServerError) Error ¶
func (o *SearchLdapUserInternalServerError) Error() string
func (*SearchLdapUserInternalServerError) GetPayload ¶
func (o *SearchLdapUserInternalServerError) GetPayload() *models.Errors
func (*SearchLdapUserInternalServerError) IsClientError ¶
func (o *SearchLdapUserInternalServerError) IsClientError() bool
IsClientError returns true when this search ldap user internal server error response has a 4xx status code
func (*SearchLdapUserInternalServerError) IsCode ¶
func (o *SearchLdapUserInternalServerError) IsCode(code int) bool
IsCode returns true when this search ldap user internal server error response a status code equal to that given
func (*SearchLdapUserInternalServerError) IsRedirect ¶
func (o *SearchLdapUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this search ldap user internal server error response has a 3xx status code
func (*SearchLdapUserInternalServerError) IsServerError ¶
func (o *SearchLdapUserInternalServerError) IsServerError() bool
IsServerError returns true when this search ldap user internal server error response has a 5xx status code
func (*SearchLdapUserInternalServerError) IsSuccess ¶
func (o *SearchLdapUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this search ldap user internal server error response has a 2xx status code
func (*SearchLdapUserInternalServerError) String ¶
func (o *SearchLdapUserInternalServerError) String() string
type SearchLdapUserOK ¶
SearchLdapUserOK describes a response with status code 200, with default header values.
Search ldap users successfully.
func NewSearchLdapUserOK ¶
func NewSearchLdapUserOK() *SearchLdapUserOK
NewSearchLdapUserOK creates a SearchLdapUserOK with default headers values
func (*SearchLdapUserOK) Error ¶
func (o *SearchLdapUserOK) Error() string
func (*SearchLdapUserOK) GetPayload ¶
func (o *SearchLdapUserOK) GetPayload() []*models.LdapUser
func (*SearchLdapUserOK) IsClientError ¶
func (o *SearchLdapUserOK) IsClientError() bool
IsClientError returns true when this search ldap user o k response has a 4xx status code
func (*SearchLdapUserOK) IsCode ¶
func (o *SearchLdapUserOK) IsCode(code int) bool
IsCode returns true when this search ldap user o k response a status code equal to that given
func (*SearchLdapUserOK) IsRedirect ¶
func (o *SearchLdapUserOK) IsRedirect() bool
IsRedirect returns true when this search ldap user o k response has a 3xx status code
func (*SearchLdapUserOK) IsServerError ¶
func (o *SearchLdapUserOK) IsServerError() bool
IsServerError returns true when this search ldap user o k response has a 5xx status code
func (*SearchLdapUserOK) IsSuccess ¶
func (o *SearchLdapUserOK) IsSuccess() bool
IsSuccess returns true when this search ldap user o k response has a 2xx status code
func (*SearchLdapUserOK) String ¶
func (o *SearchLdapUserOK) String() string
type SearchLdapUserParams ¶
type SearchLdapUserParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Username. Registered user ID */ Username *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchLdapUserParams contains all the parameters to send to the API endpoint
for the search ldap user operation. Typically these are written to a http.Request.
func NewSearchLdapUserParams ¶
func NewSearchLdapUserParams() *SearchLdapUserParams
NewSearchLdapUserParams creates a new SearchLdapUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchLdapUserParamsWithContext ¶
func NewSearchLdapUserParamsWithContext(ctx context.Context) *SearchLdapUserParams
NewSearchLdapUserParamsWithContext creates a new SearchLdapUserParams object with the ability to set a context for a request.
func NewSearchLdapUserParamsWithHTTPClient ¶
func NewSearchLdapUserParamsWithHTTPClient(client *http.Client) *SearchLdapUserParams
NewSearchLdapUserParamsWithHTTPClient creates a new SearchLdapUserParams object with the ability to set a custom HTTPClient for a request.
func NewSearchLdapUserParamsWithTimeout ¶
func NewSearchLdapUserParamsWithTimeout(timeout time.Duration) *SearchLdapUserParams
NewSearchLdapUserParamsWithTimeout creates a new SearchLdapUserParams object with the ability to set a timeout on a request.
func (*SearchLdapUserParams) SetContext ¶
func (o *SearchLdapUserParams) SetContext(ctx context.Context)
SetContext adds the context to the search ldap user params
func (*SearchLdapUserParams) SetDefaults ¶
func (o *SearchLdapUserParams) SetDefaults()
SetDefaults hydrates default values in the search ldap user params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLdapUserParams) SetHTTPClient ¶
func (o *SearchLdapUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search ldap user params
func (*SearchLdapUserParams) SetTimeout ¶
func (o *SearchLdapUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search ldap user params
func (*SearchLdapUserParams) SetUsername ¶
func (o *SearchLdapUserParams) SetUsername(username *string)
SetUsername adds the username to the search ldap user params
func (*SearchLdapUserParams) SetXRequestID ¶
func (o *SearchLdapUserParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the search ldap user params
func (*SearchLdapUserParams) WithContext ¶
func (o *SearchLdapUserParams) WithContext(ctx context.Context) *SearchLdapUserParams
WithContext adds the context to the search ldap user params
func (*SearchLdapUserParams) WithDefaults ¶
func (o *SearchLdapUserParams) WithDefaults() *SearchLdapUserParams
WithDefaults hydrates default values in the search ldap user params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLdapUserParams) WithHTTPClient ¶
func (o *SearchLdapUserParams) WithHTTPClient(client *http.Client) *SearchLdapUserParams
WithHTTPClient adds the HTTPClient to the search ldap user params
func (*SearchLdapUserParams) WithTimeout ¶
func (o *SearchLdapUserParams) WithTimeout(timeout time.Duration) *SearchLdapUserParams
WithTimeout adds the timeout to the search ldap user params
func (*SearchLdapUserParams) WithUsername ¶
func (o *SearchLdapUserParams) WithUsername(username *string) *SearchLdapUserParams
WithUsername adds the username to the search ldap user params
func (*SearchLdapUserParams) WithXRequestID ¶
func (o *SearchLdapUserParams) WithXRequestID(xRequestID *string) *SearchLdapUserParams
WithXRequestID adds the xRequestID to the search ldap user params
func (*SearchLdapUserParams) WriteToRequest ¶
func (o *SearchLdapUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchLdapUserReader ¶
type SearchLdapUserReader struct {
// contains filtered or unexported fields
}
SearchLdapUserReader is a Reader for the SearchLdapUser structure.
func (*SearchLdapUserReader) ReadResponse ¶
func (o *SearchLdapUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchLdapUserUnauthorized ¶
type SearchLdapUserUnauthorized struct { string }XRequestID
SearchLdapUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSearchLdapUserUnauthorized ¶
func NewSearchLdapUserUnauthorized() *SearchLdapUserUnauthorized
NewSearchLdapUserUnauthorized creates a SearchLdapUserUnauthorized with default headers values
func (*SearchLdapUserUnauthorized) Error ¶
func (o *SearchLdapUserUnauthorized) Error() string
func (*SearchLdapUserUnauthorized) GetPayload ¶
func (o *SearchLdapUserUnauthorized) GetPayload() *models.Errors
func (*SearchLdapUserUnauthorized) IsClientError ¶
func (o *SearchLdapUserUnauthorized) IsClientError() bool
IsClientError returns true when this search ldap user unauthorized response has a 4xx status code
func (*SearchLdapUserUnauthorized) IsCode ¶
func (o *SearchLdapUserUnauthorized) IsCode(code int) bool
IsCode returns true when this search ldap user unauthorized response a status code equal to that given
func (*SearchLdapUserUnauthorized) IsRedirect ¶
func (o *SearchLdapUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this search ldap user unauthorized response has a 3xx status code
func (*SearchLdapUserUnauthorized) IsServerError ¶
func (o *SearchLdapUserUnauthorized) IsServerError() bool
IsServerError returns true when this search ldap user unauthorized response has a 5xx status code
func (*SearchLdapUserUnauthorized) IsSuccess ¶
func (o *SearchLdapUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this search ldap user unauthorized response has a 2xx status code
func (*SearchLdapUserUnauthorized) String ¶
func (o *SearchLdapUserUnauthorized) String() string