Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNameserver(params *CreateNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNameserverCreated, *CreateNameserverAccepted, error)
- func (a *Client) DeleteNameserver(params *DeleteNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNameserverAccepted, *DeleteNameserverNoContent, error)
- func (a *Client) GetNameserver(params *GetNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserverOK, error)
- func (a *Client) GetNameservers(params *GetNameserversParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserversOK, error)
- func (a *Client) ReplaceNameserver(params *ReplaceNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceNameserverOK, *ReplaceNameserverAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateNameserverAccepted
- type CreateNameserverBadRequest
- type CreateNameserverConflict
- type CreateNameserverCreated
- type CreateNameserverDefault
- type CreateNameserverParams
- func NewCreateNameserverParams() *CreateNameserverParams
- func NewCreateNameserverParamsWithContext(ctx context.Context) *CreateNameserverParams
- func NewCreateNameserverParamsWithHTTPClient(client *http.Client) *CreateNameserverParams
- func NewCreateNameserverParamsWithTimeout(timeout time.Duration) *CreateNameserverParams
- func (o *CreateNameserverParams) SetContext(ctx context.Context)
- func (o *CreateNameserverParams) SetData(data *models.Nameserver)
- func (o *CreateNameserverParams) SetForceReload(forceReload *bool)
- func (o *CreateNameserverParams) SetHTTPClient(client *http.Client)
- func (o *CreateNameserverParams) SetResolver(resolver string)
- func (o *CreateNameserverParams) SetTimeout(timeout time.Duration)
- func (o *CreateNameserverParams) SetTransactionID(transactionID *string)
- func (o *CreateNameserverParams) SetVersion(version *int64)
- func (o *CreateNameserverParams) WithContext(ctx context.Context) *CreateNameserverParams
- func (o *CreateNameserverParams) WithData(data *models.Nameserver) *CreateNameserverParams
- func (o *CreateNameserverParams) WithForceReload(forceReload *bool) *CreateNameserverParams
- func (o *CreateNameserverParams) WithHTTPClient(client *http.Client) *CreateNameserverParams
- func (o *CreateNameserverParams) WithResolver(resolver string) *CreateNameserverParams
- func (o *CreateNameserverParams) WithTimeout(timeout time.Duration) *CreateNameserverParams
- func (o *CreateNameserverParams) WithTransactionID(transactionID *string) *CreateNameserverParams
- func (o *CreateNameserverParams) WithVersion(version *int64) *CreateNameserverParams
- func (o *CreateNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNameserverReader
- type DeleteNameserverAccepted
- type DeleteNameserverDefault
- type DeleteNameserverNoContent
- type DeleteNameserverNotFound
- type DeleteNameserverParams
- func NewDeleteNameserverParams() *DeleteNameserverParams
- func NewDeleteNameserverParamsWithContext(ctx context.Context) *DeleteNameserverParams
- func NewDeleteNameserverParamsWithHTTPClient(client *http.Client) *DeleteNameserverParams
- func NewDeleteNameserverParamsWithTimeout(timeout time.Duration) *DeleteNameserverParams
- func (o *DeleteNameserverParams) SetContext(ctx context.Context)
- func (o *DeleteNameserverParams) SetForceReload(forceReload *bool)
- func (o *DeleteNameserverParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNameserverParams) SetName(name string)
- func (o *DeleteNameserverParams) SetResolver(resolver string)
- func (o *DeleteNameserverParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNameserverParams) SetTransactionID(transactionID *string)
- func (o *DeleteNameserverParams) SetVersion(version *int64)
- func (o *DeleteNameserverParams) WithContext(ctx context.Context) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithForceReload(forceReload *bool) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithHTTPClient(client *http.Client) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithName(name string) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithResolver(resolver string) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithTimeout(timeout time.Duration) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithTransactionID(transactionID *string) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WithVersion(version *int64) *DeleteNameserverParams
- func (o *DeleteNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNameserverReader
- type GetNameserverDefault
- type GetNameserverNotFound
- type GetNameserverOK
- type GetNameserverOKBody
- type GetNameserverParams
- func (o *GetNameserverParams) SetContext(ctx context.Context)
- func (o *GetNameserverParams) SetHTTPClient(client *http.Client)
- func (o *GetNameserverParams) SetName(name string)
- func (o *GetNameserverParams) SetResolver(resolver string)
- func (o *GetNameserverParams) SetTimeout(timeout time.Duration)
- func (o *GetNameserverParams) SetTransactionID(transactionID *string)
- func (o *GetNameserverParams) WithContext(ctx context.Context) *GetNameserverParams
- func (o *GetNameserverParams) WithHTTPClient(client *http.Client) *GetNameserverParams
- func (o *GetNameserverParams) WithName(name string) *GetNameserverParams
- func (o *GetNameserverParams) WithResolver(resolver string) *GetNameserverParams
- func (o *GetNameserverParams) WithTimeout(timeout time.Duration) *GetNameserverParams
- func (o *GetNameserverParams) WithTransactionID(transactionID *string) *GetNameserverParams
- func (o *GetNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNameserverReader
- type GetNameserversDefault
- type GetNameserversOK
- type GetNameserversOKBody
- type GetNameserversParams
- func NewGetNameserversParams() *GetNameserversParams
- func NewGetNameserversParamsWithContext(ctx context.Context) *GetNameserversParams
- func NewGetNameserversParamsWithHTTPClient(client *http.Client) *GetNameserversParams
- func NewGetNameserversParamsWithTimeout(timeout time.Duration) *GetNameserversParams
- func (o *GetNameserversParams) SetContext(ctx context.Context)
- func (o *GetNameserversParams) SetHTTPClient(client *http.Client)
- func (o *GetNameserversParams) SetResolver(resolver string)
- func (o *GetNameserversParams) SetTimeout(timeout time.Duration)
- func (o *GetNameserversParams) SetTransactionID(transactionID *string)
- func (o *GetNameserversParams) WithContext(ctx context.Context) *GetNameserversParams
- func (o *GetNameserversParams) WithHTTPClient(client *http.Client) *GetNameserversParams
- func (o *GetNameserversParams) WithResolver(resolver string) *GetNameserversParams
- func (o *GetNameserversParams) WithTimeout(timeout time.Duration) *GetNameserversParams
- func (o *GetNameserversParams) WithTransactionID(transactionID *string) *GetNameserversParams
- func (o *GetNameserversParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNameserversReader
- type ReplaceNameserverAccepted
- type ReplaceNameserverBadRequest
- type ReplaceNameserverDefault
- type ReplaceNameserverNotFound
- type ReplaceNameserverOK
- type ReplaceNameserverParams
- func NewReplaceNameserverParams() *ReplaceNameserverParams
- func NewReplaceNameserverParamsWithContext(ctx context.Context) *ReplaceNameserverParams
- func NewReplaceNameserverParamsWithHTTPClient(client *http.Client) *ReplaceNameserverParams
- func NewReplaceNameserverParamsWithTimeout(timeout time.Duration) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) SetContext(ctx context.Context)
- func (o *ReplaceNameserverParams) SetData(data *models.Nameserver)
- func (o *ReplaceNameserverParams) SetForceReload(forceReload *bool)
- func (o *ReplaceNameserverParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceNameserverParams) SetName(name string)
- func (o *ReplaceNameserverParams) SetResolver(resolver string)
- func (o *ReplaceNameserverParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceNameserverParams) SetTransactionID(transactionID *string)
- func (o *ReplaceNameserverParams) SetVersion(version *int64)
- func (o *ReplaceNameserverParams) WithContext(ctx context.Context) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithData(data *models.Nameserver) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithForceReload(forceReload *bool) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithHTTPClient(client *http.Client) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithName(name string) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithResolver(resolver string) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithTimeout(timeout time.Duration) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithTransactionID(transactionID *string) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WithVersion(version *int64) *ReplaceNameserverParams
- func (o *ReplaceNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceNameserverReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for nameserver API
func (*Client) CreateNameserver ¶
func (a *Client) CreateNameserver(params *CreateNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNameserverCreated, *CreateNameserverAccepted, error)
CreateNameserver adds a nameserver
Adds a new nameserver to the resolvers section.
func (*Client) DeleteNameserver ¶
func (a *Client) DeleteNameserver(params *DeleteNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNameserverAccepted, *DeleteNameserverNoContent, error)
DeleteNameserver deletes a nameserver
Deletes a nameserver from the resolvers section by it's name.
func (*Client) GetNameserver ¶
func (a *Client) GetNameserver(params *GetNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserverOK, error)
GetNameserver returns a nameserver
Returns one nameserver configuration by it's name.
func (*Client) GetNameservers ¶
func (a *Client) GetNameservers(params *GetNameserversParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserversOK, error)
GetNameservers returns an array of nameservers
Returns an array of all configured nameservers.
func (*Client) ReplaceNameserver ¶
func (a *Client) ReplaceNameserver(params *ReplaceNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceNameserverOK, *ReplaceNameserverAccepted, error)
ReplaceNameserver replaces a nameserver
Replaces a nameserver configuration by it's name.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateNameserver(params *CreateNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNameserverCreated, *CreateNameserverAccepted, error) DeleteNameserver(params *DeleteNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNameserverAccepted, *DeleteNameserverNoContent, error) GetNameserver(params *GetNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserverOK, error) GetNameservers(params *GetNameserversParams, authInfo runtime.ClientAuthInfoWriter) (*GetNameserversOK, error) ReplaceNameserver(params *ReplaceNameserverParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceNameserverOK, *ReplaceNameserverAccepted, 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 nameserver API client.
type CreateNameserverAccepted ¶
type CreateNameserverAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.Nameserver }
CreateNameserverAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateNameserverAccepted ¶
func NewCreateNameserverAccepted() *CreateNameserverAccepted
NewCreateNameserverAccepted creates a CreateNameserverAccepted with default headers values
func (*CreateNameserverAccepted) Error ¶
func (o *CreateNameserverAccepted) Error() string
func (*CreateNameserverAccepted) GetPayload ¶
func (o *CreateNameserverAccepted) GetPayload() *models.Nameserver
type CreateNameserverBadRequest ¶
type CreateNameserverBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateNameserverBadRequest handles this case with default header values.
Bad request
func NewCreateNameserverBadRequest ¶
func NewCreateNameserverBadRequest() *CreateNameserverBadRequest
NewCreateNameserverBadRequest creates a CreateNameserverBadRequest with default headers values
func (*CreateNameserverBadRequest) Error ¶
func (o *CreateNameserverBadRequest) Error() string
func (*CreateNameserverBadRequest) GetPayload ¶
func (o *CreateNameserverBadRequest) GetPayload() *models.Error
type CreateNameserverConflict ¶
type CreateNameserverConflict struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateNameserverConflict handles this case with default header values.
The specified resource already exists
func NewCreateNameserverConflict ¶
func NewCreateNameserverConflict() *CreateNameserverConflict
NewCreateNameserverConflict creates a CreateNameserverConflict with default headers values
func (*CreateNameserverConflict) Error ¶
func (o *CreateNameserverConflict) Error() string
func (*CreateNameserverConflict) GetPayload ¶
func (o *CreateNameserverConflict) GetPayload() *models.Error
type CreateNameserverCreated ¶
type CreateNameserverCreated struct {
Payload *models.Nameserver
}
CreateNameserverCreated handles this case with default header values.
Nameserver created
func NewCreateNameserverCreated ¶
func NewCreateNameserverCreated() *CreateNameserverCreated
NewCreateNameserverCreated creates a CreateNameserverCreated with default headers values
func (*CreateNameserverCreated) Error ¶
func (o *CreateNameserverCreated) Error() string
func (*CreateNameserverCreated) GetPayload ¶
func (o *CreateNameserverCreated) GetPayload() *models.Nameserver
type CreateNameserverDefault ¶
type CreateNameserverDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
CreateNameserverDefault handles this case with default header values.
General Error
func NewCreateNameserverDefault ¶
func NewCreateNameserverDefault(code int) *CreateNameserverDefault
NewCreateNameserverDefault creates a CreateNameserverDefault with default headers values
func (*CreateNameserverDefault) Code ¶
func (o *CreateNameserverDefault) Code() int
Code gets the status code for the create nameserver default response
func (*CreateNameserverDefault) Error ¶
func (o *CreateNameserverDefault) Error() string
func (*CreateNameserverDefault) GetPayload ¶
func (o *CreateNameserverDefault) GetPayload() *models.Error
type CreateNameserverParams ¶
type CreateNameserverParams struct { /*Data*/ Data *models.Nameserver /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Resolver Parent resolver name */ Resolver string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNameserverParams contains all the parameters to send to the API endpoint for the create nameserver operation typically these are written to a http.Request
func NewCreateNameserverParams ¶
func NewCreateNameserverParams() *CreateNameserverParams
NewCreateNameserverParams creates a new CreateNameserverParams object with the default values initialized.
func NewCreateNameserverParamsWithContext ¶
func NewCreateNameserverParamsWithContext(ctx context.Context) *CreateNameserverParams
NewCreateNameserverParamsWithContext creates a new CreateNameserverParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNameserverParamsWithHTTPClient ¶
func NewCreateNameserverParamsWithHTTPClient(client *http.Client) *CreateNameserverParams
NewCreateNameserverParamsWithHTTPClient creates a new CreateNameserverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNameserverParamsWithTimeout ¶
func NewCreateNameserverParamsWithTimeout(timeout time.Duration) *CreateNameserverParams
NewCreateNameserverParamsWithTimeout creates a new CreateNameserverParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNameserverParams) SetContext ¶
func (o *CreateNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the create nameserver params
func (*CreateNameserverParams) SetData ¶
func (o *CreateNameserverParams) SetData(data *models.Nameserver)
SetData adds the data to the create nameserver params
func (*CreateNameserverParams) SetForceReload ¶
func (o *CreateNameserverParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create nameserver params
func (*CreateNameserverParams) SetHTTPClient ¶
func (o *CreateNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nameserver params
func (*CreateNameserverParams) SetResolver ¶
func (o *CreateNameserverParams) SetResolver(resolver string)
SetResolver adds the resolver to the create nameserver params
func (*CreateNameserverParams) SetTimeout ¶
func (o *CreateNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nameserver params
func (*CreateNameserverParams) SetTransactionID ¶
func (o *CreateNameserverParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create nameserver params
func (*CreateNameserverParams) SetVersion ¶
func (o *CreateNameserverParams) SetVersion(version *int64)
SetVersion adds the version to the create nameserver params
func (*CreateNameserverParams) WithContext ¶
func (o *CreateNameserverParams) WithContext(ctx context.Context) *CreateNameserverParams
WithContext adds the context to the create nameserver params
func (*CreateNameserverParams) WithData ¶
func (o *CreateNameserverParams) WithData(data *models.Nameserver) *CreateNameserverParams
WithData adds the data to the create nameserver params
func (*CreateNameserverParams) WithForceReload ¶
func (o *CreateNameserverParams) WithForceReload(forceReload *bool) *CreateNameserverParams
WithForceReload adds the forceReload to the create nameserver params
func (*CreateNameserverParams) WithHTTPClient ¶
func (o *CreateNameserverParams) WithHTTPClient(client *http.Client) *CreateNameserverParams
WithHTTPClient adds the HTTPClient to the create nameserver params
func (*CreateNameserverParams) WithResolver ¶
func (o *CreateNameserverParams) WithResolver(resolver string) *CreateNameserverParams
WithResolver adds the resolver to the create nameserver params
func (*CreateNameserverParams) WithTimeout ¶
func (o *CreateNameserverParams) WithTimeout(timeout time.Duration) *CreateNameserverParams
WithTimeout adds the timeout to the create nameserver params
func (*CreateNameserverParams) WithTransactionID ¶
func (o *CreateNameserverParams) WithTransactionID(transactionID *string) *CreateNameserverParams
WithTransactionID adds the transactionID to the create nameserver params
func (*CreateNameserverParams) WithVersion ¶
func (o *CreateNameserverParams) WithVersion(version *int64) *CreateNameserverParams
WithVersion adds the version to the create nameserver params
func (*CreateNameserverParams) WriteToRequest ¶
func (o *CreateNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNameserverReader ¶
type CreateNameserverReader struct {
// contains filtered or unexported fields
}
CreateNameserverReader is a Reader for the CreateNameserver structure.
func (*CreateNameserverReader) ReadResponse ¶
func (o *CreateNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNameserverAccepted ¶
type DeleteNameserverAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteNameserverAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteNameserverAccepted ¶
func NewDeleteNameserverAccepted() *DeleteNameserverAccepted
NewDeleteNameserverAccepted creates a DeleteNameserverAccepted with default headers values
func (*DeleteNameserverAccepted) Error ¶
func (o *DeleteNameserverAccepted) Error() string
type DeleteNameserverDefault ¶
type DeleteNameserverDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
DeleteNameserverDefault handles this case with default header values.
General Error
func NewDeleteNameserverDefault ¶
func NewDeleteNameserverDefault(code int) *DeleteNameserverDefault
NewDeleteNameserverDefault creates a DeleteNameserverDefault with default headers values
func (*DeleteNameserverDefault) Code ¶
func (o *DeleteNameserverDefault) Code() int
Code gets the status code for the delete nameserver default response
func (*DeleteNameserverDefault) Error ¶
func (o *DeleteNameserverDefault) Error() string
func (*DeleteNameserverDefault) GetPayload ¶
func (o *DeleteNameserverDefault) GetPayload() *models.Error
type DeleteNameserverNoContent ¶
type DeleteNameserverNoContent struct { }
DeleteNameserverNoContent handles this case with default header values.
Nameserver deleted
func NewDeleteNameserverNoContent ¶
func NewDeleteNameserverNoContent() *DeleteNameserverNoContent
NewDeleteNameserverNoContent creates a DeleteNameserverNoContent with default headers values
func (*DeleteNameserverNoContent) Error ¶
func (o *DeleteNameserverNoContent) Error() string
type DeleteNameserverNotFound ¶
type DeleteNameserverNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
DeleteNameserverNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteNameserverNotFound ¶
func NewDeleteNameserverNotFound() *DeleteNameserverNotFound
NewDeleteNameserverNotFound creates a DeleteNameserverNotFound with default headers values
func (*DeleteNameserverNotFound) Error ¶
func (o *DeleteNameserverNotFound) Error() string
func (*DeleteNameserverNotFound) GetPayload ¶
func (o *DeleteNameserverNotFound) GetPayload() *models.Error
type DeleteNameserverParams ¶
type DeleteNameserverParams struct { /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Name Nameserver name */ Name string /*Resolver Parent resolver name */ Resolver string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNameserverParams contains all the parameters to send to the API endpoint for the delete nameserver operation typically these are written to a http.Request
func NewDeleteNameserverParams ¶
func NewDeleteNameserverParams() *DeleteNameserverParams
NewDeleteNameserverParams creates a new DeleteNameserverParams object with the default values initialized.
func NewDeleteNameserverParamsWithContext ¶
func NewDeleteNameserverParamsWithContext(ctx context.Context) *DeleteNameserverParams
NewDeleteNameserverParamsWithContext creates a new DeleteNameserverParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNameserverParamsWithHTTPClient ¶
func NewDeleteNameserverParamsWithHTTPClient(client *http.Client) *DeleteNameserverParams
NewDeleteNameserverParamsWithHTTPClient creates a new DeleteNameserverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNameserverParamsWithTimeout ¶
func NewDeleteNameserverParamsWithTimeout(timeout time.Duration) *DeleteNameserverParams
NewDeleteNameserverParamsWithTimeout creates a new DeleteNameserverParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNameserverParams) SetContext ¶
func (o *DeleteNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nameserver params
func (*DeleteNameserverParams) SetForceReload ¶
func (o *DeleteNameserverParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete nameserver params
func (*DeleteNameserverParams) SetHTTPClient ¶
func (o *DeleteNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nameserver params
func (*DeleteNameserverParams) SetName ¶
func (o *DeleteNameserverParams) SetName(name string)
SetName adds the name to the delete nameserver params
func (*DeleteNameserverParams) SetResolver ¶
func (o *DeleteNameserverParams) SetResolver(resolver string)
SetResolver adds the resolver to the delete nameserver params
func (*DeleteNameserverParams) SetTimeout ¶
func (o *DeleteNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nameserver params
func (*DeleteNameserverParams) SetTransactionID ¶
func (o *DeleteNameserverParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete nameserver params
func (*DeleteNameserverParams) SetVersion ¶
func (o *DeleteNameserverParams) SetVersion(version *int64)
SetVersion adds the version to the delete nameserver params
func (*DeleteNameserverParams) WithContext ¶
func (o *DeleteNameserverParams) WithContext(ctx context.Context) *DeleteNameserverParams
WithContext adds the context to the delete nameserver params
func (*DeleteNameserverParams) WithForceReload ¶
func (o *DeleteNameserverParams) WithForceReload(forceReload *bool) *DeleteNameserverParams
WithForceReload adds the forceReload to the delete nameserver params
func (*DeleteNameserverParams) WithHTTPClient ¶
func (o *DeleteNameserverParams) WithHTTPClient(client *http.Client) *DeleteNameserverParams
WithHTTPClient adds the HTTPClient to the delete nameserver params
func (*DeleteNameserverParams) WithName ¶
func (o *DeleteNameserverParams) WithName(name string) *DeleteNameserverParams
WithName adds the name to the delete nameserver params
func (*DeleteNameserverParams) WithResolver ¶
func (o *DeleteNameserverParams) WithResolver(resolver string) *DeleteNameserverParams
WithResolver adds the resolver to the delete nameserver params
func (*DeleteNameserverParams) WithTimeout ¶
func (o *DeleteNameserverParams) WithTimeout(timeout time.Duration) *DeleteNameserverParams
WithTimeout adds the timeout to the delete nameserver params
func (*DeleteNameserverParams) WithTransactionID ¶
func (o *DeleteNameserverParams) WithTransactionID(transactionID *string) *DeleteNameserverParams
WithTransactionID adds the transactionID to the delete nameserver params
func (*DeleteNameserverParams) WithVersion ¶
func (o *DeleteNameserverParams) WithVersion(version *int64) *DeleteNameserverParams
WithVersion adds the version to the delete nameserver params
func (*DeleteNameserverParams) WriteToRequest ¶
func (o *DeleteNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNameserverReader ¶
type DeleteNameserverReader struct {
// contains filtered or unexported fields
}
DeleteNameserverReader is a Reader for the DeleteNameserver structure.
func (*DeleteNameserverReader) ReadResponse ¶
func (o *DeleteNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNameserverDefault ¶
type GetNameserverDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetNameserverDefault handles this case with default header values.
General Error
func NewGetNameserverDefault ¶
func NewGetNameserverDefault(code int) *GetNameserverDefault
NewGetNameserverDefault creates a GetNameserverDefault with default headers values
func (*GetNameserverDefault) Code ¶
func (o *GetNameserverDefault) Code() int
Code gets the status code for the get nameserver default response
func (*GetNameserverDefault) Error ¶
func (o *GetNameserverDefault) Error() string
func (*GetNameserverDefault) GetPayload ¶
func (o *GetNameserverDefault) GetPayload() *models.Error
type GetNameserverNotFound ¶
type GetNameserverNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetNameserverNotFound handles this case with default header values.
The specified resource was not found
func NewGetNameserverNotFound ¶
func NewGetNameserverNotFound() *GetNameserverNotFound
NewGetNameserverNotFound creates a GetNameserverNotFound with default headers values
func (*GetNameserverNotFound) Error ¶
func (o *GetNameserverNotFound) Error() string
func (*GetNameserverNotFound) GetPayload ¶
func (o *GetNameserverNotFound) GetPayload() *models.Error
type GetNameserverOK ¶
type GetNameserverOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetNameserverOKBody }
GetNameserverOK handles this case with default header values.
Successful operation
func NewGetNameserverOK ¶
func NewGetNameserverOK() *GetNameserverOK
NewGetNameserverOK creates a GetNameserverOK with default headers values
func (*GetNameserverOK) Error ¶
func (o *GetNameserverOK) Error() string
func (*GetNameserverOK) GetPayload ¶
func (o *GetNameserverOK) GetPayload() *GetNameserverOKBody
type GetNameserverOKBody ¶
type GetNameserverOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Nameserver `json:"data,omitempty"` }
GetNameserverOKBody get nameserver o k body swagger:model GetNameserverOKBody
func (*GetNameserverOKBody) MarshalBinary ¶
func (o *GetNameserverOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNameserverOKBody) UnmarshalBinary ¶
func (o *GetNameserverOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNameserverParams ¶
type GetNameserverParams struct { /*Name Nameserver name */ Name string /*Resolver Parent resolver name */ Resolver string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNameserverParams contains all the parameters to send to the API endpoint for the get nameserver operation typically these are written to a http.Request
func NewGetNameserverParams ¶
func NewGetNameserverParams() *GetNameserverParams
NewGetNameserverParams creates a new GetNameserverParams object with the default values initialized.
func NewGetNameserverParamsWithContext ¶
func NewGetNameserverParamsWithContext(ctx context.Context) *GetNameserverParams
NewGetNameserverParamsWithContext creates a new GetNameserverParams object with the default values initialized, and the ability to set a context for a request
func NewGetNameserverParamsWithHTTPClient ¶
func NewGetNameserverParamsWithHTTPClient(client *http.Client) *GetNameserverParams
NewGetNameserverParamsWithHTTPClient creates a new GetNameserverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNameserverParamsWithTimeout ¶
func NewGetNameserverParamsWithTimeout(timeout time.Duration) *GetNameserverParams
NewGetNameserverParamsWithTimeout creates a new GetNameserverParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNameserverParams) SetContext ¶
func (o *GetNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the get nameserver params
func (*GetNameserverParams) SetHTTPClient ¶
func (o *GetNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nameserver params
func (*GetNameserverParams) SetName ¶
func (o *GetNameserverParams) SetName(name string)
SetName adds the name to the get nameserver params
func (*GetNameserverParams) SetResolver ¶
func (o *GetNameserverParams) SetResolver(resolver string)
SetResolver adds the resolver to the get nameserver params
func (*GetNameserverParams) SetTimeout ¶
func (o *GetNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nameserver params
func (*GetNameserverParams) SetTransactionID ¶
func (o *GetNameserverParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get nameserver params
func (*GetNameserverParams) WithContext ¶
func (o *GetNameserverParams) WithContext(ctx context.Context) *GetNameserverParams
WithContext adds the context to the get nameserver params
func (*GetNameserverParams) WithHTTPClient ¶
func (o *GetNameserverParams) WithHTTPClient(client *http.Client) *GetNameserverParams
WithHTTPClient adds the HTTPClient to the get nameserver params
func (*GetNameserverParams) WithName ¶
func (o *GetNameserverParams) WithName(name string) *GetNameserverParams
WithName adds the name to the get nameserver params
func (*GetNameserverParams) WithResolver ¶
func (o *GetNameserverParams) WithResolver(resolver string) *GetNameserverParams
WithResolver adds the resolver to the get nameserver params
func (*GetNameserverParams) WithTimeout ¶
func (o *GetNameserverParams) WithTimeout(timeout time.Duration) *GetNameserverParams
WithTimeout adds the timeout to the get nameserver params
func (*GetNameserverParams) WithTransactionID ¶
func (o *GetNameserverParams) WithTransactionID(transactionID *string) *GetNameserverParams
WithTransactionID adds the transactionID to the get nameserver params
func (*GetNameserverParams) WriteToRequest ¶
func (o *GetNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNameserverReader ¶
type GetNameserverReader struct {
// contains filtered or unexported fields
}
GetNameserverReader is a Reader for the GetNameserver structure.
func (*GetNameserverReader) ReadResponse ¶
func (o *GetNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNameserversDefault ¶
type GetNameserversDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetNameserversDefault handles this case with default header values.
General Error
func NewGetNameserversDefault ¶
func NewGetNameserversDefault(code int) *GetNameserversDefault
NewGetNameserversDefault creates a GetNameserversDefault with default headers values
func (*GetNameserversDefault) Code ¶
func (o *GetNameserversDefault) Code() int
Code gets the status code for the get nameservers default response
func (*GetNameserversDefault) Error ¶
func (o *GetNameserversDefault) Error() string
func (*GetNameserversDefault) GetPayload ¶
func (o *GetNameserversDefault) GetPayload() *models.Error
type GetNameserversOK ¶
type GetNameserversOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetNameserversOKBody }
GetNameserversOK handles this case with default header values.
Successful operation
func NewGetNameserversOK ¶
func NewGetNameserversOK() *GetNameserversOK
NewGetNameserversOK creates a GetNameserversOK with default headers values
func (*GetNameserversOK) Error ¶
func (o *GetNameserversOK) Error() string
func (*GetNameserversOK) GetPayload ¶
func (o *GetNameserversOK) GetPayload() *GetNameserversOKBody
type GetNameserversOKBody ¶
type GetNameserversOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Nameservers `json:"data"` }
GetNameserversOKBody get nameservers o k body swagger:model GetNameserversOKBody
func (*GetNameserversOKBody) MarshalBinary ¶
func (o *GetNameserversOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNameserversOKBody) UnmarshalBinary ¶
func (o *GetNameserversOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNameserversParams ¶
type GetNameserversParams struct { /*Resolver Parent resolver name */ Resolver string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNameserversParams contains all the parameters to send to the API endpoint for the get nameservers operation typically these are written to a http.Request
func NewGetNameserversParams ¶
func NewGetNameserversParams() *GetNameserversParams
NewGetNameserversParams creates a new GetNameserversParams object with the default values initialized.
func NewGetNameserversParamsWithContext ¶
func NewGetNameserversParamsWithContext(ctx context.Context) *GetNameserversParams
NewGetNameserversParamsWithContext creates a new GetNameserversParams object with the default values initialized, and the ability to set a context for a request
func NewGetNameserversParamsWithHTTPClient ¶
func NewGetNameserversParamsWithHTTPClient(client *http.Client) *GetNameserversParams
NewGetNameserversParamsWithHTTPClient creates a new GetNameserversParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNameserversParamsWithTimeout ¶
func NewGetNameserversParamsWithTimeout(timeout time.Duration) *GetNameserversParams
NewGetNameserversParamsWithTimeout creates a new GetNameserversParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNameserversParams) SetContext ¶
func (o *GetNameserversParams) SetContext(ctx context.Context)
SetContext adds the context to the get nameservers params
func (*GetNameserversParams) SetHTTPClient ¶
func (o *GetNameserversParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nameservers params
func (*GetNameserversParams) SetResolver ¶
func (o *GetNameserversParams) SetResolver(resolver string)
SetResolver adds the resolver to the get nameservers params
func (*GetNameserversParams) SetTimeout ¶
func (o *GetNameserversParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nameservers params
func (*GetNameserversParams) SetTransactionID ¶
func (o *GetNameserversParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get nameservers params
func (*GetNameserversParams) WithContext ¶
func (o *GetNameserversParams) WithContext(ctx context.Context) *GetNameserversParams
WithContext adds the context to the get nameservers params
func (*GetNameserversParams) WithHTTPClient ¶
func (o *GetNameserversParams) WithHTTPClient(client *http.Client) *GetNameserversParams
WithHTTPClient adds the HTTPClient to the get nameservers params
func (*GetNameserversParams) WithResolver ¶
func (o *GetNameserversParams) WithResolver(resolver string) *GetNameserversParams
WithResolver adds the resolver to the get nameservers params
func (*GetNameserversParams) WithTimeout ¶
func (o *GetNameserversParams) WithTimeout(timeout time.Duration) *GetNameserversParams
WithTimeout adds the timeout to the get nameservers params
func (*GetNameserversParams) WithTransactionID ¶
func (o *GetNameserversParams) WithTransactionID(transactionID *string) *GetNameserversParams
WithTransactionID adds the transactionID to the get nameservers params
func (*GetNameserversParams) WriteToRequest ¶
func (o *GetNameserversParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNameserversReader ¶
type GetNameserversReader struct {
// contains filtered or unexported fields
}
GetNameserversReader is a Reader for the GetNameservers structure.
func (*GetNameserversReader) ReadResponse ¶
func (o *GetNameserversReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceNameserverAccepted ¶
type ReplaceNameserverAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.Nameserver }
ReplaceNameserverAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceNameserverAccepted ¶
func NewReplaceNameserverAccepted() *ReplaceNameserverAccepted
NewReplaceNameserverAccepted creates a ReplaceNameserverAccepted with default headers values
func (*ReplaceNameserverAccepted) Error ¶
func (o *ReplaceNameserverAccepted) Error() string
func (*ReplaceNameserverAccepted) GetPayload ¶
func (o *ReplaceNameserverAccepted) GetPayload() *models.Nameserver
type ReplaceNameserverBadRequest ¶
type ReplaceNameserverBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceNameserverBadRequest handles this case with default header values.
Bad request
func NewReplaceNameserverBadRequest ¶
func NewReplaceNameserverBadRequest() *ReplaceNameserverBadRequest
NewReplaceNameserverBadRequest creates a ReplaceNameserverBadRequest with default headers values
func (*ReplaceNameserverBadRequest) Error ¶
func (o *ReplaceNameserverBadRequest) Error() string
func (*ReplaceNameserverBadRequest) GetPayload ¶
func (o *ReplaceNameserverBadRequest) GetPayload() *models.Error
type ReplaceNameserverDefault ¶
type ReplaceNameserverDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceNameserverDefault handles this case with default header values.
General Error
func NewReplaceNameserverDefault ¶
func NewReplaceNameserverDefault(code int) *ReplaceNameserverDefault
NewReplaceNameserverDefault creates a ReplaceNameserverDefault with default headers values
func (*ReplaceNameserverDefault) Code ¶
func (o *ReplaceNameserverDefault) Code() int
Code gets the status code for the replace nameserver default response
func (*ReplaceNameserverDefault) Error ¶
func (o *ReplaceNameserverDefault) Error() string
func (*ReplaceNameserverDefault) GetPayload ¶
func (o *ReplaceNameserverDefault) GetPayload() *models.Error
type ReplaceNameserverNotFound ¶
type ReplaceNameserverNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceNameserverNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceNameserverNotFound ¶
func NewReplaceNameserverNotFound() *ReplaceNameserverNotFound
NewReplaceNameserverNotFound creates a ReplaceNameserverNotFound with default headers values
func (*ReplaceNameserverNotFound) Error ¶
func (o *ReplaceNameserverNotFound) Error() string
func (*ReplaceNameserverNotFound) GetPayload ¶
func (o *ReplaceNameserverNotFound) GetPayload() *models.Error
type ReplaceNameserverOK ¶
type ReplaceNameserverOK struct {
Payload *models.Nameserver
}
ReplaceNameserverOK handles this case with default header values.
Nameserver replaced
func NewReplaceNameserverOK ¶
func NewReplaceNameserverOK() *ReplaceNameserverOK
NewReplaceNameserverOK creates a ReplaceNameserverOK with default headers values
func (*ReplaceNameserverOK) Error ¶
func (o *ReplaceNameserverOK) Error() string
func (*ReplaceNameserverOK) GetPayload ¶
func (o *ReplaceNameserverOK) GetPayload() *models.Nameserver
type ReplaceNameserverParams ¶
type ReplaceNameserverParams struct { /*Data*/ Data *models.Nameserver /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Name Nameserver name */ Name string /*Resolver Parent resolver name */ Resolver string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceNameserverParams contains all the parameters to send to the API endpoint for the replace nameserver operation typically these are written to a http.Request
func NewReplaceNameserverParams ¶
func NewReplaceNameserverParams() *ReplaceNameserverParams
NewReplaceNameserverParams creates a new ReplaceNameserverParams object with the default values initialized.
func NewReplaceNameserverParamsWithContext ¶
func NewReplaceNameserverParamsWithContext(ctx context.Context) *ReplaceNameserverParams
NewReplaceNameserverParamsWithContext creates a new ReplaceNameserverParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceNameserverParamsWithHTTPClient ¶
func NewReplaceNameserverParamsWithHTTPClient(client *http.Client) *ReplaceNameserverParams
NewReplaceNameserverParamsWithHTTPClient creates a new ReplaceNameserverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceNameserverParamsWithTimeout ¶
func NewReplaceNameserverParamsWithTimeout(timeout time.Duration) *ReplaceNameserverParams
NewReplaceNameserverParamsWithTimeout creates a new ReplaceNameserverParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceNameserverParams) SetContext ¶
func (o *ReplaceNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the replace nameserver params
func (*ReplaceNameserverParams) SetData ¶
func (o *ReplaceNameserverParams) SetData(data *models.Nameserver)
SetData adds the data to the replace nameserver params
func (*ReplaceNameserverParams) SetForceReload ¶
func (o *ReplaceNameserverParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace nameserver params
func (*ReplaceNameserverParams) SetHTTPClient ¶
func (o *ReplaceNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace nameserver params
func (*ReplaceNameserverParams) SetName ¶
func (o *ReplaceNameserverParams) SetName(name string)
SetName adds the name to the replace nameserver params
func (*ReplaceNameserverParams) SetResolver ¶
func (o *ReplaceNameserverParams) SetResolver(resolver string)
SetResolver adds the resolver to the replace nameserver params
func (*ReplaceNameserverParams) SetTimeout ¶
func (o *ReplaceNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace nameserver params
func (*ReplaceNameserverParams) SetTransactionID ¶
func (o *ReplaceNameserverParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace nameserver params
func (*ReplaceNameserverParams) SetVersion ¶
func (o *ReplaceNameserverParams) SetVersion(version *int64)
SetVersion adds the version to the replace nameserver params
func (*ReplaceNameserverParams) WithContext ¶
func (o *ReplaceNameserverParams) WithContext(ctx context.Context) *ReplaceNameserverParams
WithContext adds the context to the replace nameserver params
func (*ReplaceNameserverParams) WithData ¶
func (o *ReplaceNameserverParams) WithData(data *models.Nameserver) *ReplaceNameserverParams
WithData adds the data to the replace nameserver params
func (*ReplaceNameserverParams) WithForceReload ¶
func (o *ReplaceNameserverParams) WithForceReload(forceReload *bool) *ReplaceNameserverParams
WithForceReload adds the forceReload to the replace nameserver params
func (*ReplaceNameserverParams) WithHTTPClient ¶
func (o *ReplaceNameserverParams) WithHTTPClient(client *http.Client) *ReplaceNameserverParams
WithHTTPClient adds the HTTPClient to the replace nameserver params
func (*ReplaceNameserverParams) WithName ¶
func (o *ReplaceNameserverParams) WithName(name string) *ReplaceNameserverParams
WithName adds the name to the replace nameserver params
func (*ReplaceNameserverParams) WithResolver ¶
func (o *ReplaceNameserverParams) WithResolver(resolver string) *ReplaceNameserverParams
WithResolver adds the resolver to the replace nameserver params
func (*ReplaceNameserverParams) WithTimeout ¶
func (o *ReplaceNameserverParams) WithTimeout(timeout time.Duration) *ReplaceNameserverParams
WithTimeout adds the timeout to the replace nameserver params
func (*ReplaceNameserverParams) WithTransactionID ¶
func (o *ReplaceNameserverParams) WithTransactionID(transactionID *string) *ReplaceNameserverParams
WithTransactionID adds the transactionID to the replace nameserver params
func (*ReplaceNameserverParams) WithVersion ¶
func (o *ReplaceNameserverParams) WithVersion(version *int64) *ReplaceNameserverParams
WithVersion adds the version to the replace nameserver params
func (*ReplaceNameserverParams) WriteToRequest ¶
func (o *ReplaceNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceNameserverReader ¶
type ReplaceNameserverReader struct {
// contains filtered or unexported fields
}
ReplaceNameserverReader is a Reader for the ReplaceNameserver structure.
func (*ReplaceNameserverReader) ReadResponse ¶
func (o *ReplaceNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_nameserver_parameters.go
- create_nameserver_responses.go
- delete_nameserver_parameters.go
- delete_nameserver_responses.go
- get_nameserver_parameters.go
- get_nameserver_responses.go
- get_nameservers_parameters.go
- get_nameservers_responses.go
- nameserver_client.go
- replace_nameserver_parameters.go
- replace_nameserver_responses.go