Documentation ¶
Index ¶
- type AssignUniqueAdminOK
- type AssignUniqueAdminParams
- func NewAssignUniqueAdminParams() *AssignUniqueAdminParams
- func NewAssignUniqueAdminParamsWithContext(ctx context.Context) *AssignUniqueAdminParams
- func NewAssignUniqueAdminParamsWithHTTPClient(client *http.Client) *AssignUniqueAdminParams
- func NewAssignUniqueAdminParamsWithTimeout(timeout time.Duration) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) SetAzurePlanID(azurePlanID int32)
- func (o *AssignUniqueAdminParams) SetBody(body *models.AzureSubscriptionAssignAdmin)
- func (o *AssignUniqueAdminParams) SetContext(ctx context.Context)
- func (o *AssignUniqueAdminParams) SetHTTPClient(client *http.Client)
- func (o *AssignUniqueAdminParams) SetID(id int32)
- func (o *AssignUniqueAdminParams) SetTimeout(timeout time.Duration)
- func (o *AssignUniqueAdminParams) WithAzurePlanID(azurePlanID int32) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WithBody(body *models.AzureSubscriptionAssignAdmin) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WithContext(ctx context.Context) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WithHTTPClient(client *http.Client) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WithID(id int32) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WithTimeout(timeout time.Duration) *AssignUniqueAdminParams
- func (o *AssignUniqueAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignUniqueAdminReader
- type CancelOK
- type CancelParams
- func (o *CancelParams) SetAzurePlanID(azurePlanID int32)
- func (o *CancelParams) SetContext(ctx context.Context)
- func (o *CancelParams) SetHTTPClient(client *http.Client)
- func (o *CancelParams) SetID(id int32)
- func (o *CancelParams) SetTimeout(timeout time.Duration)
- func (o *CancelParams) WithAzurePlanID(azurePlanID int32) *CancelParams
- func (o *CancelParams) WithContext(ctx context.Context) *CancelParams
- func (o *CancelParams) WithHTTPClient(client *http.Client) *CancelParams
- func (o *CancelParams) WithID(id int32) *CancelParams
- func (o *CancelParams) WithTimeout(timeout time.Duration) *CancelParams
- func (o *CancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelReader
- type Client
- func (a *Client) AssignUniqueAdmin(params *AssignUniqueAdminParams, authInfo runtime.ClientAuthInfoWriter) (*AssignUniqueAdminOK, error)
- func (a *Client) Cancel(params *CancelParams, authInfo runtime.ClientAuthInfoWriter) (*CancelOK, error)
- func (a *Client) CreateSubscription(params *CreateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSubscriptionOK, error)
- func (a *Client) Enable(params *EnableParams, authInfo runtime.ClientAuthInfoWriter) (*EnableOK, error)
- func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionByIDOK, error)
- func (a *Client) PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable(params *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams, ...) (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSubscriptionOK, error)
- type ClientService
- type CreateSubscriptionOK
- type CreateSubscriptionParams
- func NewCreateSubscriptionParams() *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) SetAzurePlanID(azurePlanID int32)
- func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionParams) SetRequestBody(requestBody *models.CreateAzureSubscriptionRequest)
- func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionParams) WithAzurePlanID(azurePlanID int32) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithRequestBody(requestBody *models.CreateAzureSubscriptionRequest) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionReader
- type EnableOK
- type EnableParams
- func (o *EnableParams) SetAzurePlanID(azurePlanID int32)
- func (o *EnableParams) SetBody(body *models.AzureSubscriptionRename)
- func (o *EnableParams) SetContext(ctx context.Context)
- func (o *EnableParams) SetHTTPClient(client *http.Client)
- func (o *EnableParams) SetID(id int32)
- func (o *EnableParams) SetTimeout(timeout time.Duration)
- func (o *EnableParams) WithAzurePlanID(azurePlanID int32) *EnableParams
- func (o *EnableParams) WithBody(body *models.AzureSubscriptionRename) *EnableParams
- func (o *EnableParams) WithContext(ctx context.Context) *EnableParams
- func (o *EnableParams) WithHTTPClient(client *http.Client) *EnableParams
- func (o *EnableParams) WithID(id int32) *EnableParams
- func (o *EnableParams) WithTimeout(timeout time.Duration) *EnableParams
- func (o *EnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableReader
- type GetSubscriptionByIDOK
- type GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) SetAzurePlanID(azurePlanID int32)
- func (o *GetSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionByIDParams) SetID(id int32)
- func (o *GetSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionByIDParams) WithAzurePlanID(azurePlanID int32) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithID(id int32) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionByIDReader
- type GetSubscriptionsOK
- type GetSubscriptionsParams
- func NewGetSubscriptionsParams() *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithContext(ctx context.Context) *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithHTTPClient(client *http.Client) *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithTimeout(timeout time.Duration) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) SetAzurePlanID(azurePlanID int32)
- func (o *GetSubscriptionsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionsParams) SetPage(page *int32)
- func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32)
- func (o *GetSubscriptionsParams) SetSearch(search *string)
- func (o *GetSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionsParams) WithAzurePlanID(azurePlanID int32) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithContext(ctx context.Context) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithHTTPClient(client *http.Client) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithPage(page *int32) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithPageSize(pageSize *int32) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithSearch(search *string) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithTimeout(timeout time.Duration) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionsReader
- type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK
- type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams() *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithContext(ctx context.Context) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithHTTPClient(client *http.Client) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func NewPostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParamsWithTimeout(timeout time.Duration) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetAzurePlanID(azurePlanID int32)
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetContext(ctx context.Context)
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetID(id int32)
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithAzurePlanID(azurePlanID int32) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithContext(ctx context.Context) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithHTTPClient(client *http.Client) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithID(id int32) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithTimeout(timeout time.Duration) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
- func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableReader
- type UpdateSubscriptionOK
- type UpdateSubscriptionParams
- func NewUpdateSubscriptionParams() *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) SetAzurePlanID(azurePlanID int32)
- func (o *UpdateSubscriptionParams) SetAzureSubscription(azureSubscription *models.PutAzureSubscription)
- func (o *UpdateSubscriptionParams) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionParams) SetID(id int32)
- func (o *UpdateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionParams) WithAzurePlanID(azurePlanID int32) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithAzureSubscription(azureSubscription *models.PutAzureSubscription) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithContext(ctx context.Context) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithID(id int32) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionReader
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 ¶
func (o *AssignUniqueAdminParams) SetBody(body *models.AzureSubscriptionAssignAdmin)
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 ¶
func (o *AssignUniqueAdminParams) WithBody(body *models.AzureSubscriptionAssignAdmin) *AssignUniqueAdminParams
WithBody adds the body to the assign unique admin params
func (*AssignUniqueAdminParams) WithContext ¶
func (o *AssignUniqueAdminParams) WithContext(ctx context.Context) *AssignUniqueAdminParams
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 ¶
func (o *AssignUniqueAdminParams) WithID(id int32) *AssignUniqueAdminParams
WithID adds the id to the assign unique admin params
func (*AssignUniqueAdminParams) WithTimeout ¶
func (o *AssignUniqueAdminParams) WithTimeout(timeout time.Duration) *AssignUniqueAdminParams
WithTimeout adds the timeout to the assign unique admin params
func (*AssignUniqueAdminParams) WriteToRequest ¶
func (o *AssignUniqueAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) 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 ¶
func (a *Client) PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnable(params *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK, error)
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 ¶
func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithRequestBody(requestBody *models.CreateAzureSubscriptionRequest) *CreateSubscriptionParams
WithRequestBody adds the requestBody to the create subscription params
func (*CreateSubscriptionParams) WithTimeout ¶
func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
WithTimeout adds the timeout to the create subscription params
func (*CreateSubscriptionParams) WriteToRequest ¶
func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) 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 ¶
func (o *EnableParams) WithBody(body *models.AzureSubscriptionRename) *EnableParams
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 ¶
func (o *GetSubscriptionByIDOK) GetPayload() *models.AzureSubscription
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 ¶
func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
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 ¶
func (o *GetSubscriptionByIDParams) WithID(id int32) *GetSubscriptionByIDParams
WithID adds the id to the get subscription by Id params
func (*GetSubscriptionByIDParams) WithTimeout ¶
func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
WithTimeout adds the timeout to the get subscription by Id params
func (*GetSubscriptionByIDParams) WriteToRequest ¶
func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSubscriptionsOK) GetPayload() *models.APICollectionOfAzureSubscription
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 ¶
func (o *GetSubscriptionsParams) WithContext(ctx context.Context) *GetSubscriptionsParams
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 ¶
func (o *GetSubscriptionsParams) WithPage(page *int32) *GetSubscriptionsParams
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 ¶
func (o *GetSubscriptionsParams) WithTimeout(timeout time.Duration) *GetSubscriptionsParams
WithTimeout adds the timeout to the get subscriptions params
func (*GetSubscriptionsParams) WriteToRequest ¶
func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK) Error() string
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK) GetPayload ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableOK) GetPayload() *models.AzureSubscriptionUpdated
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 ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetAzurePlanID(azurePlanID int32)
SetAzurePlanID adds the azurePlanId to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetContext ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetHTTPClient ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetID ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetID(id int32)
SetID adds the id to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetTimeout ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithAzurePlanID ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithAzurePlanID(azurePlanID int32) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
WithAzurePlanID adds the azurePlanID to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithContext ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithContext(ctx context.Context) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
WithContext adds the context to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithHTTPClient ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithHTTPClient(client *http.Client) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
WithHTTPClient adds the HTTPClient to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithID ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithID(id int32) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
WithID adds the id to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithTimeout ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WithTimeout(timeout time.Duration) *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams
WithTimeout adds the timeout to the post API v1 azure plans azure plan ID azure subscriptions ID enable params
func (*PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WriteToRequest ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIV1AzurePlansAzurePlanIDAzureSubscriptionsIDEnableReader) 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 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 ¶
func (o *UpdateSubscriptionOK) GetPayload() *models.AzureSubscription
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 ¶
func (o *UpdateSubscriptionParams) WithContext(ctx context.Context) *UpdateSubscriptionParams
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 ¶
func (o *UpdateSubscriptionParams) WithID(id int32) *UpdateSubscriptionParams
WithID adds the id to the update subscription params
func (*UpdateSubscriptionParams) WithTimeout ¶
func (o *UpdateSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionParams
WithTimeout adds the timeout to the update subscription params
func (*UpdateSubscriptionParams) WriteToRequest ¶
func (o *UpdateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- assign_unique_admin_parameters.go
- assign_unique_admin_responses.go
- azure_plans_client.go
- cancel_parameters.go
- cancel_responses.go
- create_subscription_parameters.go
- create_subscription_responses.go
- enable_parameters.go
- enable_responses.go
- get_subscription_by_id_parameters.go
- get_subscription_by_id_responses.go
- get_subscriptions_parameters.go
- get_subscriptions_responses.go
- post_api_v1_azure_plans_azure_plan_id_azure_subscriptions_id_enable_parameters.go
- post_api_v1_azure_plans_azure_plan_id_azure_subscriptions_id_enable_responses.go
- update_subscription_parameters.go
- update_subscription_responses.go