directory_services

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 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 directory services API

func (*Client) GetAPI24DirectoryServices

func (a *Client) GetAPI24DirectoryServices(params *GetAPI24DirectoryServicesParams) (*GetApi24DirectoryServicesOK, error)

GetAPI24DirectoryServices lists directory services configuration

Displays the role-based access control (RBAC) group configuration settings for manageability.

func (*Client) GetAPI24DirectoryServicesRoles

func (a *Client) GetAPI24DirectoryServicesRoles(params *GetAPI24DirectoryServicesRolesParams) (*GetApi24DirectoryServicesRolesOK, error)

GetAPI24DirectoryServicesRoles lists directory services roles

Displays the role-based access control (RBAC) group role settings.

func (*Client) GetAPI24DirectoryServicesTest

func (a *Client) GetAPI24DirectoryServicesTest(params *GetAPI24DirectoryServicesTestParams) (*GetApi24DirectoryServicesTestOK, error)

GetAPI24DirectoryServicesTest lists directory services test results

Displays the directory services test and displays the results. The test verifies that URIs can be resolved and that the array can bind and query the tree using the bind user credentials. The test also verifies that the array can find all configured groups to ensure the common names and group base are correctly configured.

func (*Client) PatchAPI24DirectoryServices

func (a *Client) PatchAPI24DirectoryServices(params *PatchAPI24DirectoryServicesParams) (*PatchApi24DirectoryServicesOK, error)

PatchAPI24DirectoryServices modifies directory services configuration

Modifies the directory service configuration.

func (*Client) PatchAPI24DirectoryServicesRoles

func (a *Client) PatchAPI24DirectoryServicesRoles(params *PatchAPI24DirectoryServicesRolesParams) (*PatchApi24DirectoryServicesRolesOK, error)

PatchAPI24DirectoryServicesRoles modifies directory services roles

Modifies directory services roles, mapping them to their configured `group` and `group_base` in the directory service.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAPI24DirectoryServices(params *GetAPI24DirectoryServicesParams) (*GetApi24DirectoryServicesOK, error)

	GetAPI24DirectoryServicesRoles(params *GetAPI24DirectoryServicesRolesParams) (*GetApi24DirectoryServicesRolesOK, error)

	GetAPI24DirectoryServicesTest(params *GetAPI24DirectoryServicesTestParams) (*GetApi24DirectoryServicesTestOK, error)

	PatchAPI24DirectoryServices(params *PatchAPI24DirectoryServicesParams) (*PatchApi24DirectoryServicesOK, error)

	PatchAPI24DirectoryServicesRoles(params *PatchAPI24DirectoryServicesRolesParams) (*PatchApi24DirectoryServicesRolesOK, 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 directory services API client.

type GetAPI24DirectoryServicesParams

type GetAPI24DirectoryServicesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24DirectoryServicesParams contains all the parameters to send to the API endpoint for the get API 24 directory services operation typically these are written to a http.Request

func NewGetAPI24DirectoryServicesParams

func NewGetAPI24DirectoryServicesParams() *GetAPI24DirectoryServicesParams

NewGetAPI24DirectoryServicesParams creates a new GetAPI24DirectoryServicesParams object with the default values initialized.

func NewGetAPI24DirectoryServicesParamsWithContext

func NewGetAPI24DirectoryServicesParamsWithContext(ctx context.Context) *GetAPI24DirectoryServicesParams

NewGetAPI24DirectoryServicesParamsWithContext creates a new GetAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24DirectoryServicesParamsWithHTTPClient

func NewGetAPI24DirectoryServicesParamsWithHTTPClient(client *http.Client) *GetAPI24DirectoryServicesParams

NewGetAPI24DirectoryServicesParamsWithHTTPClient creates a new GetAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24DirectoryServicesParamsWithTimeout

func NewGetAPI24DirectoryServicesParamsWithTimeout(timeout time.Duration) *GetAPI24DirectoryServicesParams

NewGetAPI24DirectoryServicesParamsWithTimeout creates a new GetAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24DirectoryServicesParams) SetAuthorization

func (o *GetAPI24DirectoryServicesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetContext

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

SetContext adds the context to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetContinuationToken

func (o *GetAPI24DirectoryServicesParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetFilter

func (o *GetAPI24DirectoryServicesParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetLimit

func (o *GetAPI24DirectoryServicesParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetNames

func (o *GetAPI24DirectoryServicesParams) SetNames(names []string)

SetNames adds the names to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetOffset

func (o *GetAPI24DirectoryServicesParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetSort

func (o *GetAPI24DirectoryServicesParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetTotalItemCount

func (o *GetAPI24DirectoryServicesParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) SetXRequestID

func (o *GetAPI24DirectoryServicesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithAuthorization

func (o *GetAPI24DirectoryServicesParams) WithAuthorization(authorization *string) *GetAPI24DirectoryServicesParams

WithAuthorization adds the authorization to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithContext

WithContext adds the context to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithContinuationToken

func (o *GetAPI24DirectoryServicesParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectoryServicesParams

WithContinuationToken adds the continuationToken to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithFilter

WithFilter adds the filter to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithLimit

WithLimit adds the limit to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithNames

WithNames adds the names to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithOffset

WithOffset adds the offset to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithSort

WithSort adds the sort to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithTimeout

WithTimeout adds the timeout to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithTotalItemCount

func (o *GetAPI24DirectoryServicesParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectoryServicesParams

WithTotalItemCount adds the totalItemCount to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 directory services params

func (*GetAPI24DirectoryServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24DirectoryServicesReader

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

GetAPI24DirectoryServicesReader is a Reader for the GetAPI24DirectoryServices structure.

func (*GetAPI24DirectoryServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24DirectoryServicesRolesParams

type GetAPI24DirectoryServicesRolesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*RoleNames
	  Performs the operation on the unique roles specified. For example, `array_admin`. Enter multiple roles in comma-separated format.

	*/
	RoleNames []string
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24DirectoryServicesRolesParams contains all the parameters to send to the API endpoint for the get API 24 directory services roles operation typically these are written to a http.Request

func NewGetAPI24DirectoryServicesRolesParams

func NewGetAPI24DirectoryServicesRolesParams() *GetAPI24DirectoryServicesRolesParams

NewGetAPI24DirectoryServicesRolesParams creates a new GetAPI24DirectoryServicesRolesParams object with the default values initialized.

func NewGetAPI24DirectoryServicesRolesParamsWithContext

func NewGetAPI24DirectoryServicesRolesParamsWithContext(ctx context.Context) *GetAPI24DirectoryServicesRolesParams

NewGetAPI24DirectoryServicesRolesParamsWithContext creates a new GetAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24DirectoryServicesRolesParamsWithHTTPClient

func NewGetAPI24DirectoryServicesRolesParamsWithHTTPClient(client *http.Client) *GetAPI24DirectoryServicesRolesParams

NewGetAPI24DirectoryServicesRolesParamsWithHTTPClient creates a new GetAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24DirectoryServicesRolesParamsWithTimeout

func NewGetAPI24DirectoryServicesRolesParamsWithTimeout(timeout time.Duration) *GetAPI24DirectoryServicesRolesParams

NewGetAPI24DirectoryServicesRolesParamsWithTimeout creates a new GetAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24DirectoryServicesRolesParams) SetAuthorization

func (o *GetAPI24DirectoryServicesRolesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetContext

SetContext adds the context to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetContinuationToken

func (o *GetAPI24DirectoryServicesRolesParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetFilter

func (o *GetAPI24DirectoryServicesRolesParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetLimit

func (o *GetAPI24DirectoryServicesRolesParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetOffset

func (o *GetAPI24DirectoryServicesRolesParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetRoleNames

func (o *GetAPI24DirectoryServicesRolesParams) SetRoleNames(roleNames []string)

SetRoleNames adds the roleNames to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetSort

func (o *GetAPI24DirectoryServicesRolesParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetTotalItemCount

func (o *GetAPI24DirectoryServicesRolesParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) SetXRequestID

func (o *GetAPI24DirectoryServicesRolesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithAuthorization

WithAuthorization adds the authorization to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithContext

WithContext adds the context to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithContinuationToken

func (o *GetAPI24DirectoryServicesRolesParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectoryServicesRolesParams

WithContinuationToken adds the continuationToken to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithFilter

WithFilter adds the filter to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithLimit

WithLimit adds the limit to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithOffset

WithOffset adds the offset to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithRoleNames

WithRoleNames adds the roleNames to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithSort

WithSort adds the sort to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithTimeout

WithTimeout adds the timeout to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithTotalItemCount

func (o *GetAPI24DirectoryServicesRolesParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectoryServicesRolesParams

WithTotalItemCount adds the totalItemCount to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 directory services roles params

func (*GetAPI24DirectoryServicesRolesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24DirectoryServicesRolesReader

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

GetAPI24DirectoryServicesRolesReader is a Reader for the GetAPI24DirectoryServicesRoles structure.

func (*GetAPI24DirectoryServicesRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24DirectoryServicesTestParams

type GetAPI24DirectoryServicesTestParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24DirectoryServicesTestParams contains all the parameters to send to the API endpoint for the get API 24 directory services test operation typically these are written to a http.Request

func NewGetAPI24DirectoryServicesTestParams

func NewGetAPI24DirectoryServicesTestParams() *GetAPI24DirectoryServicesTestParams

NewGetAPI24DirectoryServicesTestParams creates a new GetAPI24DirectoryServicesTestParams object with the default values initialized.

func NewGetAPI24DirectoryServicesTestParamsWithContext

func NewGetAPI24DirectoryServicesTestParamsWithContext(ctx context.Context) *GetAPI24DirectoryServicesTestParams

NewGetAPI24DirectoryServicesTestParamsWithContext creates a new GetAPI24DirectoryServicesTestParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24DirectoryServicesTestParamsWithHTTPClient

func NewGetAPI24DirectoryServicesTestParamsWithHTTPClient(client *http.Client) *GetAPI24DirectoryServicesTestParams

NewGetAPI24DirectoryServicesTestParamsWithHTTPClient creates a new GetAPI24DirectoryServicesTestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24DirectoryServicesTestParamsWithTimeout

func NewGetAPI24DirectoryServicesTestParamsWithTimeout(timeout time.Duration) *GetAPI24DirectoryServicesTestParams

NewGetAPI24DirectoryServicesTestParamsWithTimeout creates a new GetAPI24DirectoryServicesTestParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24DirectoryServicesTestParams) SetAuthorization

func (o *GetAPI24DirectoryServicesTestParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetContext

SetContext adds the context to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetContinuationToken

func (o *GetAPI24DirectoryServicesTestParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetFilter

func (o *GetAPI24DirectoryServicesTestParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetLimit

func (o *GetAPI24DirectoryServicesTestParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetNames

func (o *GetAPI24DirectoryServicesTestParams) SetNames(names []string)

SetNames adds the names to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetOffset

func (o *GetAPI24DirectoryServicesTestParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetSort

func (o *GetAPI24DirectoryServicesTestParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetTotalItemCount

func (o *GetAPI24DirectoryServicesTestParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) SetXRequestID

func (o *GetAPI24DirectoryServicesTestParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithAuthorization

WithAuthorization adds the authorization to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithContext

WithContext adds the context to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithContinuationToken

func (o *GetAPI24DirectoryServicesTestParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectoryServicesTestParams

WithContinuationToken adds the continuationToken to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithFilter

WithFilter adds the filter to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithLimit

WithLimit adds the limit to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithNames

WithNames adds the names to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithOffset

WithOffset adds the offset to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithSort

WithSort adds the sort to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithTimeout

WithTimeout adds the timeout to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithTotalItemCount

func (o *GetAPI24DirectoryServicesTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectoryServicesTestParams

WithTotalItemCount adds the totalItemCount to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 directory services test params

func (*GetAPI24DirectoryServicesTestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24DirectoryServicesTestReader

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

GetAPI24DirectoryServicesTestReader is a Reader for the GetAPI24DirectoryServicesTest structure.

func (*GetAPI24DirectoryServicesTestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24DirectoryServicesBadRequest

type GetApi24DirectoryServicesBadRequest struct {
	Payload *models.Error
}

GetApi24DirectoryServicesBadRequest handles this case with default header values.

BadRequest

func NewGetApi24DirectoryServicesBadRequest

func NewGetApi24DirectoryServicesBadRequest() *GetApi24DirectoryServicesBadRequest

NewGetApi24DirectoryServicesBadRequest creates a GetApi24DirectoryServicesBadRequest with default headers values

func (*GetApi24DirectoryServicesBadRequest) Error

func (*GetApi24DirectoryServicesBadRequest) GetPayload

type GetApi24DirectoryServicesOK

type GetApi24DirectoryServicesOK struct {
	Payload *models.DirectoryServiceGetResponse
}

GetApi24DirectoryServicesOK handles this case with default header values.

OK

func NewGetApi24DirectoryServicesOK

func NewGetApi24DirectoryServicesOK() *GetApi24DirectoryServicesOK

NewGetApi24DirectoryServicesOK creates a GetApi24DirectoryServicesOK with default headers values

func (*GetApi24DirectoryServicesOK) Error

func (*GetApi24DirectoryServicesOK) GetPayload

type GetApi24DirectoryServicesRolesBadRequest

type GetApi24DirectoryServicesRolesBadRequest struct {
	Payload *models.Error
}

GetApi24DirectoryServicesRolesBadRequest handles this case with default header values.

BadRequest

func NewGetApi24DirectoryServicesRolesBadRequest

func NewGetApi24DirectoryServicesRolesBadRequest() *GetApi24DirectoryServicesRolesBadRequest

NewGetApi24DirectoryServicesRolesBadRequest creates a GetApi24DirectoryServicesRolesBadRequest with default headers values

func (*GetApi24DirectoryServicesRolesBadRequest) Error

func (*GetApi24DirectoryServicesRolesBadRequest) GetPayload

type GetApi24DirectoryServicesRolesOK

type GetApi24DirectoryServicesRolesOK struct {
	Payload *models.DirectoryServiceRoleGetResponse
}

GetApi24DirectoryServicesRolesOK handles this case with default header values.

OK

func NewGetApi24DirectoryServicesRolesOK

func NewGetApi24DirectoryServicesRolesOK() *GetApi24DirectoryServicesRolesOK

NewGetApi24DirectoryServicesRolesOK creates a GetApi24DirectoryServicesRolesOK with default headers values

func (*GetApi24DirectoryServicesRolesOK) Error

func (*GetApi24DirectoryServicesRolesOK) GetPayload

type GetApi24DirectoryServicesTestBadRequest

type GetApi24DirectoryServicesTestBadRequest struct {
	Payload *models.Error
}

GetApi24DirectoryServicesTestBadRequest handles this case with default header values.

BadRequest

func NewGetApi24DirectoryServicesTestBadRequest

func NewGetApi24DirectoryServicesTestBadRequest() *GetApi24DirectoryServicesTestBadRequest

NewGetApi24DirectoryServicesTestBadRequest creates a GetApi24DirectoryServicesTestBadRequest with default headers values

func (*GetApi24DirectoryServicesTestBadRequest) Error

func (*GetApi24DirectoryServicesTestBadRequest) GetPayload

type GetApi24DirectoryServicesTestOK

type GetApi24DirectoryServicesTestOK struct {
	Payload *models.TestResultWithResourceResponse
}

GetApi24DirectoryServicesTestOK handles this case with default header values.

OK

func NewGetApi24DirectoryServicesTestOK

func NewGetApi24DirectoryServicesTestOK() *GetApi24DirectoryServicesTestOK

NewGetApi24DirectoryServicesTestOK creates a GetApi24DirectoryServicesTestOK with default headers values

func (*GetApi24DirectoryServicesTestOK) Error

func (*GetApi24DirectoryServicesTestOK) GetPayload

type PatchAPI24DirectoryServicesParams

type PatchAPI24DirectoryServicesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*DirectoryService*/
	DirectoryService *models.DirectoryService
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

PatchAPI24DirectoryServicesParams contains all the parameters to send to the API endpoint for the patch API 24 directory services operation typically these are written to a http.Request

func NewPatchAPI24DirectoryServicesParams

func NewPatchAPI24DirectoryServicesParams() *PatchAPI24DirectoryServicesParams

NewPatchAPI24DirectoryServicesParams creates a new PatchAPI24DirectoryServicesParams object with the default values initialized.

func NewPatchAPI24DirectoryServicesParamsWithContext

func NewPatchAPI24DirectoryServicesParamsWithContext(ctx context.Context) *PatchAPI24DirectoryServicesParams

NewPatchAPI24DirectoryServicesParamsWithContext creates a new PatchAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAPI24DirectoryServicesParamsWithHTTPClient

func NewPatchAPI24DirectoryServicesParamsWithHTTPClient(client *http.Client) *PatchAPI24DirectoryServicesParams

NewPatchAPI24DirectoryServicesParamsWithHTTPClient creates a new PatchAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAPI24DirectoryServicesParamsWithTimeout

func NewPatchAPI24DirectoryServicesParamsWithTimeout(timeout time.Duration) *PatchAPI24DirectoryServicesParams

NewPatchAPI24DirectoryServicesParamsWithTimeout creates a new PatchAPI24DirectoryServicesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAPI24DirectoryServicesParams) SetAuthorization

func (o *PatchAPI24DirectoryServicesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetContext

SetContext adds the context to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetDirectoryService

func (o *PatchAPI24DirectoryServicesParams) SetDirectoryService(directoryService *models.DirectoryService)

SetDirectoryService adds the directoryService to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetNames

func (o *PatchAPI24DirectoryServicesParams) SetNames(names []string)

SetNames adds the names to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) SetXRequestID

func (o *PatchAPI24DirectoryServicesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithAuthorization

func (o *PatchAPI24DirectoryServicesParams) WithAuthorization(authorization *string) *PatchAPI24DirectoryServicesParams

WithAuthorization adds the authorization to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithContext

WithContext adds the context to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithDirectoryService

WithDirectoryService adds the directoryService to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithNames

WithNames adds the names to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WithXRequestID

WithXRequestID adds the xRequestID to the patch API 24 directory services params

func (*PatchAPI24DirectoryServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24DirectoryServicesReader

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

PatchAPI24DirectoryServicesReader is a Reader for the PatchAPI24DirectoryServices structure.

func (*PatchAPI24DirectoryServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPI24DirectoryServicesRolesParams

type PatchAPI24DirectoryServicesRolesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*DirectoryServiceRoles*/
	DirectoryServiceRoles *models.DirectoryServiceRole
	/*RoleNames
	  Performs the operation on the unique roles specified. For example, `array_admin`. Enter multiple roles in comma-separated format.

	*/
	RoleNames []string

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

PatchAPI24DirectoryServicesRolesParams contains all the parameters to send to the API endpoint for the patch API 24 directory services roles operation typically these are written to a http.Request

func NewPatchAPI24DirectoryServicesRolesParams

func NewPatchAPI24DirectoryServicesRolesParams() *PatchAPI24DirectoryServicesRolesParams

NewPatchAPI24DirectoryServicesRolesParams creates a new PatchAPI24DirectoryServicesRolesParams object with the default values initialized.

func NewPatchAPI24DirectoryServicesRolesParamsWithContext

func NewPatchAPI24DirectoryServicesRolesParamsWithContext(ctx context.Context) *PatchAPI24DirectoryServicesRolesParams

NewPatchAPI24DirectoryServicesRolesParamsWithContext creates a new PatchAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAPI24DirectoryServicesRolesParamsWithHTTPClient

func NewPatchAPI24DirectoryServicesRolesParamsWithHTTPClient(client *http.Client) *PatchAPI24DirectoryServicesRolesParams

NewPatchAPI24DirectoryServicesRolesParamsWithHTTPClient creates a new PatchAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAPI24DirectoryServicesRolesParamsWithTimeout

func NewPatchAPI24DirectoryServicesRolesParamsWithTimeout(timeout time.Duration) *PatchAPI24DirectoryServicesRolesParams

NewPatchAPI24DirectoryServicesRolesParamsWithTimeout creates a new PatchAPI24DirectoryServicesRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAPI24DirectoryServicesRolesParams) SetAuthorization

func (o *PatchAPI24DirectoryServicesRolesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetContext

SetContext adds the context to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetDirectoryServiceRoles

func (o *PatchAPI24DirectoryServicesRolesParams) SetDirectoryServiceRoles(directoryServiceRoles *models.DirectoryServiceRole)

SetDirectoryServiceRoles adds the directoryServiceRoles to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetRoleNames

func (o *PatchAPI24DirectoryServicesRolesParams) SetRoleNames(roleNames []string)

SetRoleNames adds the roleNames to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) SetXRequestID

func (o *PatchAPI24DirectoryServicesRolesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithAuthorization

WithAuthorization adds the authorization to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithContext

WithContext adds the context to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithDirectoryServiceRoles

WithDirectoryServiceRoles adds the directoryServiceRoles to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithRoleNames

WithRoleNames adds the roleNames to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WithXRequestID

WithXRequestID adds the xRequestID to the patch API 24 directory services roles params

func (*PatchAPI24DirectoryServicesRolesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24DirectoryServicesRolesReader

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

PatchAPI24DirectoryServicesRolesReader is a Reader for the PatchAPI24DirectoryServicesRoles structure.

func (*PatchAPI24DirectoryServicesRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24DirectoryServicesBadRequest

type PatchApi24DirectoryServicesBadRequest struct {
	Payload *models.Error
}

PatchApi24DirectoryServicesBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24DirectoryServicesBadRequest

func NewPatchApi24DirectoryServicesBadRequest() *PatchApi24DirectoryServicesBadRequest

NewPatchApi24DirectoryServicesBadRequest creates a PatchApi24DirectoryServicesBadRequest with default headers values

func (*PatchApi24DirectoryServicesBadRequest) Error

func (*PatchApi24DirectoryServicesBadRequest) GetPayload

type PatchApi24DirectoryServicesOK

type PatchApi24DirectoryServicesOK struct {
	Payload *models.DirectoryServiceResponse
}

PatchApi24DirectoryServicesOK handles this case with default header values.

OK

func NewPatchApi24DirectoryServicesOK

func NewPatchApi24DirectoryServicesOK() *PatchApi24DirectoryServicesOK

NewPatchApi24DirectoryServicesOK creates a PatchApi24DirectoryServicesOK with default headers values

func (*PatchApi24DirectoryServicesOK) Error

func (*PatchApi24DirectoryServicesOK) GetPayload

type PatchApi24DirectoryServicesRolesBadRequest

type PatchApi24DirectoryServicesRolesBadRequest struct {
	Payload *models.Error
}

PatchApi24DirectoryServicesRolesBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24DirectoryServicesRolesBadRequest

func NewPatchApi24DirectoryServicesRolesBadRequest() *PatchApi24DirectoryServicesRolesBadRequest

NewPatchApi24DirectoryServicesRolesBadRequest creates a PatchApi24DirectoryServicesRolesBadRequest with default headers values

func (*PatchApi24DirectoryServicesRolesBadRequest) Error

func (*PatchApi24DirectoryServicesRolesBadRequest) GetPayload

type PatchApi24DirectoryServicesRolesOK

type PatchApi24DirectoryServicesRolesOK struct {
	Payload *models.DirectoryServiceRoleResponse
}

PatchApi24DirectoryServicesRolesOK handles this case with default header values.

OK

func NewPatchApi24DirectoryServicesRolesOK

func NewPatchApi24DirectoryServicesRolesOK() *PatchApi24DirectoryServicesRolesOK

NewPatchApi24DirectoryServicesRolesOK creates a PatchApi24DirectoryServicesRolesOK with default headers values

func (*PatchApi24DirectoryServicesRolesOK) Error

func (*PatchApi24DirectoryServicesRolesOK) GetPayload

Jump to

Keyboard shortcuts

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