azure_plans

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 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 AssignUniqueAdminOK

type AssignUniqueAdminOK struct {
	Payload bool
}
AssignUniqueAdminOK describes a response with status code 200, with default header values.

Success

func NewAssignUniqueAdminOK

func NewAssignUniqueAdminOK() *AssignUniqueAdminOK

NewAssignUniqueAdminOK creates a AssignUniqueAdminOK with default headers values

func (*AssignUniqueAdminOK) Error

func (o *AssignUniqueAdminOK) Error() string

func (*AssignUniqueAdminOK) GetPayload

func (o *AssignUniqueAdminOK) GetPayload() bool

type AssignUniqueAdminParams

type AssignUniqueAdminParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// Body.
	Body *models.AzureSubscriptionAssignAdmin

	// ID.
	//
	// Format: int32
	ID int32

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

AssignUniqueAdminParams contains all the parameters to send to the API endpoint

for the assign unique admin operation.

Typically these are written to a http.Request.

func NewAssignUniqueAdminParams

func NewAssignUniqueAdminParams() *AssignUniqueAdminParams

NewAssignUniqueAdminParams creates a new AssignUniqueAdminParams 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 NewAssignUniqueAdminParamsWithContext

func NewAssignUniqueAdminParamsWithContext(ctx context.Context) *AssignUniqueAdminParams

NewAssignUniqueAdminParamsWithContext creates a new AssignUniqueAdminParams object with the ability to set a context for a request.

func NewAssignUniqueAdminParamsWithHTTPClient

func NewAssignUniqueAdminParamsWithHTTPClient(client *http.Client) *AssignUniqueAdminParams

NewAssignUniqueAdminParamsWithHTTPClient creates a new AssignUniqueAdminParams object with the ability to set a custom HTTPClient for a request.

func NewAssignUniqueAdminParamsWithTimeout

func NewAssignUniqueAdminParamsWithTimeout(timeout time.Duration) *AssignUniqueAdminParams

NewAssignUniqueAdminParamsWithTimeout creates a new AssignUniqueAdminParams object with the ability to set a timeout on a request.

func (*AssignUniqueAdminParams) SetAzurePlanID

func (o *AssignUniqueAdminParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the assign unique admin params

func (*AssignUniqueAdminParams) SetBody

SetBody adds the body to the assign unique admin params

func (*AssignUniqueAdminParams) SetContext

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

SetContext adds the context to the assign unique admin params

func (*AssignUniqueAdminParams) SetDefaults

func (o *AssignUniqueAdminParams) SetDefaults()

SetDefaults hydrates default values in the assign unique admin params (not the query body).

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

func (*AssignUniqueAdminParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the assign unique admin params

func (*AssignUniqueAdminParams) SetID

func (o *AssignUniqueAdminParams) SetID(id int32)

SetID adds the id to the assign unique admin params

func (*AssignUniqueAdminParams) SetTimeout

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

SetTimeout adds the timeout to the assign unique admin params

func (*AssignUniqueAdminParams) WithAzurePlanID

func (o *AssignUniqueAdminParams) WithAzurePlanID(azurePlanID int32) *AssignUniqueAdminParams

WithAzurePlanID adds the azurePlanID to the assign unique admin params

func (*AssignUniqueAdminParams) WithBody

WithBody adds the body to the assign unique admin params

func (*AssignUniqueAdminParams) WithContext

WithContext adds the context to the assign unique admin params

func (*AssignUniqueAdminParams) WithDefaults

WithDefaults hydrates default values in the assign unique admin params (not the query body).

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

func (*AssignUniqueAdminParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the assign unique admin params

func (*AssignUniqueAdminParams) WithID

WithID adds the id to the assign unique admin params

func (*AssignUniqueAdminParams) WithTimeout

WithTimeout adds the timeout to the assign unique admin params

func (*AssignUniqueAdminParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AssignUniqueAdminReader

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

AssignUniqueAdminReader is a Reader for the AssignUniqueAdmin structure.

func (*AssignUniqueAdminReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelOK

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

Success

func NewCancelOK

func NewCancelOK() *CancelOK

NewCancelOK creates a CancelOK with default headers values

func (*CancelOK) Error

func (o *CancelOK) Error() string

func (*CancelOK) GetPayload

func (o *CancelOK) GetPayload() *models.AzureSubscriptionUpdated

type CancelParams

type CancelParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// ID.
	//
	// Format: int32
	ID int32

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

CancelParams contains all the parameters to send to the API endpoint

for the cancel operation.

Typically these are written to a http.Request.

func NewCancelParams

func NewCancelParams() *CancelParams

NewCancelParams creates a new CancelParams 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 NewCancelParamsWithContext

func NewCancelParamsWithContext(ctx context.Context) *CancelParams

NewCancelParamsWithContext creates a new CancelParams object with the ability to set a context for a request.

func NewCancelParamsWithHTTPClient

func NewCancelParamsWithHTTPClient(client *http.Client) *CancelParams

NewCancelParamsWithHTTPClient creates a new CancelParams object with the ability to set a custom HTTPClient for a request.

func NewCancelParamsWithTimeout

func NewCancelParamsWithTimeout(timeout time.Duration) *CancelParams

NewCancelParamsWithTimeout creates a new CancelParams object with the ability to set a timeout on a request.

func (*CancelParams) SetAzurePlanID

func (o *CancelParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the cancel params

func (*CancelParams) SetContext

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

SetContext adds the context to the cancel params

func (*CancelParams) SetDefaults

func (o *CancelParams) SetDefaults()

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

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

func (*CancelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel params

func (*CancelParams) SetID

func (o *CancelParams) SetID(id int32)

SetID adds the id to the cancel params

func (*CancelParams) SetTimeout

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

SetTimeout adds the timeout to the cancel params

func (*CancelParams) WithAzurePlanID

func (o *CancelParams) WithAzurePlanID(azurePlanID int32) *CancelParams

WithAzurePlanID adds the azurePlanID to the cancel params

func (*CancelParams) WithContext

func (o *CancelParams) WithContext(ctx context.Context) *CancelParams

WithContext adds the context to the cancel params

func (*CancelParams) WithDefaults

func (o *CancelParams) WithDefaults() *CancelParams

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

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

func (*CancelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cancel params

func (*CancelParams) WithID

func (o *CancelParams) WithID(id int32) *CancelParams

WithID adds the id to the cancel params

func (*CancelParams) WithTimeout

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

WithTimeout adds the timeout to the cancel params

func (*CancelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CancelReader

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

CancelReader is a Reader for the Cancel structure.

func (*CancelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for azure plans API

func (*Client) AssignUniqueAdmin

func (a *Client) AssignUniqueAdmin(params *AssignUniqueAdminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignUniqueAdminOK, error)

AssignUniqueAdmin assign unique admin API

func (*Client) Cancel

func (a *Client) Cancel(params *CancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelOK, error)

Cancel cancel API

func (*Client) CreateSubscription

func (a *Client) CreateSubscription(params *CreateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubscriptionOK, error)

CreateSubscription create subscription API

func (*Client) EnableAzurePlan

func (a *Client) EnableAzurePlan(params *EnableAzurePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableAzurePlanOK, error)

EnableAzurePlan enable azure plan API

func (*Client) GetAzureSubscriptions

func (a *Client) GetAzureSubscriptions(params *GetAzureSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureSubscriptionsOK, error)

GetAzureSubscriptions get azure subscriptions API

func (*Client) GetByID

func (a *Client) GetByID(params *GetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDOK, error)

GetByID get by Id API

func (*Client) GetSubscriptionByID

func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubscriptionByIDOK, error)

GetSubscriptionByID get subscription by Id API

func (*Client) PatchEnable

func (a *Client) PatchEnable(params *PatchEnableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEnableOK, error)

PatchEnable patch enable API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSubscription

func (a *Client) UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSubscriptionOK, error)

UpdateSubscription update subscription API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AssignUniqueAdmin(params *AssignUniqueAdminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignUniqueAdminOK, error)

	Cancel(params *CancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelOK, error)

	CreateSubscription(params *CreateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubscriptionOK, error)

	EnableAzurePlan(params *EnableAzurePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableAzurePlanOK, error)

	GetAzureSubscriptions(params *GetAzureSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureSubscriptionsOK, error)

	GetByID(params *GetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDOK, error)

	GetSubscriptionByID(params *GetSubscriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubscriptionByIDOK, error)

	PatchEnable(params *PatchEnableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEnableOK, error)

	UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSubscriptionOK, 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 azure plans API client.

type CreateSubscriptionOK

type CreateSubscriptionOK struct {
}
CreateSubscriptionOK describes a response with status code 200, with default header values.

Success

func NewCreateSubscriptionOK

func NewCreateSubscriptionOK() *CreateSubscriptionOK

NewCreateSubscriptionOK creates a CreateSubscriptionOK with default headers values

func (*CreateSubscriptionOK) Error

func (o *CreateSubscriptionOK) Error() string

type CreateSubscriptionParams

type CreateSubscriptionParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// RequestBody.
	RequestBody *models.CreateAzureSubscriptionRequest

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

CreateSubscriptionParams contains all the parameters to send to the API endpoint

for the create subscription operation.

Typically these are written to a http.Request.

func NewCreateSubscriptionParams

func NewCreateSubscriptionParams() *CreateSubscriptionParams

NewCreateSubscriptionParams creates a new CreateSubscriptionParams 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 NewCreateSubscriptionParamsWithContext

func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithContext creates a new CreateSubscriptionParams object with the ability to set a context for a request.

func NewCreateSubscriptionParamsWithHTTPClient

func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithHTTPClient creates a new CreateSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSubscriptionParamsWithTimeout

func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithTimeout creates a new CreateSubscriptionParams object with the ability to set a timeout on a request.

func (*CreateSubscriptionParams) SetAzurePlanID

func (o *CreateSubscriptionParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the create subscription params

func (*CreateSubscriptionParams) SetContext

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

SetContext adds the context to the create subscription params

func (*CreateSubscriptionParams) SetDefaults

func (o *CreateSubscriptionParams) SetDefaults()

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

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

func (*CreateSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) SetRequestBody

func (o *CreateSubscriptionParams) SetRequestBody(requestBody *models.CreateAzureSubscriptionRequest)

SetRequestBody adds the requestBody to the create subscription params

func (*CreateSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WithAzurePlanID

func (o *CreateSubscriptionParams) WithAzurePlanID(azurePlanID int32) *CreateSubscriptionParams

WithAzurePlanID adds the azurePlanID to the create subscription params

func (*CreateSubscriptionParams) WithContext

WithContext adds the context to the create subscription params

func (*CreateSubscriptionParams) WithDefaults

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

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

func (*CreateSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) WithRequestBody

WithRequestBody adds the requestBody to the create subscription params

func (*CreateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionReader

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

CreateSubscriptionReader is a Reader for the CreateSubscription structure.

func (*CreateSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableAzurePlanOK

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

Success

func NewEnableAzurePlanOK

func NewEnableAzurePlanOK() *EnableAzurePlanOK

NewEnableAzurePlanOK creates a EnableAzurePlanOK with default headers values

func (*EnableAzurePlanOK) Error

func (o *EnableAzurePlanOK) Error() string

func (*EnableAzurePlanOK) GetPayload

type EnableAzurePlanParams

type EnableAzurePlanParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// ID.
	//
	// Format: int32
	ID int32

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

EnableAzurePlanParams contains all the parameters to send to the API endpoint

for the enable azure plan operation.

Typically these are written to a http.Request.

func NewEnableAzurePlanParams

func NewEnableAzurePlanParams() *EnableAzurePlanParams

NewEnableAzurePlanParams creates a new EnableAzurePlanParams 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 NewEnableAzurePlanParamsWithContext

func NewEnableAzurePlanParamsWithContext(ctx context.Context) *EnableAzurePlanParams

NewEnableAzurePlanParamsWithContext creates a new EnableAzurePlanParams object with the ability to set a context for a request.

func NewEnableAzurePlanParamsWithHTTPClient

func NewEnableAzurePlanParamsWithHTTPClient(client *http.Client) *EnableAzurePlanParams

NewEnableAzurePlanParamsWithHTTPClient creates a new EnableAzurePlanParams object with the ability to set a custom HTTPClient for a request.

func NewEnableAzurePlanParamsWithTimeout

func NewEnableAzurePlanParamsWithTimeout(timeout time.Duration) *EnableAzurePlanParams

NewEnableAzurePlanParamsWithTimeout creates a new EnableAzurePlanParams object with the ability to set a timeout on a request.

func (*EnableAzurePlanParams) SetAzurePlanID

func (o *EnableAzurePlanParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the enable azure plan params

func (*EnableAzurePlanParams) SetContext

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

SetContext adds the context to the enable azure plan params

func (*EnableAzurePlanParams) SetDefaults

func (o *EnableAzurePlanParams) SetDefaults()

SetDefaults hydrates default values in the enable azure plan params (not the query body).

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

func (*EnableAzurePlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable azure plan params

func (*EnableAzurePlanParams) SetID

func (o *EnableAzurePlanParams) SetID(id int32)

SetID adds the id to the enable azure plan params

func (*EnableAzurePlanParams) SetTimeout

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

SetTimeout adds the timeout to the enable azure plan params

func (*EnableAzurePlanParams) WithAzurePlanID

func (o *EnableAzurePlanParams) WithAzurePlanID(azurePlanID int32) *EnableAzurePlanParams

WithAzurePlanID adds the azurePlanID to the enable azure plan params

func (*EnableAzurePlanParams) WithContext

WithContext adds the context to the enable azure plan params

func (*EnableAzurePlanParams) WithDefaults

func (o *EnableAzurePlanParams) WithDefaults() *EnableAzurePlanParams

WithDefaults hydrates default values in the enable azure plan params (not the query body).

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

func (*EnableAzurePlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable azure plan params

func (*EnableAzurePlanParams) WithID

WithID adds the id to the enable azure plan params

func (*EnableAzurePlanParams) WithTimeout

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

WithTimeout adds the timeout to the enable azure plan params

func (*EnableAzurePlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableAzurePlanReader

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

EnableAzurePlanReader is a Reader for the EnableAzurePlan structure.

func (*EnableAzurePlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAzureSubscriptionsOK

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

Success

func NewGetAzureSubscriptionsOK

func NewGetAzureSubscriptionsOK() *GetAzureSubscriptionsOK

NewGetAzureSubscriptionsOK creates a GetAzureSubscriptionsOK with default headers values

func (*GetAzureSubscriptionsOK) Error

func (o *GetAzureSubscriptionsOK) Error() string

func (*GetAzureSubscriptionsOK) GetPayload

type GetAzureSubscriptionsParams

type GetAzureSubscriptionsParams struct {

	// Page.
	//
	// Format: int32
	Page *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// Search.
	Search *string

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

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

GetAzureSubscriptionsParams contains all the parameters to send to the API endpoint

for the get azure subscriptions operation.

Typically these are written to a http.Request.

func NewGetAzureSubscriptionsParams

func NewGetAzureSubscriptionsParams() *GetAzureSubscriptionsParams

NewGetAzureSubscriptionsParams creates a new GetAzureSubscriptionsParams 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 NewGetAzureSubscriptionsParamsWithContext

func NewGetAzureSubscriptionsParamsWithContext(ctx context.Context) *GetAzureSubscriptionsParams

NewGetAzureSubscriptionsParamsWithContext creates a new GetAzureSubscriptionsParams object with the ability to set a context for a request.

func NewGetAzureSubscriptionsParamsWithHTTPClient

func NewGetAzureSubscriptionsParamsWithHTTPClient(client *http.Client) *GetAzureSubscriptionsParams

NewGetAzureSubscriptionsParamsWithHTTPClient creates a new GetAzureSubscriptionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAzureSubscriptionsParamsWithTimeout

func NewGetAzureSubscriptionsParamsWithTimeout(timeout time.Duration) *GetAzureSubscriptionsParams

NewGetAzureSubscriptionsParamsWithTimeout creates a new GetAzureSubscriptionsParams object with the ability to set a timeout on a request.

func (*GetAzureSubscriptionsParams) SetAzurePlanID

func (o *GetAzureSubscriptionsParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetContext

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

SetContext adds the context to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetDefaults

func (o *GetAzureSubscriptionsParams) SetDefaults()

SetDefaults hydrates default values in the get azure subscriptions params (not the query body).

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

func (*GetAzureSubscriptionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetPage

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

SetPage adds the page to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetPageSize

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

SetPageSize adds the pageSize to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetSearch

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

SetSearch adds the search to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) SetTimeout

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

SetTimeout adds the timeout to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithAzurePlanID

func (o *GetAzureSubscriptionsParams) WithAzurePlanID(azurePlanID int32) *GetAzureSubscriptionsParams

WithAzurePlanID adds the azurePlanID to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithContext

WithContext adds the context to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithDefaults

WithDefaults hydrates default values in the get azure subscriptions params (not the query body).

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

func (*GetAzureSubscriptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithPage

WithPage adds the page to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithPageSize

WithPageSize adds the pageSize to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithSearch

WithSearch adds the search to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the get azure subscriptions params

func (*GetAzureSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAzureSubscriptionsReader

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

GetAzureSubscriptionsReader is a Reader for the GetAzureSubscriptions structure.

func (*GetAzureSubscriptionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetByIDOK

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

Success

func NewGetByIDOK

func NewGetByIDOK() *GetByIDOK

NewGetByIDOK creates a GetByIDOK with default headers values

func (*GetByIDOK) Error

func (o *GetByIDOK) Error() string

func (*GetByIDOK) GetPayload

func (o *GetByIDOK) GetPayload() *models.AzurePlan

type GetByIDParams

type GetByIDParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

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

GetByIDParams contains all the parameters to send to the API endpoint

for the get by Id operation.

Typically these are written to a http.Request.

func NewGetByIDParams

func NewGetByIDParams() *GetByIDParams

NewGetByIDParams creates a new GetByIDParams 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 NewGetByIDParamsWithContext

func NewGetByIDParamsWithContext(ctx context.Context) *GetByIDParams

NewGetByIDParamsWithContext creates a new GetByIDParams object with the ability to set a context for a request.

func NewGetByIDParamsWithHTTPClient

func NewGetByIDParamsWithHTTPClient(client *http.Client) *GetByIDParams

NewGetByIDParamsWithHTTPClient creates a new GetByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetByIDParamsWithTimeout

func NewGetByIDParamsWithTimeout(timeout time.Duration) *GetByIDParams

NewGetByIDParamsWithTimeout creates a new GetByIDParams object with the ability to set a timeout on a request.

func (*GetByIDParams) SetAzurePlanID

func (o *GetByIDParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the get by Id params

func (*GetByIDParams) SetContext

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

SetContext adds the context to the get by Id params

func (*GetByIDParams) SetDefaults

func (o *GetByIDParams) SetDefaults()

SetDefaults hydrates default values in the get by Id params (not the query body).

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

func (*GetByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get by Id params

func (*GetByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get by Id params

func (*GetByIDParams) WithAzurePlanID

func (o *GetByIDParams) WithAzurePlanID(azurePlanID int32) *GetByIDParams

WithAzurePlanID adds the azurePlanID to the get by Id params

func (*GetByIDParams) WithContext

func (o *GetByIDParams) WithContext(ctx context.Context) *GetByIDParams

WithContext adds the context to the get by Id params

func (*GetByIDParams) WithDefaults

func (o *GetByIDParams) WithDefaults() *GetByIDParams

WithDefaults hydrates default values in the get by Id params (not the query body).

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

func (*GetByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get by Id params

func (*GetByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get by Id params

func (*GetByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetByIDReader

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

GetByIDReader is a Reader for the GetByID structure.

func (*GetByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionByIDOK

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

Success

func NewGetSubscriptionByIDOK

func NewGetSubscriptionByIDOK() *GetSubscriptionByIDOK

NewGetSubscriptionByIDOK creates a GetSubscriptionByIDOK with default headers values

func (*GetSubscriptionByIDOK) Error

func (o *GetSubscriptionByIDOK) Error() string

func (*GetSubscriptionByIDOK) GetPayload

type GetSubscriptionByIDParams

type GetSubscriptionByIDParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// ID.
	//
	// Format: int32
	ID int32

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

GetSubscriptionByIDParams contains all the parameters to send to the API endpoint

for the get subscription by Id operation.

Typically these are written to a http.Request.

func NewGetSubscriptionByIDParams

func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams

NewGetSubscriptionByIDParams creates a new GetSubscriptionByIDParams 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 NewGetSubscriptionByIDParamsWithContext

func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithContext creates a new GetSubscriptionByIDParams object with the ability to set a context for a request.

func NewGetSubscriptionByIDParamsWithHTTPClient

func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithHTTPClient creates a new GetSubscriptionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubscriptionByIDParamsWithTimeout

func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithTimeout creates a new GetSubscriptionByIDParams object with the ability to set a timeout on a request.

func (*GetSubscriptionByIDParams) SetAzurePlanID

func (o *GetSubscriptionByIDParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetContext

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

SetContext adds the context to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetDefaults

func (o *GetSubscriptionByIDParams) SetDefaults()

SetDefaults hydrates default values in the get subscription by Id params (not the query body).

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

func (*GetSubscriptionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetID

func (o *GetSubscriptionByIDParams) SetID(id int32)

SetID adds the id to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithAzurePlanID

func (o *GetSubscriptionByIDParams) WithAzurePlanID(azurePlanID int32) *GetSubscriptionByIDParams

WithAzurePlanID adds the azurePlanID to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithContext

WithContext adds the context to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithDefaults

WithDefaults hydrates default values in the get subscription by Id params (not the query body).

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

func (*GetSubscriptionByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithID

WithID adds the id to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the get subscription by Id params

func (*GetSubscriptionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionByIDReader

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

GetSubscriptionByIDReader is a Reader for the GetSubscriptionByID structure.

func (*GetSubscriptionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEnableOK

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

Success

func NewPatchEnableOK

func NewPatchEnableOK() *PatchEnableOK

NewPatchEnableOK creates a PatchEnableOK with default headers values

func (*PatchEnableOK) Error

func (o *PatchEnableOK) Error() string

func (*PatchEnableOK) GetPayload

type PatchEnableParams

type PatchEnableParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// Body.
	Body *models.AzureSubscriptionRename

	// ID.
	//
	// Format: int32
	ID int32

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

PatchEnableParams contains all the parameters to send to the API endpoint

for the patch enable operation.

Typically these are written to a http.Request.

func NewPatchEnableParams

func NewPatchEnableParams() *PatchEnableParams

NewPatchEnableParams creates a new PatchEnableParams 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 NewPatchEnableParamsWithContext

func NewPatchEnableParamsWithContext(ctx context.Context) *PatchEnableParams

NewPatchEnableParamsWithContext creates a new PatchEnableParams object with the ability to set a context for a request.

func NewPatchEnableParamsWithHTTPClient

func NewPatchEnableParamsWithHTTPClient(client *http.Client) *PatchEnableParams

NewPatchEnableParamsWithHTTPClient creates a new PatchEnableParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEnableParamsWithTimeout

func NewPatchEnableParamsWithTimeout(timeout time.Duration) *PatchEnableParams

NewPatchEnableParamsWithTimeout creates a new PatchEnableParams object with the ability to set a timeout on a request.

func (*PatchEnableParams) SetAzurePlanID

func (o *PatchEnableParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the patch enable params

func (*PatchEnableParams) SetBody

SetBody adds the body to the patch enable params

func (*PatchEnableParams) SetContext

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

SetContext adds the context to the patch enable params

func (*PatchEnableParams) SetDefaults

func (o *PatchEnableParams) SetDefaults()

SetDefaults hydrates default values in the patch enable params (not the query body).

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

func (*PatchEnableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch enable params

func (*PatchEnableParams) SetID

func (o *PatchEnableParams) SetID(id int32)

SetID adds the id to the patch enable params

func (*PatchEnableParams) SetTimeout

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

SetTimeout adds the timeout to the patch enable params

func (*PatchEnableParams) WithAzurePlanID

func (o *PatchEnableParams) WithAzurePlanID(azurePlanID int32) *PatchEnableParams

WithAzurePlanID adds the azurePlanID to the patch enable params

func (*PatchEnableParams) WithBody

WithBody adds the body to the patch enable params

func (*PatchEnableParams) WithContext

func (o *PatchEnableParams) WithContext(ctx context.Context) *PatchEnableParams

WithContext adds the context to the patch enable params

func (*PatchEnableParams) WithDefaults

func (o *PatchEnableParams) WithDefaults() *PatchEnableParams

WithDefaults hydrates default values in the patch enable params (not the query body).

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

func (*PatchEnableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch enable params

func (*PatchEnableParams) WithID

func (o *PatchEnableParams) WithID(id int32) *PatchEnableParams

WithID adds the id to the patch enable params

func (*PatchEnableParams) WithTimeout

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

WithTimeout adds the timeout to the patch enable params

func (*PatchEnableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchEnableReader

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

PatchEnableReader is a Reader for the PatchEnable structure.

func (*PatchEnableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSubscriptionOK

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

Success

func NewUpdateSubscriptionOK

func NewUpdateSubscriptionOK() *UpdateSubscriptionOK

NewUpdateSubscriptionOK creates a UpdateSubscriptionOK with default headers values

func (*UpdateSubscriptionOK) Error

func (o *UpdateSubscriptionOK) Error() string

func (*UpdateSubscriptionOK) GetPayload

type UpdateSubscriptionParams

type UpdateSubscriptionParams struct {

	// AzurePlanID.
	//
	// Format: int32
	AzurePlanID int32

	// AzureSubscription.
	AzureSubscription *models.PutAzureSubscription

	// ID.
	//
	// Format: int32
	ID int32

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

UpdateSubscriptionParams contains all the parameters to send to the API endpoint

for the update subscription operation.

Typically these are written to a http.Request.

func NewUpdateSubscriptionParams

func NewUpdateSubscriptionParams() *UpdateSubscriptionParams

NewUpdateSubscriptionParams creates a new UpdateSubscriptionParams 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 NewUpdateSubscriptionParamsWithContext

func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithContext creates a new UpdateSubscriptionParams object with the ability to set a context for a request.

func NewUpdateSubscriptionParamsWithHTTPClient

func NewUpdateSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithHTTPClient creates a new UpdateSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSubscriptionParamsWithTimeout

func NewUpdateSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithTimeout creates a new UpdateSubscriptionParams object with the ability to set a timeout on a request.

func (*UpdateSubscriptionParams) SetAzurePlanID

func (o *UpdateSubscriptionParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the update subscription params

func (*UpdateSubscriptionParams) SetAzureSubscription

func (o *UpdateSubscriptionParams) SetAzureSubscription(azureSubscription *models.PutAzureSubscription)

SetAzureSubscription adds the azureSubscription to the update subscription params

func (*UpdateSubscriptionParams) SetContext

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

SetContext adds the context to the update subscription params

func (*UpdateSubscriptionParams) SetDefaults

func (o *UpdateSubscriptionParams) SetDefaults()

SetDefaults hydrates default values in the update subscription params (not the query body).

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

func (*UpdateSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update subscription params

func (*UpdateSubscriptionParams) SetID

func (o *UpdateSubscriptionParams) SetID(id int32)

SetID adds the id to the update subscription params

func (*UpdateSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the update subscription params

func (*UpdateSubscriptionParams) WithAzurePlanID

func (o *UpdateSubscriptionParams) WithAzurePlanID(azurePlanID int32) *UpdateSubscriptionParams

WithAzurePlanID adds the azurePlanID to the update subscription params

func (*UpdateSubscriptionParams) WithAzureSubscription

func (o *UpdateSubscriptionParams) WithAzureSubscription(azureSubscription *models.PutAzureSubscription) *UpdateSubscriptionParams

WithAzureSubscription adds the azureSubscription to the update subscription params

func (*UpdateSubscriptionParams) WithContext

WithContext adds the context to the update subscription params

func (*UpdateSubscriptionParams) WithDefaults

WithDefaults hydrates default values in the update subscription params (not the query body).

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

func (*UpdateSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update subscription params

func (*UpdateSubscriptionParams) WithID

WithID adds the id to the update subscription params

func (*UpdateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the update subscription params

func (*UpdateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSubscriptionReader

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

UpdateSubscriptionReader is a Reader for the UpdateSubscription structure.

func (*UpdateSubscriptionReader) ReadResponse

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