cmdb

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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 IdentifyReconcile API

func (*Client) CreateIdentifyReconcile

func (a *Client) CreateIdentifyReconcile(params *CreateIdentifyReconcileParams, opts ...ClientOption) (*CreateIdentifyReconcileCreated, error)

CreateIdentifyReconcile creates IdentifyReconcile

Create IdentifyReconcile

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

type ClientService

type ClientService interface {
	CreateIdentifyReconcile(params *CreateIdentifyReconcileParams, opts ...ClientOption) (*CreateIdentifyReconcileCreated, 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 IdentifyReconcile API client.

type CreateIdentifyReconcileBadRequest

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

Invalid Request - bad data

func NewCreateIdentifyReconcileBadRequest

func NewCreateIdentifyReconcileBadRequest() *CreateIdentifyReconcileBadRequest

NewCreateIdentifyReconcileBadRequest creates a CreateIdentifyReconcileBadRequest with default headers values

func (*CreateIdentifyReconcileBadRequest) Error

func (*CreateIdentifyReconcileBadRequest) GetPayload

type CreateIdentifyReconcileCreated

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

successful operation

func NewCreateIdentifyReconcileCreated

func NewCreateIdentifyReconcileCreated() *CreateIdentifyReconcileCreated

NewCreateIdentifyReconcileCreated creates a CreateIdentifyReconcileCreated with default headers values

func (*CreateIdentifyReconcileCreated) Error

func (*CreateIdentifyReconcileCreated) GetPayload

type CreateIdentifyReconcileForbidden

type CreateIdentifyReconcileForbidden struct {
	Payload *models.ServiceErrorResponse
}
CreateIdentifyReconcileForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateIdentifyReconcileForbidden

func NewCreateIdentifyReconcileForbidden() *CreateIdentifyReconcileForbidden

NewCreateIdentifyReconcileForbidden creates a CreateIdentifyReconcileForbidden with default headers values

func (*CreateIdentifyReconcileForbidden) Error

func (*CreateIdentifyReconcileForbidden) GetPayload

type CreateIdentifyReconcileParams

type CreateIdentifyReconcileParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Project Specification instance
	*/
	Body *models.IdentifyReconcileItemList

	SysparmDataSource *string

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

CreateProjectParams contains all the parameters to send to the API endpoint

for the create project operation.

Typically these are written to a http.Request.

func NewCreateIdentifyReconcileParams

func NewCreateIdentifyReconcileParams() *CreateIdentifyReconcileParams

NewCreateProjectParams creates a new CreateProjectParams 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 NewCreateIdentifyReconcileParamsWithContext

func NewCreateIdentifyReconcileParamsWithContext(ctx context.Context) *CreateIdentifyReconcileParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.

func NewCreateIdentifyReconcileParamsWithTimeout

func NewCreateIdentifyReconcileParamsWithTimeout(timeout time.Duration) *CreateIdentifyReconcileParams

NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.

func NewCreateIdentifyReconcilearamsWithHTTPClient

func NewCreateIdentifyReconcilearamsWithHTTPClient(client *http.Client) *CreateIdentifyReconcileParams

NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.

func (*CreateIdentifyReconcileParams) SetAPIVersion

func (o *CreateIdentifyReconcileParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create project params

func (*CreateIdentifyReconcileParams) SetBody

func (*CreateIdentifyReconcileParams) SetContext

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

SetContext adds the context to the create project params

func (*CreateIdentifyReconcileParams) SetDefaults

func (o *CreateIdentifyReconcileParams) SetDefaults()

SetDefaults hydrates default values in the create project params (not the query body).

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

func (*CreateIdentifyReconcileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create project params

func (*CreateIdentifyReconcileParams) SetSysParamDataSource

func (o *CreateIdentifyReconcileParams) SetSysParamDataSource(dataSource *string)

SetAPIVersion adds the apiVersion to the create project params

func (*CreateIdentifyReconcileParams) SetTimeout

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

SetTimeout adds the timeout to the create project params

func (*CreateIdentifyReconcileParams) WithAPIVersion

func (o *CreateIdentifyReconcileParams) WithAPIVersion(aPIVersion *string) *CreateIdentifyReconcileParams

WithAPIVersion adds the aPIVersion to the create project params

func (*CreateIdentifyReconcileParams) WithBody

WithBody adds the body to the create project params

func (*CreateIdentifyReconcileParams) WithContext

WithContext adds the context to the create project params

func (*CreateIdentifyReconcileParams) WithDefaults

WithDefaults hydrates default values in the create project params (not the query body).

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

func (*CreateIdentifyReconcileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create project params

func (*CreateIdentifyReconcileParams) WithSysParamDataSource

func (o *CreateIdentifyReconcileParams) WithSysParamDataSource(dataSource *string) *CreateIdentifyReconcileParams

func (*CreateIdentifyReconcileParams) WithTimeout

WithTimeout adds the timeout to the create project params

func (*CreateIdentifyReconcileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIdentifyReconcileReader

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

CreateIdentifyReconcileReader is a Reader for the CreateIdentifyReconcile structure.

func (*CreateIdentifyReconcileReader) ReadResponse

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