config_templates

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 9 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 config templates API

func (*Client) DeleteOrganizationConfigTemplate

DeleteOrganizationConfigTemplate deletes organization config template

Remove a configuration template

func (*Client) GetOrganizationConfigTemplates

func (a *Client) GetOrganizationConfigTemplates(params *GetOrganizationConfigTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationConfigTemplatesOK, error)

GetOrganizationConfigTemplates gets organization config templates

List the configuration templates for this organization

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteOrganizationConfigTemplate(params *DeleteOrganizationConfigTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrganizationConfigTemplateNoContent, error)

	GetOrganizationConfigTemplates(params *GetOrganizationConfigTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationConfigTemplatesOK, 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 config templates API client.

type DeleteOrganizationConfigTemplateNoContent

type DeleteOrganizationConfigTemplateNoContent struct {
}

DeleteOrganizationConfigTemplateNoContent handles this case with default header values.

Successful operation

func NewDeleteOrganizationConfigTemplateNoContent

func NewDeleteOrganizationConfigTemplateNoContent() *DeleteOrganizationConfigTemplateNoContent

NewDeleteOrganizationConfigTemplateNoContent creates a DeleteOrganizationConfigTemplateNoContent with default headers values

func (*DeleteOrganizationConfigTemplateNoContent) Error

type DeleteOrganizationConfigTemplateParams

type DeleteOrganizationConfigTemplateParams struct {

	/*ConfigTemplateID*/
	ConfigTemplateID string
	/*OrganizationID*/
	OrganizationID string

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

DeleteOrganizationConfigTemplateParams contains all the parameters to send to the API endpoint for the delete organization config template operation typically these are written to a http.Request

func NewDeleteOrganizationConfigTemplateParams

func NewDeleteOrganizationConfigTemplateParams() *DeleteOrganizationConfigTemplateParams

NewDeleteOrganizationConfigTemplateParams creates a new DeleteOrganizationConfigTemplateParams object with the default values initialized.

func NewDeleteOrganizationConfigTemplateParamsWithContext

func NewDeleteOrganizationConfigTemplateParamsWithContext(ctx context.Context) *DeleteOrganizationConfigTemplateParams

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

func NewDeleteOrganizationConfigTemplateParamsWithHTTPClient

func NewDeleteOrganizationConfigTemplateParamsWithHTTPClient(client *http.Client) *DeleteOrganizationConfigTemplateParams

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

func NewDeleteOrganizationConfigTemplateParamsWithTimeout

func NewDeleteOrganizationConfigTemplateParamsWithTimeout(timeout time.Duration) *DeleteOrganizationConfigTemplateParams

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

func (*DeleteOrganizationConfigTemplateParams) SetConfigTemplateID

func (o *DeleteOrganizationConfigTemplateParams) SetConfigTemplateID(configTemplateID string)

SetConfigTemplateID adds the configTemplateId to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) SetContext

SetContext adds the context to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) SetOrganizationID

func (o *DeleteOrganizationConfigTemplateParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WithConfigTemplateID

WithConfigTemplateID adds the configTemplateID to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WithContext

WithContext adds the context to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete organization config template params

func (*DeleteOrganizationConfigTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationConfigTemplateReader

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

DeleteOrganizationConfigTemplateReader is a Reader for the DeleteOrganizationConfigTemplate structure.

func (*DeleteOrganizationConfigTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationConfigTemplatesOK

type GetOrganizationConfigTemplatesOK struct {
	Payload interface{}
}

GetOrganizationConfigTemplatesOK handles this case with default header values.

Successful operation

func NewGetOrganizationConfigTemplatesOK

func NewGetOrganizationConfigTemplatesOK() *GetOrganizationConfigTemplatesOK

NewGetOrganizationConfigTemplatesOK creates a GetOrganizationConfigTemplatesOK with default headers values

func (*GetOrganizationConfigTemplatesOK) Error

func (*GetOrganizationConfigTemplatesOK) GetPayload

func (o *GetOrganizationConfigTemplatesOK) GetPayload() interface{}

type GetOrganizationConfigTemplatesParams

type GetOrganizationConfigTemplatesParams struct {

	/*OrganizationID*/
	OrganizationID string

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

GetOrganizationConfigTemplatesParams contains all the parameters to send to the API endpoint for the get organization config templates operation typically these are written to a http.Request

func NewGetOrganizationConfigTemplatesParams

func NewGetOrganizationConfigTemplatesParams() *GetOrganizationConfigTemplatesParams

NewGetOrganizationConfigTemplatesParams creates a new GetOrganizationConfigTemplatesParams object with the default values initialized.

func NewGetOrganizationConfigTemplatesParamsWithContext

func NewGetOrganizationConfigTemplatesParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplatesParams

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

func NewGetOrganizationConfigTemplatesParamsWithHTTPClient

func NewGetOrganizationConfigTemplatesParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplatesParams

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

func NewGetOrganizationConfigTemplatesParamsWithTimeout

func NewGetOrganizationConfigTemplatesParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplatesParams

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

func (*GetOrganizationConfigTemplatesParams) SetContext

SetContext adds the context to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) SetOrganizationID

func (o *GetOrganizationConfigTemplatesParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) WithContext

WithContext adds the context to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) WithTimeout

WithTimeout adds the timeout to the get organization config templates params

func (*GetOrganizationConfigTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationConfigTemplatesReader

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

GetOrganizationConfigTemplatesReader is a Reader for the GetOrganizationConfigTemplates structure.

func (*GetOrganizationConfigTemplatesReader) ReadResponse

func (o *GetOrganizationConfigTemplatesReader) 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