azure_plans

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 AssignUniqueAdminOK

type AssignUniqueAdminOK struct {
	Payload bool
}

AssignUniqueAdminOK handles this case 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*/
	AzurePlanID int32
	/*Body*/
	Body *models.AzureSubscriptionAssignAdmin
	/*ID*/
	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 values initialized.

func NewAssignUniqueAdminParamsWithContext

func NewAssignUniqueAdminParamsWithContext(ctx context.Context) *AssignUniqueAdminParams

NewAssignUniqueAdminParamsWithContext creates a new AssignUniqueAdminParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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*/
	AzurePlanID int32
	/*ID*/
	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 values initialized.

func NewCancelParamsWithContext

func NewCancelParamsWithContext(ctx context.Context) *CancelParams

NewCancelParamsWithContext creates a new CancelParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) (*AssignUniqueAdminOK, error)

AssignUniqueAdmin assign unique admin API

func (*Client) Cancel

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

Cancel cancel API

func (*Client) CreateSubscription

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

CreateSubscription create subscription API

func (*Client) Enable

func (a *Client) Enable(params *EnableParams, authInfo runtime.ClientAuthInfoWriter) (*EnableOK, error)

Enable enable API

func (*Client) GetSubscriptionByID

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

GetSubscriptionByID get subscription by Id API

func (*Client) PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable

PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable post API v1 azure plans azure plan ID azure subscriptions ID 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) (*UpdateSubscriptionOK, error)

UpdateSubscription update subscription API

type ClientService

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

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

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

	Enable(params *EnableParams, authInfo runtime.ClientAuthInfoWriter) (*EnableOK, error)

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

	PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable(params *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK, error)

	UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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*/
	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 values initialized.

func NewCreateSubscriptionParamsWithContext

func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithContext creates a new CreateSubscriptionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 EnableOK

type EnableOK struct {
	Payload *models.AzureSubscriptionUpdated
}

EnableOK handles this case with default header values.

Success

func NewEnableOK

func NewEnableOK() *EnableOK

NewEnableOK creates a EnableOK with default headers values

func (*EnableOK) Error

func (o *EnableOK) Error() string

func (*EnableOK) GetPayload

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

type EnableParams

type EnableParams struct {

	/*AzurePlanID*/
	AzurePlanID int32
	/*Body*/
	Body *models.AzureSubscriptionRename
	/*ID*/
	ID int32

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

EnableParams contains all the parameters to send to the API endpoint for the enable operation typically these are written to a http.Request

func NewEnableParams

func NewEnableParams() *EnableParams

NewEnableParams creates a new EnableParams object with the default values initialized.

func NewEnableParamsWithContext

func NewEnableParamsWithContext(ctx context.Context) *EnableParams

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

func NewEnableParamsWithHTTPClient

func NewEnableParamsWithHTTPClient(client *http.Client) *EnableParams

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

func NewEnableParamsWithTimeout

func NewEnableParamsWithTimeout(timeout time.Duration) *EnableParams

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

func (*EnableParams) SetAzurePlanID

func (o *EnableParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the enable params

func (*EnableParams) SetBody

func (o *EnableParams) SetBody(body *models.AzureSubscriptionRename)

SetBody adds the body to the enable params

func (*EnableParams) SetContext

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

SetContext adds the context to the enable params

func (*EnableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable params

func (*EnableParams) SetID

func (o *EnableParams) SetID(id int32)

SetID adds the id to the enable params

func (*EnableParams) SetTimeout

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

SetTimeout adds the timeout to the enable params

func (*EnableParams) WithAzurePlanID

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

WithAzurePlanID adds the azurePlanID to the enable params

func (*EnableParams) WithBody

WithBody adds the body to the enable params

func (*EnableParams) WithContext

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

WithContext adds the context to the enable params

func (*EnableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable params

func (*EnableParams) WithID

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

WithID adds the id to the enable params

func (*EnableParams) WithTimeout

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

WithTimeout adds the timeout to the enable params

func (*EnableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableReader

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

EnableReader is a Reader for the Enable structure.

func (*EnableReader) ReadResponse

func (o *EnableReader) 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 handles this case 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*/
	AzurePlanID int32
	/*ID*/
	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 values initialized.

func NewGetSubscriptionByIDParamsWithContext

func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithContext creates a new GetSubscriptionByIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetSubscriptionsOK

type GetSubscriptionsOK struct {
	Payload *models.APICollectionOfAzureSubscription
}

GetSubscriptionsOK handles this case with default header values.

Success

func NewGetSubscriptionsOK

func NewGetSubscriptionsOK() *GetSubscriptionsOK

NewGetSubscriptionsOK creates a GetSubscriptionsOK with default headers values

func (*GetSubscriptionsOK) Error

func (o *GetSubscriptionsOK) Error() string

func (*GetSubscriptionsOK) GetPayload

type GetSubscriptionsParams

type GetSubscriptionsParams struct {

	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*Search*/
	Search *string
	/*AzurePlanID*/
	AzurePlanID int32

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

GetSubscriptionsParams contains all the parameters to send to the API endpoint for the get subscriptions operation typically these are written to a http.Request

func NewGetSubscriptionsParams

func NewGetSubscriptionsParams() *GetSubscriptionsParams

NewGetSubscriptionsParams creates a new GetSubscriptionsParams object with the default values initialized.

func NewGetSubscriptionsParamsWithContext

func NewGetSubscriptionsParamsWithContext(ctx context.Context) *GetSubscriptionsParams

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

func NewGetSubscriptionsParamsWithHTTPClient

func NewGetSubscriptionsParamsWithHTTPClient(client *http.Client) *GetSubscriptionsParams

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

func NewGetSubscriptionsParamsWithTimeout

func NewGetSubscriptionsParamsWithTimeout(timeout time.Duration) *GetSubscriptionsParams

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

func (*GetSubscriptionsParams) SetAzurePlanID

func (o *GetSubscriptionsParams) SetAzurePlanID(azurePlanID int32)

SetAzurePlanID adds the azurePlanId to the get subscriptions params

func (*GetSubscriptionsParams) SetContext

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

SetContext adds the context to the get subscriptions params

func (*GetSubscriptionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscriptions params

func (*GetSubscriptionsParams) SetPage

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

SetPage adds the page to the get subscriptions params

func (*GetSubscriptionsParams) SetPageSize

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

SetPageSize adds the pageSize to the get subscriptions params

func (*GetSubscriptionsParams) SetSearch

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

SetSearch adds the search to the get subscriptions params

func (*GetSubscriptionsParams) SetTimeout

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

SetTimeout adds the timeout to the get subscriptions params

func (*GetSubscriptionsParams) WithAzurePlanID

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

WithAzurePlanID adds the azurePlanID to the get subscriptions params

func (*GetSubscriptionsParams) WithContext

WithContext adds the context to the get subscriptions params

func (*GetSubscriptionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscriptions params

func (*GetSubscriptionsParams) WithPage

WithPage adds the page to the get subscriptions params

func (*GetSubscriptionsParams) WithPageSize

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

WithPageSize adds the pageSize to the get subscriptions params

func (*GetSubscriptionsParams) WithSearch

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

WithSearch adds the search to the get subscriptions params

func (*GetSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the get subscriptions params

func (*GetSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionsReader

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

GetSubscriptionsReader is a Reader for the GetSubscriptions structure.

func (*GetSubscriptionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK

type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK struct {
	Payload *models.AzureSubscriptionUpdated
}

PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK handles this case with default header values.

Success

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK() *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK

NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK creates a PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK with default headers values

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK) Error

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK) GetPayload

type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams struct {

	/*AzurePlanID*/
	AzurePlanID int32
	/*ID*/
	ID int32

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

PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams contains all the parameters to send to the API endpoint for the post API v1 azure plans azure plan ID azure subscriptions ID enable operation typically these are written to a http.Request

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams() *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams creates a new PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams object with the default values initialized.

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithContext

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithContext(ctx context.Context) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

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

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithHTTPClient

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithHTTPClient(client *http.Client) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

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

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithTimeout

func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithTimeout(timeout time.Duration) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams

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

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetAzurePlanID

SetAzurePlanID adds the azurePlanId to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetContext

SetContext adds the context to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetID

SetID adds the id to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetTimeout

SetTimeout adds the timeout to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithAzurePlanID

WithAzurePlanID adds the azurePlanID to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithContext

WithContext adds the context to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithID

WithID adds the id to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithTimeout

WithTimeout adds the timeout to the post API v1 azure plans azure plan ID azure subscriptions ID enable params

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableReader

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

PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableReader is a Reader for the PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable structure.

func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableReader) ReadResponse

ReadResponse reads a server response into the received o.

type UpdateSubscriptionOK

type UpdateSubscriptionOK struct {
	Payload *models.AzureSubscription
}

UpdateSubscriptionOK handles this case 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*/
	AzurePlanID int32
	/*AzureSubscription*/
	AzureSubscription *models.PutAzureSubscription
	/*ID*/
	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 values initialized.

func NewUpdateSubscriptionParamsWithContext

func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithContext creates a new UpdateSubscriptionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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