Documentation ¶
Index ¶
- type ChangeOrderForbidden
- func (o *ChangeOrderForbidden) Code() int
- func (o *ChangeOrderForbidden) Error() string
- func (o *ChangeOrderForbidden) IsClientError() bool
- func (o *ChangeOrderForbidden) IsCode(code int) bool
- func (o *ChangeOrderForbidden) IsRedirect() bool
- func (o *ChangeOrderForbidden) IsServerError() bool
- func (o *ChangeOrderForbidden) IsSuccess() bool
- func (o *ChangeOrderForbidden) String() string
- type ChangeOrderNoContent
- func (o *ChangeOrderNoContent) Code() int
- func (o *ChangeOrderNoContent) Error() string
- func (o *ChangeOrderNoContent) IsClientError() bool
- func (o *ChangeOrderNoContent) IsCode(code int) bool
- func (o *ChangeOrderNoContent) IsRedirect() bool
- func (o *ChangeOrderNoContent) IsServerError() bool
- func (o *ChangeOrderNoContent) IsSuccess() bool
- func (o *ChangeOrderNoContent) String() string
- type ChangeOrderParams
- func (o *ChangeOrderParams) SetBody(body []string)
- func (o *ChangeOrderParams) SetContext(ctx context.Context)
- func (o *ChangeOrderParams) SetDefaults()
- func (o *ChangeOrderParams) SetHTTPClient(client *http.Client)
- func (o *ChangeOrderParams) SetTimeout(timeout time.Duration)
- func (o *ChangeOrderParams) WithBody(body []string) *ChangeOrderParams
- func (o *ChangeOrderParams) WithContext(ctx context.Context) *ChangeOrderParams
- func (o *ChangeOrderParams) WithDefaults() *ChangeOrderParams
- func (o *ChangeOrderParams) WithHTTPClient(client *http.Client) *ChangeOrderParams
- func (o *ChangeOrderParams) WithTimeout(timeout time.Duration) *ChangeOrderParams
- func (o *ChangeOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeOrderReader
- type ChangeOrderUnauthorized
- func (o *ChangeOrderUnauthorized) Code() int
- func (o *ChangeOrderUnauthorized) Error() string
- func (o *ChangeOrderUnauthorized) IsClientError() bool
- func (o *ChangeOrderUnauthorized) IsCode(code int) bool
- func (o *ChangeOrderUnauthorized) IsRedirect() bool
- func (o *ChangeOrderUnauthorized) IsServerError() bool
- func (o *ChangeOrderUnauthorized) IsSuccess() bool
- func (o *ChangeOrderUnauthorized) String() string
- type Client
- func (a *Client) ChangeOrder(params *ChangeOrderParams, opts ...ClientOption) (*ChangeOrderNoContent, error)
- func (a *Client) CreateLdapServer(params *CreateLdapServerParams, opts ...ClientOption) (*CreateLdapServerCreated, error)
- func (a *Client) DeleteLdapServer(params *DeleteLdapServerParams, opts ...ClientOption) (*DeleteLdapServerNoContent, error)
- func (a *Client) GetLdapServer(params *GetLdapServerParams, opts ...ClientOption) (*GetLdapServerOK, error)
- func (a *Client) GetLdapServers(params *GetLdapServersParams, opts ...ClientOption) (*GetLdapServersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLdapServer(params *UpdateLdapServerParams, opts ...ClientOption) (*UpdateLdapServerNoContent, error)
- type ClientOption
- type ClientService
- type CreateLdapServerCreated
- func (o *CreateLdapServerCreated) Code() int
- func (o *CreateLdapServerCreated) Error() string
- func (o *CreateLdapServerCreated) IsClientError() bool
- func (o *CreateLdapServerCreated) IsCode(code int) bool
- func (o *CreateLdapServerCreated) IsRedirect() bool
- func (o *CreateLdapServerCreated) IsServerError() bool
- func (o *CreateLdapServerCreated) IsSuccess() bool
- func (o *CreateLdapServerCreated) String() string
- type CreateLdapServerForbidden
- func (o *CreateLdapServerForbidden) Code() int
- func (o *CreateLdapServerForbidden) Error() string
- func (o *CreateLdapServerForbidden) IsClientError() bool
- func (o *CreateLdapServerForbidden) IsCode(code int) bool
- func (o *CreateLdapServerForbidden) IsRedirect() bool
- func (o *CreateLdapServerForbidden) IsServerError() bool
- func (o *CreateLdapServerForbidden) IsSuccess() bool
- func (o *CreateLdapServerForbidden) String() string
- type CreateLdapServerParams
- func NewCreateLdapServerParams() *CreateLdapServerParams
- func NewCreateLdapServerParamsWithContext(ctx context.Context) *CreateLdapServerParams
- func NewCreateLdapServerParamsWithHTTPClient(client *http.Client) *CreateLdapServerParams
- func NewCreateLdapServerParamsWithTimeout(timeout time.Duration) *CreateLdapServerParams
- func (o *CreateLdapServerParams) SetBody(body *models.CreateLdapServerXo)
- func (o *CreateLdapServerParams) SetContext(ctx context.Context)
- func (o *CreateLdapServerParams) SetDefaults()
- func (o *CreateLdapServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateLdapServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateLdapServerParams) WithBody(body *models.CreateLdapServerXo) *CreateLdapServerParams
- func (o *CreateLdapServerParams) WithContext(ctx context.Context) *CreateLdapServerParams
- func (o *CreateLdapServerParams) WithDefaults() *CreateLdapServerParams
- func (o *CreateLdapServerParams) WithHTTPClient(client *http.Client) *CreateLdapServerParams
- func (o *CreateLdapServerParams) WithTimeout(timeout time.Duration) *CreateLdapServerParams
- func (o *CreateLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLdapServerReader
- type CreateLdapServerUnauthorized
- func (o *CreateLdapServerUnauthorized) Code() int
- func (o *CreateLdapServerUnauthorized) Error() string
- func (o *CreateLdapServerUnauthorized) IsClientError() bool
- func (o *CreateLdapServerUnauthorized) IsCode(code int) bool
- func (o *CreateLdapServerUnauthorized) IsRedirect() bool
- func (o *CreateLdapServerUnauthorized) IsServerError() bool
- func (o *CreateLdapServerUnauthorized) IsSuccess() bool
- func (o *CreateLdapServerUnauthorized) String() string
- type DeleteLdapServerForbidden
- func (o *DeleteLdapServerForbidden) Code() int
- func (o *DeleteLdapServerForbidden) Error() string
- func (o *DeleteLdapServerForbidden) IsClientError() bool
- func (o *DeleteLdapServerForbidden) IsCode(code int) bool
- func (o *DeleteLdapServerForbidden) IsRedirect() bool
- func (o *DeleteLdapServerForbidden) IsServerError() bool
- func (o *DeleteLdapServerForbidden) IsSuccess() bool
- func (o *DeleteLdapServerForbidden) String() string
- type DeleteLdapServerNoContent
- func (o *DeleteLdapServerNoContent) Code() int
- func (o *DeleteLdapServerNoContent) Error() string
- func (o *DeleteLdapServerNoContent) IsClientError() bool
- func (o *DeleteLdapServerNoContent) IsCode(code int) bool
- func (o *DeleteLdapServerNoContent) IsRedirect() bool
- func (o *DeleteLdapServerNoContent) IsServerError() bool
- func (o *DeleteLdapServerNoContent) IsSuccess() bool
- func (o *DeleteLdapServerNoContent) String() string
- type DeleteLdapServerNotFound
- func (o *DeleteLdapServerNotFound) Code() int
- func (o *DeleteLdapServerNotFound) Error() string
- func (o *DeleteLdapServerNotFound) IsClientError() bool
- func (o *DeleteLdapServerNotFound) IsCode(code int) bool
- func (o *DeleteLdapServerNotFound) IsRedirect() bool
- func (o *DeleteLdapServerNotFound) IsServerError() bool
- func (o *DeleteLdapServerNotFound) IsSuccess() bool
- func (o *DeleteLdapServerNotFound) String() string
- type DeleteLdapServerParams
- func NewDeleteLdapServerParams() *DeleteLdapServerParams
- func NewDeleteLdapServerParamsWithContext(ctx context.Context) *DeleteLdapServerParams
- func NewDeleteLdapServerParamsWithHTTPClient(client *http.Client) *DeleteLdapServerParams
- func NewDeleteLdapServerParamsWithTimeout(timeout time.Duration) *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) SetContext(ctx context.Context)
- func (o *DeleteLdapServerParams) SetDefaults()
- func (o *DeleteLdapServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLdapServerParams) SetName(name string)
- func (o *DeleteLdapServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLdapServerParams) WithContext(ctx context.Context) *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) WithDefaults() *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) WithHTTPClient(client *http.Client) *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) WithName(name string) *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) WithTimeout(timeout time.Duration) *DeleteLdapServerParams
- func (o *DeleteLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLdapServerReader
- type DeleteLdapServerUnauthorized
- func (o *DeleteLdapServerUnauthorized) Code() int
- func (o *DeleteLdapServerUnauthorized) Error() string
- func (o *DeleteLdapServerUnauthorized) IsClientError() bool
- func (o *DeleteLdapServerUnauthorized) IsCode(code int) bool
- func (o *DeleteLdapServerUnauthorized) IsRedirect() bool
- func (o *DeleteLdapServerUnauthorized) IsServerError() bool
- func (o *DeleteLdapServerUnauthorized) IsSuccess() bool
- func (o *DeleteLdapServerUnauthorized) String() string
- type GetLdapServerForbidden
- func (o *GetLdapServerForbidden) Code() int
- func (o *GetLdapServerForbidden) Error() string
- func (o *GetLdapServerForbidden) IsClientError() bool
- func (o *GetLdapServerForbidden) IsCode(code int) bool
- func (o *GetLdapServerForbidden) IsRedirect() bool
- func (o *GetLdapServerForbidden) IsServerError() bool
- func (o *GetLdapServerForbidden) IsSuccess() bool
- func (o *GetLdapServerForbidden) String() string
- type GetLdapServerNotFound
- func (o *GetLdapServerNotFound) Code() int
- func (o *GetLdapServerNotFound) Error() string
- func (o *GetLdapServerNotFound) IsClientError() bool
- func (o *GetLdapServerNotFound) IsCode(code int) bool
- func (o *GetLdapServerNotFound) IsRedirect() bool
- func (o *GetLdapServerNotFound) IsServerError() bool
- func (o *GetLdapServerNotFound) IsSuccess() bool
- func (o *GetLdapServerNotFound) String() string
- type GetLdapServerOK
- func (o *GetLdapServerOK) Code() int
- func (o *GetLdapServerOK) Error() string
- func (o *GetLdapServerOK) IsClientError() bool
- func (o *GetLdapServerOK) IsCode(code int) bool
- func (o *GetLdapServerOK) IsRedirect() bool
- func (o *GetLdapServerOK) IsServerError() bool
- func (o *GetLdapServerOK) IsSuccess() bool
- func (o *GetLdapServerOK) String() string
- type GetLdapServerParams
- func (o *GetLdapServerParams) SetContext(ctx context.Context)
- func (o *GetLdapServerParams) SetDefaults()
- func (o *GetLdapServerParams) SetHTTPClient(client *http.Client)
- func (o *GetLdapServerParams) SetName(name string)
- func (o *GetLdapServerParams) SetTimeout(timeout time.Duration)
- func (o *GetLdapServerParams) WithContext(ctx context.Context) *GetLdapServerParams
- func (o *GetLdapServerParams) WithDefaults() *GetLdapServerParams
- func (o *GetLdapServerParams) WithHTTPClient(client *http.Client) *GetLdapServerParams
- func (o *GetLdapServerParams) WithName(name string) *GetLdapServerParams
- func (o *GetLdapServerParams) WithTimeout(timeout time.Duration) *GetLdapServerParams
- func (o *GetLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLdapServerReader
- type GetLdapServerUnauthorized
- func (o *GetLdapServerUnauthorized) Code() int
- func (o *GetLdapServerUnauthorized) Error() string
- func (o *GetLdapServerUnauthorized) IsClientError() bool
- func (o *GetLdapServerUnauthorized) IsCode(code int) bool
- func (o *GetLdapServerUnauthorized) IsRedirect() bool
- func (o *GetLdapServerUnauthorized) IsServerError() bool
- func (o *GetLdapServerUnauthorized) IsSuccess() bool
- func (o *GetLdapServerUnauthorized) String() string
- type GetLdapServersForbidden
- func (o *GetLdapServersForbidden) Code() int
- func (o *GetLdapServersForbidden) Error() string
- func (o *GetLdapServersForbidden) IsClientError() bool
- func (o *GetLdapServersForbidden) IsCode(code int) bool
- func (o *GetLdapServersForbidden) IsRedirect() bool
- func (o *GetLdapServersForbidden) IsServerError() bool
- func (o *GetLdapServersForbidden) IsSuccess() bool
- func (o *GetLdapServersForbidden) String() string
- type GetLdapServersOK
- func (o *GetLdapServersOK) Code() int
- func (o *GetLdapServersOK) Error() string
- func (o *GetLdapServersOK) IsClientError() bool
- func (o *GetLdapServersOK) IsCode(code int) bool
- func (o *GetLdapServersOK) IsRedirect() bool
- func (o *GetLdapServersOK) IsServerError() bool
- func (o *GetLdapServersOK) IsSuccess() bool
- func (o *GetLdapServersOK) String() string
- type GetLdapServersParams
- func NewGetLdapServersParams() *GetLdapServersParams
- func NewGetLdapServersParamsWithContext(ctx context.Context) *GetLdapServersParams
- func NewGetLdapServersParamsWithHTTPClient(client *http.Client) *GetLdapServersParams
- func NewGetLdapServersParamsWithTimeout(timeout time.Duration) *GetLdapServersParams
- func (o *GetLdapServersParams) SetContext(ctx context.Context)
- func (o *GetLdapServersParams) SetDefaults()
- func (o *GetLdapServersParams) SetHTTPClient(client *http.Client)
- func (o *GetLdapServersParams) SetTimeout(timeout time.Duration)
- func (o *GetLdapServersParams) WithContext(ctx context.Context) *GetLdapServersParams
- func (o *GetLdapServersParams) WithDefaults() *GetLdapServersParams
- func (o *GetLdapServersParams) WithHTTPClient(client *http.Client) *GetLdapServersParams
- func (o *GetLdapServersParams) WithTimeout(timeout time.Duration) *GetLdapServersParams
- func (o *GetLdapServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLdapServersReader
- type GetLdapServersUnauthorized
- func (o *GetLdapServersUnauthorized) Code() int
- func (o *GetLdapServersUnauthorized) Error() string
- func (o *GetLdapServersUnauthorized) IsClientError() bool
- func (o *GetLdapServersUnauthorized) IsCode(code int) bool
- func (o *GetLdapServersUnauthorized) IsRedirect() bool
- func (o *GetLdapServersUnauthorized) IsServerError() bool
- func (o *GetLdapServersUnauthorized) IsSuccess() bool
- func (o *GetLdapServersUnauthorized) String() string
- type UpdateLdapServerForbidden
- func (o *UpdateLdapServerForbidden) Code() int
- func (o *UpdateLdapServerForbidden) Error() string
- func (o *UpdateLdapServerForbidden) IsClientError() bool
- func (o *UpdateLdapServerForbidden) IsCode(code int) bool
- func (o *UpdateLdapServerForbidden) IsRedirect() bool
- func (o *UpdateLdapServerForbidden) IsServerError() bool
- func (o *UpdateLdapServerForbidden) IsSuccess() bool
- func (o *UpdateLdapServerForbidden) String() string
- type UpdateLdapServerNoContent
- func (o *UpdateLdapServerNoContent) Code() int
- func (o *UpdateLdapServerNoContent) Error() string
- func (o *UpdateLdapServerNoContent) IsClientError() bool
- func (o *UpdateLdapServerNoContent) IsCode(code int) bool
- func (o *UpdateLdapServerNoContent) IsRedirect() bool
- func (o *UpdateLdapServerNoContent) IsServerError() bool
- func (o *UpdateLdapServerNoContent) IsSuccess() bool
- func (o *UpdateLdapServerNoContent) String() string
- type UpdateLdapServerNotFound
- func (o *UpdateLdapServerNotFound) Code() int
- func (o *UpdateLdapServerNotFound) Error() string
- func (o *UpdateLdapServerNotFound) IsClientError() bool
- func (o *UpdateLdapServerNotFound) IsCode(code int) bool
- func (o *UpdateLdapServerNotFound) IsRedirect() bool
- func (o *UpdateLdapServerNotFound) IsServerError() bool
- func (o *UpdateLdapServerNotFound) IsSuccess() bool
- func (o *UpdateLdapServerNotFound) String() string
- type UpdateLdapServerParams
- func NewUpdateLdapServerParams() *UpdateLdapServerParams
- func NewUpdateLdapServerParamsWithContext(ctx context.Context) *UpdateLdapServerParams
- func NewUpdateLdapServerParamsWithHTTPClient(client *http.Client) *UpdateLdapServerParams
- func NewUpdateLdapServerParamsWithTimeout(timeout time.Duration) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) SetBody(body *models.UpdateLdapServerXo)
- func (o *UpdateLdapServerParams) SetContext(ctx context.Context)
- func (o *UpdateLdapServerParams) SetDefaults()
- func (o *UpdateLdapServerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLdapServerParams) SetName(name string)
- func (o *UpdateLdapServerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLdapServerParams) WithBody(body *models.UpdateLdapServerXo) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WithContext(ctx context.Context) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WithDefaults() *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WithHTTPClient(client *http.Client) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WithName(name string) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WithTimeout(timeout time.Duration) *UpdateLdapServerParams
- func (o *UpdateLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLdapServerReader
- type UpdateLdapServerUnauthorized
- func (o *UpdateLdapServerUnauthorized) Code() int
- func (o *UpdateLdapServerUnauthorized) Error() string
- func (o *UpdateLdapServerUnauthorized) IsClientError() bool
- func (o *UpdateLdapServerUnauthorized) IsCode(code int) bool
- func (o *UpdateLdapServerUnauthorized) IsRedirect() bool
- func (o *UpdateLdapServerUnauthorized) IsServerError() bool
- func (o *UpdateLdapServerUnauthorized) IsSuccess() bool
- func (o *UpdateLdapServerUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeOrderForbidden ¶
type ChangeOrderForbidden struct { }
ChangeOrderForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewChangeOrderForbidden ¶
func NewChangeOrderForbidden() *ChangeOrderForbidden
NewChangeOrderForbidden creates a ChangeOrderForbidden with default headers values
func (*ChangeOrderForbidden) Code ¶
func (o *ChangeOrderForbidden) Code() int
Code gets the status code for the change order forbidden response
func (*ChangeOrderForbidden) Error ¶
func (o *ChangeOrderForbidden) Error() string
func (*ChangeOrderForbidden) IsClientError ¶
func (o *ChangeOrderForbidden) IsClientError() bool
IsClientError returns true when this change order forbidden response has a 4xx status code
func (*ChangeOrderForbidden) IsCode ¶
func (o *ChangeOrderForbidden) IsCode(code int) bool
IsCode returns true when this change order forbidden response a status code equal to that given
func (*ChangeOrderForbidden) IsRedirect ¶
func (o *ChangeOrderForbidden) IsRedirect() bool
IsRedirect returns true when this change order forbidden response has a 3xx status code
func (*ChangeOrderForbidden) IsServerError ¶
func (o *ChangeOrderForbidden) IsServerError() bool
IsServerError returns true when this change order forbidden response has a 5xx status code
func (*ChangeOrderForbidden) IsSuccess ¶
func (o *ChangeOrderForbidden) IsSuccess() bool
IsSuccess returns true when this change order forbidden response has a 2xx status code
func (*ChangeOrderForbidden) String ¶
func (o *ChangeOrderForbidden) String() string
type ChangeOrderNoContent ¶
type ChangeOrderNoContent struct { }
ChangeOrderNoContent describes a response with status code 204, with default header values.
LDAP server order changed
func NewChangeOrderNoContent ¶
func NewChangeOrderNoContent() *ChangeOrderNoContent
NewChangeOrderNoContent creates a ChangeOrderNoContent with default headers values
func (*ChangeOrderNoContent) Code ¶
func (o *ChangeOrderNoContent) Code() int
Code gets the status code for the change order no content response
func (*ChangeOrderNoContent) Error ¶
func (o *ChangeOrderNoContent) Error() string
func (*ChangeOrderNoContent) IsClientError ¶
func (o *ChangeOrderNoContent) IsClientError() bool
IsClientError returns true when this change order no content response has a 4xx status code
func (*ChangeOrderNoContent) IsCode ¶
func (o *ChangeOrderNoContent) IsCode(code int) bool
IsCode returns true when this change order no content response a status code equal to that given
func (*ChangeOrderNoContent) IsRedirect ¶
func (o *ChangeOrderNoContent) IsRedirect() bool
IsRedirect returns true when this change order no content response has a 3xx status code
func (*ChangeOrderNoContent) IsServerError ¶
func (o *ChangeOrderNoContent) IsServerError() bool
IsServerError returns true when this change order no content response has a 5xx status code
func (*ChangeOrderNoContent) IsSuccess ¶
func (o *ChangeOrderNoContent) IsSuccess() bool
IsSuccess returns true when this change order no content response has a 2xx status code
func (*ChangeOrderNoContent) String ¶
func (o *ChangeOrderNoContent) String() string
type ChangeOrderParams ¶
type ChangeOrderParams struct { /* Body. Ordered list of LDAP server names */ Body []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeOrderParams contains all the parameters to send to the API endpoint
for the change order operation. Typically these are written to a http.Request.
func NewChangeOrderParams ¶
func NewChangeOrderParams() *ChangeOrderParams
NewChangeOrderParams creates a new ChangeOrderParams 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 NewChangeOrderParamsWithContext ¶
func NewChangeOrderParamsWithContext(ctx context.Context) *ChangeOrderParams
NewChangeOrderParamsWithContext creates a new ChangeOrderParams object with the ability to set a context for a request.
func NewChangeOrderParamsWithHTTPClient ¶
func NewChangeOrderParamsWithHTTPClient(client *http.Client) *ChangeOrderParams
NewChangeOrderParamsWithHTTPClient creates a new ChangeOrderParams object with the ability to set a custom HTTPClient for a request.
func NewChangeOrderParamsWithTimeout ¶
func NewChangeOrderParamsWithTimeout(timeout time.Duration) *ChangeOrderParams
NewChangeOrderParamsWithTimeout creates a new ChangeOrderParams object with the ability to set a timeout on a request.
func (*ChangeOrderParams) SetBody ¶
func (o *ChangeOrderParams) SetBody(body []string)
SetBody adds the body to the change order params
func (*ChangeOrderParams) SetContext ¶
func (o *ChangeOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the change order params
func (*ChangeOrderParams) SetDefaults ¶
func (o *ChangeOrderParams) SetDefaults()
SetDefaults hydrates default values in the change order params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeOrderParams) SetHTTPClient ¶
func (o *ChangeOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change order params
func (*ChangeOrderParams) SetTimeout ¶
func (o *ChangeOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change order params
func (*ChangeOrderParams) WithBody ¶
func (o *ChangeOrderParams) WithBody(body []string) *ChangeOrderParams
WithBody adds the body to the change order params
func (*ChangeOrderParams) WithContext ¶
func (o *ChangeOrderParams) WithContext(ctx context.Context) *ChangeOrderParams
WithContext adds the context to the change order params
func (*ChangeOrderParams) WithDefaults ¶
func (o *ChangeOrderParams) WithDefaults() *ChangeOrderParams
WithDefaults hydrates default values in the change order params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeOrderParams) WithHTTPClient ¶
func (o *ChangeOrderParams) WithHTTPClient(client *http.Client) *ChangeOrderParams
WithHTTPClient adds the HTTPClient to the change order params
func (*ChangeOrderParams) WithTimeout ¶
func (o *ChangeOrderParams) WithTimeout(timeout time.Duration) *ChangeOrderParams
WithTimeout adds the timeout to the change order params
func (*ChangeOrderParams) WriteToRequest ¶
func (o *ChangeOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeOrderReader ¶
type ChangeOrderReader struct {
// contains filtered or unexported fields
}
ChangeOrderReader is a Reader for the ChangeOrder structure.
func (*ChangeOrderReader) ReadResponse ¶
func (o *ChangeOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeOrderUnauthorized ¶
type ChangeOrderUnauthorized struct { }
ChangeOrderUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewChangeOrderUnauthorized ¶
func NewChangeOrderUnauthorized() *ChangeOrderUnauthorized
NewChangeOrderUnauthorized creates a ChangeOrderUnauthorized with default headers values
func (*ChangeOrderUnauthorized) Code ¶
func (o *ChangeOrderUnauthorized) Code() int
Code gets the status code for the change order unauthorized response
func (*ChangeOrderUnauthorized) Error ¶
func (o *ChangeOrderUnauthorized) Error() string
func (*ChangeOrderUnauthorized) IsClientError ¶
func (o *ChangeOrderUnauthorized) IsClientError() bool
IsClientError returns true when this change order unauthorized response has a 4xx status code
func (*ChangeOrderUnauthorized) IsCode ¶
func (o *ChangeOrderUnauthorized) IsCode(code int) bool
IsCode returns true when this change order unauthorized response a status code equal to that given
func (*ChangeOrderUnauthorized) IsRedirect ¶
func (o *ChangeOrderUnauthorized) IsRedirect() bool
IsRedirect returns true when this change order unauthorized response has a 3xx status code
func (*ChangeOrderUnauthorized) IsServerError ¶
func (o *ChangeOrderUnauthorized) IsServerError() bool
IsServerError returns true when this change order unauthorized response has a 5xx status code
func (*ChangeOrderUnauthorized) IsSuccess ¶
func (o *ChangeOrderUnauthorized) IsSuccess() bool
IsSuccess returns true when this change order unauthorized response has a 2xx status code
func (*ChangeOrderUnauthorized) String ¶
func (o *ChangeOrderUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security management l d a p API
func (*Client) ChangeOrder ¶
func (a *Client) ChangeOrder(params *ChangeOrderParams, opts ...ClientOption) (*ChangeOrderNoContent, error)
ChangeOrder changes l d a p server order
func (*Client) CreateLdapServer ¶
func (a *Client) CreateLdapServer(params *CreateLdapServerParams, opts ...ClientOption) (*CreateLdapServerCreated, error)
CreateLdapServer creates l d a p server
func (*Client) DeleteLdapServer ¶
func (a *Client) DeleteLdapServer(params *DeleteLdapServerParams, opts ...ClientOption) (*DeleteLdapServerNoContent, error)
DeleteLdapServer deletes l d a p server
func (*Client) GetLdapServer ¶
func (a *Client) GetLdapServer(params *GetLdapServerParams, opts ...ClientOption) (*GetLdapServerOK, error)
GetLdapServer gets l d a p server
func (*Client) GetLdapServers ¶
func (a *Client) GetLdapServers(params *GetLdapServersParams, opts ...ClientOption) (*GetLdapServersOK, error)
GetLdapServers lists l d a p servers
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLdapServer ¶
func (a *Client) UpdateLdapServer(params *UpdateLdapServerParams, opts ...ClientOption) (*UpdateLdapServerNoContent, error)
UpdateLdapServer updates l d a p server
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ChangeOrder(params *ChangeOrderParams, opts ...ClientOption) (*ChangeOrderNoContent, error) CreateLdapServer(params *CreateLdapServerParams, opts ...ClientOption) (*CreateLdapServerCreated, error) DeleteLdapServer(params *DeleteLdapServerParams, opts ...ClientOption) (*DeleteLdapServerNoContent, error) GetLdapServer(params *GetLdapServerParams, opts ...ClientOption) (*GetLdapServerOK, error) GetLdapServers(params *GetLdapServersParams, opts ...ClientOption) (*GetLdapServersOK, error) UpdateLdapServer(params *UpdateLdapServerParams, opts ...ClientOption) (*UpdateLdapServerNoContent, 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 security management l d a p API client.
type CreateLdapServerCreated ¶
type CreateLdapServerCreated struct { }
CreateLdapServerCreated describes a response with status code 201, with default header values.
LDAP server created
func NewCreateLdapServerCreated ¶
func NewCreateLdapServerCreated() *CreateLdapServerCreated
NewCreateLdapServerCreated creates a CreateLdapServerCreated with default headers values
func (*CreateLdapServerCreated) Code ¶
func (o *CreateLdapServerCreated) Code() int
Code gets the status code for the create ldap server created response
func (*CreateLdapServerCreated) Error ¶
func (o *CreateLdapServerCreated) Error() string
func (*CreateLdapServerCreated) IsClientError ¶
func (o *CreateLdapServerCreated) IsClientError() bool
IsClientError returns true when this create ldap server created response has a 4xx status code
func (*CreateLdapServerCreated) IsCode ¶
func (o *CreateLdapServerCreated) IsCode(code int) bool
IsCode returns true when this create ldap server created response a status code equal to that given
func (*CreateLdapServerCreated) IsRedirect ¶
func (o *CreateLdapServerCreated) IsRedirect() bool
IsRedirect returns true when this create ldap server created response has a 3xx status code
func (*CreateLdapServerCreated) IsServerError ¶
func (o *CreateLdapServerCreated) IsServerError() bool
IsServerError returns true when this create ldap server created response has a 5xx status code
func (*CreateLdapServerCreated) IsSuccess ¶
func (o *CreateLdapServerCreated) IsSuccess() bool
IsSuccess returns true when this create ldap server created response has a 2xx status code
func (*CreateLdapServerCreated) String ¶
func (o *CreateLdapServerCreated) String() string
type CreateLdapServerForbidden ¶
type CreateLdapServerForbidden struct { }
CreateLdapServerForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewCreateLdapServerForbidden ¶
func NewCreateLdapServerForbidden() *CreateLdapServerForbidden
NewCreateLdapServerForbidden creates a CreateLdapServerForbidden with default headers values
func (*CreateLdapServerForbidden) Code ¶
func (o *CreateLdapServerForbidden) Code() int
Code gets the status code for the create ldap server forbidden response
func (*CreateLdapServerForbidden) Error ¶
func (o *CreateLdapServerForbidden) Error() string
func (*CreateLdapServerForbidden) IsClientError ¶
func (o *CreateLdapServerForbidden) IsClientError() bool
IsClientError returns true when this create ldap server forbidden response has a 4xx status code
func (*CreateLdapServerForbidden) IsCode ¶
func (o *CreateLdapServerForbidden) IsCode(code int) bool
IsCode returns true when this create ldap server forbidden response a status code equal to that given
func (*CreateLdapServerForbidden) IsRedirect ¶
func (o *CreateLdapServerForbidden) IsRedirect() bool
IsRedirect returns true when this create ldap server forbidden response has a 3xx status code
func (*CreateLdapServerForbidden) IsServerError ¶
func (o *CreateLdapServerForbidden) IsServerError() bool
IsServerError returns true when this create ldap server forbidden response has a 5xx status code
func (*CreateLdapServerForbidden) IsSuccess ¶
func (o *CreateLdapServerForbidden) IsSuccess() bool
IsSuccess returns true when this create ldap server forbidden response has a 2xx status code
func (*CreateLdapServerForbidden) String ¶
func (o *CreateLdapServerForbidden) String() string
type CreateLdapServerParams ¶
type CreateLdapServerParams struct { // Body. Body *models.CreateLdapServerXo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLdapServerParams contains all the parameters to send to the API endpoint
for the create ldap server operation. Typically these are written to a http.Request.
func NewCreateLdapServerParams ¶
func NewCreateLdapServerParams() *CreateLdapServerParams
NewCreateLdapServerParams creates a new CreateLdapServerParams 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 NewCreateLdapServerParamsWithContext ¶
func NewCreateLdapServerParamsWithContext(ctx context.Context) *CreateLdapServerParams
NewCreateLdapServerParamsWithContext creates a new CreateLdapServerParams object with the ability to set a context for a request.
func NewCreateLdapServerParamsWithHTTPClient ¶
func NewCreateLdapServerParamsWithHTTPClient(client *http.Client) *CreateLdapServerParams
NewCreateLdapServerParamsWithHTTPClient creates a new CreateLdapServerParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLdapServerParamsWithTimeout ¶
func NewCreateLdapServerParamsWithTimeout(timeout time.Duration) *CreateLdapServerParams
NewCreateLdapServerParamsWithTimeout creates a new CreateLdapServerParams object with the ability to set a timeout on a request.
func (*CreateLdapServerParams) SetBody ¶
func (o *CreateLdapServerParams) SetBody(body *models.CreateLdapServerXo)
SetBody adds the body to the create ldap server params
func (*CreateLdapServerParams) SetContext ¶
func (o *CreateLdapServerParams) SetContext(ctx context.Context)
SetContext adds the context to the create ldap server params
func (*CreateLdapServerParams) SetDefaults ¶
func (o *CreateLdapServerParams) SetDefaults()
SetDefaults hydrates default values in the create ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLdapServerParams) SetHTTPClient ¶
func (o *CreateLdapServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create ldap server params
func (*CreateLdapServerParams) SetTimeout ¶
func (o *CreateLdapServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create ldap server params
func (*CreateLdapServerParams) WithBody ¶
func (o *CreateLdapServerParams) WithBody(body *models.CreateLdapServerXo) *CreateLdapServerParams
WithBody adds the body to the create ldap server params
func (*CreateLdapServerParams) WithContext ¶
func (o *CreateLdapServerParams) WithContext(ctx context.Context) *CreateLdapServerParams
WithContext adds the context to the create ldap server params
func (*CreateLdapServerParams) WithDefaults ¶
func (o *CreateLdapServerParams) WithDefaults() *CreateLdapServerParams
WithDefaults hydrates default values in the create ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLdapServerParams) WithHTTPClient ¶
func (o *CreateLdapServerParams) WithHTTPClient(client *http.Client) *CreateLdapServerParams
WithHTTPClient adds the HTTPClient to the create ldap server params
func (*CreateLdapServerParams) WithTimeout ¶
func (o *CreateLdapServerParams) WithTimeout(timeout time.Duration) *CreateLdapServerParams
WithTimeout adds the timeout to the create ldap server params
func (*CreateLdapServerParams) WriteToRequest ¶
func (o *CreateLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLdapServerReader ¶
type CreateLdapServerReader struct {
// contains filtered or unexported fields
}
CreateLdapServerReader is a Reader for the CreateLdapServer structure.
func (*CreateLdapServerReader) ReadResponse ¶
func (o *CreateLdapServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateLdapServerUnauthorized ¶
type CreateLdapServerUnauthorized struct { }
CreateLdapServerUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewCreateLdapServerUnauthorized ¶
func NewCreateLdapServerUnauthorized() *CreateLdapServerUnauthorized
NewCreateLdapServerUnauthorized creates a CreateLdapServerUnauthorized with default headers values
func (*CreateLdapServerUnauthorized) Code ¶
func (o *CreateLdapServerUnauthorized) Code() int
Code gets the status code for the create ldap server unauthorized response
func (*CreateLdapServerUnauthorized) Error ¶
func (o *CreateLdapServerUnauthorized) Error() string
func (*CreateLdapServerUnauthorized) IsClientError ¶
func (o *CreateLdapServerUnauthorized) IsClientError() bool
IsClientError returns true when this create ldap server unauthorized response has a 4xx status code
func (*CreateLdapServerUnauthorized) IsCode ¶
func (o *CreateLdapServerUnauthorized) IsCode(code int) bool
IsCode returns true when this create ldap server unauthorized response a status code equal to that given
func (*CreateLdapServerUnauthorized) IsRedirect ¶
func (o *CreateLdapServerUnauthorized) IsRedirect() bool
IsRedirect returns true when this create ldap server unauthorized response has a 3xx status code
func (*CreateLdapServerUnauthorized) IsServerError ¶
func (o *CreateLdapServerUnauthorized) IsServerError() bool
IsServerError returns true when this create ldap server unauthorized response has a 5xx status code
func (*CreateLdapServerUnauthorized) IsSuccess ¶
func (o *CreateLdapServerUnauthorized) IsSuccess() bool
IsSuccess returns true when this create ldap server unauthorized response has a 2xx status code
func (*CreateLdapServerUnauthorized) String ¶
func (o *CreateLdapServerUnauthorized) String() string
type DeleteLdapServerForbidden ¶
type DeleteLdapServerForbidden struct { }
DeleteLdapServerForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewDeleteLdapServerForbidden ¶
func NewDeleteLdapServerForbidden() *DeleteLdapServerForbidden
NewDeleteLdapServerForbidden creates a DeleteLdapServerForbidden with default headers values
func (*DeleteLdapServerForbidden) Code ¶
func (o *DeleteLdapServerForbidden) Code() int
Code gets the status code for the delete ldap server forbidden response
func (*DeleteLdapServerForbidden) Error ¶
func (o *DeleteLdapServerForbidden) Error() string
func (*DeleteLdapServerForbidden) IsClientError ¶
func (o *DeleteLdapServerForbidden) IsClientError() bool
IsClientError returns true when this delete ldap server forbidden response has a 4xx status code
func (*DeleteLdapServerForbidden) IsCode ¶
func (o *DeleteLdapServerForbidden) IsCode(code int) bool
IsCode returns true when this delete ldap server forbidden response a status code equal to that given
func (*DeleteLdapServerForbidden) IsRedirect ¶
func (o *DeleteLdapServerForbidden) IsRedirect() bool
IsRedirect returns true when this delete ldap server forbidden response has a 3xx status code
func (*DeleteLdapServerForbidden) IsServerError ¶
func (o *DeleteLdapServerForbidden) IsServerError() bool
IsServerError returns true when this delete ldap server forbidden response has a 5xx status code
func (*DeleteLdapServerForbidden) IsSuccess ¶
func (o *DeleteLdapServerForbidden) IsSuccess() bool
IsSuccess returns true when this delete ldap server forbidden response has a 2xx status code
func (*DeleteLdapServerForbidden) String ¶
func (o *DeleteLdapServerForbidden) String() string
type DeleteLdapServerNoContent ¶
type DeleteLdapServerNoContent struct { }
DeleteLdapServerNoContent describes a response with status code 204, with default header values.
LDAP server deleted
func NewDeleteLdapServerNoContent ¶
func NewDeleteLdapServerNoContent() *DeleteLdapServerNoContent
NewDeleteLdapServerNoContent creates a DeleteLdapServerNoContent with default headers values
func (*DeleteLdapServerNoContent) Code ¶
func (o *DeleteLdapServerNoContent) Code() int
Code gets the status code for the delete ldap server no content response
func (*DeleteLdapServerNoContent) Error ¶
func (o *DeleteLdapServerNoContent) Error() string
func (*DeleteLdapServerNoContent) IsClientError ¶
func (o *DeleteLdapServerNoContent) IsClientError() bool
IsClientError returns true when this delete ldap server no content response has a 4xx status code
func (*DeleteLdapServerNoContent) IsCode ¶
func (o *DeleteLdapServerNoContent) IsCode(code int) bool
IsCode returns true when this delete ldap server no content response a status code equal to that given
func (*DeleteLdapServerNoContent) IsRedirect ¶
func (o *DeleteLdapServerNoContent) IsRedirect() bool
IsRedirect returns true when this delete ldap server no content response has a 3xx status code
func (*DeleteLdapServerNoContent) IsServerError ¶
func (o *DeleteLdapServerNoContent) IsServerError() bool
IsServerError returns true when this delete ldap server no content response has a 5xx status code
func (*DeleteLdapServerNoContent) IsSuccess ¶
func (o *DeleteLdapServerNoContent) IsSuccess() bool
IsSuccess returns true when this delete ldap server no content response has a 2xx status code
func (*DeleteLdapServerNoContent) String ¶
func (o *DeleteLdapServerNoContent) String() string
type DeleteLdapServerNotFound ¶
type DeleteLdapServerNotFound struct { }
DeleteLdapServerNotFound describes a response with status code 404, with default header values.
LDAP server not found
func NewDeleteLdapServerNotFound ¶
func NewDeleteLdapServerNotFound() *DeleteLdapServerNotFound
NewDeleteLdapServerNotFound creates a DeleteLdapServerNotFound with default headers values
func (*DeleteLdapServerNotFound) Code ¶
func (o *DeleteLdapServerNotFound) Code() int
Code gets the status code for the delete ldap server not found response
func (*DeleteLdapServerNotFound) Error ¶
func (o *DeleteLdapServerNotFound) Error() string
func (*DeleteLdapServerNotFound) IsClientError ¶
func (o *DeleteLdapServerNotFound) IsClientError() bool
IsClientError returns true when this delete ldap server not found response has a 4xx status code
func (*DeleteLdapServerNotFound) IsCode ¶
func (o *DeleteLdapServerNotFound) IsCode(code int) bool
IsCode returns true when this delete ldap server not found response a status code equal to that given
func (*DeleteLdapServerNotFound) IsRedirect ¶
func (o *DeleteLdapServerNotFound) IsRedirect() bool
IsRedirect returns true when this delete ldap server not found response has a 3xx status code
func (*DeleteLdapServerNotFound) IsServerError ¶
func (o *DeleteLdapServerNotFound) IsServerError() bool
IsServerError returns true when this delete ldap server not found response has a 5xx status code
func (*DeleteLdapServerNotFound) IsSuccess ¶
func (o *DeleteLdapServerNotFound) IsSuccess() bool
IsSuccess returns true when this delete ldap server not found response has a 2xx status code
func (*DeleteLdapServerNotFound) String ¶
func (o *DeleteLdapServerNotFound) String() string
type DeleteLdapServerParams ¶
type DeleteLdapServerParams struct { /* Name. Name of the LDAP server to delete */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLdapServerParams contains all the parameters to send to the API endpoint
for the delete ldap server operation. Typically these are written to a http.Request.
func NewDeleteLdapServerParams ¶
func NewDeleteLdapServerParams() *DeleteLdapServerParams
NewDeleteLdapServerParams creates a new DeleteLdapServerParams 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 NewDeleteLdapServerParamsWithContext ¶
func NewDeleteLdapServerParamsWithContext(ctx context.Context) *DeleteLdapServerParams
NewDeleteLdapServerParamsWithContext creates a new DeleteLdapServerParams object with the ability to set a context for a request.
func NewDeleteLdapServerParamsWithHTTPClient ¶
func NewDeleteLdapServerParamsWithHTTPClient(client *http.Client) *DeleteLdapServerParams
NewDeleteLdapServerParamsWithHTTPClient creates a new DeleteLdapServerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLdapServerParamsWithTimeout ¶
func NewDeleteLdapServerParamsWithTimeout(timeout time.Duration) *DeleteLdapServerParams
NewDeleteLdapServerParamsWithTimeout creates a new DeleteLdapServerParams object with the ability to set a timeout on a request.
func (*DeleteLdapServerParams) SetContext ¶
func (o *DeleteLdapServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ldap server params
func (*DeleteLdapServerParams) SetDefaults ¶
func (o *DeleteLdapServerParams) SetDefaults()
SetDefaults hydrates default values in the delete ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLdapServerParams) SetHTTPClient ¶
func (o *DeleteLdapServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ldap server params
func (*DeleteLdapServerParams) SetName ¶
func (o *DeleteLdapServerParams) SetName(name string)
SetName adds the name to the delete ldap server params
func (*DeleteLdapServerParams) SetTimeout ¶
func (o *DeleteLdapServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ldap server params
func (*DeleteLdapServerParams) WithContext ¶
func (o *DeleteLdapServerParams) WithContext(ctx context.Context) *DeleteLdapServerParams
WithContext adds the context to the delete ldap server params
func (*DeleteLdapServerParams) WithDefaults ¶
func (o *DeleteLdapServerParams) WithDefaults() *DeleteLdapServerParams
WithDefaults hydrates default values in the delete ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLdapServerParams) WithHTTPClient ¶
func (o *DeleteLdapServerParams) WithHTTPClient(client *http.Client) *DeleteLdapServerParams
WithHTTPClient adds the HTTPClient to the delete ldap server params
func (*DeleteLdapServerParams) WithName ¶
func (o *DeleteLdapServerParams) WithName(name string) *DeleteLdapServerParams
WithName adds the name to the delete ldap server params
func (*DeleteLdapServerParams) WithTimeout ¶
func (o *DeleteLdapServerParams) WithTimeout(timeout time.Duration) *DeleteLdapServerParams
WithTimeout adds the timeout to the delete ldap server params
func (*DeleteLdapServerParams) WriteToRequest ¶
func (o *DeleteLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLdapServerReader ¶
type DeleteLdapServerReader struct {
// contains filtered or unexported fields
}
DeleteLdapServerReader is a Reader for the DeleteLdapServer structure.
func (*DeleteLdapServerReader) ReadResponse ¶
func (o *DeleteLdapServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLdapServerUnauthorized ¶
type DeleteLdapServerUnauthorized struct { }
DeleteLdapServerUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewDeleteLdapServerUnauthorized ¶
func NewDeleteLdapServerUnauthorized() *DeleteLdapServerUnauthorized
NewDeleteLdapServerUnauthorized creates a DeleteLdapServerUnauthorized with default headers values
func (*DeleteLdapServerUnauthorized) Code ¶
func (o *DeleteLdapServerUnauthorized) Code() int
Code gets the status code for the delete ldap server unauthorized response
func (*DeleteLdapServerUnauthorized) Error ¶
func (o *DeleteLdapServerUnauthorized) Error() string
func (*DeleteLdapServerUnauthorized) IsClientError ¶
func (o *DeleteLdapServerUnauthorized) IsClientError() bool
IsClientError returns true when this delete ldap server unauthorized response has a 4xx status code
func (*DeleteLdapServerUnauthorized) IsCode ¶
func (o *DeleteLdapServerUnauthorized) IsCode(code int) bool
IsCode returns true when this delete ldap server unauthorized response a status code equal to that given
func (*DeleteLdapServerUnauthorized) IsRedirect ¶
func (o *DeleteLdapServerUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete ldap server unauthorized response has a 3xx status code
func (*DeleteLdapServerUnauthorized) IsServerError ¶
func (o *DeleteLdapServerUnauthorized) IsServerError() bool
IsServerError returns true when this delete ldap server unauthorized response has a 5xx status code
func (*DeleteLdapServerUnauthorized) IsSuccess ¶
func (o *DeleteLdapServerUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete ldap server unauthorized response has a 2xx status code
func (*DeleteLdapServerUnauthorized) String ¶
func (o *DeleteLdapServerUnauthorized) String() string
type GetLdapServerForbidden ¶
type GetLdapServerForbidden struct { }
GetLdapServerForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewGetLdapServerForbidden ¶
func NewGetLdapServerForbidden() *GetLdapServerForbidden
NewGetLdapServerForbidden creates a GetLdapServerForbidden with default headers values
func (*GetLdapServerForbidden) Code ¶
func (o *GetLdapServerForbidden) Code() int
Code gets the status code for the get ldap server forbidden response
func (*GetLdapServerForbidden) Error ¶
func (o *GetLdapServerForbidden) Error() string
func (*GetLdapServerForbidden) IsClientError ¶
func (o *GetLdapServerForbidden) IsClientError() bool
IsClientError returns true when this get ldap server forbidden response has a 4xx status code
func (*GetLdapServerForbidden) IsCode ¶
func (o *GetLdapServerForbidden) IsCode(code int) bool
IsCode returns true when this get ldap server forbidden response a status code equal to that given
func (*GetLdapServerForbidden) IsRedirect ¶
func (o *GetLdapServerForbidden) IsRedirect() bool
IsRedirect returns true when this get ldap server forbidden response has a 3xx status code
func (*GetLdapServerForbidden) IsServerError ¶
func (o *GetLdapServerForbidden) IsServerError() bool
IsServerError returns true when this get ldap server forbidden response has a 5xx status code
func (*GetLdapServerForbidden) IsSuccess ¶
func (o *GetLdapServerForbidden) IsSuccess() bool
IsSuccess returns true when this get ldap server forbidden response has a 2xx status code
func (*GetLdapServerForbidden) String ¶
func (o *GetLdapServerForbidden) String() string
type GetLdapServerNotFound ¶
type GetLdapServerNotFound struct { }
GetLdapServerNotFound describes a response with status code 404, with default header values.
LDAP server not found
func NewGetLdapServerNotFound ¶
func NewGetLdapServerNotFound() *GetLdapServerNotFound
NewGetLdapServerNotFound creates a GetLdapServerNotFound with default headers values
func (*GetLdapServerNotFound) Code ¶
func (o *GetLdapServerNotFound) Code() int
Code gets the status code for the get ldap server not found response
func (*GetLdapServerNotFound) Error ¶
func (o *GetLdapServerNotFound) Error() string
func (*GetLdapServerNotFound) IsClientError ¶
func (o *GetLdapServerNotFound) IsClientError() bool
IsClientError returns true when this get ldap server not found response has a 4xx status code
func (*GetLdapServerNotFound) IsCode ¶
func (o *GetLdapServerNotFound) IsCode(code int) bool
IsCode returns true when this get ldap server not found response a status code equal to that given
func (*GetLdapServerNotFound) IsRedirect ¶
func (o *GetLdapServerNotFound) IsRedirect() bool
IsRedirect returns true when this get ldap server not found response has a 3xx status code
func (*GetLdapServerNotFound) IsServerError ¶
func (o *GetLdapServerNotFound) IsServerError() bool
IsServerError returns true when this get ldap server not found response has a 5xx status code
func (*GetLdapServerNotFound) IsSuccess ¶
func (o *GetLdapServerNotFound) IsSuccess() bool
IsSuccess returns true when this get ldap server not found response has a 2xx status code
func (*GetLdapServerNotFound) String ¶
func (o *GetLdapServerNotFound) String() string
type GetLdapServerOK ¶
type GetLdapServerOK struct { }
GetLdapServerOK describes a response with status code 200, with default header values.
LDAP server returned
func NewGetLdapServerOK ¶
func NewGetLdapServerOK() *GetLdapServerOK
NewGetLdapServerOK creates a GetLdapServerOK with default headers values
func (*GetLdapServerOK) Code ¶
func (o *GetLdapServerOK) Code() int
Code gets the status code for the get ldap server o k response
func (*GetLdapServerOK) Error ¶
func (o *GetLdapServerOK) Error() string
func (*GetLdapServerOK) IsClientError ¶
func (o *GetLdapServerOK) IsClientError() bool
IsClientError returns true when this get ldap server o k response has a 4xx status code
func (*GetLdapServerOK) IsCode ¶
func (o *GetLdapServerOK) IsCode(code int) bool
IsCode returns true when this get ldap server o k response a status code equal to that given
func (*GetLdapServerOK) IsRedirect ¶
func (o *GetLdapServerOK) IsRedirect() bool
IsRedirect returns true when this get ldap server o k response has a 3xx status code
func (*GetLdapServerOK) IsServerError ¶
func (o *GetLdapServerOK) IsServerError() bool
IsServerError returns true when this get ldap server o k response has a 5xx status code
func (*GetLdapServerOK) IsSuccess ¶
func (o *GetLdapServerOK) IsSuccess() bool
IsSuccess returns true when this get ldap server o k response has a 2xx status code
func (*GetLdapServerOK) String ¶
func (o *GetLdapServerOK) String() string
type GetLdapServerParams ¶
type GetLdapServerParams struct { /* Name. Name of the LDAP server to retrieve */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLdapServerParams contains all the parameters to send to the API endpoint
for the get ldap server operation. Typically these are written to a http.Request.
func NewGetLdapServerParams ¶
func NewGetLdapServerParams() *GetLdapServerParams
NewGetLdapServerParams creates a new GetLdapServerParams 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 NewGetLdapServerParamsWithContext ¶
func NewGetLdapServerParamsWithContext(ctx context.Context) *GetLdapServerParams
NewGetLdapServerParamsWithContext creates a new GetLdapServerParams object with the ability to set a context for a request.
func NewGetLdapServerParamsWithHTTPClient ¶
func NewGetLdapServerParamsWithHTTPClient(client *http.Client) *GetLdapServerParams
NewGetLdapServerParamsWithHTTPClient creates a new GetLdapServerParams object with the ability to set a custom HTTPClient for a request.
func NewGetLdapServerParamsWithTimeout ¶
func NewGetLdapServerParamsWithTimeout(timeout time.Duration) *GetLdapServerParams
NewGetLdapServerParamsWithTimeout creates a new GetLdapServerParams object with the ability to set a timeout on a request.
func (*GetLdapServerParams) SetContext ¶
func (o *GetLdapServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get ldap server params
func (*GetLdapServerParams) SetDefaults ¶
func (o *GetLdapServerParams) SetDefaults()
SetDefaults hydrates default values in the get ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*GetLdapServerParams) SetHTTPClient ¶
func (o *GetLdapServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ldap server params
func (*GetLdapServerParams) SetName ¶
func (o *GetLdapServerParams) SetName(name string)
SetName adds the name to the get ldap server params
func (*GetLdapServerParams) SetTimeout ¶
func (o *GetLdapServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ldap server params
func (*GetLdapServerParams) WithContext ¶
func (o *GetLdapServerParams) WithContext(ctx context.Context) *GetLdapServerParams
WithContext adds the context to the get ldap server params
func (*GetLdapServerParams) WithDefaults ¶
func (o *GetLdapServerParams) WithDefaults() *GetLdapServerParams
WithDefaults hydrates default values in the get ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*GetLdapServerParams) WithHTTPClient ¶
func (o *GetLdapServerParams) WithHTTPClient(client *http.Client) *GetLdapServerParams
WithHTTPClient adds the HTTPClient to the get ldap server params
func (*GetLdapServerParams) WithName ¶
func (o *GetLdapServerParams) WithName(name string) *GetLdapServerParams
WithName adds the name to the get ldap server params
func (*GetLdapServerParams) WithTimeout ¶
func (o *GetLdapServerParams) WithTimeout(timeout time.Duration) *GetLdapServerParams
WithTimeout adds the timeout to the get ldap server params
func (*GetLdapServerParams) WriteToRequest ¶
func (o *GetLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLdapServerReader ¶
type GetLdapServerReader struct {
// contains filtered or unexported fields
}
GetLdapServerReader is a Reader for the GetLdapServer structure.
func (*GetLdapServerReader) ReadResponse ¶
func (o *GetLdapServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLdapServerUnauthorized ¶
type GetLdapServerUnauthorized struct { }
GetLdapServerUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewGetLdapServerUnauthorized ¶
func NewGetLdapServerUnauthorized() *GetLdapServerUnauthorized
NewGetLdapServerUnauthorized creates a GetLdapServerUnauthorized with default headers values
func (*GetLdapServerUnauthorized) Code ¶
func (o *GetLdapServerUnauthorized) Code() int
Code gets the status code for the get ldap server unauthorized response
func (*GetLdapServerUnauthorized) Error ¶
func (o *GetLdapServerUnauthorized) Error() string
func (*GetLdapServerUnauthorized) IsClientError ¶
func (o *GetLdapServerUnauthorized) IsClientError() bool
IsClientError returns true when this get ldap server unauthorized response has a 4xx status code
func (*GetLdapServerUnauthorized) IsCode ¶
func (o *GetLdapServerUnauthorized) IsCode(code int) bool
IsCode returns true when this get ldap server unauthorized response a status code equal to that given
func (*GetLdapServerUnauthorized) IsRedirect ¶
func (o *GetLdapServerUnauthorized) IsRedirect() bool
IsRedirect returns true when this get ldap server unauthorized response has a 3xx status code
func (*GetLdapServerUnauthorized) IsServerError ¶
func (o *GetLdapServerUnauthorized) IsServerError() bool
IsServerError returns true when this get ldap server unauthorized response has a 5xx status code
func (*GetLdapServerUnauthorized) IsSuccess ¶
func (o *GetLdapServerUnauthorized) IsSuccess() bool
IsSuccess returns true when this get ldap server unauthorized response has a 2xx status code
func (*GetLdapServerUnauthorized) String ¶
func (o *GetLdapServerUnauthorized) String() string
type GetLdapServersForbidden ¶
type GetLdapServersForbidden struct { }
GetLdapServersForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewGetLdapServersForbidden ¶
func NewGetLdapServersForbidden() *GetLdapServersForbidden
NewGetLdapServersForbidden creates a GetLdapServersForbidden with default headers values
func (*GetLdapServersForbidden) Code ¶
func (o *GetLdapServersForbidden) Code() int
Code gets the status code for the get ldap servers forbidden response
func (*GetLdapServersForbidden) Error ¶
func (o *GetLdapServersForbidden) Error() string
func (*GetLdapServersForbidden) IsClientError ¶
func (o *GetLdapServersForbidden) IsClientError() bool
IsClientError returns true when this get ldap servers forbidden response has a 4xx status code
func (*GetLdapServersForbidden) IsCode ¶
func (o *GetLdapServersForbidden) IsCode(code int) bool
IsCode returns true when this get ldap servers forbidden response a status code equal to that given
func (*GetLdapServersForbidden) IsRedirect ¶
func (o *GetLdapServersForbidden) IsRedirect() bool
IsRedirect returns true when this get ldap servers forbidden response has a 3xx status code
func (*GetLdapServersForbidden) IsServerError ¶
func (o *GetLdapServersForbidden) IsServerError() bool
IsServerError returns true when this get ldap servers forbidden response has a 5xx status code
func (*GetLdapServersForbidden) IsSuccess ¶
func (o *GetLdapServersForbidden) IsSuccess() bool
IsSuccess returns true when this get ldap servers forbidden response has a 2xx status code
func (*GetLdapServersForbidden) String ¶
func (o *GetLdapServersForbidden) String() string
type GetLdapServersOK ¶
type GetLdapServersOK struct { }
GetLdapServersOK describes a response with status code 200, with default header values.
LDAP server list returned
func NewGetLdapServersOK ¶
func NewGetLdapServersOK() *GetLdapServersOK
NewGetLdapServersOK creates a GetLdapServersOK with default headers values
func (*GetLdapServersOK) Code ¶
func (o *GetLdapServersOK) Code() int
Code gets the status code for the get ldap servers o k response
func (*GetLdapServersOK) Error ¶
func (o *GetLdapServersOK) Error() string
func (*GetLdapServersOK) IsClientError ¶
func (o *GetLdapServersOK) IsClientError() bool
IsClientError returns true when this get ldap servers o k response has a 4xx status code
func (*GetLdapServersOK) IsCode ¶
func (o *GetLdapServersOK) IsCode(code int) bool
IsCode returns true when this get ldap servers o k response a status code equal to that given
func (*GetLdapServersOK) IsRedirect ¶
func (o *GetLdapServersOK) IsRedirect() bool
IsRedirect returns true when this get ldap servers o k response has a 3xx status code
func (*GetLdapServersOK) IsServerError ¶
func (o *GetLdapServersOK) IsServerError() bool
IsServerError returns true when this get ldap servers o k response has a 5xx status code
func (*GetLdapServersOK) IsSuccess ¶
func (o *GetLdapServersOK) IsSuccess() bool
IsSuccess returns true when this get ldap servers o k response has a 2xx status code
func (*GetLdapServersOK) String ¶
func (o *GetLdapServersOK) String() string
type GetLdapServersParams ¶
type GetLdapServersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLdapServersParams contains all the parameters to send to the API endpoint
for the get ldap servers operation. Typically these are written to a http.Request.
func NewGetLdapServersParams ¶
func NewGetLdapServersParams() *GetLdapServersParams
NewGetLdapServersParams creates a new GetLdapServersParams 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 NewGetLdapServersParamsWithContext ¶
func NewGetLdapServersParamsWithContext(ctx context.Context) *GetLdapServersParams
NewGetLdapServersParamsWithContext creates a new GetLdapServersParams object with the ability to set a context for a request.
func NewGetLdapServersParamsWithHTTPClient ¶
func NewGetLdapServersParamsWithHTTPClient(client *http.Client) *GetLdapServersParams
NewGetLdapServersParamsWithHTTPClient creates a new GetLdapServersParams object with the ability to set a custom HTTPClient for a request.
func NewGetLdapServersParamsWithTimeout ¶
func NewGetLdapServersParamsWithTimeout(timeout time.Duration) *GetLdapServersParams
NewGetLdapServersParamsWithTimeout creates a new GetLdapServersParams object with the ability to set a timeout on a request.
func (*GetLdapServersParams) SetContext ¶
func (o *GetLdapServersParams) SetContext(ctx context.Context)
SetContext adds the context to the get ldap servers params
func (*GetLdapServersParams) SetDefaults ¶
func (o *GetLdapServersParams) SetDefaults()
SetDefaults hydrates default values in the get ldap servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetLdapServersParams) SetHTTPClient ¶
func (o *GetLdapServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ldap servers params
func (*GetLdapServersParams) SetTimeout ¶
func (o *GetLdapServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ldap servers params
func (*GetLdapServersParams) WithContext ¶
func (o *GetLdapServersParams) WithContext(ctx context.Context) *GetLdapServersParams
WithContext adds the context to the get ldap servers params
func (*GetLdapServersParams) WithDefaults ¶
func (o *GetLdapServersParams) WithDefaults() *GetLdapServersParams
WithDefaults hydrates default values in the get ldap servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetLdapServersParams) WithHTTPClient ¶
func (o *GetLdapServersParams) WithHTTPClient(client *http.Client) *GetLdapServersParams
WithHTTPClient adds the HTTPClient to the get ldap servers params
func (*GetLdapServersParams) WithTimeout ¶
func (o *GetLdapServersParams) WithTimeout(timeout time.Duration) *GetLdapServersParams
WithTimeout adds the timeout to the get ldap servers params
func (*GetLdapServersParams) WriteToRequest ¶
func (o *GetLdapServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLdapServersReader ¶
type GetLdapServersReader struct {
// contains filtered or unexported fields
}
GetLdapServersReader is a Reader for the GetLdapServers structure.
func (*GetLdapServersReader) ReadResponse ¶
func (o *GetLdapServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLdapServersUnauthorized ¶
type GetLdapServersUnauthorized struct { }
GetLdapServersUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewGetLdapServersUnauthorized ¶
func NewGetLdapServersUnauthorized() *GetLdapServersUnauthorized
NewGetLdapServersUnauthorized creates a GetLdapServersUnauthorized with default headers values
func (*GetLdapServersUnauthorized) Code ¶
func (o *GetLdapServersUnauthorized) Code() int
Code gets the status code for the get ldap servers unauthorized response
func (*GetLdapServersUnauthorized) Error ¶
func (o *GetLdapServersUnauthorized) Error() string
func (*GetLdapServersUnauthorized) IsClientError ¶
func (o *GetLdapServersUnauthorized) IsClientError() bool
IsClientError returns true when this get ldap servers unauthorized response has a 4xx status code
func (*GetLdapServersUnauthorized) IsCode ¶
func (o *GetLdapServersUnauthorized) IsCode(code int) bool
IsCode returns true when this get ldap servers unauthorized response a status code equal to that given
func (*GetLdapServersUnauthorized) IsRedirect ¶
func (o *GetLdapServersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get ldap servers unauthorized response has a 3xx status code
func (*GetLdapServersUnauthorized) IsServerError ¶
func (o *GetLdapServersUnauthorized) IsServerError() bool
IsServerError returns true when this get ldap servers unauthorized response has a 5xx status code
func (*GetLdapServersUnauthorized) IsSuccess ¶
func (o *GetLdapServersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get ldap servers unauthorized response has a 2xx status code
func (*GetLdapServersUnauthorized) String ¶
func (o *GetLdapServersUnauthorized) String() string
type UpdateLdapServerForbidden ¶
type UpdateLdapServerForbidden struct { }
UpdateLdapServerForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewUpdateLdapServerForbidden ¶
func NewUpdateLdapServerForbidden() *UpdateLdapServerForbidden
NewUpdateLdapServerForbidden creates a UpdateLdapServerForbidden with default headers values
func (*UpdateLdapServerForbidden) Code ¶
func (o *UpdateLdapServerForbidden) Code() int
Code gets the status code for the update ldap server forbidden response
func (*UpdateLdapServerForbidden) Error ¶
func (o *UpdateLdapServerForbidden) Error() string
func (*UpdateLdapServerForbidden) IsClientError ¶
func (o *UpdateLdapServerForbidden) IsClientError() bool
IsClientError returns true when this update ldap server forbidden response has a 4xx status code
func (*UpdateLdapServerForbidden) IsCode ¶
func (o *UpdateLdapServerForbidden) IsCode(code int) bool
IsCode returns true when this update ldap server forbidden response a status code equal to that given
func (*UpdateLdapServerForbidden) IsRedirect ¶
func (o *UpdateLdapServerForbidden) IsRedirect() bool
IsRedirect returns true when this update ldap server forbidden response has a 3xx status code
func (*UpdateLdapServerForbidden) IsServerError ¶
func (o *UpdateLdapServerForbidden) IsServerError() bool
IsServerError returns true when this update ldap server forbidden response has a 5xx status code
func (*UpdateLdapServerForbidden) IsSuccess ¶
func (o *UpdateLdapServerForbidden) IsSuccess() bool
IsSuccess returns true when this update ldap server forbidden response has a 2xx status code
func (*UpdateLdapServerForbidden) String ¶
func (o *UpdateLdapServerForbidden) String() string
type UpdateLdapServerNoContent ¶
type UpdateLdapServerNoContent struct { }
UpdateLdapServerNoContent describes a response with status code 204, with default header values.
LDAP server updated
func NewUpdateLdapServerNoContent ¶
func NewUpdateLdapServerNoContent() *UpdateLdapServerNoContent
NewUpdateLdapServerNoContent creates a UpdateLdapServerNoContent with default headers values
func (*UpdateLdapServerNoContent) Code ¶
func (o *UpdateLdapServerNoContent) Code() int
Code gets the status code for the update ldap server no content response
func (*UpdateLdapServerNoContent) Error ¶
func (o *UpdateLdapServerNoContent) Error() string
func (*UpdateLdapServerNoContent) IsClientError ¶
func (o *UpdateLdapServerNoContent) IsClientError() bool
IsClientError returns true when this update ldap server no content response has a 4xx status code
func (*UpdateLdapServerNoContent) IsCode ¶
func (o *UpdateLdapServerNoContent) IsCode(code int) bool
IsCode returns true when this update ldap server no content response a status code equal to that given
func (*UpdateLdapServerNoContent) IsRedirect ¶
func (o *UpdateLdapServerNoContent) IsRedirect() bool
IsRedirect returns true when this update ldap server no content response has a 3xx status code
func (*UpdateLdapServerNoContent) IsServerError ¶
func (o *UpdateLdapServerNoContent) IsServerError() bool
IsServerError returns true when this update ldap server no content response has a 5xx status code
func (*UpdateLdapServerNoContent) IsSuccess ¶
func (o *UpdateLdapServerNoContent) IsSuccess() bool
IsSuccess returns true when this update ldap server no content response has a 2xx status code
func (*UpdateLdapServerNoContent) String ¶
func (o *UpdateLdapServerNoContent) String() string
type UpdateLdapServerNotFound ¶
type UpdateLdapServerNotFound struct { }
UpdateLdapServerNotFound describes a response with status code 404, with default header values.
LDAP server not found
func NewUpdateLdapServerNotFound ¶
func NewUpdateLdapServerNotFound() *UpdateLdapServerNotFound
NewUpdateLdapServerNotFound creates a UpdateLdapServerNotFound with default headers values
func (*UpdateLdapServerNotFound) Code ¶
func (o *UpdateLdapServerNotFound) Code() int
Code gets the status code for the update ldap server not found response
func (*UpdateLdapServerNotFound) Error ¶
func (o *UpdateLdapServerNotFound) Error() string
func (*UpdateLdapServerNotFound) IsClientError ¶
func (o *UpdateLdapServerNotFound) IsClientError() bool
IsClientError returns true when this update ldap server not found response has a 4xx status code
func (*UpdateLdapServerNotFound) IsCode ¶
func (o *UpdateLdapServerNotFound) IsCode(code int) bool
IsCode returns true when this update ldap server not found response a status code equal to that given
func (*UpdateLdapServerNotFound) IsRedirect ¶
func (o *UpdateLdapServerNotFound) IsRedirect() bool
IsRedirect returns true when this update ldap server not found response has a 3xx status code
func (*UpdateLdapServerNotFound) IsServerError ¶
func (o *UpdateLdapServerNotFound) IsServerError() bool
IsServerError returns true when this update ldap server not found response has a 5xx status code
func (*UpdateLdapServerNotFound) IsSuccess ¶
func (o *UpdateLdapServerNotFound) IsSuccess() bool
IsSuccess returns true when this update ldap server not found response has a 2xx status code
func (*UpdateLdapServerNotFound) String ¶
func (o *UpdateLdapServerNotFound) String() string
type UpdateLdapServerParams ¶
type UpdateLdapServerParams struct { /* Body. Updated values of LDAP server */ Body *models.UpdateLdapServerXo /* Name. Name of the LDAP server to update */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLdapServerParams contains all the parameters to send to the API endpoint
for the update ldap server operation. Typically these are written to a http.Request.
func NewUpdateLdapServerParams ¶
func NewUpdateLdapServerParams() *UpdateLdapServerParams
NewUpdateLdapServerParams creates a new UpdateLdapServerParams 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 NewUpdateLdapServerParamsWithContext ¶
func NewUpdateLdapServerParamsWithContext(ctx context.Context) *UpdateLdapServerParams
NewUpdateLdapServerParamsWithContext creates a new UpdateLdapServerParams object with the ability to set a context for a request.
func NewUpdateLdapServerParamsWithHTTPClient ¶
func NewUpdateLdapServerParamsWithHTTPClient(client *http.Client) *UpdateLdapServerParams
NewUpdateLdapServerParamsWithHTTPClient creates a new UpdateLdapServerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLdapServerParamsWithTimeout ¶
func NewUpdateLdapServerParamsWithTimeout(timeout time.Duration) *UpdateLdapServerParams
NewUpdateLdapServerParamsWithTimeout creates a new UpdateLdapServerParams object with the ability to set a timeout on a request.
func (*UpdateLdapServerParams) SetBody ¶
func (o *UpdateLdapServerParams) SetBody(body *models.UpdateLdapServerXo)
SetBody adds the body to the update ldap server params
func (*UpdateLdapServerParams) SetContext ¶
func (o *UpdateLdapServerParams) SetContext(ctx context.Context)
SetContext adds the context to the update ldap server params
func (*UpdateLdapServerParams) SetDefaults ¶
func (o *UpdateLdapServerParams) SetDefaults()
SetDefaults hydrates default values in the update ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLdapServerParams) SetHTTPClient ¶
func (o *UpdateLdapServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update ldap server params
func (*UpdateLdapServerParams) SetName ¶
func (o *UpdateLdapServerParams) SetName(name string)
SetName adds the name to the update ldap server params
func (*UpdateLdapServerParams) SetTimeout ¶
func (o *UpdateLdapServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update ldap server params
func (*UpdateLdapServerParams) WithBody ¶
func (o *UpdateLdapServerParams) WithBody(body *models.UpdateLdapServerXo) *UpdateLdapServerParams
WithBody adds the body to the update ldap server params
func (*UpdateLdapServerParams) WithContext ¶
func (o *UpdateLdapServerParams) WithContext(ctx context.Context) *UpdateLdapServerParams
WithContext adds the context to the update ldap server params
func (*UpdateLdapServerParams) WithDefaults ¶
func (o *UpdateLdapServerParams) WithDefaults() *UpdateLdapServerParams
WithDefaults hydrates default values in the update ldap server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLdapServerParams) WithHTTPClient ¶
func (o *UpdateLdapServerParams) WithHTTPClient(client *http.Client) *UpdateLdapServerParams
WithHTTPClient adds the HTTPClient to the update ldap server params
func (*UpdateLdapServerParams) WithName ¶
func (o *UpdateLdapServerParams) WithName(name string) *UpdateLdapServerParams
WithName adds the name to the update ldap server params
func (*UpdateLdapServerParams) WithTimeout ¶
func (o *UpdateLdapServerParams) WithTimeout(timeout time.Duration) *UpdateLdapServerParams
WithTimeout adds the timeout to the update ldap server params
func (*UpdateLdapServerParams) WriteToRequest ¶
func (o *UpdateLdapServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLdapServerReader ¶
type UpdateLdapServerReader struct {
// contains filtered or unexported fields
}
UpdateLdapServerReader is a Reader for the UpdateLdapServer structure.
func (*UpdateLdapServerReader) ReadResponse ¶
func (o *UpdateLdapServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLdapServerUnauthorized ¶
type UpdateLdapServerUnauthorized struct { }
UpdateLdapServerUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewUpdateLdapServerUnauthorized ¶
func NewUpdateLdapServerUnauthorized() *UpdateLdapServerUnauthorized
NewUpdateLdapServerUnauthorized creates a UpdateLdapServerUnauthorized with default headers values
func (*UpdateLdapServerUnauthorized) Code ¶
func (o *UpdateLdapServerUnauthorized) Code() int
Code gets the status code for the update ldap server unauthorized response
func (*UpdateLdapServerUnauthorized) Error ¶
func (o *UpdateLdapServerUnauthorized) Error() string
func (*UpdateLdapServerUnauthorized) IsClientError ¶
func (o *UpdateLdapServerUnauthorized) IsClientError() bool
IsClientError returns true when this update ldap server unauthorized response has a 4xx status code
func (*UpdateLdapServerUnauthorized) IsCode ¶
func (o *UpdateLdapServerUnauthorized) IsCode(code int) bool
IsCode returns true when this update ldap server unauthorized response a status code equal to that given
func (*UpdateLdapServerUnauthorized) IsRedirect ¶
func (o *UpdateLdapServerUnauthorized) IsRedirect() bool
IsRedirect returns true when this update ldap server unauthorized response has a 3xx status code
func (*UpdateLdapServerUnauthorized) IsServerError ¶
func (o *UpdateLdapServerUnauthorized) IsServerError() bool
IsServerError returns true when this update ldap server unauthorized response has a 5xx status code
func (*UpdateLdapServerUnauthorized) IsSuccess ¶
func (o *UpdateLdapServerUnauthorized) IsSuccess() bool
IsSuccess returns true when this update ldap server unauthorized response has a 2xx status code
func (*UpdateLdapServerUnauthorized) String ¶
func (o *UpdateLdapServerUnauthorized) String() string
Source Files ¶
- change_order_parameters.go
- change_order_responses.go
- create_ldap_server_parameters.go
- create_ldap_server_responses.go
- delete_ldap_server_parameters.go
- delete_ldap_server_responses.go
- get_ldap_server_parameters.go
- get_ldap_server_responses.go
- get_ldap_servers_parameters.go
- get_ldap_servers_responses.go
- security_managementldap_client.go
- update_ldap_server_parameters.go
- update_ldap_server_responses.go