aws_accounts

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 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 aws accounts API

func (*Client) GetAwsAccountByID

func (a *Client) GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountByIDOK, error)

GetAwsAccountByID get aws account by Id API

func (*Client) GetAwsAccounts

func (a *Client) GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountsOK, error)

GetAwsAccounts get aws accounts API

func (*Client) PutAwsAccounts added in v1.1.0

func (a *Client) PutAwsAccounts(params *PutAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PutAwsAccountsOK, error)

PutAwsAccounts put aws accounts API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountByIDOK, error)

	GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAwsAccountsOK, error)

	PutAwsAccounts(params *PutAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PutAwsAccountsOK, 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 aws accounts API client.

type GetAwsAccountByIDOK

type GetAwsAccountByIDOK struct {
	Payload *models.AwsAccount
}

GetAwsAccountByIDOK handles this case with default header values.

Success

func NewGetAwsAccountByIDOK

func NewGetAwsAccountByIDOK() *GetAwsAccountByIDOK

NewGetAwsAccountByIDOK creates a GetAwsAccountByIDOK with default headers values

func (*GetAwsAccountByIDOK) Error

func (o *GetAwsAccountByIDOK) Error() string

func (*GetAwsAccountByIDOK) GetPayload

func (o *GetAwsAccountByIDOK) GetPayload() *models.AwsAccount

type GetAwsAccountByIDParams

type GetAwsAccountByIDParams struct {

	/*ID*/
	ID int32

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

GetAwsAccountByIDParams contains all the parameters to send to the API endpoint for the get aws account by Id operation typically these are written to a http.Request

func NewGetAwsAccountByIDParams

func NewGetAwsAccountByIDParams() *GetAwsAccountByIDParams

NewGetAwsAccountByIDParams creates a new GetAwsAccountByIDParams object with the default values initialized.

func NewGetAwsAccountByIDParamsWithContext

func NewGetAwsAccountByIDParamsWithContext(ctx context.Context) *GetAwsAccountByIDParams

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

func NewGetAwsAccountByIDParamsWithHTTPClient

func NewGetAwsAccountByIDParamsWithHTTPClient(client *http.Client) *GetAwsAccountByIDParams

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

func NewGetAwsAccountByIDParamsWithTimeout

func NewGetAwsAccountByIDParamsWithTimeout(timeout time.Duration) *GetAwsAccountByIDParams

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

func (*GetAwsAccountByIDParams) SetContext

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

SetContext adds the context to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetID

func (o *GetAwsAccountByIDParams) SetID(id int32)

SetID adds the id to the get aws account by Id params

func (*GetAwsAccountByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithContext

WithContext adds the context to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithID

WithID adds the id to the get aws account by Id params

func (*GetAwsAccountByIDParams) WithTimeout

WithTimeout adds the timeout to the get aws account by Id params

func (*GetAwsAccountByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAwsAccountByIDReader

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

GetAwsAccountByIDReader is a Reader for the GetAwsAccountByID structure.

func (*GetAwsAccountByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAwsAccountsOK

type GetAwsAccountsOK struct {
	Payload *models.APICollectionOfAwsAccount
}

GetAwsAccountsOK handles this case with default header values.

Success

func NewGetAwsAccountsOK

func NewGetAwsAccountsOK() *GetAwsAccountsOK

NewGetAwsAccountsOK creates a GetAwsAccountsOK with default headers values

func (*GetAwsAccountsOK) Error

func (o *GetAwsAccountsOK) Error() string

func (*GetAwsAccountsOK) GetPayload

type GetAwsAccountsParams

type GetAwsAccountsParams struct {

	/*ConsumerID*/
	ConsumerID *int32
	/*CustomerTenantType*/
	CustomerTenantType *string
	/*OrganizationID*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*PublisherID*/
	PublisherID *int32
	/*Search*/
	Search *string

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

GetAwsAccountsParams contains all the parameters to send to the API endpoint for the get aws accounts operation typically these are written to a http.Request

func NewGetAwsAccountsParams

func NewGetAwsAccountsParams() *GetAwsAccountsParams

NewGetAwsAccountsParams creates a new GetAwsAccountsParams object with the default values initialized.

func NewGetAwsAccountsParamsWithContext

func NewGetAwsAccountsParamsWithContext(ctx context.Context) *GetAwsAccountsParams

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

func NewGetAwsAccountsParamsWithHTTPClient

func NewGetAwsAccountsParamsWithHTTPClient(client *http.Client) *GetAwsAccountsParams

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

func NewGetAwsAccountsParamsWithTimeout

func NewGetAwsAccountsParamsWithTimeout(timeout time.Duration) *GetAwsAccountsParams

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

func (*GetAwsAccountsParams) SetConsumerID

func (o *GetAwsAccountsParams) SetConsumerID(consumerID *int32)

SetConsumerID adds the consumerId to the get aws accounts params

func (*GetAwsAccountsParams) SetContext

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

SetContext adds the context to the get aws accounts params

func (*GetAwsAccountsParams) SetCustomerTenantType

func (o *GetAwsAccountsParams) SetCustomerTenantType(customerTenantType *string)

SetCustomerTenantType adds the customerTenantType to the get aws accounts params

func (*GetAwsAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get aws accounts params

func (*GetAwsAccountsParams) SetOrganizationID

func (o *GetAwsAccountsParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get aws accounts params

func (*GetAwsAccountsParams) SetPage

func (o *GetAwsAccountsParams) SetPage(page *int32)

SetPage adds the page to the get aws accounts params

func (*GetAwsAccountsParams) SetPageSize

func (o *GetAwsAccountsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get aws accounts params

func (*GetAwsAccountsParams) SetPublisherID

func (o *GetAwsAccountsParams) SetPublisherID(publisherID *int32)

SetPublisherID adds the publisherId to the get aws accounts params

func (*GetAwsAccountsParams) SetSearch

func (o *GetAwsAccountsParams) SetSearch(search *string)

SetSearch adds the search to the get aws accounts params

func (*GetAwsAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get aws accounts params

func (*GetAwsAccountsParams) WithConsumerID

func (o *GetAwsAccountsParams) WithConsumerID(consumerID *int32) *GetAwsAccountsParams

WithConsumerID adds the consumerID to the get aws accounts params

func (*GetAwsAccountsParams) WithContext

WithContext adds the context to the get aws accounts params

func (*GetAwsAccountsParams) WithCustomerTenantType

func (o *GetAwsAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetAwsAccountsParams

WithCustomerTenantType adds the customerTenantType to the get aws accounts params

func (*GetAwsAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get aws accounts params

func (*GetAwsAccountsParams) WithOrganizationID

func (o *GetAwsAccountsParams) WithOrganizationID(organizationID *int32) *GetAwsAccountsParams

WithOrganizationID adds the organizationID to the get aws accounts params

func (*GetAwsAccountsParams) WithPage

func (o *GetAwsAccountsParams) WithPage(page *int32) *GetAwsAccountsParams

WithPage adds the page to the get aws accounts params

func (*GetAwsAccountsParams) WithPageSize

func (o *GetAwsAccountsParams) WithPageSize(pageSize *int32) *GetAwsAccountsParams

WithPageSize adds the pageSize to the get aws accounts params

func (*GetAwsAccountsParams) WithPublisherID

func (o *GetAwsAccountsParams) WithPublisherID(publisherID *int32) *GetAwsAccountsParams

WithPublisherID adds the publisherID to the get aws accounts params

func (*GetAwsAccountsParams) WithSearch

func (o *GetAwsAccountsParams) WithSearch(search *string) *GetAwsAccountsParams

WithSearch adds the search to the get aws accounts params

func (*GetAwsAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the get aws accounts params

func (*GetAwsAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAwsAccountsReader

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

GetAwsAccountsReader is a Reader for the GetAwsAccounts structure.

func (*GetAwsAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAwsAccountsOK added in v1.1.0

type PutAwsAccountsOK struct {
	Payload *models.AwsAccount
}

PutAwsAccountsOK handles this case with default header values.

Success

func NewPutAwsAccountsOK added in v1.1.0

func NewPutAwsAccountsOK() *PutAwsAccountsOK

NewPutAwsAccountsOK creates a PutAwsAccountsOK with default headers values

func (*PutAwsAccountsOK) Error added in v1.1.0

func (o *PutAwsAccountsOK) Error() string

func (*PutAwsAccountsOK) GetPayload added in v1.1.0

func (o *PutAwsAccountsOK) GetPayload() *models.AwsAccount

type PutAwsAccountsParams added in v1.1.0

type PutAwsAccountsParams struct {

	/*AwsAccount*/
	AwsAccount *models.AwsAccount
	/*ID*/
	ID int32

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

PutAwsAccountsParams contains all the parameters to send to the API endpoint for the put aws accounts operation typically these are written to a http.Request

func NewPutAwsAccountsParams added in v1.1.0

func NewPutAwsAccountsParams() *PutAwsAccountsParams

NewPutAwsAccountsParams creates a new PutAwsAccountsParams object with the default values initialized.

func NewPutAwsAccountsParamsWithContext added in v1.1.0

func NewPutAwsAccountsParamsWithContext(ctx context.Context) *PutAwsAccountsParams

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

func NewPutAwsAccountsParamsWithHTTPClient added in v1.1.0

func NewPutAwsAccountsParamsWithHTTPClient(client *http.Client) *PutAwsAccountsParams

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

func NewPutAwsAccountsParamsWithTimeout added in v1.1.0

func NewPutAwsAccountsParamsWithTimeout(timeout time.Duration) *PutAwsAccountsParams

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

func (*PutAwsAccountsParams) SetAwsAccount added in v1.1.0

func (o *PutAwsAccountsParams) SetAwsAccount(awsAccount *models.AwsAccount)

SetAwsAccount adds the awsAccount to the put aws accounts params

func (*PutAwsAccountsParams) SetContext added in v1.1.0

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

SetContext adds the context to the put aws accounts params

func (*PutAwsAccountsParams) SetHTTPClient added in v1.1.0

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

SetHTTPClient adds the HTTPClient to the put aws accounts params

func (*PutAwsAccountsParams) SetID added in v1.1.0

func (o *PutAwsAccountsParams) SetID(id int32)

SetID adds the id to the put aws accounts params

func (*PutAwsAccountsParams) SetTimeout added in v1.1.0

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

SetTimeout adds the timeout to the put aws accounts params

func (*PutAwsAccountsParams) WithAwsAccount added in v1.1.0

func (o *PutAwsAccountsParams) WithAwsAccount(awsAccount *models.AwsAccount) *PutAwsAccountsParams

WithAwsAccount adds the awsAccount to the put aws accounts params

func (*PutAwsAccountsParams) WithContext added in v1.1.0

WithContext adds the context to the put aws accounts params

func (*PutAwsAccountsParams) WithHTTPClient added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the put aws accounts params

func (*PutAwsAccountsParams) WithID added in v1.1.0

WithID adds the id to the put aws accounts params

func (*PutAwsAccountsParams) WithTimeout added in v1.1.0

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

WithTimeout adds the timeout to the put aws accounts params

func (*PutAwsAccountsParams) WriteToRequest added in v1.1.0

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

WriteToRequest writes these params to a swagger request

type PutAwsAccountsReader added in v1.1.0

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

PutAwsAccountsReader is a Reader for the PutAwsAccounts structure.

func (*PutAwsAccountsReader) ReadResponse added in v1.1.0

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