Documentation ¶
Index ¶
- type AddCreditsBadRequest
- type AddCreditsForbidden
- type AddCreditsNotFound
- type AddCreditsOK
- type AddCreditsParams
- func (o *AddCreditsParams) SetAddCredits(addCredits *models.AddCredits)
- func (o *AddCreditsParams) SetChildID(childID int64)
- func (o *AddCreditsParams) SetContext(ctx context.Context)
- func (o *AddCreditsParams) SetHTTPClient(client *http.Client)
- func (o *AddCreditsParams) SetTimeout(timeout time.Duration)
- func (o *AddCreditsParams) WithAddCredits(addCredits *models.AddCredits) *AddCreditsParams
- func (o *AddCreditsParams) WithChildID(childID int64) *AddCreditsParams
- func (o *AddCreditsParams) WithContext(ctx context.Context) *AddCreditsParams
- func (o *AddCreditsParams) WithHTTPClient(client *http.Client) *AddCreditsParams
- func (o *AddCreditsParams) WithTimeout(timeout time.Duration) *AddCreditsParams
- func (o *AddCreditsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddCreditsReader
- type AssociateIPToChildBadRequest
- type AssociateIPToChildNoContent
- type AssociateIPToChildNotFound
- type AssociateIPToChildParams
- func NewAssociateIPToChildParams() *AssociateIPToChildParams
- func NewAssociateIPToChildParamsWithContext(ctx context.Context) *AssociateIPToChildParams
- func NewAssociateIPToChildParamsWithHTTPClient(client *http.Client) *AssociateIPToChildParams
- func NewAssociateIPToChildParamsWithTimeout(timeout time.Duration) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) SetChildID(childID int64)
- func (o *AssociateIPToChildParams) SetContext(ctx context.Context)
- func (o *AssociateIPToChildParams) SetHTTPClient(client *http.Client)
- func (o *AssociateIPToChildParams) SetIPID(iPID *models.ManageIP)
- func (o *AssociateIPToChildParams) SetTimeout(timeout time.Duration)
- func (o *AssociateIPToChildParams) WithChildID(childID int64) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) WithContext(ctx context.Context) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) WithHTTPClient(client *http.Client) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) WithIPID(iPID *models.ManageIP) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) WithTimeout(timeout time.Duration) *AssociateIPToChildParams
- func (o *AssociateIPToChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssociateIPToChildReader
- type Client
- func (a *Client) AddCredits(params *AddCreditsParams, authInfo runtime.ClientAuthInfoWriter) (*AddCreditsOK, error)
- func (a *Client) AssociateIPToChild(params *AssociateIPToChildParams, authInfo runtime.ClientAuthInfoWriter) (*AssociateIPToChildNoContent, error)
- func (a *Client) CreateResellerChild(params *CreateResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*CreateResellerChildCreated, error)
- func (a *Client) DeleteResellerChild(params *DeleteResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteResellerChildNoContent, error)
- func (a *Client) DissociateIPFromChild(params *DissociateIPFromChildParams, authInfo runtime.ClientAuthInfoWriter) (*DissociateIPFromChildNoContent, error)
- func (a *Client) GetChildInfo(params *GetChildInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildInfoOK, error)
- func (a *Client) GetResellerChilds(params *GetResellerChildsParams, authInfo runtime.ClientAuthInfoWriter) (*GetResellerChildsOK, error)
- func (a *Client) RemoveCredits(params *RemoveCreditsParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveCreditsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateResellerChild(params *UpdateResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateResellerChildNoContent, error)
- type CreateResellerChildBadRequest
- type CreateResellerChildCreated
- type CreateResellerChildForbidden
- type CreateResellerChildParams
- func NewCreateResellerChildParams() *CreateResellerChildParams
- func NewCreateResellerChildParamsWithContext(ctx context.Context) *CreateResellerChildParams
- func NewCreateResellerChildParamsWithHTTPClient(client *http.Client) *CreateResellerChildParams
- func NewCreateResellerChildParamsWithTimeout(timeout time.Duration) *CreateResellerChildParams
- func (o *CreateResellerChildParams) SetContext(ctx context.Context)
- func (o *CreateResellerChildParams) SetHTTPClient(client *http.Client)
- func (o *CreateResellerChildParams) SetResellerChild(resellerChild *models.CreateChild)
- func (o *CreateResellerChildParams) SetTimeout(timeout time.Duration)
- func (o *CreateResellerChildParams) WithContext(ctx context.Context) *CreateResellerChildParams
- func (o *CreateResellerChildParams) WithHTTPClient(client *http.Client) *CreateResellerChildParams
- func (o *CreateResellerChildParams) WithResellerChild(resellerChild *models.CreateChild) *CreateResellerChildParams
- func (o *CreateResellerChildParams) WithTimeout(timeout time.Duration) *CreateResellerChildParams
- func (o *CreateResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateResellerChildReader
- type DeleteResellerChildBadRequest
- type DeleteResellerChildForbidden
- type DeleteResellerChildNoContent
- type DeleteResellerChildNotFound
- type DeleteResellerChildParams
- func NewDeleteResellerChildParams() *DeleteResellerChildParams
- func NewDeleteResellerChildParamsWithContext(ctx context.Context) *DeleteResellerChildParams
- func NewDeleteResellerChildParamsWithHTTPClient(client *http.Client) *DeleteResellerChildParams
- func NewDeleteResellerChildParamsWithTimeout(timeout time.Duration) *DeleteResellerChildParams
- func (o *DeleteResellerChildParams) SetChildID(childID int64)
- func (o *DeleteResellerChildParams) SetContext(ctx context.Context)
- func (o *DeleteResellerChildParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResellerChildParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResellerChildParams) WithChildID(childID int64) *DeleteResellerChildParams
- func (o *DeleteResellerChildParams) WithContext(ctx context.Context) *DeleteResellerChildParams
- func (o *DeleteResellerChildParams) WithHTTPClient(client *http.Client) *DeleteResellerChildParams
- func (o *DeleteResellerChildParams) WithTimeout(timeout time.Duration) *DeleteResellerChildParams
- func (o *DeleteResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResellerChildReader
- type DissociateIPFromChildBadRequest
- type DissociateIPFromChildNoContent
- type DissociateIPFromChildNotFound
- type DissociateIPFromChildParams
- func NewDissociateIPFromChildParams() *DissociateIPFromChildParams
- func NewDissociateIPFromChildParamsWithContext(ctx context.Context) *DissociateIPFromChildParams
- func NewDissociateIPFromChildParamsWithHTTPClient(client *http.Client) *DissociateIPFromChildParams
- func NewDissociateIPFromChildParamsWithTimeout(timeout time.Duration) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) SetChildID(childID int64)
- func (o *DissociateIPFromChildParams) SetContext(ctx context.Context)
- func (o *DissociateIPFromChildParams) SetHTTPClient(client *http.Client)
- func (o *DissociateIPFromChildParams) SetIPID(iPID *models.ManageIP)
- func (o *DissociateIPFromChildParams) SetTimeout(timeout time.Duration)
- func (o *DissociateIPFromChildParams) WithChildID(childID int64) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) WithContext(ctx context.Context) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) WithHTTPClient(client *http.Client) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) WithIPID(iPID *models.ManageIP) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) WithTimeout(timeout time.Duration) *DissociateIPFromChildParams
- func (o *DissociateIPFromChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DissociateIPFromChildReader
- type GetChildInfoBadRequest
- type GetChildInfoForbidden
- type GetChildInfoNotFound
- type GetChildInfoOK
- type GetChildInfoParams
- func (o *GetChildInfoParams) SetChildID(childID int64)
- func (o *GetChildInfoParams) SetContext(ctx context.Context)
- func (o *GetChildInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetChildInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetChildInfoParams) WithChildID(childID int64) *GetChildInfoParams
- func (o *GetChildInfoParams) WithContext(ctx context.Context) *GetChildInfoParams
- func (o *GetChildInfoParams) WithHTTPClient(client *http.Client) *GetChildInfoParams
- func (o *GetChildInfoParams) WithTimeout(timeout time.Duration) *GetChildInfoParams
- func (o *GetChildInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChildInfoReader
- type GetResellerChildsForbidden
- type GetResellerChildsOK
- type GetResellerChildsParams
- func NewGetResellerChildsParams() *GetResellerChildsParams
- func NewGetResellerChildsParamsWithContext(ctx context.Context) *GetResellerChildsParams
- func NewGetResellerChildsParamsWithHTTPClient(client *http.Client) *GetResellerChildsParams
- func NewGetResellerChildsParamsWithTimeout(timeout time.Duration) *GetResellerChildsParams
- func (o *GetResellerChildsParams) SetContext(ctx context.Context)
- func (o *GetResellerChildsParams) SetHTTPClient(client *http.Client)
- func (o *GetResellerChildsParams) SetTimeout(timeout time.Duration)
- func (o *GetResellerChildsParams) WithContext(ctx context.Context) *GetResellerChildsParams
- func (o *GetResellerChildsParams) WithHTTPClient(client *http.Client) *GetResellerChildsParams
- func (o *GetResellerChildsParams) WithTimeout(timeout time.Duration) *GetResellerChildsParams
- func (o *GetResellerChildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResellerChildsReader
- type RemoveCreditsBadRequest
- type RemoveCreditsForbidden
- type RemoveCreditsNotFound
- type RemoveCreditsOK
- type RemoveCreditsParams
- func (o *RemoveCreditsParams) SetChildID(childID int64)
- func (o *RemoveCreditsParams) SetContext(ctx context.Context)
- func (o *RemoveCreditsParams) SetHTTPClient(client *http.Client)
- func (o *RemoveCreditsParams) SetRemoveCredits(removeCredits *models.RemoveCredits)
- func (o *RemoveCreditsParams) SetTimeout(timeout time.Duration)
- func (o *RemoveCreditsParams) WithChildID(childID int64) *RemoveCreditsParams
- func (o *RemoveCreditsParams) WithContext(ctx context.Context) *RemoveCreditsParams
- func (o *RemoveCreditsParams) WithHTTPClient(client *http.Client) *RemoveCreditsParams
- func (o *RemoveCreditsParams) WithRemoveCredits(removeCredits *models.RemoveCredits) *RemoveCreditsParams
- func (o *RemoveCreditsParams) WithTimeout(timeout time.Duration) *RemoveCreditsParams
- func (o *RemoveCreditsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveCreditsReader
- type UpdateResellerChildBadRequest
- type UpdateResellerChildForbidden
- type UpdateResellerChildNoContent
- type UpdateResellerChildNotFound
- type UpdateResellerChildParams
- func NewUpdateResellerChildParams() *UpdateResellerChildParams
- func NewUpdateResellerChildParamsWithContext(ctx context.Context) *UpdateResellerChildParams
- func NewUpdateResellerChildParamsWithHTTPClient(client *http.Client) *UpdateResellerChildParams
- func NewUpdateResellerChildParamsWithTimeout(timeout time.Duration) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) SetChildID(childID int64)
- func (o *UpdateResellerChildParams) SetContext(ctx context.Context)
- func (o *UpdateResellerChildParams) SetHTTPClient(client *http.Client)
- func (o *UpdateResellerChildParams) SetResellerChild(resellerChild *models.UpdateChild)
- func (o *UpdateResellerChildParams) SetTimeout(timeout time.Duration)
- func (o *UpdateResellerChildParams) WithChildID(childID int64) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) WithContext(ctx context.Context) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) WithHTTPClient(client *http.Client) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) WithResellerChild(resellerChild *models.UpdateChild) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) WithTimeout(timeout time.Duration) *UpdateResellerChildParams
- func (o *UpdateResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateResellerChildReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCreditsBadRequest ¶
type AddCreditsBadRequest struct {
Payload *models.ErrorModel
}
AddCreditsBadRequest handles this case with default header values.
bad request
func NewAddCreditsBadRequest ¶
func NewAddCreditsBadRequest() *AddCreditsBadRequest
NewAddCreditsBadRequest creates a AddCreditsBadRequest with default headers values
func (*AddCreditsBadRequest) Error ¶
func (o *AddCreditsBadRequest) Error() string
type AddCreditsForbidden ¶
type AddCreditsForbidden struct {
Payload *models.ErrorModel
}
AddCreditsForbidden handles this case with default header values.
Current account is not a reseller
func NewAddCreditsForbidden ¶
func NewAddCreditsForbidden() *AddCreditsForbidden
NewAddCreditsForbidden creates a AddCreditsForbidden with default headers values
func (*AddCreditsForbidden) Error ¶
func (o *AddCreditsForbidden) Error() string
type AddCreditsNotFound ¶
type AddCreditsNotFound struct {
Payload *models.ErrorModel
}
AddCreditsNotFound handles this case with default header values.
Child ID not found
func NewAddCreditsNotFound ¶
func NewAddCreditsNotFound() *AddCreditsNotFound
NewAddCreditsNotFound creates a AddCreditsNotFound with default headers values
func (*AddCreditsNotFound) Error ¶
func (o *AddCreditsNotFound) Error() string
type AddCreditsOK ¶
type AddCreditsOK struct {
Payload *models.RemainingCreditModel
}
AddCreditsOK handles this case with default header values.
Credits added
func NewAddCreditsOK ¶
func NewAddCreditsOK() *AddCreditsOK
NewAddCreditsOK creates a AddCreditsOK with default headers values
func (*AddCreditsOK) Error ¶
func (o *AddCreditsOK) Error() string
type AddCreditsParams ¶
type AddCreditsParams struct { /*AddCredits Values to post to add credit to a specific child account */ AddCredits *models.AddCredits /*ChildID id of reseller's child */ ChildID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddCreditsParams contains all the parameters to send to the API endpoint for the add credits operation typically these are written to a http.Request
func NewAddCreditsParams ¶
func NewAddCreditsParams() *AddCreditsParams
NewAddCreditsParams creates a new AddCreditsParams object with the default values initialized.
func NewAddCreditsParamsWithContext ¶
func NewAddCreditsParamsWithContext(ctx context.Context) *AddCreditsParams
NewAddCreditsParamsWithContext creates a new AddCreditsParams object with the default values initialized, and the ability to set a context for a request
func NewAddCreditsParamsWithHTTPClient ¶
func NewAddCreditsParamsWithHTTPClient(client *http.Client) *AddCreditsParams
NewAddCreditsParamsWithHTTPClient creates a new AddCreditsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddCreditsParamsWithTimeout ¶
func NewAddCreditsParamsWithTimeout(timeout time.Duration) *AddCreditsParams
NewAddCreditsParamsWithTimeout creates a new AddCreditsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddCreditsParams) SetAddCredits ¶
func (o *AddCreditsParams) SetAddCredits(addCredits *models.AddCredits)
SetAddCredits adds the addCredits to the add credits params
func (*AddCreditsParams) SetChildID ¶
func (o *AddCreditsParams) SetChildID(childID int64)
SetChildID adds the childId to the add credits params
func (*AddCreditsParams) SetContext ¶
func (o *AddCreditsParams) SetContext(ctx context.Context)
SetContext adds the context to the add credits params
func (*AddCreditsParams) SetHTTPClient ¶
func (o *AddCreditsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add credits params
func (*AddCreditsParams) SetTimeout ¶
func (o *AddCreditsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add credits params
func (*AddCreditsParams) WithAddCredits ¶
func (o *AddCreditsParams) WithAddCredits(addCredits *models.AddCredits) *AddCreditsParams
WithAddCredits adds the addCredits to the add credits params
func (*AddCreditsParams) WithChildID ¶
func (o *AddCreditsParams) WithChildID(childID int64) *AddCreditsParams
WithChildID adds the childID to the add credits params
func (*AddCreditsParams) WithContext ¶
func (o *AddCreditsParams) WithContext(ctx context.Context) *AddCreditsParams
WithContext adds the context to the add credits params
func (*AddCreditsParams) WithHTTPClient ¶
func (o *AddCreditsParams) WithHTTPClient(client *http.Client) *AddCreditsParams
WithHTTPClient adds the HTTPClient to the add credits params
func (*AddCreditsParams) WithTimeout ¶
func (o *AddCreditsParams) WithTimeout(timeout time.Duration) *AddCreditsParams
WithTimeout adds the timeout to the add credits params
func (*AddCreditsParams) WriteToRequest ¶
func (o *AddCreditsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddCreditsReader ¶
type AddCreditsReader struct {
// contains filtered or unexported fields
}
AddCreditsReader is a Reader for the AddCredits structure.
func (*AddCreditsReader) ReadResponse ¶
func (o *AddCreditsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssociateIPToChildBadRequest ¶
type AssociateIPToChildBadRequest struct {
Payload *models.ErrorModel
}
AssociateIPToChildBadRequest handles this case with default header values.
Dedicated IP is not associated to this child
func NewAssociateIPToChildBadRequest ¶
func NewAssociateIPToChildBadRequest() *AssociateIPToChildBadRequest
NewAssociateIPToChildBadRequest creates a AssociateIPToChildBadRequest with default headers values
func (*AssociateIPToChildBadRequest) Error ¶
func (o *AssociateIPToChildBadRequest) Error() string
type AssociateIPToChildNoContent ¶
type AssociateIPToChildNoContent struct { }
AssociateIPToChildNoContent handles this case with default header values.
Dedicated IP is associated to the child
func NewAssociateIPToChildNoContent ¶
func NewAssociateIPToChildNoContent() *AssociateIPToChildNoContent
NewAssociateIPToChildNoContent creates a AssociateIPToChildNoContent with default headers values
func (*AssociateIPToChildNoContent) Error ¶
func (o *AssociateIPToChildNoContent) Error() string
type AssociateIPToChildNotFound ¶
type AssociateIPToChildNotFound struct {
Payload *models.ErrorModel
}
AssociateIPToChildNotFound handles this case with default header values.
Child ID not found
func NewAssociateIPToChildNotFound ¶
func NewAssociateIPToChildNotFound() *AssociateIPToChildNotFound
NewAssociateIPToChildNotFound creates a AssociateIPToChildNotFound with default headers values
func (*AssociateIPToChildNotFound) Error ¶
func (o *AssociateIPToChildNotFound) Error() string
type AssociateIPToChildParams ¶
type AssociateIPToChildParams struct { /*ChildID id of reseller's child */ ChildID int64 /*IPID IP's id */ IPID *models.ManageIP Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssociateIPToChildParams contains all the parameters to send to the API endpoint for the associate Ip to child operation typically these are written to a http.Request
func NewAssociateIPToChildParams ¶
func NewAssociateIPToChildParams() *AssociateIPToChildParams
NewAssociateIPToChildParams creates a new AssociateIPToChildParams object with the default values initialized.
func NewAssociateIPToChildParamsWithContext ¶
func NewAssociateIPToChildParamsWithContext(ctx context.Context) *AssociateIPToChildParams
NewAssociateIPToChildParamsWithContext creates a new AssociateIPToChildParams object with the default values initialized, and the ability to set a context for a request
func NewAssociateIPToChildParamsWithHTTPClient ¶
func NewAssociateIPToChildParamsWithHTTPClient(client *http.Client) *AssociateIPToChildParams
NewAssociateIPToChildParamsWithHTTPClient creates a new AssociateIPToChildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAssociateIPToChildParamsWithTimeout ¶
func NewAssociateIPToChildParamsWithTimeout(timeout time.Duration) *AssociateIPToChildParams
NewAssociateIPToChildParamsWithTimeout creates a new AssociateIPToChildParams object with the default values initialized, and the ability to set a timeout on a request
func (*AssociateIPToChildParams) SetChildID ¶
func (o *AssociateIPToChildParams) SetChildID(childID int64)
SetChildID adds the childId to the associate Ip to child params
func (*AssociateIPToChildParams) SetContext ¶
func (o *AssociateIPToChildParams) SetContext(ctx context.Context)
SetContext adds the context to the associate Ip to child params
func (*AssociateIPToChildParams) SetHTTPClient ¶
func (o *AssociateIPToChildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the associate Ip to child params
func (*AssociateIPToChildParams) SetIPID ¶
func (o *AssociateIPToChildParams) SetIPID(iPID *models.ManageIP)
SetIPID adds the ipId to the associate Ip to child params
func (*AssociateIPToChildParams) SetTimeout ¶
func (o *AssociateIPToChildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the associate Ip to child params
func (*AssociateIPToChildParams) WithChildID ¶
func (o *AssociateIPToChildParams) WithChildID(childID int64) *AssociateIPToChildParams
WithChildID adds the childID to the associate Ip to child params
func (*AssociateIPToChildParams) WithContext ¶
func (o *AssociateIPToChildParams) WithContext(ctx context.Context) *AssociateIPToChildParams
WithContext adds the context to the associate Ip to child params
func (*AssociateIPToChildParams) WithHTTPClient ¶
func (o *AssociateIPToChildParams) WithHTTPClient(client *http.Client) *AssociateIPToChildParams
WithHTTPClient adds the HTTPClient to the associate Ip to child params
func (*AssociateIPToChildParams) WithIPID ¶
func (o *AssociateIPToChildParams) WithIPID(iPID *models.ManageIP) *AssociateIPToChildParams
WithIPID adds the iPID to the associate Ip to child params
func (*AssociateIPToChildParams) WithTimeout ¶
func (o *AssociateIPToChildParams) WithTimeout(timeout time.Duration) *AssociateIPToChildParams
WithTimeout adds the timeout to the associate Ip to child params
func (*AssociateIPToChildParams) WriteToRequest ¶
func (o *AssociateIPToChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssociateIPToChildReader ¶
type AssociateIPToChildReader struct {
// contains filtered or unexported fields
}
AssociateIPToChildReader is a Reader for the AssociateIPToChild structure.
func (*AssociateIPToChildReader) ReadResponse ¶
func (o *AssociateIPToChildReader) 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 reseller API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new reseller API client.
func (*Client) AddCredits ¶
func (a *Client) AddCredits(params *AddCreditsParams, authInfo runtime.ClientAuthInfoWriter) (*AddCreditsOK, error)
AddCredits adds email and or SMS credits to a specific child account
func (*Client) AssociateIPToChild ¶
func (a *Client) AssociateIPToChild(params *AssociateIPToChildParams, authInfo runtime.ClientAuthInfoWriter) (*AssociateIPToChildNoContent, error)
AssociateIPToChild associates a dedicated IP to the child
func (*Client) CreateResellerChild ¶
func (a *Client) CreateResellerChild(params *CreateResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*CreateResellerChildCreated, error)
CreateResellerChild creates a reseller child
func (*Client) DeleteResellerChild ¶
func (a *Client) DeleteResellerChild(params *DeleteResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteResellerChildNoContent, error)
DeleteResellerChild deletes a single reseller child based on the child Id supplied
func (*Client) DissociateIPFromChild ¶
func (a *Client) DissociateIPFromChild(params *DissociateIPFromChildParams, authInfo runtime.ClientAuthInfoWriter) (*DissociateIPFromChildNoContent, error)
DissociateIPFromChild dissociates a dedicated IP to the child
func (*Client) GetChildInfo ¶
func (a *Client) GetChildInfo(params *GetChildInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildInfoOK, error)
GetChildInfo gets the info about a specific child account
func (*Client) GetResellerChilds ¶
func (a *Client) GetResellerChilds(params *GetResellerChildsParams, authInfo runtime.ClientAuthInfoWriter) (*GetResellerChildsOK, error)
GetResellerChilds gets the list of all reseller s children accounts
func (*Client) RemoveCredits ¶
func (a *Client) RemoveCredits(params *RemoveCreditsParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveCreditsOK, error)
RemoveCredits removes email and or SMS credits from a specific child account
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateResellerChild ¶
func (a *Client) UpdateResellerChild(params *UpdateResellerChildParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateResellerChildNoContent, error)
UpdateResellerChild updates infos of reseller s child based on the child Id supplied
type CreateResellerChildBadRequest ¶
type CreateResellerChildBadRequest struct {
Payload *models.ErrorModel
}
CreateResellerChildBadRequest handles this case with default header values.
Bad request
func NewCreateResellerChildBadRequest ¶
func NewCreateResellerChildBadRequest() *CreateResellerChildBadRequest
NewCreateResellerChildBadRequest creates a CreateResellerChildBadRequest with default headers values
func (*CreateResellerChildBadRequest) Error ¶
func (o *CreateResellerChildBadRequest) Error() string
type CreateResellerChildCreated ¶
type CreateResellerChildCreated struct {
Payload *models.CreateModel
}
CreateResellerChildCreated handles this case with default header values.
child created
func NewCreateResellerChildCreated ¶
func NewCreateResellerChildCreated() *CreateResellerChildCreated
NewCreateResellerChildCreated creates a CreateResellerChildCreated with default headers values
func (*CreateResellerChildCreated) Error ¶
func (o *CreateResellerChildCreated) Error() string
type CreateResellerChildForbidden ¶
type CreateResellerChildForbidden struct {
Payload *models.ErrorModel
}
CreateResellerChildForbidden handles this case with default header values.
Current account is not a reseller
func NewCreateResellerChildForbidden ¶
func NewCreateResellerChildForbidden() *CreateResellerChildForbidden
NewCreateResellerChildForbidden creates a CreateResellerChildForbidden with default headers values
func (*CreateResellerChildForbidden) Error ¶
func (o *CreateResellerChildForbidden) Error() string
type CreateResellerChildParams ¶
type CreateResellerChildParams struct { /*ResellerChild reseller child to add */ ResellerChild *models.CreateChild Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateResellerChildParams contains all the parameters to send to the API endpoint for the create reseller child operation typically these are written to a http.Request
func NewCreateResellerChildParams ¶
func NewCreateResellerChildParams() *CreateResellerChildParams
NewCreateResellerChildParams creates a new CreateResellerChildParams object with the default values initialized.
func NewCreateResellerChildParamsWithContext ¶
func NewCreateResellerChildParamsWithContext(ctx context.Context) *CreateResellerChildParams
NewCreateResellerChildParamsWithContext creates a new CreateResellerChildParams object with the default values initialized, and the ability to set a context for a request
func NewCreateResellerChildParamsWithHTTPClient ¶
func NewCreateResellerChildParamsWithHTTPClient(client *http.Client) *CreateResellerChildParams
NewCreateResellerChildParamsWithHTTPClient creates a new CreateResellerChildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateResellerChildParamsWithTimeout ¶
func NewCreateResellerChildParamsWithTimeout(timeout time.Duration) *CreateResellerChildParams
NewCreateResellerChildParamsWithTimeout creates a new CreateResellerChildParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateResellerChildParams) SetContext ¶
func (o *CreateResellerChildParams) SetContext(ctx context.Context)
SetContext adds the context to the create reseller child params
func (*CreateResellerChildParams) SetHTTPClient ¶
func (o *CreateResellerChildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create reseller child params
func (*CreateResellerChildParams) SetResellerChild ¶
func (o *CreateResellerChildParams) SetResellerChild(resellerChild *models.CreateChild)
SetResellerChild adds the resellerChild to the create reseller child params
func (*CreateResellerChildParams) SetTimeout ¶
func (o *CreateResellerChildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create reseller child params
func (*CreateResellerChildParams) WithContext ¶
func (o *CreateResellerChildParams) WithContext(ctx context.Context) *CreateResellerChildParams
WithContext adds the context to the create reseller child params
func (*CreateResellerChildParams) WithHTTPClient ¶
func (o *CreateResellerChildParams) WithHTTPClient(client *http.Client) *CreateResellerChildParams
WithHTTPClient adds the HTTPClient to the create reseller child params
func (*CreateResellerChildParams) WithResellerChild ¶
func (o *CreateResellerChildParams) WithResellerChild(resellerChild *models.CreateChild) *CreateResellerChildParams
WithResellerChild adds the resellerChild to the create reseller child params
func (*CreateResellerChildParams) WithTimeout ¶
func (o *CreateResellerChildParams) WithTimeout(timeout time.Duration) *CreateResellerChildParams
WithTimeout adds the timeout to the create reseller child params
func (*CreateResellerChildParams) WriteToRequest ¶
func (o *CreateResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateResellerChildReader ¶
type CreateResellerChildReader struct {
// contains filtered or unexported fields
}
CreateResellerChildReader is a Reader for the CreateResellerChild structure.
func (*CreateResellerChildReader) ReadResponse ¶
func (o *CreateResellerChildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteResellerChildBadRequest ¶
type DeleteResellerChildBadRequest struct {
Payload *models.ErrorModel
}
DeleteResellerChildBadRequest handles this case with default header values.
bad request
func NewDeleteResellerChildBadRequest ¶
func NewDeleteResellerChildBadRequest() *DeleteResellerChildBadRequest
NewDeleteResellerChildBadRequest creates a DeleteResellerChildBadRequest with default headers values
func (*DeleteResellerChildBadRequest) Error ¶
func (o *DeleteResellerChildBadRequest) Error() string
type DeleteResellerChildForbidden ¶
type DeleteResellerChildForbidden struct {
Payload *models.ErrorModel
}
DeleteResellerChildForbidden handles this case with default header values.
Current account is not a reseller
func NewDeleteResellerChildForbidden ¶
func NewDeleteResellerChildForbidden() *DeleteResellerChildForbidden
NewDeleteResellerChildForbidden creates a DeleteResellerChildForbidden with default headers values
func (*DeleteResellerChildForbidden) Error ¶
func (o *DeleteResellerChildForbidden) Error() string
type DeleteResellerChildNoContent ¶
type DeleteResellerChildNoContent struct { }
DeleteResellerChildNoContent handles this case with default header values.
child deleted
func NewDeleteResellerChildNoContent ¶
func NewDeleteResellerChildNoContent() *DeleteResellerChildNoContent
NewDeleteResellerChildNoContent creates a DeleteResellerChildNoContent with default headers values
func (*DeleteResellerChildNoContent) Error ¶
func (o *DeleteResellerChildNoContent) Error() string
type DeleteResellerChildNotFound ¶
type DeleteResellerChildNotFound struct {
Payload *models.ErrorModel
}
DeleteResellerChildNotFound handles this case with default header values.
Child ID not found
func NewDeleteResellerChildNotFound ¶
func NewDeleteResellerChildNotFound() *DeleteResellerChildNotFound
NewDeleteResellerChildNotFound creates a DeleteResellerChildNotFound with default headers values
func (*DeleteResellerChildNotFound) Error ¶
func (o *DeleteResellerChildNotFound) Error() string
type DeleteResellerChildParams ¶
type DeleteResellerChildParams struct { /*ChildID id of reseller's child */ ChildID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteResellerChildParams contains all the parameters to send to the API endpoint for the delete reseller child operation typically these are written to a http.Request
func NewDeleteResellerChildParams ¶
func NewDeleteResellerChildParams() *DeleteResellerChildParams
NewDeleteResellerChildParams creates a new DeleteResellerChildParams object with the default values initialized.
func NewDeleteResellerChildParamsWithContext ¶
func NewDeleteResellerChildParamsWithContext(ctx context.Context) *DeleteResellerChildParams
NewDeleteResellerChildParamsWithContext creates a new DeleteResellerChildParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteResellerChildParamsWithHTTPClient ¶
func NewDeleteResellerChildParamsWithHTTPClient(client *http.Client) *DeleteResellerChildParams
NewDeleteResellerChildParamsWithHTTPClient creates a new DeleteResellerChildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteResellerChildParamsWithTimeout ¶
func NewDeleteResellerChildParamsWithTimeout(timeout time.Duration) *DeleteResellerChildParams
NewDeleteResellerChildParamsWithTimeout creates a new DeleteResellerChildParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteResellerChildParams) SetChildID ¶
func (o *DeleteResellerChildParams) SetChildID(childID int64)
SetChildID adds the childId to the delete reseller child params
func (*DeleteResellerChildParams) SetContext ¶
func (o *DeleteResellerChildParams) SetContext(ctx context.Context)
SetContext adds the context to the delete reseller child params
func (*DeleteResellerChildParams) SetHTTPClient ¶
func (o *DeleteResellerChildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete reseller child params
func (*DeleteResellerChildParams) SetTimeout ¶
func (o *DeleteResellerChildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete reseller child params
func (*DeleteResellerChildParams) WithChildID ¶
func (o *DeleteResellerChildParams) WithChildID(childID int64) *DeleteResellerChildParams
WithChildID adds the childID to the delete reseller child params
func (*DeleteResellerChildParams) WithContext ¶
func (o *DeleteResellerChildParams) WithContext(ctx context.Context) *DeleteResellerChildParams
WithContext adds the context to the delete reseller child params
func (*DeleteResellerChildParams) WithHTTPClient ¶
func (o *DeleteResellerChildParams) WithHTTPClient(client *http.Client) *DeleteResellerChildParams
WithHTTPClient adds the HTTPClient to the delete reseller child params
func (*DeleteResellerChildParams) WithTimeout ¶
func (o *DeleteResellerChildParams) WithTimeout(timeout time.Duration) *DeleteResellerChildParams
WithTimeout adds the timeout to the delete reseller child params
func (*DeleteResellerChildParams) WriteToRequest ¶
func (o *DeleteResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteResellerChildReader ¶
type DeleteResellerChildReader struct {
// contains filtered or unexported fields
}
DeleteResellerChildReader is a Reader for the DeleteResellerChild structure.
func (*DeleteResellerChildReader) ReadResponse ¶
func (o *DeleteResellerChildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DissociateIPFromChildBadRequest ¶
type DissociateIPFromChildBadRequest struct {
Payload *models.ErrorModel
}
DissociateIPFromChildBadRequest handles this case with default header values.
bad request
func NewDissociateIPFromChildBadRequest ¶
func NewDissociateIPFromChildBadRequest() *DissociateIPFromChildBadRequest
NewDissociateIPFromChildBadRequest creates a DissociateIPFromChildBadRequest with default headers values
func (*DissociateIPFromChildBadRequest) Error ¶
func (o *DissociateIPFromChildBadRequest) Error() string
type DissociateIPFromChildNoContent ¶
type DissociateIPFromChildNoContent struct { }
DissociateIPFromChildNoContent handles this case with default header values.
Dedicated IP is dissociated from the child
func NewDissociateIPFromChildNoContent ¶
func NewDissociateIPFromChildNoContent() *DissociateIPFromChildNoContent
NewDissociateIPFromChildNoContent creates a DissociateIPFromChildNoContent with default headers values
func (*DissociateIPFromChildNoContent) Error ¶
func (o *DissociateIPFromChildNoContent) Error() string
type DissociateIPFromChildNotFound ¶
type DissociateIPFromChildNotFound struct {
Payload *models.ErrorModel
}
DissociateIPFromChildNotFound handles this case with default header values.
Child ID not found
func NewDissociateIPFromChildNotFound ¶
func NewDissociateIPFromChildNotFound() *DissociateIPFromChildNotFound
NewDissociateIPFromChildNotFound creates a DissociateIPFromChildNotFound with default headers values
func (*DissociateIPFromChildNotFound) Error ¶
func (o *DissociateIPFromChildNotFound) Error() string
type DissociateIPFromChildParams ¶
type DissociateIPFromChildParams struct { /*ChildID id of reseller's child */ ChildID int64 /*IPID IP's id */ IPID *models.ManageIP Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DissociateIPFromChildParams contains all the parameters to send to the API endpoint for the dissociate Ip from child operation typically these are written to a http.Request
func NewDissociateIPFromChildParams ¶
func NewDissociateIPFromChildParams() *DissociateIPFromChildParams
NewDissociateIPFromChildParams creates a new DissociateIPFromChildParams object with the default values initialized.
func NewDissociateIPFromChildParamsWithContext ¶
func NewDissociateIPFromChildParamsWithContext(ctx context.Context) *DissociateIPFromChildParams
NewDissociateIPFromChildParamsWithContext creates a new DissociateIPFromChildParams object with the default values initialized, and the ability to set a context for a request
func NewDissociateIPFromChildParamsWithHTTPClient ¶
func NewDissociateIPFromChildParamsWithHTTPClient(client *http.Client) *DissociateIPFromChildParams
NewDissociateIPFromChildParamsWithHTTPClient creates a new DissociateIPFromChildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDissociateIPFromChildParamsWithTimeout ¶
func NewDissociateIPFromChildParamsWithTimeout(timeout time.Duration) *DissociateIPFromChildParams
NewDissociateIPFromChildParamsWithTimeout creates a new DissociateIPFromChildParams object with the default values initialized, and the ability to set a timeout on a request
func (*DissociateIPFromChildParams) SetChildID ¶
func (o *DissociateIPFromChildParams) SetChildID(childID int64)
SetChildID adds the childId to the dissociate Ip from child params
func (*DissociateIPFromChildParams) SetContext ¶
func (o *DissociateIPFromChildParams) SetContext(ctx context.Context)
SetContext adds the context to the dissociate Ip from child params
func (*DissociateIPFromChildParams) SetHTTPClient ¶
func (o *DissociateIPFromChildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dissociate Ip from child params
func (*DissociateIPFromChildParams) SetIPID ¶
func (o *DissociateIPFromChildParams) SetIPID(iPID *models.ManageIP)
SetIPID adds the ipId to the dissociate Ip from child params
func (*DissociateIPFromChildParams) SetTimeout ¶
func (o *DissociateIPFromChildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WithChildID ¶
func (o *DissociateIPFromChildParams) WithChildID(childID int64) *DissociateIPFromChildParams
WithChildID adds the childID to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WithContext ¶
func (o *DissociateIPFromChildParams) WithContext(ctx context.Context) *DissociateIPFromChildParams
WithContext adds the context to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WithHTTPClient ¶
func (o *DissociateIPFromChildParams) WithHTTPClient(client *http.Client) *DissociateIPFromChildParams
WithHTTPClient adds the HTTPClient to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WithIPID ¶
func (o *DissociateIPFromChildParams) WithIPID(iPID *models.ManageIP) *DissociateIPFromChildParams
WithIPID adds the iPID to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WithTimeout ¶
func (o *DissociateIPFromChildParams) WithTimeout(timeout time.Duration) *DissociateIPFromChildParams
WithTimeout adds the timeout to the dissociate Ip from child params
func (*DissociateIPFromChildParams) WriteToRequest ¶
func (o *DissociateIPFromChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DissociateIPFromChildReader ¶
type DissociateIPFromChildReader struct {
// contains filtered or unexported fields
}
DissociateIPFromChildReader is a Reader for the DissociateIPFromChild structure.
func (*DissociateIPFromChildReader) ReadResponse ¶
func (o *DissociateIPFromChildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChildInfoBadRequest ¶
type GetChildInfoBadRequest struct {
Payload *models.ErrorModel
}
GetChildInfoBadRequest handles this case with default header values.
bad request
func NewGetChildInfoBadRequest ¶
func NewGetChildInfoBadRequest() *GetChildInfoBadRequest
NewGetChildInfoBadRequest creates a GetChildInfoBadRequest with default headers values
func (*GetChildInfoBadRequest) Error ¶
func (o *GetChildInfoBadRequest) Error() string
type GetChildInfoForbidden ¶
type GetChildInfoForbidden struct {
Payload *models.ErrorModel
}
GetChildInfoForbidden handles this case with default header values.
Current account is not a reseller
func NewGetChildInfoForbidden ¶
func NewGetChildInfoForbidden() *GetChildInfoForbidden
NewGetChildInfoForbidden creates a GetChildInfoForbidden with default headers values
func (*GetChildInfoForbidden) Error ¶
func (o *GetChildInfoForbidden) Error() string
type GetChildInfoNotFound ¶
type GetChildInfoNotFound struct {
Payload *models.ErrorModel
}
GetChildInfoNotFound handles this case with default header values.
Child ID not found
func NewGetChildInfoNotFound ¶
func NewGetChildInfoNotFound() *GetChildInfoNotFound
NewGetChildInfoNotFound creates a GetChildInfoNotFound with default headers values
func (*GetChildInfoNotFound) Error ¶
func (o *GetChildInfoNotFound) Error() string
type GetChildInfoOK ¶
type GetChildInfoOK struct {
Payload *models.GetChildInfo
}
GetChildInfoOK handles this case with default header values.
Information for the child
func NewGetChildInfoOK ¶
func NewGetChildInfoOK() *GetChildInfoOK
NewGetChildInfoOK creates a GetChildInfoOK with default headers values
func (*GetChildInfoOK) Error ¶
func (o *GetChildInfoOK) Error() string
type GetChildInfoParams ¶
type GetChildInfoParams struct { /*ChildID id of reseller's child */ ChildID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChildInfoParams contains all the parameters to send to the API endpoint for the get child info operation typically these are written to a http.Request
func NewGetChildInfoParams ¶
func NewGetChildInfoParams() *GetChildInfoParams
NewGetChildInfoParams creates a new GetChildInfoParams object with the default values initialized.
func NewGetChildInfoParamsWithContext ¶
func NewGetChildInfoParamsWithContext(ctx context.Context) *GetChildInfoParams
NewGetChildInfoParamsWithContext creates a new GetChildInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetChildInfoParamsWithHTTPClient ¶
func NewGetChildInfoParamsWithHTTPClient(client *http.Client) *GetChildInfoParams
NewGetChildInfoParamsWithHTTPClient creates a new GetChildInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChildInfoParamsWithTimeout ¶
func NewGetChildInfoParamsWithTimeout(timeout time.Duration) *GetChildInfoParams
NewGetChildInfoParamsWithTimeout creates a new GetChildInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChildInfoParams) SetChildID ¶
func (o *GetChildInfoParams) SetChildID(childID int64)
SetChildID adds the childId to the get child info params
func (*GetChildInfoParams) SetContext ¶
func (o *GetChildInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get child info params
func (*GetChildInfoParams) SetHTTPClient ¶
func (o *GetChildInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get child info params
func (*GetChildInfoParams) SetTimeout ¶
func (o *GetChildInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get child info params
func (*GetChildInfoParams) WithChildID ¶
func (o *GetChildInfoParams) WithChildID(childID int64) *GetChildInfoParams
WithChildID adds the childID to the get child info params
func (*GetChildInfoParams) WithContext ¶
func (o *GetChildInfoParams) WithContext(ctx context.Context) *GetChildInfoParams
WithContext adds the context to the get child info params
func (*GetChildInfoParams) WithHTTPClient ¶
func (o *GetChildInfoParams) WithHTTPClient(client *http.Client) *GetChildInfoParams
WithHTTPClient adds the HTTPClient to the get child info params
func (*GetChildInfoParams) WithTimeout ¶
func (o *GetChildInfoParams) WithTimeout(timeout time.Duration) *GetChildInfoParams
WithTimeout adds the timeout to the get child info params
func (*GetChildInfoParams) WriteToRequest ¶
func (o *GetChildInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChildInfoReader ¶
type GetChildInfoReader struct {
// contains filtered or unexported fields
}
GetChildInfoReader is a Reader for the GetChildInfo structure.
func (*GetChildInfoReader) ReadResponse ¶
func (o *GetChildInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResellerChildsForbidden ¶
type GetResellerChildsForbidden struct {
Payload *models.ErrorModel
}
GetResellerChildsForbidden handles this case with default header values.
Current account is not a reseller
func NewGetResellerChildsForbidden ¶
func NewGetResellerChildsForbidden() *GetResellerChildsForbidden
NewGetResellerChildsForbidden creates a GetResellerChildsForbidden with default headers values
func (*GetResellerChildsForbidden) Error ¶
func (o *GetResellerChildsForbidden) Error() string
type GetResellerChildsOK ¶
type GetResellerChildsOK struct {
Payload *models.GetChildrenList
}
GetResellerChildsOK handles this case with default header values.
list of children
func NewGetResellerChildsOK ¶
func NewGetResellerChildsOK() *GetResellerChildsOK
NewGetResellerChildsOK creates a GetResellerChildsOK with default headers values
func (*GetResellerChildsOK) Error ¶
func (o *GetResellerChildsOK) Error() string
type GetResellerChildsParams ¶
type GetResellerChildsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResellerChildsParams contains all the parameters to send to the API endpoint for the get reseller childs operation typically these are written to a http.Request
func NewGetResellerChildsParams ¶
func NewGetResellerChildsParams() *GetResellerChildsParams
NewGetResellerChildsParams creates a new GetResellerChildsParams object with the default values initialized.
func NewGetResellerChildsParamsWithContext ¶
func NewGetResellerChildsParamsWithContext(ctx context.Context) *GetResellerChildsParams
NewGetResellerChildsParamsWithContext creates a new GetResellerChildsParams object with the default values initialized, and the ability to set a context for a request
func NewGetResellerChildsParamsWithHTTPClient ¶
func NewGetResellerChildsParamsWithHTTPClient(client *http.Client) *GetResellerChildsParams
NewGetResellerChildsParamsWithHTTPClient creates a new GetResellerChildsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResellerChildsParamsWithTimeout ¶
func NewGetResellerChildsParamsWithTimeout(timeout time.Duration) *GetResellerChildsParams
NewGetResellerChildsParamsWithTimeout creates a new GetResellerChildsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResellerChildsParams) SetContext ¶
func (o *GetResellerChildsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reseller childs params
func (*GetResellerChildsParams) SetHTTPClient ¶
func (o *GetResellerChildsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reseller childs params
func (*GetResellerChildsParams) SetTimeout ¶
func (o *GetResellerChildsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reseller childs params
func (*GetResellerChildsParams) WithContext ¶
func (o *GetResellerChildsParams) WithContext(ctx context.Context) *GetResellerChildsParams
WithContext adds the context to the get reseller childs params
func (*GetResellerChildsParams) WithHTTPClient ¶
func (o *GetResellerChildsParams) WithHTTPClient(client *http.Client) *GetResellerChildsParams
WithHTTPClient adds the HTTPClient to the get reseller childs params
func (*GetResellerChildsParams) WithTimeout ¶
func (o *GetResellerChildsParams) WithTimeout(timeout time.Duration) *GetResellerChildsParams
WithTimeout adds the timeout to the get reseller childs params
func (*GetResellerChildsParams) WriteToRequest ¶
func (o *GetResellerChildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResellerChildsReader ¶
type GetResellerChildsReader struct {
// contains filtered or unexported fields
}
GetResellerChildsReader is a Reader for the GetResellerChilds structure.
func (*GetResellerChildsReader) ReadResponse ¶
func (o *GetResellerChildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveCreditsBadRequest ¶
type RemoveCreditsBadRequest struct {
Payload *models.ErrorModel
}
RemoveCreditsBadRequest handles this case with default header values.
bad request
func NewRemoveCreditsBadRequest ¶
func NewRemoveCreditsBadRequest() *RemoveCreditsBadRequest
NewRemoveCreditsBadRequest creates a RemoveCreditsBadRequest with default headers values
func (*RemoveCreditsBadRequest) Error ¶
func (o *RemoveCreditsBadRequest) Error() string
type RemoveCreditsForbidden ¶
type RemoveCreditsForbidden struct {
Payload *models.ErrorModel
}
RemoveCreditsForbidden handles this case with default header values.
Current account is not a reseller
func NewRemoveCreditsForbidden ¶
func NewRemoveCreditsForbidden() *RemoveCreditsForbidden
NewRemoveCreditsForbidden creates a RemoveCreditsForbidden with default headers values
func (*RemoveCreditsForbidden) Error ¶
func (o *RemoveCreditsForbidden) Error() string
type RemoveCreditsNotFound ¶
type RemoveCreditsNotFound struct {
Payload *models.ErrorModel
}
RemoveCreditsNotFound handles this case with default header values.
Child ID not found
func NewRemoveCreditsNotFound ¶
func NewRemoveCreditsNotFound() *RemoveCreditsNotFound
NewRemoveCreditsNotFound creates a RemoveCreditsNotFound with default headers values
func (*RemoveCreditsNotFound) Error ¶
func (o *RemoveCreditsNotFound) Error() string
type RemoveCreditsOK ¶
type RemoveCreditsOK struct {
Payload *models.RemainingCreditModel
}
RemoveCreditsOK handles this case with default header values.
Credits removed
func NewRemoveCreditsOK ¶
func NewRemoveCreditsOK() *RemoveCreditsOK
NewRemoveCreditsOK creates a RemoveCreditsOK with default headers values
func (*RemoveCreditsOK) Error ¶
func (o *RemoveCreditsOK) Error() string
type RemoveCreditsParams ¶
type RemoveCreditsParams struct { /*ChildID id of reseller's child */ ChildID int64 /*RemoveCredits Values to post to remove email or SMS credits from a specific child account */ RemoveCredits *models.RemoveCredits Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveCreditsParams contains all the parameters to send to the API endpoint for the remove credits operation typically these are written to a http.Request
func NewRemoveCreditsParams ¶
func NewRemoveCreditsParams() *RemoveCreditsParams
NewRemoveCreditsParams creates a new RemoveCreditsParams object with the default values initialized.
func NewRemoveCreditsParamsWithContext ¶
func NewRemoveCreditsParamsWithContext(ctx context.Context) *RemoveCreditsParams
NewRemoveCreditsParamsWithContext creates a new RemoveCreditsParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveCreditsParamsWithHTTPClient ¶
func NewRemoveCreditsParamsWithHTTPClient(client *http.Client) *RemoveCreditsParams
NewRemoveCreditsParamsWithHTTPClient creates a new RemoveCreditsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveCreditsParamsWithTimeout ¶
func NewRemoveCreditsParamsWithTimeout(timeout time.Duration) *RemoveCreditsParams
NewRemoveCreditsParamsWithTimeout creates a new RemoveCreditsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveCreditsParams) SetChildID ¶
func (o *RemoveCreditsParams) SetChildID(childID int64)
SetChildID adds the childId to the remove credits params
func (*RemoveCreditsParams) SetContext ¶
func (o *RemoveCreditsParams) SetContext(ctx context.Context)
SetContext adds the context to the remove credits params
func (*RemoveCreditsParams) SetHTTPClient ¶
func (o *RemoveCreditsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove credits params
func (*RemoveCreditsParams) SetRemoveCredits ¶
func (o *RemoveCreditsParams) SetRemoveCredits(removeCredits *models.RemoveCredits)
SetRemoveCredits adds the removeCredits to the remove credits params
func (*RemoveCreditsParams) SetTimeout ¶
func (o *RemoveCreditsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove credits params
func (*RemoveCreditsParams) WithChildID ¶
func (o *RemoveCreditsParams) WithChildID(childID int64) *RemoveCreditsParams
WithChildID adds the childID to the remove credits params
func (*RemoveCreditsParams) WithContext ¶
func (o *RemoveCreditsParams) WithContext(ctx context.Context) *RemoveCreditsParams
WithContext adds the context to the remove credits params
func (*RemoveCreditsParams) WithHTTPClient ¶
func (o *RemoveCreditsParams) WithHTTPClient(client *http.Client) *RemoveCreditsParams
WithHTTPClient adds the HTTPClient to the remove credits params
func (*RemoveCreditsParams) WithRemoveCredits ¶
func (o *RemoveCreditsParams) WithRemoveCredits(removeCredits *models.RemoveCredits) *RemoveCreditsParams
WithRemoveCredits adds the removeCredits to the remove credits params
func (*RemoveCreditsParams) WithTimeout ¶
func (o *RemoveCreditsParams) WithTimeout(timeout time.Duration) *RemoveCreditsParams
WithTimeout adds the timeout to the remove credits params
func (*RemoveCreditsParams) WriteToRequest ¶
func (o *RemoveCreditsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveCreditsReader ¶
type RemoveCreditsReader struct {
// contains filtered or unexported fields
}
RemoveCreditsReader is a Reader for the RemoveCredits structure.
func (*RemoveCreditsReader) ReadResponse ¶
func (o *RemoveCreditsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateResellerChildBadRequest ¶
type UpdateResellerChildBadRequest struct {
Payload *models.ErrorModel
}
UpdateResellerChildBadRequest handles this case with default header values.
bad request
func NewUpdateResellerChildBadRequest ¶
func NewUpdateResellerChildBadRequest() *UpdateResellerChildBadRequest
NewUpdateResellerChildBadRequest creates a UpdateResellerChildBadRequest with default headers values
func (*UpdateResellerChildBadRequest) Error ¶
func (o *UpdateResellerChildBadRequest) Error() string
type UpdateResellerChildForbidden ¶
type UpdateResellerChildForbidden struct {
Payload *models.ErrorModel
}
UpdateResellerChildForbidden handles this case with default header values.
Current account is not a reseller
func NewUpdateResellerChildForbidden ¶
func NewUpdateResellerChildForbidden() *UpdateResellerChildForbidden
NewUpdateResellerChildForbidden creates a UpdateResellerChildForbidden with default headers values
func (*UpdateResellerChildForbidden) Error ¶
func (o *UpdateResellerChildForbidden) Error() string
type UpdateResellerChildNoContent ¶
type UpdateResellerChildNoContent struct { }
UpdateResellerChildNoContent handles this case with default header values.
reseller's child updated
func NewUpdateResellerChildNoContent ¶
func NewUpdateResellerChildNoContent() *UpdateResellerChildNoContent
NewUpdateResellerChildNoContent creates a UpdateResellerChildNoContent with default headers values
func (*UpdateResellerChildNoContent) Error ¶
func (o *UpdateResellerChildNoContent) Error() string
type UpdateResellerChildNotFound ¶
type UpdateResellerChildNotFound struct {
Payload *models.ErrorModel
}
UpdateResellerChildNotFound handles this case with default header values.
Child ID not found
func NewUpdateResellerChildNotFound ¶
func NewUpdateResellerChildNotFound() *UpdateResellerChildNotFound
NewUpdateResellerChildNotFound creates a UpdateResellerChildNotFound with default headers values
func (*UpdateResellerChildNotFound) Error ¶
func (o *UpdateResellerChildNotFound) Error() string
type UpdateResellerChildParams ¶
type UpdateResellerChildParams struct { /*ChildID id of reseller's child */ ChildID int64 /*ResellerChild values to update in child profile */ ResellerChild *models.UpdateChild Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateResellerChildParams contains all the parameters to send to the API endpoint for the update reseller child operation typically these are written to a http.Request
func NewUpdateResellerChildParams ¶
func NewUpdateResellerChildParams() *UpdateResellerChildParams
NewUpdateResellerChildParams creates a new UpdateResellerChildParams object with the default values initialized.
func NewUpdateResellerChildParamsWithContext ¶
func NewUpdateResellerChildParamsWithContext(ctx context.Context) *UpdateResellerChildParams
NewUpdateResellerChildParamsWithContext creates a new UpdateResellerChildParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateResellerChildParamsWithHTTPClient ¶
func NewUpdateResellerChildParamsWithHTTPClient(client *http.Client) *UpdateResellerChildParams
NewUpdateResellerChildParamsWithHTTPClient creates a new UpdateResellerChildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateResellerChildParamsWithTimeout ¶
func NewUpdateResellerChildParamsWithTimeout(timeout time.Duration) *UpdateResellerChildParams
NewUpdateResellerChildParamsWithTimeout creates a new UpdateResellerChildParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateResellerChildParams) SetChildID ¶
func (o *UpdateResellerChildParams) SetChildID(childID int64)
SetChildID adds the childId to the update reseller child params
func (*UpdateResellerChildParams) SetContext ¶
func (o *UpdateResellerChildParams) SetContext(ctx context.Context)
SetContext adds the context to the update reseller child params
func (*UpdateResellerChildParams) SetHTTPClient ¶
func (o *UpdateResellerChildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update reseller child params
func (*UpdateResellerChildParams) SetResellerChild ¶
func (o *UpdateResellerChildParams) SetResellerChild(resellerChild *models.UpdateChild)
SetResellerChild adds the resellerChild to the update reseller child params
func (*UpdateResellerChildParams) SetTimeout ¶
func (o *UpdateResellerChildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update reseller child params
func (*UpdateResellerChildParams) WithChildID ¶
func (o *UpdateResellerChildParams) WithChildID(childID int64) *UpdateResellerChildParams
WithChildID adds the childID to the update reseller child params
func (*UpdateResellerChildParams) WithContext ¶
func (o *UpdateResellerChildParams) WithContext(ctx context.Context) *UpdateResellerChildParams
WithContext adds the context to the update reseller child params
func (*UpdateResellerChildParams) WithHTTPClient ¶
func (o *UpdateResellerChildParams) WithHTTPClient(client *http.Client) *UpdateResellerChildParams
WithHTTPClient adds the HTTPClient to the update reseller child params
func (*UpdateResellerChildParams) WithResellerChild ¶
func (o *UpdateResellerChildParams) WithResellerChild(resellerChild *models.UpdateChild) *UpdateResellerChildParams
WithResellerChild adds the resellerChild to the update reseller child params
func (*UpdateResellerChildParams) WithTimeout ¶
func (o *UpdateResellerChildParams) WithTimeout(timeout time.Duration) *UpdateResellerChildParams
WithTimeout adds the timeout to the update reseller child params
func (*UpdateResellerChildParams) WriteToRequest ¶
func (o *UpdateResellerChildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateResellerChildReader ¶
type UpdateResellerChildReader struct {
// contains filtered or unexported fields
}
UpdateResellerChildReader is a Reader for the UpdateResellerChild structure.
func (*UpdateResellerChildReader) ReadResponse ¶
func (o *UpdateResellerChildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_credits_parameters.go
- add_credits_responses.go
- associate_ip_to_child_parameters.go
- associate_ip_to_child_responses.go
- create_reseller_child_parameters.go
- create_reseller_child_responses.go
- delete_reseller_child_parameters.go
- delete_reseller_child_responses.go
- dissociate_ip_from_child_parameters.go
- dissociate_ip_from_child_responses.go
- get_child_info_parameters.go
- get_child_info_responses.go
- get_reseller_childs_parameters.go
- get_reseller_childs_responses.go
- remove_credits_parameters.go
- remove_credits_responses.go
- reseller_client.go
- update_reseller_child_parameters.go
- update_reseller_child_responses.go