active_directory_sync

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for active directory sync API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SyncUsingPOST

func (a *Client) SyncUsingPOST(params *SyncUsingPOSTParams, opts ...ClientOption) (*SyncUsingPOSTOK, *SyncUsingPOSTCreated, error)

SyncUsingPOST syncs

Sync

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SyncUsingPOST(params *SyncUsingPOSTParams, opts ...ClientOption) (*SyncUsingPOSTOK, *SyncUsingPOSTCreated, 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 active directory sync API client.

type SyncUsingPOSTBadRequest

type SyncUsingPOSTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
SyncUsingPOSTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewSyncUsingPOSTBadRequest

func NewSyncUsingPOSTBadRequest() *SyncUsingPOSTBadRequest

NewSyncUsingPOSTBadRequest creates a SyncUsingPOSTBadRequest with default headers values

func (*SyncUsingPOSTBadRequest) Error

func (o *SyncUsingPOSTBadRequest) Error() string

func (*SyncUsingPOSTBadRequest) GetPayload added in v1.2.0

type SyncUsingPOSTCreated

type SyncUsingPOSTCreated struct {
	Payload *models.SyncMessageResponse
}
SyncUsingPOSTCreated describes a response with status code 201, with default header values.

Entity has been imported

func NewSyncUsingPOSTCreated

func NewSyncUsingPOSTCreated() *SyncUsingPOSTCreated

NewSyncUsingPOSTCreated creates a SyncUsingPOSTCreated with default headers values

func (*SyncUsingPOSTCreated) Error

func (o *SyncUsingPOSTCreated) Error() string

func (*SyncUsingPOSTCreated) GetPayload

type SyncUsingPOSTOK

type SyncUsingPOSTOK struct {
	Payload *models.SyncMessageResponse
}
SyncUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewSyncUsingPOSTOK

func NewSyncUsingPOSTOK() *SyncUsingPOSTOK

NewSyncUsingPOSTOK creates a SyncUsingPOSTOK with default headers values

func (*SyncUsingPOSTOK) Error

func (o *SyncUsingPOSTOK) Error() string

func (*SyncUsingPOSTOK) GetPayload

func (o *SyncUsingPOSTOK) GetPayload() *models.SyncMessageResponse

type SyncUsingPOSTParams

type SyncUsingPOSTParams struct {

	/* CreateSyncRequest.

	   createSyncRequest
	*/
	CreateSyncRequest *models.CreateSyncRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SyncUsingPOSTParams contains all the parameters to send to the API endpoint

for the sync using p o s t operation.

Typically these are written to a http.Request.

func NewSyncUsingPOSTParams

func NewSyncUsingPOSTParams() *SyncUsingPOSTParams

NewSyncUsingPOSTParams creates a new SyncUsingPOSTParams 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 NewSyncUsingPOSTParamsWithContext

func NewSyncUsingPOSTParamsWithContext(ctx context.Context) *SyncUsingPOSTParams

NewSyncUsingPOSTParamsWithContext creates a new SyncUsingPOSTParams object with the ability to set a context for a request.

func NewSyncUsingPOSTParamsWithHTTPClient

func NewSyncUsingPOSTParamsWithHTTPClient(client *http.Client) *SyncUsingPOSTParams

NewSyncUsingPOSTParamsWithHTTPClient creates a new SyncUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewSyncUsingPOSTParamsWithTimeout

func NewSyncUsingPOSTParamsWithTimeout(timeout time.Duration) *SyncUsingPOSTParams

NewSyncUsingPOSTParamsWithTimeout creates a new SyncUsingPOSTParams object with the ability to set a timeout on a request.

func (*SyncUsingPOSTParams) SetContext

func (o *SyncUsingPOSTParams) SetContext(ctx context.Context)

SetContext adds the context to the sync using p o s t params

func (*SyncUsingPOSTParams) SetCreateSyncRequest

func (o *SyncUsingPOSTParams) SetCreateSyncRequest(createSyncRequest *models.CreateSyncRequest)

SetCreateSyncRequest adds the createSyncRequest to the sync using p o s t params

func (*SyncUsingPOSTParams) SetDefaults added in v1.2.4

func (o *SyncUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the sync using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*SyncUsingPOSTParams) SetHTTPClient

func (o *SyncUsingPOSTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sync using p o s t params

func (*SyncUsingPOSTParams) SetTimeout

func (o *SyncUsingPOSTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sync using p o s t params

func (*SyncUsingPOSTParams) WithContext

WithContext adds the context to the sync using p o s t params

func (*SyncUsingPOSTParams) WithCreateSyncRequest

func (o *SyncUsingPOSTParams) WithCreateSyncRequest(createSyncRequest *models.CreateSyncRequest) *SyncUsingPOSTParams

WithCreateSyncRequest adds the createSyncRequest to the sync using p o s t params

func (*SyncUsingPOSTParams) WithDefaults added in v1.2.4

func (o *SyncUsingPOSTParams) WithDefaults() *SyncUsingPOSTParams

WithDefaults hydrates default values in the sync using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*SyncUsingPOSTParams) WithHTTPClient

func (o *SyncUsingPOSTParams) WithHTTPClient(client *http.Client) *SyncUsingPOSTParams

WithHTTPClient adds the HTTPClient to the sync using p o s t params

func (*SyncUsingPOSTParams) WithTimeout

func (o *SyncUsingPOSTParams) WithTimeout(timeout time.Duration) *SyncUsingPOSTParams

WithTimeout adds the timeout to the sync using p o s t params

func (*SyncUsingPOSTParams) WriteToRequest

func (o *SyncUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SyncUsingPOSTReader

type SyncUsingPOSTReader struct {
	// contains filtered or unexported fields
}

SyncUsingPOSTReader is a Reader for the SyncUsingPOST structure.

func (*SyncUsingPOSTReader) ReadResponse

func (o *SyncUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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