security_management_l_d_a_p

package
v0.0.0-...-f4869d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

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

WithBody adds the body to the create ldap server params

func (*CreateLdapServerParams) WithContext

WithContext adds the context to the create ldap server params

func (*CreateLdapServerParams) WithDefaults

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

WithTimeout adds the timeout to the create ldap server params

func (*CreateLdapServerParams) WriteToRequest

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

Code gets the status code for the create ldap server unauthorized response

func (*CreateLdapServerUnauthorized) Error

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

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

WithContext adds the context to the delete ldap server params

func (*DeleteLdapServerParams) WithDefaults

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

WithName adds the name to the delete ldap server params

func (*DeleteLdapServerParams) WithTimeout

WithTimeout adds the timeout to the delete ldap server params

func (*DeleteLdapServerParams) WriteToRequest

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

Code gets the status code for the delete ldap server unauthorized response

func (*DeleteLdapServerUnauthorized) Error

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

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

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

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 (*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

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

WithBody adds the body to the update ldap server params

func (*UpdateLdapServerParams) WithContext

WithContext adds the context to the update ldap server params

func (*UpdateLdapServerParams) WithDefaults

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

WithName adds the name to the update ldap server params

func (*UpdateLdapServerParams) WithTimeout

WithTimeout adds the timeout to the update ldap server params

func (*UpdateLdapServerParams) WriteToRequest

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

Code gets the status code for the update ldap server unauthorized response

func (*UpdateLdapServerUnauthorized) Error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL