Documentation
¶
Index ¶
- type Client
- func (a *Client) RecordCreate(params *RecordCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordCreateCreated, error)
- func (a *Client) RecordDelete(params *RecordDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordDeleteNoContent, error)
- func (a *Client) RecordList(params *RecordListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordListOK, error)
- func (a *Client) RecordRead(params *RecordReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordReadOK, error)
- func (a *Client) RecordSOASerialIncrement(params *RecordSOASerialIncrementParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordSOASerialIncrementCreated, error)
- func (a *Client) RecordUpdate(params *RecordUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RecordUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RecordCreateCreated
- type RecordCreateParams
- func (o *RecordCreateParams) SetBody(body *models.DataRecord)
- func (o *RecordCreateParams) SetContext(ctx context.Context)
- func (o *RecordCreateParams) SetDefaults()
- func (o *RecordCreateParams) SetHTTPClient(client *http.Client)
- func (o *RecordCreateParams) SetTimeout(timeout time.Duration)
- func (o *RecordCreateParams) WithBody(body *models.DataRecord) *RecordCreateParams
- func (o *RecordCreateParams) WithContext(ctx context.Context) *RecordCreateParams
- func (o *RecordCreateParams) WithDefaults() *RecordCreateParams
- func (o *RecordCreateParams) WithHTTPClient(client *http.Client) *RecordCreateParams
- func (o *RecordCreateParams) WithTimeout(timeout time.Duration) *RecordCreateParams
- func (o *RecordCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordCreateReader
- type RecordDeleteNoContent
- type RecordDeleteParams
- func (o *RecordDeleteParams) SetContext(ctx context.Context)
- func (o *RecordDeleteParams) SetDefaults()
- func (o *RecordDeleteParams) SetHTTPClient(client *http.Client)
- func (o *RecordDeleteParams) SetID(id string)
- func (o *RecordDeleteParams) SetTimeout(timeout time.Duration)
- func (o *RecordDeleteParams) WithContext(ctx context.Context) *RecordDeleteParams
- func (o *RecordDeleteParams) WithDefaults() *RecordDeleteParams
- func (o *RecordDeleteParams) WithHTTPClient(client *http.Client) *RecordDeleteParams
- func (o *RecordDeleteParams) WithID(id string) *RecordDeleteParams
- func (o *RecordDeleteParams) WithTimeout(timeout time.Duration) *RecordDeleteParams
- func (o *RecordDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordDeleteReader
- type RecordListOK
- type RecordListParams
- func (o *RecordListParams) SetContext(ctx context.Context)
- func (o *RecordListParams) SetDefaults()
- func (o *RecordListParams) SetFields(fields *string)
- func (o *RecordListParams) SetFilter(filter *string)
- func (o *RecordListParams) SetHTTPClient(client *http.Client)
- func (o *RecordListParams) SetLimit(limit *int64)
- func (o *RecordListParams) SetOffset(offset *int64)
- func (o *RecordListParams) SetOrderBy(orderBy *string)
- func (o *RecordListParams) SetPageToken(pageToken *string)
- func (o *RecordListParams) SetTfilter(tfilter *string)
- func (o *RecordListParams) SetTimeout(timeout time.Duration)
- func (o *RecordListParams) SetTorderBy(torderBy *string)
- func (o *RecordListParams) WithContext(ctx context.Context) *RecordListParams
- func (o *RecordListParams) WithDefaults() *RecordListParams
- func (o *RecordListParams) WithFields(fields *string) *RecordListParams
- func (o *RecordListParams) WithFilter(filter *string) *RecordListParams
- func (o *RecordListParams) WithHTTPClient(client *http.Client) *RecordListParams
- func (o *RecordListParams) WithLimit(limit *int64) *RecordListParams
- func (o *RecordListParams) WithOffset(offset *int64) *RecordListParams
- func (o *RecordListParams) WithOrderBy(orderBy *string) *RecordListParams
- func (o *RecordListParams) WithPageToken(pageToken *string) *RecordListParams
- func (o *RecordListParams) WithTfilter(tfilter *string) *RecordListParams
- func (o *RecordListParams) WithTimeout(timeout time.Duration) *RecordListParams
- func (o *RecordListParams) WithTorderBy(torderBy *string) *RecordListParams
- func (o *RecordListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordListReader
- type RecordReadOK
- type RecordReadParams
- func (o *RecordReadParams) SetContext(ctx context.Context)
- func (o *RecordReadParams) SetDefaults()
- func (o *RecordReadParams) SetFields(fields *string)
- func (o *RecordReadParams) SetHTTPClient(client *http.Client)
- func (o *RecordReadParams) SetID(id string)
- func (o *RecordReadParams) SetTimeout(timeout time.Duration)
- func (o *RecordReadParams) WithContext(ctx context.Context) *RecordReadParams
- func (o *RecordReadParams) WithDefaults() *RecordReadParams
- func (o *RecordReadParams) WithFields(fields *string) *RecordReadParams
- func (o *RecordReadParams) WithHTTPClient(client *http.Client) *RecordReadParams
- func (o *RecordReadParams) WithID(id string) *RecordReadParams
- func (o *RecordReadParams) WithTimeout(timeout time.Duration) *RecordReadParams
- func (o *RecordReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordReadReader
- type RecordSOASerialIncrementCreated
- type RecordSOASerialIncrementParams
- func NewRecordSOASerialIncrementParams() *RecordSOASerialIncrementParams
- func NewRecordSOASerialIncrementParamsWithContext(ctx context.Context) *RecordSOASerialIncrementParams
- func NewRecordSOASerialIncrementParamsWithHTTPClient(client *http.Client) *RecordSOASerialIncrementParams
- func NewRecordSOASerialIncrementParamsWithTimeout(timeout time.Duration) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) SetBody(body *models.DataSOASerialIncrementRequest)
- func (o *RecordSOASerialIncrementParams) SetContext(ctx context.Context)
- func (o *RecordSOASerialIncrementParams) SetDefaults()
- func (o *RecordSOASerialIncrementParams) SetHTTPClient(client *http.Client)
- func (o *RecordSOASerialIncrementParams) SetID(id string)
- func (o *RecordSOASerialIncrementParams) SetTimeout(timeout time.Duration)
- func (o *RecordSOASerialIncrementParams) WithBody(body *models.DataSOASerialIncrementRequest) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WithContext(ctx context.Context) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WithDefaults() *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WithHTTPClient(client *http.Client) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WithID(id string) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WithTimeout(timeout time.Duration) *RecordSOASerialIncrementParams
- func (o *RecordSOASerialIncrementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordSOASerialIncrementReader
- type RecordUpdateCreated
- type RecordUpdateParams
- func (o *RecordUpdateParams) SetBody(body *models.DataRecord)
- func (o *RecordUpdateParams) SetContext(ctx context.Context)
- func (o *RecordUpdateParams) SetDefaults()
- func (o *RecordUpdateParams) SetHTTPClient(client *http.Client)
- func (o *RecordUpdateParams) SetID(id string)
- func (o *RecordUpdateParams) SetTimeout(timeout time.Duration)
- func (o *RecordUpdateParams) WithBody(body *models.DataRecord) *RecordUpdateParams
- func (o *RecordUpdateParams) WithContext(ctx context.Context) *RecordUpdateParams
- func (o *RecordUpdateParams) WithDefaults() *RecordUpdateParams
- func (o *RecordUpdateParams) WithHTTPClient(client *http.Client) *RecordUpdateParams
- func (o *RecordUpdateParams) WithID(id string) *RecordUpdateParams
- func (o *RecordUpdateParams) WithTimeout(timeout time.Duration) *RecordUpdateParams
- func (o *RecordUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecordUpdateReader
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 record API
func (*Client) RecordCreate ¶
func (a *Client) RecordCreate(params *RecordCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordCreateCreated, error)
RecordCreate creates the DNS resource record Use this method to create a DNS __Record__ object.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) RecordDelete ¶
func (a *Client) RecordDelete(params *RecordDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordDeleteNoContent, error)
RecordDelete moves the DNS resource record to recycle bin Use this method to move a DNS __Record__ object to the recycle bin.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) RecordList ¶
func (a *Client) RecordList(params *RecordListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordListOK, error)
RecordList retrieves DNS resource records Use this method to retrieve DNS __Record__ objects.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) RecordRead ¶
func (a *Client) RecordRead(params *RecordReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordReadOK, error)
RecordRead retrieves the DNS resource record Use this method to retrieve a DNS __Record__ object.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) RecordSOASerialIncrement ¶
func (a *Client) RecordSOASerialIncrement(params *RecordSOASerialIncrementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordSOASerialIncrementCreated, error)
RecordSOASerialIncrement increments serial number for the s o a record Use this method to increment the serial number for an SOA (Start of Authority) _Record_ object.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) RecordUpdate ¶
func (a *Client) RecordUpdate(params *RecordUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordUpdateCreated, error)
RecordUpdate updates the DNS resource record Use this method to update a DNS __Record__ object.
A __Record__ object represents a DNS resource record in an authoritative zone.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { RecordCreate(params *RecordCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordCreateCreated, error) RecordDelete(params *RecordDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordDeleteNoContent, error) RecordList(params *RecordListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordListOK, error) RecordRead(params *RecordReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordReadOK, error) RecordSOASerialIncrement(params *RecordSOASerialIncrementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordSOASerialIncrementCreated, error) RecordUpdate(params *RecordUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RecordUpdateCreated, 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 record API client.
type RecordCreateCreated ¶
type RecordCreateCreated struct {
Payload *models.DataCreateRecordResponse
}
RecordCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewRecordCreateCreated ¶
func NewRecordCreateCreated() *RecordCreateCreated
NewRecordCreateCreated creates a RecordCreateCreated with default headers values
func (*RecordCreateCreated) Error ¶
func (o *RecordCreateCreated) Error() string
func (*RecordCreateCreated) GetPayload ¶
func (o *RecordCreateCreated) GetPayload() *models.DataCreateRecordResponse
type RecordCreateParams ¶
type RecordCreateParams struct { // Body. Body *models.DataRecord Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordCreateParams contains all the parameters to send to the API endpoint
for the record create operation. Typically these are written to a http.Request.
func NewRecordCreateParams ¶
func NewRecordCreateParams() *RecordCreateParams
NewRecordCreateParams creates a new RecordCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordCreateParamsWithContext ¶
func NewRecordCreateParamsWithContext(ctx context.Context) *RecordCreateParams
NewRecordCreateParamsWithContext creates a new RecordCreateParams object with the ability to set a context for a request.
func NewRecordCreateParamsWithHTTPClient ¶
func NewRecordCreateParamsWithHTTPClient(client *http.Client) *RecordCreateParams
NewRecordCreateParamsWithHTTPClient creates a new RecordCreateParams object with the ability to set a custom HTTPClient for a request.
func NewRecordCreateParamsWithTimeout ¶
func NewRecordCreateParamsWithTimeout(timeout time.Duration) *RecordCreateParams
NewRecordCreateParamsWithTimeout creates a new RecordCreateParams object with the ability to set a timeout on a request.
func (*RecordCreateParams) SetBody ¶
func (o *RecordCreateParams) SetBody(body *models.DataRecord)
SetBody adds the body to the record create params
func (*RecordCreateParams) SetContext ¶
func (o *RecordCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the record create params
func (*RecordCreateParams) SetDefaults ¶
func (o *RecordCreateParams) SetDefaults()
SetDefaults hydrates default values in the record create params (not the query body).
All values with no default are reset to their zero value.
func (*RecordCreateParams) SetHTTPClient ¶
func (o *RecordCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record create params
func (*RecordCreateParams) SetTimeout ¶
func (o *RecordCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record create params
func (*RecordCreateParams) WithBody ¶
func (o *RecordCreateParams) WithBody(body *models.DataRecord) *RecordCreateParams
WithBody adds the body to the record create params
func (*RecordCreateParams) WithContext ¶
func (o *RecordCreateParams) WithContext(ctx context.Context) *RecordCreateParams
WithContext adds the context to the record create params
func (*RecordCreateParams) WithDefaults ¶
func (o *RecordCreateParams) WithDefaults() *RecordCreateParams
WithDefaults hydrates default values in the record create params (not the query body).
All values with no default are reset to their zero value.
func (*RecordCreateParams) WithHTTPClient ¶
func (o *RecordCreateParams) WithHTTPClient(client *http.Client) *RecordCreateParams
WithHTTPClient adds the HTTPClient to the record create params
func (*RecordCreateParams) WithTimeout ¶
func (o *RecordCreateParams) WithTimeout(timeout time.Duration) *RecordCreateParams
WithTimeout adds the timeout to the record create params
func (*RecordCreateParams) WriteToRequest ¶
func (o *RecordCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordCreateReader ¶
type RecordCreateReader struct {
// contains filtered or unexported fields
}
RecordCreateReader is a Reader for the RecordCreate structure.
func (*RecordCreateReader) ReadResponse ¶
func (o *RecordCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecordDeleteNoContent ¶
type RecordDeleteNoContent struct { }
RecordDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewRecordDeleteNoContent ¶
func NewRecordDeleteNoContent() *RecordDeleteNoContent
NewRecordDeleteNoContent creates a RecordDeleteNoContent with default headers values
func (*RecordDeleteNoContent) Error ¶
func (o *RecordDeleteNoContent) Error() string
type RecordDeleteParams ¶
type RecordDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordDeleteParams contains all the parameters to send to the API endpoint
for the record delete operation. Typically these are written to a http.Request.
func NewRecordDeleteParams ¶
func NewRecordDeleteParams() *RecordDeleteParams
NewRecordDeleteParams creates a new RecordDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordDeleteParamsWithContext ¶
func NewRecordDeleteParamsWithContext(ctx context.Context) *RecordDeleteParams
NewRecordDeleteParamsWithContext creates a new RecordDeleteParams object with the ability to set a context for a request.
func NewRecordDeleteParamsWithHTTPClient ¶
func NewRecordDeleteParamsWithHTTPClient(client *http.Client) *RecordDeleteParams
NewRecordDeleteParamsWithHTTPClient creates a new RecordDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewRecordDeleteParamsWithTimeout ¶
func NewRecordDeleteParamsWithTimeout(timeout time.Duration) *RecordDeleteParams
NewRecordDeleteParamsWithTimeout creates a new RecordDeleteParams object with the ability to set a timeout on a request.
func (*RecordDeleteParams) SetContext ¶
func (o *RecordDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the record delete params
func (*RecordDeleteParams) SetDefaults ¶
func (o *RecordDeleteParams) SetDefaults()
SetDefaults hydrates default values in the record delete params (not the query body).
All values with no default are reset to their zero value.
func (*RecordDeleteParams) SetHTTPClient ¶
func (o *RecordDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record delete params
func (*RecordDeleteParams) SetID ¶
func (o *RecordDeleteParams) SetID(id string)
SetID adds the id to the record delete params
func (*RecordDeleteParams) SetTimeout ¶
func (o *RecordDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record delete params
func (*RecordDeleteParams) WithContext ¶
func (o *RecordDeleteParams) WithContext(ctx context.Context) *RecordDeleteParams
WithContext adds the context to the record delete params
func (*RecordDeleteParams) WithDefaults ¶
func (o *RecordDeleteParams) WithDefaults() *RecordDeleteParams
WithDefaults hydrates default values in the record delete params (not the query body).
All values with no default are reset to their zero value.
func (*RecordDeleteParams) WithHTTPClient ¶
func (o *RecordDeleteParams) WithHTTPClient(client *http.Client) *RecordDeleteParams
WithHTTPClient adds the HTTPClient to the record delete params
func (*RecordDeleteParams) WithID ¶
func (o *RecordDeleteParams) WithID(id string) *RecordDeleteParams
WithID adds the id to the record delete params
func (*RecordDeleteParams) WithTimeout ¶
func (o *RecordDeleteParams) WithTimeout(timeout time.Duration) *RecordDeleteParams
WithTimeout adds the timeout to the record delete params
func (*RecordDeleteParams) WriteToRequest ¶
func (o *RecordDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordDeleteReader ¶
type RecordDeleteReader struct {
// contains filtered or unexported fields
}
RecordDeleteReader is a Reader for the RecordDelete structure.
func (*RecordDeleteReader) ReadResponse ¶
func (o *RecordDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecordListOK ¶
type RecordListOK struct {
Payload *models.DataListRecordResponse
}
RecordListOK describes a response with status code 200, with default header values.
GET operation response
func NewRecordListOK ¶
func NewRecordListOK() *RecordListOK
NewRecordListOK creates a RecordListOK with default headers values
func (*RecordListOK) Error ¶
func (o *RecordListOK) Error() string
func (*RecordListOK) GetPayload ¶
func (o *RecordListOK) GetPayload() *models.DataListRecordResponse
type RecordListParams ¶
type RecordListParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* Filter. A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | */ Filter *string /* Limit. The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. */ Limit *int64 /* Offset. The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. */ Offset *int64 /* OrderBy. A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. */ OrderBy *string /* PageToken. The service-defined string used to identify a page of resources. A null value indicates the first page. */ PageToken *string /* Tfilter. This parameter is used for filtering by tags. */ Tfilter *string /* TorderBy. This parameter is used for sorting by tags. */ TorderBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordListParams contains all the parameters to send to the API endpoint
for the record list operation. Typically these are written to a http.Request.
func NewRecordListParams ¶
func NewRecordListParams() *RecordListParams
NewRecordListParams creates a new RecordListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordListParamsWithContext ¶
func NewRecordListParamsWithContext(ctx context.Context) *RecordListParams
NewRecordListParamsWithContext creates a new RecordListParams object with the ability to set a context for a request.
func NewRecordListParamsWithHTTPClient ¶
func NewRecordListParamsWithHTTPClient(client *http.Client) *RecordListParams
NewRecordListParamsWithHTTPClient creates a new RecordListParams object with the ability to set a custom HTTPClient for a request.
func NewRecordListParamsWithTimeout ¶
func NewRecordListParamsWithTimeout(timeout time.Duration) *RecordListParams
NewRecordListParamsWithTimeout creates a new RecordListParams object with the ability to set a timeout on a request.
func (*RecordListParams) SetContext ¶
func (o *RecordListParams) SetContext(ctx context.Context)
SetContext adds the context to the record list params
func (*RecordListParams) SetDefaults ¶
func (o *RecordListParams) SetDefaults()
SetDefaults hydrates default values in the record list params (not the query body).
All values with no default are reset to their zero value.
func (*RecordListParams) SetFields ¶
func (o *RecordListParams) SetFields(fields *string)
SetFields adds the fields to the record list params
func (*RecordListParams) SetFilter ¶
func (o *RecordListParams) SetFilter(filter *string)
SetFilter adds the filter to the record list params
func (*RecordListParams) SetHTTPClient ¶
func (o *RecordListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record list params
func (*RecordListParams) SetLimit ¶
func (o *RecordListParams) SetLimit(limit *int64)
SetLimit adds the limit to the record list params
func (*RecordListParams) SetOffset ¶
func (o *RecordListParams) SetOffset(offset *int64)
SetOffset adds the offset to the record list params
func (*RecordListParams) SetOrderBy ¶
func (o *RecordListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the record list params
func (*RecordListParams) SetPageToken ¶
func (o *RecordListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the record list params
func (*RecordListParams) SetTfilter ¶
func (o *RecordListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the record list params
func (*RecordListParams) SetTimeout ¶
func (o *RecordListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record list params
func (*RecordListParams) SetTorderBy ¶
func (o *RecordListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the record list params
func (*RecordListParams) WithContext ¶
func (o *RecordListParams) WithContext(ctx context.Context) *RecordListParams
WithContext adds the context to the record list params
func (*RecordListParams) WithDefaults ¶
func (o *RecordListParams) WithDefaults() *RecordListParams
WithDefaults hydrates default values in the record list params (not the query body).
All values with no default are reset to their zero value.
func (*RecordListParams) WithFields ¶
func (o *RecordListParams) WithFields(fields *string) *RecordListParams
WithFields adds the fields to the record list params
func (*RecordListParams) WithFilter ¶
func (o *RecordListParams) WithFilter(filter *string) *RecordListParams
WithFilter adds the filter to the record list params
func (*RecordListParams) WithHTTPClient ¶
func (o *RecordListParams) WithHTTPClient(client *http.Client) *RecordListParams
WithHTTPClient adds the HTTPClient to the record list params
func (*RecordListParams) WithLimit ¶
func (o *RecordListParams) WithLimit(limit *int64) *RecordListParams
WithLimit adds the limit to the record list params
func (*RecordListParams) WithOffset ¶
func (o *RecordListParams) WithOffset(offset *int64) *RecordListParams
WithOffset adds the offset to the record list params
func (*RecordListParams) WithOrderBy ¶
func (o *RecordListParams) WithOrderBy(orderBy *string) *RecordListParams
WithOrderBy adds the orderBy to the record list params
func (*RecordListParams) WithPageToken ¶
func (o *RecordListParams) WithPageToken(pageToken *string) *RecordListParams
WithPageToken adds the pageToken to the record list params
func (*RecordListParams) WithTfilter ¶
func (o *RecordListParams) WithTfilter(tfilter *string) *RecordListParams
WithTfilter adds the tfilter to the record list params
func (*RecordListParams) WithTimeout ¶
func (o *RecordListParams) WithTimeout(timeout time.Duration) *RecordListParams
WithTimeout adds the timeout to the record list params
func (*RecordListParams) WithTorderBy ¶
func (o *RecordListParams) WithTorderBy(torderBy *string) *RecordListParams
WithTorderBy adds the torderBy to the record list params
func (*RecordListParams) WriteToRequest ¶
func (o *RecordListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordListReader ¶
type RecordListReader struct {
// contains filtered or unexported fields
}
RecordListReader is a Reader for the RecordList structure.
func (*RecordListReader) ReadResponse ¶
func (o *RecordListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecordReadOK ¶
type RecordReadOK struct {
Payload *models.DataReadRecordResponse
}
RecordReadOK describes a response with status code 200, with default header values.
GET operation response
func NewRecordReadOK ¶
func NewRecordReadOK() *RecordReadOK
NewRecordReadOK creates a RecordReadOK with default headers values
func (*RecordReadOK) Error ¶
func (o *RecordReadOK) Error() string
func (*RecordReadOK) GetPayload ¶
func (o *RecordReadOK) GetPayload() *models.DataReadRecordResponse
type RecordReadParams ¶
type RecordReadParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordReadParams contains all the parameters to send to the API endpoint
for the record read operation. Typically these are written to a http.Request.
func NewRecordReadParams ¶
func NewRecordReadParams() *RecordReadParams
NewRecordReadParams creates a new RecordReadParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordReadParamsWithContext ¶
func NewRecordReadParamsWithContext(ctx context.Context) *RecordReadParams
NewRecordReadParamsWithContext creates a new RecordReadParams object with the ability to set a context for a request.
func NewRecordReadParamsWithHTTPClient ¶
func NewRecordReadParamsWithHTTPClient(client *http.Client) *RecordReadParams
NewRecordReadParamsWithHTTPClient creates a new RecordReadParams object with the ability to set a custom HTTPClient for a request.
func NewRecordReadParamsWithTimeout ¶
func NewRecordReadParamsWithTimeout(timeout time.Duration) *RecordReadParams
NewRecordReadParamsWithTimeout creates a new RecordReadParams object with the ability to set a timeout on a request.
func (*RecordReadParams) SetContext ¶
func (o *RecordReadParams) SetContext(ctx context.Context)
SetContext adds the context to the record read params
func (*RecordReadParams) SetDefaults ¶
func (o *RecordReadParams) SetDefaults()
SetDefaults hydrates default values in the record read params (not the query body).
All values with no default are reset to their zero value.
func (*RecordReadParams) SetFields ¶
func (o *RecordReadParams) SetFields(fields *string)
SetFields adds the fields to the record read params
func (*RecordReadParams) SetHTTPClient ¶
func (o *RecordReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record read params
func (*RecordReadParams) SetID ¶
func (o *RecordReadParams) SetID(id string)
SetID adds the id to the record read params
func (*RecordReadParams) SetTimeout ¶
func (o *RecordReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record read params
func (*RecordReadParams) WithContext ¶
func (o *RecordReadParams) WithContext(ctx context.Context) *RecordReadParams
WithContext adds the context to the record read params
func (*RecordReadParams) WithDefaults ¶
func (o *RecordReadParams) WithDefaults() *RecordReadParams
WithDefaults hydrates default values in the record read params (not the query body).
All values with no default are reset to their zero value.
func (*RecordReadParams) WithFields ¶
func (o *RecordReadParams) WithFields(fields *string) *RecordReadParams
WithFields adds the fields to the record read params
func (*RecordReadParams) WithHTTPClient ¶
func (o *RecordReadParams) WithHTTPClient(client *http.Client) *RecordReadParams
WithHTTPClient adds the HTTPClient to the record read params
func (*RecordReadParams) WithID ¶
func (o *RecordReadParams) WithID(id string) *RecordReadParams
WithID adds the id to the record read params
func (*RecordReadParams) WithTimeout ¶
func (o *RecordReadParams) WithTimeout(timeout time.Duration) *RecordReadParams
WithTimeout adds the timeout to the record read params
func (*RecordReadParams) WriteToRequest ¶
func (o *RecordReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordReadReader ¶
type RecordReadReader struct {
// contains filtered or unexported fields
}
RecordReadReader is a Reader for the RecordRead structure.
func (*RecordReadReader) ReadResponse ¶
func (o *RecordReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecordSOASerialIncrementCreated ¶
type RecordSOASerialIncrementCreated struct {
Payload *models.DataSOASerialIncrementResponse
}
RecordSOASerialIncrementCreated describes a response with status code 201, with default header values.
POST operation response
func NewRecordSOASerialIncrementCreated ¶
func NewRecordSOASerialIncrementCreated() *RecordSOASerialIncrementCreated
NewRecordSOASerialIncrementCreated creates a RecordSOASerialIncrementCreated with default headers values
func (*RecordSOASerialIncrementCreated) Error ¶
func (o *RecordSOASerialIncrementCreated) Error() string
func (*RecordSOASerialIncrementCreated) GetPayload ¶
func (o *RecordSOASerialIncrementCreated) GetPayload() *models.DataSOASerialIncrementResponse
type RecordSOASerialIncrementParams ¶
type RecordSOASerialIncrementParams struct { // Body. Body *models.DataSOASerialIncrementRequest /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordSOASerialIncrementParams contains all the parameters to send to the API endpoint
for the record s o a serial increment operation. Typically these are written to a http.Request.
func NewRecordSOASerialIncrementParams ¶
func NewRecordSOASerialIncrementParams() *RecordSOASerialIncrementParams
NewRecordSOASerialIncrementParams creates a new RecordSOASerialIncrementParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordSOASerialIncrementParamsWithContext ¶
func NewRecordSOASerialIncrementParamsWithContext(ctx context.Context) *RecordSOASerialIncrementParams
NewRecordSOASerialIncrementParamsWithContext creates a new RecordSOASerialIncrementParams object with the ability to set a context for a request.
func NewRecordSOASerialIncrementParamsWithHTTPClient ¶
func NewRecordSOASerialIncrementParamsWithHTTPClient(client *http.Client) *RecordSOASerialIncrementParams
NewRecordSOASerialIncrementParamsWithHTTPClient creates a new RecordSOASerialIncrementParams object with the ability to set a custom HTTPClient for a request.
func NewRecordSOASerialIncrementParamsWithTimeout ¶
func NewRecordSOASerialIncrementParamsWithTimeout(timeout time.Duration) *RecordSOASerialIncrementParams
NewRecordSOASerialIncrementParamsWithTimeout creates a new RecordSOASerialIncrementParams object with the ability to set a timeout on a request.
func (*RecordSOASerialIncrementParams) SetBody ¶
func (o *RecordSOASerialIncrementParams) SetBody(body *models.DataSOASerialIncrementRequest)
SetBody adds the body to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) SetContext ¶
func (o *RecordSOASerialIncrementParams) SetContext(ctx context.Context)
SetContext adds the context to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) SetDefaults ¶
func (o *RecordSOASerialIncrementParams) SetDefaults()
SetDefaults hydrates default values in the record s o a serial increment params (not the query body).
All values with no default are reset to their zero value.
func (*RecordSOASerialIncrementParams) SetHTTPClient ¶
func (o *RecordSOASerialIncrementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) SetID ¶
func (o *RecordSOASerialIncrementParams) SetID(id string)
SetID adds the id to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) SetTimeout ¶
func (o *RecordSOASerialIncrementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WithBody ¶
func (o *RecordSOASerialIncrementParams) WithBody(body *models.DataSOASerialIncrementRequest) *RecordSOASerialIncrementParams
WithBody adds the body to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WithContext ¶
func (o *RecordSOASerialIncrementParams) WithContext(ctx context.Context) *RecordSOASerialIncrementParams
WithContext adds the context to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WithDefaults ¶
func (o *RecordSOASerialIncrementParams) WithDefaults() *RecordSOASerialIncrementParams
WithDefaults hydrates default values in the record s o a serial increment params (not the query body).
All values with no default are reset to their zero value.
func (*RecordSOASerialIncrementParams) WithHTTPClient ¶
func (o *RecordSOASerialIncrementParams) WithHTTPClient(client *http.Client) *RecordSOASerialIncrementParams
WithHTTPClient adds the HTTPClient to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WithID ¶
func (o *RecordSOASerialIncrementParams) WithID(id string) *RecordSOASerialIncrementParams
WithID adds the id to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WithTimeout ¶
func (o *RecordSOASerialIncrementParams) WithTimeout(timeout time.Duration) *RecordSOASerialIncrementParams
WithTimeout adds the timeout to the record s o a serial increment params
func (*RecordSOASerialIncrementParams) WriteToRequest ¶
func (o *RecordSOASerialIncrementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordSOASerialIncrementReader ¶
type RecordSOASerialIncrementReader struct {
// contains filtered or unexported fields
}
RecordSOASerialIncrementReader is a Reader for the RecordSOASerialIncrement structure.
func (*RecordSOASerialIncrementReader) ReadResponse ¶
func (o *RecordSOASerialIncrementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecordUpdateCreated ¶
type RecordUpdateCreated struct {
Payload *models.DataUpdateRecordResponse
}
RecordUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewRecordUpdateCreated ¶
func NewRecordUpdateCreated() *RecordUpdateCreated
NewRecordUpdateCreated creates a RecordUpdateCreated with default headers values
func (*RecordUpdateCreated) Error ¶
func (o *RecordUpdateCreated) Error() string
func (*RecordUpdateCreated) GetPayload ¶
func (o *RecordUpdateCreated) GetPayload() *models.DataUpdateRecordResponse
type RecordUpdateParams ¶
type RecordUpdateParams struct { // Body. Body *models.DataRecord /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecordUpdateParams contains all the parameters to send to the API endpoint
for the record update operation. Typically these are written to a http.Request.
func NewRecordUpdateParams ¶
func NewRecordUpdateParams() *RecordUpdateParams
NewRecordUpdateParams creates a new RecordUpdateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecordUpdateParamsWithContext ¶
func NewRecordUpdateParamsWithContext(ctx context.Context) *RecordUpdateParams
NewRecordUpdateParamsWithContext creates a new RecordUpdateParams object with the ability to set a context for a request.
func NewRecordUpdateParamsWithHTTPClient ¶
func NewRecordUpdateParamsWithHTTPClient(client *http.Client) *RecordUpdateParams
NewRecordUpdateParamsWithHTTPClient creates a new RecordUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewRecordUpdateParamsWithTimeout ¶
func NewRecordUpdateParamsWithTimeout(timeout time.Duration) *RecordUpdateParams
NewRecordUpdateParamsWithTimeout creates a new RecordUpdateParams object with the ability to set a timeout on a request.
func (*RecordUpdateParams) SetBody ¶
func (o *RecordUpdateParams) SetBody(body *models.DataRecord)
SetBody adds the body to the record update params
func (*RecordUpdateParams) SetContext ¶
func (o *RecordUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the record update params
func (*RecordUpdateParams) SetDefaults ¶
func (o *RecordUpdateParams) SetDefaults()
SetDefaults hydrates default values in the record update params (not the query body).
All values with no default are reset to their zero value.
func (*RecordUpdateParams) SetHTTPClient ¶
func (o *RecordUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the record update params
func (*RecordUpdateParams) SetID ¶
func (o *RecordUpdateParams) SetID(id string)
SetID adds the id to the record update params
func (*RecordUpdateParams) SetTimeout ¶
func (o *RecordUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the record update params
func (*RecordUpdateParams) WithBody ¶
func (o *RecordUpdateParams) WithBody(body *models.DataRecord) *RecordUpdateParams
WithBody adds the body to the record update params
func (*RecordUpdateParams) WithContext ¶
func (o *RecordUpdateParams) WithContext(ctx context.Context) *RecordUpdateParams
WithContext adds the context to the record update params
func (*RecordUpdateParams) WithDefaults ¶
func (o *RecordUpdateParams) WithDefaults() *RecordUpdateParams
WithDefaults hydrates default values in the record update params (not the query body).
All values with no default are reset to their zero value.
func (*RecordUpdateParams) WithHTTPClient ¶
func (o *RecordUpdateParams) WithHTTPClient(client *http.Client) *RecordUpdateParams
WithHTTPClient adds the HTTPClient to the record update params
func (*RecordUpdateParams) WithID ¶
func (o *RecordUpdateParams) WithID(id string) *RecordUpdateParams
WithID adds the id to the record update params
func (*RecordUpdateParams) WithTimeout ¶
func (o *RecordUpdateParams) WithTimeout(timeout time.Duration) *RecordUpdateParams
WithTimeout adds the timeout to the record update params
func (*RecordUpdateParams) WriteToRequest ¶
func (o *RecordUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecordUpdateReader ¶
type RecordUpdateReader struct {
// contains filtered or unexported fields
}
RecordUpdateReader is a Reader for the RecordUpdate structure.
func (*RecordUpdateReader) ReadResponse ¶
func (o *RecordUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- record_client.go
- record_create_parameters.go
- record_create_responses.go
- record_delete_parameters.go
- record_delete_responses.go
- record_list_parameters.go
- record_list_responses.go
- record_read_parameters.go
- record_read_responses.go
- record_s_o_a_serial_increment_parameters.go
- record_s_o_a_serial_increment_responses.go
- record_update_parameters.go
- record_update_responses.go