Documentation
¶
Index ¶
- type AddRowBadRequest
- type AddRowCreated
- type AddRowForbidden
- type AddRowInternalServerError
- type AddRowParams
- func (o *AddRowParams) SetBody(body *models.RowAdd)
- func (o *AddRowParams) SetContext(ctx context.Context)
- func (o *AddRowParams) SetHTTPClient(client *http.Client)
- func (o *AddRowParams) SetKeyspaceName(keyspaceName string)
- func (o *AddRowParams) SetTableName(tableName string)
- func (o *AddRowParams) SetTimeout(timeout time.Duration)
- func (o *AddRowParams) SetXCassandraToken(xCassandraToken string)
- func (o *AddRowParams) WithBody(body *models.RowAdd) *AddRowParams
- func (o *AddRowParams) WithContext(ctx context.Context) *AddRowParams
- func (o *AddRowParams) WithHTTPClient(client *http.Client) *AddRowParams
- func (o *AddRowParams) WithKeyspaceName(keyspaceName string) *AddRowParams
- func (o *AddRowParams) WithTableName(tableName string) *AddRowParams
- func (o *AddRowParams) WithTimeout(timeout time.Duration) *AddRowParams
- func (o *AddRowParams) WithXCassandraToken(xCassandraToken string) *AddRowParams
- func (o *AddRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRowReader
- type AddRowUnauthorized
- type Client
- func (a *Client) AddRow(params *AddRowParams) (*AddRowCreated, error)
- func (a *Client) CreateRow(params *CreateRowParams) (*CreateRowCreated, error)
- func (a *Client) DeleteRow(params *DeleteRowParams) (*DeleteRowNoContent, error)
- func (a *Client) DeleteRows(params *DeleteRowsParams) (*DeleteRowsNoContent, error)
- func (a *Client) GetAllRows(params *GetAllRowsParams) (*GetAllRowsOK, error)
- func (a *Client) GetRowWithWhere(params *GetRowWithWhereParams) (*GetRowWithWhereOK, error)
- func (a *Client) GetRows(params *GetRowsParams) (*GetRowsOK, error)
- func (a *Client) GetRows1(params *GetRows1Params) (*GetRows1OK, error)
- func (a *Client) PatchRows(params *PatchRowsParams) (*PatchRowsOK, error)
- func (a *Client) QueryRows(params *QueryRowsParams) (*QueryRowsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRow(params *UpdateRowParams) (*UpdateRowOK, error)
- func (a *Client) UpdateRows(params *UpdateRowsParams) (*UpdateRowsOK, error)
- type ClientService
- type CreateRowBadRequest
- type CreateRowConflict
- type CreateRowCreated
- type CreateRowInternalServerError
- type CreateRowParams
- func (o *CreateRowParams) SetBody(body string)
- func (o *CreateRowParams) SetContext(ctx context.Context)
- func (o *CreateRowParams) SetHTTPClient(client *http.Client)
- func (o *CreateRowParams) SetKeyspaceName(keyspaceName string)
- func (o *CreateRowParams) SetTableName(tableName string)
- func (o *CreateRowParams) SetTimeout(timeout time.Duration)
- func (o *CreateRowParams) SetXCassandraToken(xCassandraToken string)
- func (o *CreateRowParams) WithBody(body string) *CreateRowParams
- func (o *CreateRowParams) WithContext(ctx context.Context) *CreateRowParams
- func (o *CreateRowParams) WithHTTPClient(client *http.Client) *CreateRowParams
- func (o *CreateRowParams) WithKeyspaceName(keyspaceName string) *CreateRowParams
- func (o *CreateRowParams) WithTableName(tableName string) *CreateRowParams
- func (o *CreateRowParams) WithTimeout(timeout time.Duration) *CreateRowParams
- func (o *CreateRowParams) WithXCassandraToken(xCassandraToken string) *CreateRowParams
- func (o *CreateRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRowReader
- type CreateRowUnauthorized
- type DeleteRowBadRequest
- type DeleteRowForbidden
- type DeleteRowInternalServerError
- type DeleteRowNoContent
- type DeleteRowParams
- func (o *DeleteRowParams) SetContext(ctx context.Context)
- func (o *DeleteRowParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRowParams) SetKeyspaceName(keyspaceName string)
- func (o *DeleteRowParams) SetTableName(tableName string)
- func (o *DeleteRowParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRowParams) SetXCassandraToken(xCassandraToken string)
- func (o *DeleteRowParams) WithContext(ctx context.Context) *DeleteRowParams
- func (o *DeleteRowParams) WithHTTPClient(client *http.Client) *DeleteRowParams
- func (o *DeleteRowParams) WithKeyspaceName(keyspaceName string) *DeleteRowParams
- func (o *DeleteRowParams) WithTableName(tableName string) *DeleteRowParams
- func (o *DeleteRowParams) WithTimeout(timeout time.Duration) *DeleteRowParams
- func (o *DeleteRowParams) WithXCassandraToken(xCassandraToken string) *DeleteRowParams
- func (o *DeleteRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRowReader
- type DeleteRowUnauthorized
- type DeleteRowsInternalServerError
- type DeleteRowsNoContent
- type DeleteRowsParams
- func (o *DeleteRowsParams) SetContext(ctx context.Context)
- func (o *DeleteRowsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *DeleteRowsParams) SetPrimaryKey(primaryKey []string)
- func (o *DeleteRowsParams) SetTableName(tableName string)
- func (o *DeleteRowsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *DeleteRowsParams) WithContext(ctx context.Context) *DeleteRowsParams
- func (o *DeleteRowsParams) WithHTTPClient(client *http.Client) *DeleteRowsParams
- func (o *DeleteRowsParams) WithKeyspaceName(keyspaceName string) *DeleteRowsParams
- func (o *DeleteRowsParams) WithPrimaryKey(primaryKey []string) *DeleteRowsParams
- func (o *DeleteRowsParams) WithTableName(tableName string) *DeleteRowsParams
- func (o *DeleteRowsParams) WithTimeout(timeout time.Duration) *DeleteRowsParams
- func (o *DeleteRowsParams) WithXCassandraToken(xCassandraToken string) *DeleteRowsParams
- func (o *DeleteRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRowsReader
- type DeleteRowsUnauthorized
- type GetAllRowsBadRequest
- type GetAllRowsForbidden
- type GetAllRowsInternalServerError
- type GetAllRowsNotFound
- type GetAllRowsOK
- type GetAllRowsParams
- func (o *GetAllRowsParams) SetContext(ctx context.Context)
- func (o *GetAllRowsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *GetAllRowsParams) SetPageSize(pageSize *int32)
- func (o *GetAllRowsParams) SetPageState(pageState *string)
- func (o *GetAllRowsParams) SetTableName(tableName string)
- func (o *GetAllRowsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *GetAllRowsParams) WithContext(ctx context.Context) *GetAllRowsParams
- func (o *GetAllRowsParams) WithHTTPClient(client *http.Client) *GetAllRowsParams
- func (o *GetAllRowsParams) WithKeyspaceName(keyspaceName string) *GetAllRowsParams
- func (o *GetAllRowsParams) WithPageSize(pageSize *int32) *GetAllRowsParams
- func (o *GetAllRowsParams) WithPageState(pageState *string) *GetAllRowsParams
- func (o *GetAllRowsParams) WithTableName(tableName string) *GetAllRowsParams
- func (o *GetAllRowsParams) WithTimeout(timeout time.Duration) *GetAllRowsParams
- func (o *GetAllRowsParams) WithXCassandraToken(xCassandraToken string) *GetAllRowsParams
- func (o *GetAllRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllRowsReader
- type GetAllRowsUnauthorized
- type GetRowWithWhereBadRequest
- type GetRowWithWhereInternalServerError
- type GetRowWithWhereOK
- type GetRowWithWhereParams
- func NewGetRowWithWhereParams() *GetRowWithWhereParams
- func NewGetRowWithWhereParamsWithContext(ctx context.Context) *GetRowWithWhereParams
- func NewGetRowWithWhereParamsWithHTTPClient(client *http.Client) *GetRowWithWhereParams
- func NewGetRowWithWhereParamsWithTimeout(timeout time.Duration) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) SetContext(ctx context.Context)
- func (o *GetRowWithWhereParams) SetFields(fields *string)
- func (o *GetRowWithWhereParams) SetHTTPClient(client *http.Client)
- func (o *GetRowWithWhereParams) SetKeyspaceName(keyspaceName string)
- func (o *GetRowWithWhereParams) SetPageSize(pageSize *int32)
- func (o *GetRowWithWhereParams) SetPageState(pageState *string)
- func (o *GetRowWithWhereParams) SetRaw(raw *bool)
- func (o *GetRowWithWhereParams) SetSort(sort *string)
- func (o *GetRowWithWhereParams) SetTableName(tableName string)
- func (o *GetRowWithWhereParams) SetTimeout(timeout time.Duration)
- func (o *GetRowWithWhereParams) SetWhere(where string)
- func (o *GetRowWithWhereParams) SetXCassandraToken(xCassandraToken string)
- func (o *GetRowWithWhereParams) WithContext(ctx context.Context) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithFields(fields *string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithHTTPClient(client *http.Client) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithKeyspaceName(keyspaceName string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithPageSize(pageSize *int32) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithPageState(pageState *string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithRaw(raw *bool) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithSort(sort *string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithTableName(tableName string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithTimeout(timeout time.Duration) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithWhere(where string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WithXCassandraToken(xCassandraToken string) *GetRowWithWhereParams
- func (o *GetRowWithWhereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRowWithWhereReader
- type GetRowWithWhereUnauthorized
- type GetRows1BadRequest
- type GetRows1InternalServerError
- type GetRows1OK
- type GetRows1Params
- func (o *GetRows1Params) SetContext(ctx context.Context)
- func (o *GetRows1Params) SetFields(fields *string)
- func (o *GetRows1Params) SetHTTPClient(client *http.Client)
- func (o *GetRows1Params) SetKeyspaceName(keyspaceName string)
- func (o *GetRows1Params) SetPageSize(pageSize *int32)
- func (o *GetRows1Params) SetPageState(pageState *string)
- func (o *GetRows1Params) SetPrimaryKey(primaryKey []string)
- func (o *GetRows1Params) SetRaw(raw *bool)
- func (o *GetRows1Params) SetSort(sort *string)
- func (o *GetRows1Params) SetTableName(tableName string)
- func (o *GetRows1Params) SetTimeout(timeout time.Duration)
- func (o *GetRows1Params) SetXCassandraToken(xCassandraToken string)
- func (o *GetRows1Params) WithContext(ctx context.Context) *GetRows1Params
- func (o *GetRows1Params) WithFields(fields *string) *GetRows1Params
- func (o *GetRows1Params) WithHTTPClient(client *http.Client) *GetRows1Params
- func (o *GetRows1Params) WithKeyspaceName(keyspaceName string) *GetRows1Params
- func (o *GetRows1Params) WithPageSize(pageSize *int32) *GetRows1Params
- func (o *GetRows1Params) WithPageState(pageState *string) *GetRows1Params
- func (o *GetRows1Params) WithPrimaryKey(primaryKey []string) *GetRows1Params
- func (o *GetRows1Params) WithRaw(raw *bool) *GetRows1Params
- func (o *GetRows1Params) WithSort(sort *string) *GetRows1Params
- func (o *GetRows1Params) WithTableName(tableName string) *GetRows1Params
- func (o *GetRows1Params) WithTimeout(timeout time.Duration) *GetRows1Params
- func (o *GetRows1Params) WithXCassandraToken(xCassandraToken string) *GetRows1Params
- func (o *GetRows1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRows1Reader
- type GetRows1Unauthorized
- type GetRowsBadRequest
- type GetRowsForbidden
- type GetRowsInternalServerError
- type GetRowsNotFound
- type GetRowsOK
- type GetRowsParams
- func (o *GetRowsParams) SetContext(ctx context.Context)
- func (o *GetRowsParams) SetHTTPClient(client *http.Client)
- func (o *GetRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *GetRowsParams) SetTableName(tableName string)
- func (o *GetRowsParams) SetTimeout(timeout time.Duration)
- func (o *GetRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *GetRowsParams) WithContext(ctx context.Context) *GetRowsParams
- func (o *GetRowsParams) WithHTTPClient(client *http.Client) *GetRowsParams
- func (o *GetRowsParams) WithKeyspaceName(keyspaceName string) *GetRowsParams
- func (o *GetRowsParams) WithTableName(tableName string) *GetRowsParams
- func (o *GetRowsParams) WithTimeout(timeout time.Duration) *GetRowsParams
- func (o *GetRowsParams) WithXCassandraToken(xCassandraToken string) *GetRowsParams
- func (o *GetRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRowsReader
- type GetRowsUnauthorized
- type PatchRowsBadRequest
- type PatchRowsInternalServerError
- type PatchRowsOK
- type PatchRowsParams
- func (o *PatchRowsParams) SetBody(body string)
- func (o *PatchRowsParams) SetContext(ctx context.Context)
- func (o *PatchRowsParams) SetHTTPClient(client *http.Client)
- func (o *PatchRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *PatchRowsParams) SetPrimaryKey(primaryKey []string)
- func (o *PatchRowsParams) SetRaw(raw *bool)
- func (o *PatchRowsParams) SetTableName(tableName string)
- func (o *PatchRowsParams) SetTimeout(timeout time.Duration)
- func (o *PatchRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *PatchRowsParams) WithBody(body string) *PatchRowsParams
- func (o *PatchRowsParams) WithContext(ctx context.Context) *PatchRowsParams
- func (o *PatchRowsParams) WithHTTPClient(client *http.Client) *PatchRowsParams
- func (o *PatchRowsParams) WithKeyspaceName(keyspaceName string) *PatchRowsParams
- func (o *PatchRowsParams) WithPrimaryKey(primaryKey []string) *PatchRowsParams
- func (o *PatchRowsParams) WithRaw(raw *bool) *PatchRowsParams
- func (o *PatchRowsParams) WithTableName(tableName string) *PatchRowsParams
- func (o *PatchRowsParams) WithTimeout(timeout time.Duration) *PatchRowsParams
- func (o *PatchRowsParams) WithXCassandraToken(xCassandraToken string) *PatchRowsParams
- func (o *PatchRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchRowsReader
- type PatchRowsUnauthorized
- type QueryRowsBadRequest
- type QueryRowsForbidden
- type QueryRowsInternalServerError
- type QueryRowsOK
- type QueryRowsParams
- func (o *QueryRowsParams) SetBody(body *models.Query)
- func (o *QueryRowsParams) SetContext(ctx context.Context)
- func (o *QueryRowsParams) SetHTTPClient(client *http.Client)
- func (o *QueryRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *QueryRowsParams) SetTableName(tableName string)
- func (o *QueryRowsParams) SetTimeout(timeout time.Duration)
- func (o *QueryRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *QueryRowsParams) WithBody(body *models.Query) *QueryRowsParams
- func (o *QueryRowsParams) WithContext(ctx context.Context) *QueryRowsParams
- func (o *QueryRowsParams) WithHTTPClient(client *http.Client) *QueryRowsParams
- func (o *QueryRowsParams) WithKeyspaceName(keyspaceName string) *QueryRowsParams
- func (o *QueryRowsParams) WithTableName(tableName string) *QueryRowsParams
- func (o *QueryRowsParams) WithTimeout(timeout time.Duration) *QueryRowsParams
- func (o *QueryRowsParams) WithXCassandraToken(xCassandraToken string) *QueryRowsParams
- func (o *QueryRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryRowsReader
- type QueryRowsUnauthorized
- type UpdateRowBadRequest
- type UpdateRowForbidden
- type UpdateRowInternalServerError
- type UpdateRowOK
- type UpdateRowParams
- func (o *UpdateRowParams) SetBody(body *models.RowUpdate)
- func (o *UpdateRowParams) SetContext(ctx context.Context)
- func (o *UpdateRowParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRowParams) SetKeyspaceName(keyspaceName string)
- func (o *UpdateRowParams) SetTableName(tableName string)
- func (o *UpdateRowParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRowParams) SetXCassandraToken(xCassandraToken string)
- func (o *UpdateRowParams) WithBody(body *models.RowUpdate) *UpdateRowParams
- func (o *UpdateRowParams) WithContext(ctx context.Context) *UpdateRowParams
- func (o *UpdateRowParams) WithHTTPClient(client *http.Client) *UpdateRowParams
- func (o *UpdateRowParams) WithKeyspaceName(keyspaceName string) *UpdateRowParams
- func (o *UpdateRowParams) WithTableName(tableName string) *UpdateRowParams
- func (o *UpdateRowParams) WithTimeout(timeout time.Duration) *UpdateRowParams
- func (o *UpdateRowParams) WithXCassandraToken(xCassandraToken string) *UpdateRowParams
- func (o *UpdateRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRowReader
- type UpdateRowUnauthorized
- type UpdateRowsBadRequest
- type UpdateRowsInternalServerError
- type UpdateRowsOK
- type UpdateRowsParams
- func (o *UpdateRowsParams) SetBody(body string)
- func (o *UpdateRowsParams) SetContext(ctx context.Context)
- func (o *UpdateRowsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRowsParams) SetKeyspaceName(keyspaceName string)
- func (o *UpdateRowsParams) SetPrimaryKey(primaryKey []string)
- func (o *UpdateRowsParams) SetRaw(raw *bool)
- func (o *UpdateRowsParams) SetTableName(tableName string)
- func (o *UpdateRowsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRowsParams) SetXCassandraToken(xCassandraToken string)
- func (o *UpdateRowsParams) WithBody(body string) *UpdateRowsParams
- func (o *UpdateRowsParams) WithContext(ctx context.Context) *UpdateRowsParams
- func (o *UpdateRowsParams) WithHTTPClient(client *http.Client) *UpdateRowsParams
- func (o *UpdateRowsParams) WithKeyspaceName(keyspaceName string) *UpdateRowsParams
- func (o *UpdateRowsParams) WithPrimaryKey(primaryKey []string) *UpdateRowsParams
- func (o *UpdateRowsParams) WithRaw(raw *bool) *UpdateRowsParams
- func (o *UpdateRowsParams) WithTableName(tableName string) *UpdateRowsParams
- func (o *UpdateRowsParams) WithTimeout(timeout time.Duration) *UpdateRowsParams
- func (o *UpdateRowsParams) WithXCassandraToken(xCassandraToken string) *UpdateRowsParams
- func (o *UpdateRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRowsReader
- type UpdateRowsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRowBadRequest ¶
AddRowBadRequest handles this case with default header values.
Bad request
func NewAddRowBadRequest ¶
func NewAddRowBadRequest() *AddRowBadRequest
NewAddRowBadRequest creates a AddRowBadRequest with default headers values
func (*AddRowBadRequest) Error ¶
func (o *AddRowBadRequest) Error() string
func (*AddRowBadRequest) GetPayload ¶
func (o *AddRowBadRequest) GetPayload() *models.Error
type AddRowCreated ¶
type AddRowCreated struct {
Payload *models.RowsResponse
}
AddRowCreated handles this case with default header values.
Created
func NewAddRowCreated ¶
func NewAddRowCreated() *AddRowCreated
NewAddRowCreated creates a AddRowCreated with default headers values
func (*AddRowCreated) Error ¶
func (o *AddRowCreated) Error() string
func (*AddRowCreated) GetPayload ¶
func (o *AddRowCreated) GetPayload() *models.RowsResponse
type AddRowForbidden ¶
AddRowForbidden handles this case with default header values.
Forbidden
func NewAddRowForbidden ¶
func NewAddRowForbidden() *AddRowForbidden
NewAddRowForbidden creates a AddRowForbidden with default headers values
func (*AddRowForbidden) Error ¶
func (o *AddRowForbidden) Error() string
func (*AddRowForbidden) GetPayload ¶
func (o *AddRowForbidden) GetPayload() *models.Error
type AddRowInternalServerError ¶
AddRowInternalServerError handles this case with default header values.
Internal Server Error
func NewAddRowInternalServerError ¶
func NewAddRowInternalServerError() *AddRowInternalServerError
NewAddRowInternalServerError creates a AddRowInternalServerError with default headers values
func (*AddRowInternalServerError) Error ¶
func (o *AddRowInternalServerError) Error() string
func (*AddRowInternalServerError) GetPayload ¶
func (o *AddRowInternalServerError) GetPayload() *models.Error
type AddRowParams ¶
type AddRowParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body Row object that needs to be added to the table */ Body *models.RowAdd /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddRowParams contains all the parameters to send to the API endpoint for the add row operation typically these are written to a http.Request
func NewAddRowParams ¶
func NewAddRowParams() *AddRowParams
NewAddRowParams creates a new AddRowParams object with the default values initialized.
func NewAddRowParamsWithContext ¶
func NewAddRowParamsWithContext(ctx context.Context) *AddRowParams
NewAddRowParamsWithContext creates a new AddRowParams object with the default values initialized, and the ability to set a context for a request
func NewAddRowParamsWithHTTPClient ¶
func NewAddRowParamsWithHTTPClient(client *http.Client) *AddRowParams
NewAddRowParamsWithHTTPClient creates a new AddRowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRowParamsWithTimeout ¶
func NewAddRowParamsWithTimeout(timeout time.Duration) *AddRowParams
NewAddRowParamsWithTimeout creates a new AddRowParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRowParams) SetBody ¶
func (o *AddRowParams) SetBody(body *models.RowAdd)
SetBody adds the body to the add row params
func (*AddRowParams) SetContext ¶
func (o *AddRowParams) SetContext(ctx context.Context)
SetContext adds the context to the add row params
func (*AddRowParams) SetHTTPClient ¶
func (o *AddRowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add row params
func (*AddRowParams) SetKeyspaceName ¶
func (o *AddRowParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the add row params
func (*AddRowParams) SetTableName ¶
func (o *AddRowParams) SetTableName(tableName string)
SetTableName adds the tableName to the add row params
func (*AddRowParams) SetTimeout ¶
func (o *AddRowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add row params
func (*AddRowParams) SetXCassandraToken ¶
func (o *AddRowParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the add row params
func (*AddRowParams) WithBody ¶
func (o *AddRowParams) WithBody(body *models.RowAdd) *AddRowParams
WithBody adds the body to the add row params
func (*AddRowParams) WithContext ¶
func (o *AddRowParams) WithContext(ctx context.Context) *AddRowParams
WithContext adds the context to the add row params
func (*AddRowParams) WithHTTPClient ¶
func (o *AddRowParams) WithHTTPClient(client *http.Client) *AddRowParams
WithHTTPClient adds the HTTPClient to the add row params
func (*AddRowParams) WithKeyspaceName ¶
func (o *AddRowParams) WithKeyspaceName(keyspaceName string) *AddRowParams
WithKeyspaceName adds the keyspaceName to the add row params
func (*AddRowParams) WithTableName ¶
func (o *AddRowParams) WithTableName(tableName string) *AddRowParams
WithTableName adds the tableName to the add row params
func (*AddRowParams) WithTimeout ¶
func (o *AddRowParams) WithTimeout(timeout time.Duration) *AddRowParams
WithTimeout adds the timeout to the add row params
func (*AddRowParams) WithXCassandraToken ¶
func (o *AddRowParams) WithXCassandraToken(xCassandraToken string) *AddRowParams
WithXCassandraToken adds the xCassandraToken to the add row params
func (*AddRowParams) WriteToRequest ¶
func (o *AddRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRowReader ¶
type AddRowReader struct {
// contains filtered or unexported fields
}
AddRowReader is a Reader for the AddRow structure.
func (*AddRowReader) ReadResponse ¶
func (o *AddRowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddRowUnauthorized ¶
type AddRowUnauthorized struct {
}AddRowUnauthorized handles this case with default header values.
Unauthorized
func NewAddRowUnauthorized ¶
func NewAddRowUnauthorized() *AddRowUnauthorized
NewAddRowUnauthorized creates a AddRowUnauthorized with default headers values
func (*AddRowUnauthorized) Error ¶
func (o *AddRowUnauthorized) Error() string
func (*AddRowUnauthorized) GetPayload ¶
func (o *AddRowUnauthorized) GetPayload() *models.Error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for data API
func (*Client) AddRow ¶
func (a *Client) AddRow(params *AddRowParams) (*AddRowCreated, error)
AddRow adds row
Add a row to a table in your database. If the new row has the same primary key as that of an existing row, the database processes it as an update to the existing row.
func (*Client) CreateRow ¶
func (a *Client) CreateRow(params *CreateRowParams) (*CreateRowCreated, error)
CreateRow adds row
Add a row to a table in your database. If the new row has the same primary key as that of an existing row, the database processes it as an update to the existing row.
func (*Client) DeleteRow ¶
func (a *Client) DeleteRow(params *DeleteRowParams) (*DeleteRowNoContent, error)
DeleteRow deletes rows
Delete individual rows from a table.
func (*Client) DeleteRows ¶
func (a *Client) DeleteRows(params *DeleteRowsParams) (*DeleteRowsNoContent, error)
DeleteRows deletes row s
Delete one or more rows in a table
func (*Client) GetAllRows ¶
func (a *Client) GetAllRows(params *GetAllRowsParams) (*GetAllRowsOK, error)
GetAllRows retrieves all rows
Get all rows from a table.
func (*Client) GetRowWithWhere ¶
func (a *Client) GetRowWithWhere(params *GetRowWithWhereParams) (*GetRowWithWhereOK, error)
GetRowWithWhere searches a table
Search a table using a json query as defined in the `where` query parameter
func (*Client) GetRows ¶
func (a *Client) GetRows(params *GetRowsParams) (*GetRowsOK, error)
GetRows retrieves rows
Get rows from a table based on the primary key.
func (*Client) GetRows1 ¶
func (a *Client) GetRows1(params *GetRows1Params) (*GetRows1OK, error)
GetRows1 gets row s
Get rows from a table based on the primary key.
func (*Client) PatchRows ¶
func (a *Client) PatchRows(params *PatchRowsParams) (*PatchRowsOK, error)
PatchRows updates part of a row s
Perform a partial update of one or more rows in a table
func (*Client) QueryRows ¶
func (a *Client) QueryRows(params *QueryRowsParams) (*QueryRowsOK, error)
QueryRows submits queries
Submit queries to retrieve data from a table.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRow ¶
func (a *Client) UpdateRow(params *UpdateRowParams) (*UpdateRowOK, error)
UpdateRow updates rows
Update existing rows in a table.
func (*Client) UpdateRows ¶
func (a *Client) UpdateRows(params *UpdateRowsParams) (*UpdateRowsOK, error)
UpdateRows replaces row s
Update existing rows in a table.
type ClientService ¶
type ClientService interface { AddRow(params *AddRowParams) (*AddRowCreated, error) CreateRow(params *CreateRowParams) (*CreateRowCreated, error) DeleteRow(params *DeleteRowParams) (*DeleteRowNoContent, error) DeleteRows(params *DeleteRowsParams) (*DeleteRowsNoContent, error) GetAllRows(params *GetAllRowsParams) (*GetAllRowsOK, error) GetRowWithWhere(params *GetRowWithWhereParams) (*GetRowWithWhereOK, error) GetRows(params *GetRowsParams) (*GetRowsOK, error) GetRows1(params *GetRows1Params) (*GetRows1OK, error) PatchRows(params *PatchRowsParams) (*PatchRowsOK, error) QueryRows(params *QueryRowsParams) (*QueryRowsOK, error) UpdateRow(params *UpdateRowParams) (*UpdateRowOK, error) UpdateRows(params *UpdateRowsParams) (*UpdateRowsOK, 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 data API client.
type CreateRowBadRequest ¶
CreateRowBadRequest handles this case with default header values.
Bad Request
func NewCreateRowBadRequest ¶
func NewCreateRowBadRequest() *CreateRowBadRequest
NewCreateRowBadRequest creates a CreateRowBadRequest with default headers values
func (*CreateRowBadRequest) Error ¶
func (o *CreateRowBadRequest) Error() string
func (*CreateRowBadRequest) GetPayload ¶
func (o *CreateRowBadRequest) GetPayload() *models.Error
type CreateRowConflict ¶
CreateRowConflict handles this case with default header values.
Conflict
func NewCreateRowConflict ¶
func NewCreateRowConflict() *CreateRowConflict
NewCreateRowConflict creates a CreateRowConflict with default headers values
func (*CreateRowConflict) Error ¶
func (o *CreateRowConflict) Error() string
func (*CreateRowConflict) GetPayload ¶
func (o *CreateRowConflict) GetPayload() *models.Error
type CreateRowCreated ¶
CreateRowCreated handles this case with default header values.
resource created
func NewCreateRowCreated ¶
func NewCreateRowCreated() *CreateRowCreated
NewCreateRowCreated creates a CreateRowCreated with default headers values
func (*CreateRowCreated) Error ¶
func (o *CreateRowCreated) Error() string
func (*CreateRowCreated) GetPayload ¶
func (o *CreateRowCreated) GetPayload() map[string]map[string]interface{}
type CreateRowInternalServerError ¶
CreateRowInternalServerError handles this case with default header values.
Internal server error
func NewCreateRowInternalServerError ¶
func NewCreateRowInternalServerError() *CreateRowInternalServerError
NewCreateRowInternalServerError creates a CreateRowInternalServerError with default headers values
func (*CreateRowInternalServerError) Error ¶
func (o *CreateRowInternalServerError) Error() string
func (*CreateRowInternalServerError) GetPayload ¶
func (o *CreateRowInternalServerError) GetPayload() *models.Error
type CreateRowParams ¶
type CreateRowParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body*/ Body string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRowParams contains all the parameters to send to the API endpoint for the create row operation typically these are written to a http.Request
func NewCreateRowParams ¶
func NewCreateRowParams() *CreateRowParams
NewCreateRowParams creates a new CreateRowParams object with the default values initialized.
func NewCreateRowParamsWithContext ¶
func NewCreateRowParamsWithContext(ctx context.Context) *CreateRowParams
NewCreateRowParamsWithContext creates a new CreateRowParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRowParamsWithHTTPClient ¶
func NewCreateRowParamsWithHTTPClient(client *http.Client) *CreateRowParams
NewCreateRowParamsWithHTTPClient creates a new CreateRowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRowParamsWithTimeout ¶
func NewCreateRowParamsWithTimeout(timeout time.Duration) *CreateRowParams
NewCreateRowParamsWithTimeout creates a new CreateRowParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRowParams) SetBody ¶
func (o *CreateRowParams) SetBody(body string)
SetBody adds the body to the create row params
func (*CreateRowParams) SetContext ¶
func (o *CreateRowParams) SetContext(ctx context.Context)
SetContext adds the context to the create row params
func (*CreateRowParams) SetHTTPClient ¶
func (o *CreateRowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create row params
func (*CreateRowParams) SetKeyspaceName ¶
func (o *CreateRowParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the create row params
func (*CreateRowParams) SetTableName ¶
func (o *CreateRowParams) SetTableName(tableName string)
SetTableName adds the tableName to the create row params
func (*CreateRowParams) SetTimeout ¶
func (o *CreateRowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create row params
func (*CreateRowParams) SetXCassandraToken ¶
func (o *CreateRowParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the create row params
func (*CreateRowParams) WithBody ¶
func (o *CreateRowParams) WithBody(body string) *CreateRowParams
WithBody adds the body to the create row params
func (*CreateRowParams) WithContext ¶
func (o *CreateRowParams) WithContext(ctx context.Context) *CreateRowParams
WithContext adds the context to the create row params
func (*CreateRowParams) WithHTTPClient ¶
func (o *CreateRowParams) WithHTTPClient(client *http.Client) *CreateRowParams
WithHTTPClient adds the HTTPClient to the create row params
func (*CreateRowParams) WithKeyspaceName ¶
func (o *CreateRowParams) WithKeyspaceName(keyspaceName string) *CreateRowParams
WithKeyspaceName adds the keyspaceName to the create row params
func (*CreateRowParams) WithTableName ¶
func (o *CreateRowParams) WithTableName(tableName string) *CreateRowParams
WithTableName adds the tableName to the create row params
func (*CreateRowParams) WithTimeout ¶
func (o *CreateRowParams) WithTimeout(timeout time.Duration) *CreateRowParams
WithTimeout adds the timeout to the create row params
func (*CreateRowParams) WithXCassandraToken ¶
func (o *CreateRowParams) WithXCassandraToken(xCassandraToken string) *CreateRowParams
WithXCassandraToken adds the xCassandraToken to the create row params
func (*CreateRowParams) WriteToRequest ¶
func (o *CreateRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRowReader ¶
type CreateRowReader struct {
// contains filtered or unexported fields
}
CreateRowReader is a Reader for the CreateRow structure.
func (*CreateRowReader) ReadResponse ¶
func (o *CreateRowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRowUnauthorized ¶
type CreateRowUnauthorized struct {
}CreateRowUnauthorized handles this case with default header values.
Unauthorized
func NewCreateRowUnauthorized ¶
func NewCreateRowUnauthorized() *CreateRowUnauthorized
NewCreateRowUnauthorized creates a CreateRowUnauthorized with default headers values
func (*CreateRowUnauthorized) Error ¶
func (o *CreateRowUnauthorized) Error() string
func (*CreateRowUnauthorized) GetPayload ¶
func (o *CreateRowUnauthorized) GetPayload() *models.Error
type DeleteRowBadRequest ¶
DeleteRowBadRequest handles this case with default header values.
Bad request
func NewDeleteRowBadRequest ¶
func NewDeleteRowBadRequest() *DeleteRowBadRequest
NewDeleteRowBadRequest creates a DeleteRowBadRequest with default headers values
func (*DeleteRowBadRequest) Error ¶
func (o *DeleteRowBadRequest) Error() string
func (*DeleteRowBadRequest) GetPayload ¶
func (o *DeleteRowBadRequest) GetPayload() *models.Error
type DeleteRowForbidden ¶
DeleteRowForbidden handles this case with default header values.
Forbidden
func NewDeleteRowForbidden ¶
func NewDeleteRowForbidden() *DeleteRowForbidden
NewDeleteRowForbidden creates a DeleteRowForbidden with default headers values
func (*DeleteRowForbidden) Error ¶
func (o *DeleteRowForbidden) Error() string
func (*DeleteRowForbidden) GetPayload ¶
func (o *DeleteRowForbidden) GetPayload() *models.Error
type DeleteRowInternalServerError ¶
DeleteRowInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteRowInternalServerError ¶
func NewDeleteRowInternalServerError() *DeleteRowInternalServerError
NewDeleteRowInternalServerError creates a DeleteRowInternalServerError with default headers values
func (*DeleteRowInternalServerError) Error ¶
func (o *DeleteRowInternalServerError) Error() string
func (*DeleteRowInternalServerError) GetPayload ¶
func (o *DeleteRowInternalServerError) GetPayload() *models.Error
type DeleteRowNoContent ¶
type DeleteRowNoContent struct { }
DeleteRowNoContent handles this case with default header values.
No Content
func NewDeleteRowNoContent ¶
func NewDeleteRowNoContent() *DeleteRowNoContent
NewDeleteRowNoContent creates a DeleteRowNoContent with default headers values
func (*DeleteRowNoContent) Error ¶
func (o *DeleteRowNoContent) Error() string
type DeleteRowParams ¶
type DeleteRowParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRowParams contains all the parameters to send to the API endpoint for the delete row operation typically these are written to a http.Request
func NewDeleteRowParams ¶
func NewDeleteRowParams() *DeleteRowParams
NewDeleteRowParams creates a new DeleteRowParams object with the default values initialized.
func NewDeleteRowParamsWithContext ¶
func NewDeleteRowParamsWithContext(ctx context.Context) *DeleteRowParams
NewDeleteRowParamsWithContext creates a new DeleteRowParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRowParamsWithHTTPClient ¶
func NewDeleteRowParamsWithHTTPClient(client *http.Client) *DeleteRowParams
NewDeleteRowParamsWithHTTPClient creates a new DeleteRowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRowParamsWithTimeout ¶
func NewDeleteRowParamsWithTimeout(timeout time.Duration) *DeleteRowParams
NewDeleteRowParamsWithTimeout creates a new DeleteRowParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRowParams) SetContext ¶
func (o *DeleteRowParams) SetContext(ctx context.Context)
SetContext adds the context to the delete row params
func (*DeleteRowParams) SetHTTPClient ¶
func (o *DeleteRowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete row params
func (*DeleteRowParams) SetKeyspaceName ¶
func (o *DeleteRowParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the delete row params
func (*DeleteRowParams) SetTableName ¶
func (o *DeleteRowParams) SetTableName(tableName string)
SetTableName adds the tableName to the delete row params
func (*DeleteRowParams) SetTimeout ¶
func (o *DeleteRowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete row params
func (*DeleteRowParams) SetXCassandraToken ¶
func (o *DeleteRowParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the delete row params
func (*DeleteRowParams) WithContext ¶
func (o *DeleteRowParams) WithContext(ctx context.Context) *DeleteRowParams
WithContext adds the context to the delete row params
func (*DeleteRowParams) WithHTTPClient ¶
func (o *DeleteRowParams) WithHTTPClient(client *http.Client) *DeleteRowParams
WithHTTPClient adds the HTTPClient to the delete row params
func (*DeleteRowParams) WithKeyspaceName ¶
func (o *DeleteRowParams) WithKeyspaceName(keyspaceName string) *DeleteRowParams
WithKeyspaceName adds the keyspaceName to the delete row params
func (*DeleteRowParams) WithTableName ¶
func (o *DeleteRowParams) WithTableName(tableName string) *DeleteRowParams
WithTableName adds the tableName to the delete row params
func (*DeleteRowParams) WithTimeout ¶
func (o *DeleteRowParams) WithTimeout(timeout time.Duration) *DeleteRowParams
WithTimeout adds the timeout to the delete row params
func (*DeleteRowParams) WithXCassandraToken ¶
func (o *DeleteRowParams) WithXCassandraToken(xCassandraToken string) *DeleteRowParams
WithXCassandraToken adds the xCassandraToken to the delete row params
func (*DeleteRowParams) WriteToRequest ¶
func (o *DeleteRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRowReader ¶
type DeleteRowReader struct {
// contains filtered or unexported fields
}
DeleteRowReader is a Reader for the DeleteRow structure.
func (*DeleteRowReader) ReadResponse ¶
func (o *DeleteRowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRowUnauthorized ¶
type DeleteRowUnauthorized struct {
}DeleteRowUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteRowUnauthorized ¶
func NewDeleteRowUnauthorized() *DeleteRowUnauthorized
NewDeleteRowUnauthorized creates a DeleteRowUnauthorized with default headers values
func (*DeleteRowUnauthorized) Error ¶
func (o *DeleteRowUnauthorized) Error() string
func (*DeleteRowUnauthorized) GetPayload ¶
func (o *DeleteRowUnauthorized) GetPayload() *models.Error
type DeleteRowsInternalServerError ¶
DeleteRowsInternalServerError handles this case with default header values.
Internal server error
func NewDeleteRowsInternalServerError ¶
func NewDeleteRowsInternalServerError() *DeleteRowsInternalServerError
NewDeleteRowsInternalServerError creates a DeleteRowsInternalServerError with default headers values
func (*DeleteRowsInternalServerError) Error ¶
func (o *DeleteRowsInternalServerError) Error() string
func (*DeleteRowsInternalServerError) GetPayload ¶
func (o *DeleteRowsInternalServerError) GetPayload() *models.Error
type DeleteRowsNoContent ¶
type DeleteRowsNoContent struct { }
DeleteRowsNoContent handles this case with default header values.
No Content
func NewDeleteRowsNoContent ¶
func NewDeleteRowsNoContent() *DeleteRowsNoContent
NewDeleteRowsNoContent creates a DeleteRowsNoContent with default headers values
func (*DeleteRowsNoContent) Error ¶
func (o *DeleteRowsNoContent) Error() string
type DeleteRowsParams ¶
type DeleteRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PrimaryKey Value from the primary key column for the table. Define composite keys by separating values with slashes (`val1/val2...`) in the order they were defined. </br> For example, if the composite key was defined as `PRIMARY KEY(race_year, race_name)` then the primary key in the path would be `race_year/race_name` */ PrimaryKey []string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRowsParams contains all the parameters to send to the API endpoint for the delete rows operation typically these are written to a http.Request
func NewDeleteRowsParams ¶
func NewDeleteRowsParams() *DeleteRowsParams
NewDeleteRowsParams creates a new DeleteRowsParams object with the default values initialized.
func NewDeleteRowsParamsWithContext ¶
func NewDeleteRowsParamsWithContext(ctx context.Context) *DeleteRowsParams
NewDeleteRowsParamsWithContext creates a new DeleteRowsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRowsParamsWithHTTPClient ¶
func NewDeleteRowsParamsWithHTTPClient(client *http.Client) *DeleteRowsParams
NewDeleteRowsParamsWithHTTPClient creates a new DeleteRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRowsParamsWithTimeout ¶
func NewDeleteRowsParamsWithTimeout(timeout time.Duration) *DeleteRowsParams
NewDeleteRowsParamsWithTimeout creates a new DeleteRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRowsParams) SetContext ¶
func (o *DeleteRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rows params
func (*DeleteRowsParams) SetHTTPClient ¶
func (o *DeleteRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rows params
func (*DeleteRowsParams) SetKeyspaceName ¶
func (o *DeleteRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the delete rows params
func (*DeleteRowsParams) SetPrimaryKey ¶
func (o *DeleteRowsParams) SetPrimaryKey(primaryKey []string)
SetPrimaryKey adds the primaryKey to the delete rows params
func (*DeleteRowsParams) SetTableName ¶
func (o *DeleteRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the delete rows params
func (*DeleteRowsParams) SetTimeout ¶
func (o *DeleteRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rows params
func (*DeleteRowsParams) SetXCassandraToken ¶
func (o *DeleteRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the delete rows params
func (*DeleteRowsParams) WithContext ¶
func (o *DeleteRowsParams) WithContext(ctx context.Context) *DeleteRowsParams
WithContext adds the context to the delete rows params
func (*DeleteRowsParams) WithHTTPClient ¶
func (o *DeleteRowsParams) WithHTTPClient(client *http.Client) *DeleteRowsParams
WithHTTPClient adds the HTTPClient to the delete rows params
func (*DeleteRowsParams) WithKeyspaceName ¶
func (o *DeleteRowsParams) WithKeyspaceName(keyspaceName string) *DeleteRowsParams
WithKeyspaceName adds the keyspaceName to the delete rows params
func (*DeleteRowsParams) WithPrimaryKey ¶
func (o *DeleteRowsParams) WithPrimaryKey(primaryKey []string) *DeleteRowsParams
WithPrimaryKey adds the primaryKey to the delete rows params
func (*DeleteRowsParams) WithTableName ¶
func (o *DeleteRowsParams) WithTableName(tableName string) *DeleteRowsParams
WithTableName adds the tableName to the delete rows params
func (*DeleteRowsParams) WithTimeout ¶
func (o *DeleteRowsParams) WithTimeout(timeout time.Duration) *DeleteRowsParams
WithTimeout adds the timeout to the delete rows params
func (*DeleteRowsParams) WithXCassandraToken ¶
func (o *DeleteRowsParams) WithXCassandraToken(xCassandraToken string) *DeleteRowsParams
WithXCassandraToken adds the xCassandraToken to the delete rows params
func (*DeleteRowsParams) WriteToRequest ¶
func (o *DeleteRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRowsReader ¶
type DeleteRowsReader struct {
// contains filtered or unexported fields
}
DeleteRowsReader is a Reader for the DeleteRows structure.
func (*DeleteRowsReader) ReadResponse ¶
func (o *DeleteRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRowsUnauthorized ¶
type DeleteRowsUnauthorized struct {
}DeleteRowsUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteRowsUnauthorized ¶
func NewDeleteRowsUnauthorized() *DeleteRowsUnauthorized
NewDeleteRowsUnauthorized creates a DeleteRowsUnauthorized with default headers values
func (*DeleteRowsUnauthorized) Error ¶
func (o *DeleteRowsUnauthorized) Error() string
func (*DeleteRowsUnauthorized) GetPayload ¶
func (o *DeleteRowsUnauthorized) GetPayload() *models.Error
type GetAllRowsBadRequest ¶
GetAllRowsBadRequest handles this case with default header values.
Bad request
func NewGetAllRowsBadRequest ¶
func NewGetAllRowsBadRequest() *GetAllRowsBadRequest
NewGetAllRowsBadRequest creates a GetAllRowsBadRequest with default headers values
func (*GetAllRowsBadRequest) Error ¶
func (o *GetAllRowsBadRequest) Error() string
func (*GetAllRowsBadRequest) GetPayload ¶
func (o *GetAllRowsBadRequest) GetPayload() *models.Error
type GetAllRowsForbidden ¶
GetAllRowsForbidden handles this case with default header values.
Forbidden
func NewGetAllRowsForbidden ¶
func NewGetAllRowsForbidden() *GetAllRowsForbidden
NewGetAllRowsForbidden creates a GetAllRowsForbidden with default headers values
func (*GetAllRowsForbidden) Error ¶
func (o *GetAllRowsForbidden) Error() string
func (*GetAllRowsForbidden) GetPayload ¶
func (o *GetAllRowsForbidden) GetPayload() *models.Error
type GetAllRowsInternalServerError ¶
GetAllRowsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetAllRowsInternalServerError ¶
func NewGetAllRowsInternalServerError() *GetAllRowsInternalServerError
NewGetAllRowsInternalServerError creates a GetAllRowsInternalServerError with default headers values
func (*GetAllRowsInternalServerError) Error ¶
func (o *GetAllRowsInternalServerError) Error() string
func (*GetAllRowsInternalServerError) GetPayload ¶
func (o *GetAllRowsInternalServerError) GetPayload() *models.Error
type GetAllRowsNotFound ¶
GetAllRowsNotFound handles this case with default header values.
Not Found
func NewGetAllRowsNotFound ¶
func NewGetAllRowsNotFound() *GetAllRowsNotFound
NewGetAllRowsNotFound creates a GetAllRowsNotFound with default headers values
func (*GetAllRowsNotFound) Error ¶
func (o *GetAllRowsNotFound) Error() string
func (*GetAllRowsNotFound) GetPayload ¶
func (o *GetAllRowsNotFound) GetPayload() *models.Error
type GetAllRowsOK ¶
GetAllRowsOK handles this case with default header values.
OK
func NewGetAllRowsOK ¶
func NewGetAllRowsOK() *GetAllRowsOK
NewGetAllRowsOK creates a GetAllRowsOK with default headers values
func (*GetAllRowsOK) Error ¶
func (o *GetAllRowsOK) Error() string
func (*GetAllRowsOK) GetPayload ¶
func (o *GetAllRowsOK) GetPayload() *models.Rows
type GetAllRowsParams ¶
type GetAllRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PageSize Restrict the number of returned items */ PageSize *int32 /*PageState Move the cursor to a particular result */ PageState *string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllRowsParams contains all the parameters to send to the API endpoint for the get all rows operation typically these are written to a http.Request
func NewGetAllRowsParams ¶
func NewGetAllRowsParams() *GetAllRowsParams
NewGetAllRowsParams creates a new GetAllRowsParams object with the default values initialized.
func NewGetAllRowsParamsWithContext ¶
func NewGetAllRowsParamsWithContext(ctx context.Context) *GetAllRowsParams
NewGetAllRowsParamsWithContext creates a new GetAllRowsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllRowsParamsWithHTTPClient ¶
func NewGetAllRowsParamsWithHTTPClient(client *http.Client) *GetAllRowsParams
NewGetAllRowsParamsWithHTTPClient creates a new GetAllRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllRowsParamsWithTimeout ¶
func NewGetAllRowsParamsWithTimeout(timeout time.Duration) *GetAllRowsParams
NewGetAllRowsParamsWithTimeout creates a new GetAllRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllRowsParams) SetContext ¶
func (o *GetAllRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all rows params
func (*GetAllRowsParams) SetHTTPClient ¶
func (o *GetAllRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all rows params
func (*GetAllRowsParams) SetKeyspaceName ¶
func (o *GetAllRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the get all rows params
func (*GetAllRowsParams) SetPageSize ¶
func (o *GetAllRowsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get all rows params
func (*GetAllRowsParams) SetPageState ¶
func (o *GetAllRowsParams) SetPageState(pageState *string)
SetPageState adds the pageState to the get all rows params
func (*GetAllRowsParams) SetTableName ¶
func (o *GetAllRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the get all rows params
func (*GetAllRowsParams) SetTimeout ¶
func (o *GetAllRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all rows params
func (*GetAllRowsParams) SetXCassandraToken ¶
func (o *GetAllRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the get all rows params
func (*GetAllRowsParams) WithContext ¶
func (o *GetAllRowsParams) WithContext(ctx context.Context) *GetAllRowsParams
WithContext adds the context to the get all rows params
func (*GetAllRowsParams) WithHTTPClient ¶
func (o *GetAllRowsParams) WithHTTPClient(client *http.Client) *GetAllRowsParams
WithHTTPClient adds the HTTPClient to the get all rows params
func (*GetAllRowsParams) WithKeyspaceName ¶
func (o *GetAllRowsParams) WithKeyspaceName(keyspaceName string) *GetAllRowsParams
WithKeyspaceName adds the keyspaceName to the get all rows params
func (*GetAllRowsParams) WithPageSize ¶
func (o *GetAllRowsParams) WithPageSize(pageSize *int32) *GetAllRowsParams
WithPageSize adds the pageSize to the get all rows params
func (*GetAllRowsParams) WithPageState ¶
func (o *GetAllRowsParams) WithPageState(pageState *string) *GetAllRowsParams
WithPageState adds the pageState to the get all rows params
func (*GetAllRowsParams) WithTableName ¶
func (o *GetAllRowsParams) WithTableName(tableName string) *GetAllRowsParams
WithTableName adds the tableName to the get all rows params
func (*GetAllRowsParams) WithTimeout ¶
func (o *GetAllRowsParams) WithTimeout(timeout time.Duration) *GetAllRowsParams
WithTimeout adds the timeout to the get all rows params
func (*GetAllRowsParams) WithXCassandraToken ¶
func (o *GetAllRowsParams) WithXCassandraToken(xCassandraToken string) *GetAllRowsParams
WithXCassandraToken adds the xCassandraToken to the get all rows params
func (*GetAllRowsParams) WriteToRequest ¶
func (o *GetAllRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllRowsReader ¶
type GetAllRowsReader struct {
// contains filtered or unexported fields
}
GetAllRowsReader is a Reader for the GetAllRows structure.
func (*GetAllRowsReader) ReadResponse ¶
func (o *GetAllRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllRowsUnauthorized ¶
type GetAllRowsUnauthorized struct {
}GetAllRowsUnauthorized handles this case with default header values.
Unauthorized
func NewGetAllRowsUnauthorized ¶
func NewGetAllRowsUnauthorized() *GetAllRowsUnauthorized
NewGetAllRowsUnauthorized creates a GetAllRowsUnauthorized with default headers values
func (*GetAllRowsUnauthorized) Error ¶
func (o *GetAllRowsUnauthorized) Error() string
func (*GetAllRowsUnauthorized) GetPayload ¶
func (o *GetAllRowsUnauthorized) GetPayload() *models.Error
type GetRowWithWhereBadRequest ¶
GetRowWithWhereBadRequest handles this case with default header values.
Bad Request
func NewGetRowWithWhereBadRequest ¶
func NewGetRowWithWhereBadRequest() *GetRowWithWhereBadRequest
NewGetRowWithWhereBadRequest creates a GetRowWithWhereBadRequest with default headers values
func (*GetRowWithWhereBadRequest) Error ¶
func (o *GetRowWithWhereBadRequest) Error() string
func (*GetRowWithWhereBadRequest) GetPayload ¶
func (o *GetRowWithWhereBadRequest) GetPayload() *models.Error
type GetRowWithWhereInternalServerError ¶
GetRowWithWhereInternalServerError handles this case with default header values.
Internal server error
func NewGetRowWithWhereInternalServerError ¶
func NewGetRowWithWhereInternalServerError() *GetRowWithWhereInternalServerError
NewGetRowWithWhereInternalServerError creates a GetRowWithWhereInternalServerError with default headers values
func (*GetRowWithWhereInternalServerError) Error ¶
func (o *GetRowWithWhereInternalServerError) Error() string
func (*GetRowWithWhereInternalServerError) GetPayload ¶
func (o *GetRowWithWhereInternalServerError) GetPayload() *models.Error
type GetRowWithWhereOK ¶
type GetRowWithWhereOK struct {
Payload *models.GetResponseWrapper
}
GetRowWithWhereOK handles this case with default header values.
OK
func NewGetRowWithWhereOK ¶
func NewGetRowWithWhereOK() *GetRowWithWhereOK
NewGetRowWithWhereOK creates a GetRowWithWhereOK with default headers values
func (*GetRowWithWhereOK) Error ¶
func (o *GetRowWithWhereOK) Error() string
func (*GetRowWithWhereOK) GetPayload ¶
func (o *GetRowWithWhereOK) GetPayload() *models.GetResponseWrapper
type GetRowWithWhereParams ¶
type GetRowWithWhereParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Fields URL escaped, comma delimited list of keys to include */ Fields *string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PageSize Restrict the number of returned items */ PageSize *int32 /*PageState Move the cursor to a particular result */ PageState *string /*Raw Unwrap results */ Raw *bool /*Sort Keys to sort by */ Sort *string /*TableName Name of the table to use for the request. */ TableName string /*Where URL escaped JSON query using the following keys: | Key | Operation | |-|-| | $lt | Less Than | | $lte | Less Than Or Equal To | | $gt | Greater Than | | $gte | Greater Than Or Equal To | | $ne | Not Equal To | | $in | Contained In | | $contains | Contains the given element (for lists or sets) or value (for maps) | | $containsKey | Contains the given key (for maps) | | $containsEntry | Contains the given key/value entry (for maps) | | $exists | A value is set for the key | */ Where string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRowWithWhereParams contains all the parameters to send to the API endpoint for the get row with where operation typically these are written to a http.Request
func NewGetRowWithWhereParams ¶
func NewGetRowWithWhereParams() *GetRowWithWhereParams
NewGetRowWithWhereParams creates a new GetRowWithWhereParams object with the default values initialized.
func NewGetRowWithWhereParamsWithContext ¶
func NewGetRowWithWhereParamsWithContext(ctx context.Context) *GetRowWithWhereParams
NewGetRowWithWhereParamsWithContext creates a new GetRowWithWhereParams object with the default values initialized, and the ability to set a context for a request
func NewGetRowWithWhereParamsWithHTTPClient ¶
func NewGetRowWithWhereParamsWithHTTPClient(client *http.Client) *GetRowWithWhereParams
NewGetRowWithWhereParamsWithHTTPClient creates a new GetRowWithWhereParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRowWithWhereParamsWithTimeout ¶
func NewGetRowWithWhereParamsWithTimeout(timeout time.Duration) *GetRowWithWhereParams
NewGetRowWithWhereParamsWithTimeout creates a new GetRowWithWhereParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRowWithWhereParams) SetContext ¶
func (o *GetRowWithWhereParams) SetContext(ctx context.Context)
SetContext adds the context to the get row with where params
func (*GetRowWithWhereParams) SetFields ¶
func (o *GetRowWithWhereParams) SetFields(fields *string)
SetFields adds the fields to the get row with where params
func (*GetRowWithWhereParams) SetHTTPClient ¶
func (o *GetRowWithWhereParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get row with where params
func (*GetRowWithWhereParams) SetKeyspaceName ¶
func (o *GetRowWithWhereParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the get row with where params
func (*GetRowWithWhereParams) SetPageSize ¶
func (o *GetRowWithWhereParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get row with where params
func (*GetRowWithWhereParams) SetPageState ¶
func (o *GetRowWithWhereParams) SetPageState(pageState *string)
SetPageState adds the pageState to the get row with where params
func (*GetRowWithWhereParams) SetRaw ¶
func (o *GetRowWithWhereParams) SetRaw(raw *bool)
SetRaw adds the raw to the get row with where params
func (*GetRowWithWhereParams) SetSort ¶
func (o *GetRowWithWhereParams) SetSort(sort *string)
SetSort adds the sort to the get row with where params
func (*GetRowWithWhereParams) SetTableName ¶
func (o *GetRowWithWhereParams) SetTableName(tableName string)
SetTableName adds the tableName to the get row with where params
func (*GetRowWithWhereParams) SetTimeout ¶
func (o *GetRowWithWhereParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get row with where params
func (*GetRowWithWhereParams) SetWhere ¶
func (o *GetRowWithWhereParams) SetWhere(where string)
SetWhere adds the where to the get row with where params
func (*GetRowWithWhereParams) SetXCassandraToken ¶
func (o *GetRowWithWhereParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the get row with where params
func (*GetRowWithWhereParams) WithContext ¶
func (o *GetRowWithWhereParams) WithContext(ctx context.Context) *GetRowWithWhereParams
WithContext adds the context to the get row with where params
func (*GetRowWithWhereParams) WithFields ¶
func (o *GetRowWithWhereParams) WithFields(fields *string) *GetRowWithWhereParams
WithFields adds the fields to the get row with where params
func (*GetRowWithWhereParams) WithHTTPClient ¶
func (o *GetRowWithWhereParams) WithHTTPClient(client *http.Client) *GetRowWithWhereParams
WithHTTPClient adds the HTTPClient to the get row with where params
func (*GetRowWithWhereParams) WithKeyspaceName ¶
func (o *GetRowWithWhereParams) WithKeyspaceName(keyspaceName string) *GetRowWithWhereParams
WithKeyspaceName adds the keyspaceName to the get row with where params
func (*GetRowWithWhereParams) WithPageSize ¶
func (o *GetRowWithWhereParams) WithPageSize(pageSize *int32) *GetRowWithWhereParams
WithPageSize adds the pageSize to the get row with where params
func (*GetRowWithWhereParams) WithPageState ¶
func (o *GetRowWithWhereParams) WithPageState(pageState *string) *GetRowWithWhereParams
WithPageState adds the pageState to the get row with where params
func (*GetRowWithWhereParams) WithRaw ¶
func (o *GetRowWithWhereParams) WithRaw(raw *bool) *GetRowWithWhereParams
WithRaw adds the raw to the get row with where params
func (*GetRowWithWhereParams) WithSort ¶
func (o *GetRowWithWhereParams) WithSort(sort *string) *GetRowWithWhereParams
WithSort adds the sort to the get row with where params
func (*GetRowWithWhereParams) WithTableName ¶
func (o *GetRowWithWhereParams) WithTableName(tableName string) *GetRowWithWhereParams
WithTableName adds the tableName to the get row with where params
func (*GetRowWithWhereParams) WithTimeout ¶
func (o *GetRowWithWhereParams) WithTimeout(timeout time.Duration) *GetRowWithWhereParams
WithTimeout adds the timeout to the get row with where params
func (*GetRowWithWhereParams) WithWhere ¶
func (o *GetRowWithWhereParams) WithWhere(where string) *GetRowWithWhereParams
WithWhere adds the where to the get row with where params
func (*GetRowWithWhereParams) WithXCassandraToken ¶
func (o *GetRowWithWhereParams) WithXCassandraToken(xCassandraToken string) *GetRowWithWhereParams
WithXCassandraToken adds the xCassandraToken to the get row with where params
func (*GetRowWithWhereParams) WriteToRequest ¶
func (o *GetRowWithWhereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRowWithWhereReader ¶
type GetRowWithWhereReader struct {
// contains filtered or unexported fields
}
GetRowWithWhereReader is a Reader for the GetRowWithWhere structure.
func (*GetRowWithWhereReader) ReadResponse ¶
func (o *GetRowWithWhereReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRowWithWhereUnauthorized ¶
type GetRowWithWhereUnauthorized struct {
}GetRowWithWhereUnauthorized handles this case with default header values.
Unauthorized
func NewGetRowWithWhereUnauthorized ¶
func NewGetRowWithWhereUnauthorized() *GetRowWithWhereUnauthorized
NewGetRowWithWhereUnauthorized creates a GetRowWithWhereUnauthorized with default headers values
func (*GetRowWithWhereUnauthorized) Error ¶
func (o *GetRowWithWhereUnauthorized) Error() string
func (*GetRowWithWhereUnauthorized) GetPayload ¶
func (o *GetRowWithWhereUnauthorized) GetPayload() *models.Error
type GetRows1BadRequest ¶
GetRows1BadRequest handles this case with default header values.
Bad Request
func NewGetRows1BadRequest ¶
func NewGetRows1BadRequest() *GetRows1BadRequest
NewGetRows1BadRequest creates a GetRows1BadRequest with default headers values
func (*GetRows1BadRequest) Error ¶
func (o *GetRows1BadRequest) Error() string
func (*GetRows1BadRequest) GetPayload ¶
func (o *GetRows1BadRequest) GetPayload() *models.Error
type GetRows1InternalServerError ¶
GetRows1InternalServerError handles this case with default header values.
Internal server error
func NewGetRows1InternalServerError ¶
func NewGetRows1InternalServerError() *GetRows1InternalServerError
NewGetRows1InternalServerError creates a GetRows1InternalServerError with default headers values
func (*GetRows1InternalServerError) Error ¶
func (o *GetRows1InternalServerError) Error() string
func (*GetRows1InternalServerError) GetPayload ¶
func (o *GetRows1InternalServerError) GetPayload() *models.Error
type GetRows1OK ¶
type GetRows1OK struct {
Payload *models.GetResponseWrapper
}
GetRows1OK handles this case with default header values.
OK
func NewGetRows1OK ¶
func NewGetRows1OK() *GetRows1OK
NewGetRows1OK creates a GetRows1OK with default headers values
func (*GetRows1OK) Error ¶
func (o *GetRows1OK) Error() string
func (*GetRows1OK) GetPayload ¶
func (o *GetRows1OK) GetPayload() *models.GetResponseWrapper
type GetRows1Params ¶
type GetRows1Params struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Fields URL escaped, comma delimited list of keys to include */ Fields *string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PageSize Restrict the number of returned items */ PageSize *int32 /*PageState Move the cursor to a particular result */ PageState *string /*PrimaryKey Value from the primary key column for the table. Define composite keys by separating values with slashes (`val1/val2...`) in the order they were defined. </br> For example, if the composite key was defined as `PRIMARY KEY(race_year, race_name)` then the primary key in the path would be `race_year/race_name` */ PrimaryKey []string /*Raw Unwrap results */ Raw *bool /*Sort Keys to sort by */ Sort *string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRows1Params contains all the parameters to send to the API endpoint for the get rows 1 operation typically these are written to a http.Request
func NewGetRows1Params ¶
func NewGetRows1Params() *GetRows1Params
NewGetRows1Params creates a new GetRows1Params object with the default values initialized.
func NewGetRows1ParamsWithContext ¶
func NewGetRows1ParamsWithContext(ctx context.Context) *GetRows1Params
NewGetRows1ParamsWithContext creates a new GetRows1Params object with the default values initialized, and the ability to set a context for a request
func NewGetRows1ParamsWithHTTPClient ¶
func NewGetRows1ParamsWithHTTPClient(client *http.Client) *GetRows1Params
NewGetRows1ParamsWithHTTPClient creates a new GetRows1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRows1ParamsWithTimeout ¶
func NewGetRows1ParamsWithTimeout(timeout time.Duration) *GetRows1Params
NewGetRows1ParamsWithTimeout creates a new GetRows1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetRows1Params) SetContext ¶
func (o *GetRows1Params) SetContext(ctx context.Context)
SetContext adds the context to the get rows 1 params
func (*GetRows1Params) SetFields ¶
func (o *GetRows1Params) SetFields(fields *string)
SetFields adds the fields to the get rows 1 params
func (*GetRows1Params) SetHTTPClient ¶
func (o *GetRows1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rows 1 params
func (*GetRows1Params) SetKeyspaceName ¶
func (o *GetRows1Params) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the get rows 1 params
func (*GetRows1Params) SetPageSize ¶
func (o *GetRows1Params) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get rows 1 params
func (*GetRows1Params) SetPageState ¶
func (o *GetRows1Params) SetPageState(pageState *string)
SetPageState adds the pageState to the get rows 1 params
func (*GetRows1Params) SetPrimaryKey ¶
func (o *GetRows1Params) SetPrimaryKey(primaryKey []string)
SetPrimaryKey adds the primaryKey to the get rows 1 params
func (*GetRows1Params) SetRaw ¶
func (o *GetRows1Params) SetRaw(raw *bool)
SetRaw adds the raw to the get rows 1 params
func (*GetRows1Params) SetSort ¶
func (o *GetRows1Params) SetSort(sort *string)
SetSort adds the sort to the get rows 1 params
func (*GetRows1Params) SetTableName ¶
func (o *GetRows1Params) SetTableName(tableName string)
SetTableName adds the tableName to the get rows 1 params
func (*GetRows1Params) SetTimeout ¶
func (o *GetRows1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rows 1 params
func (*GetRows1Params) SetXCassandraToken ¶
func (o *GetRows1Params) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the get rows 1 params
func (*GetRows1Params) WithContext ¶
func (o *GetRows1Params) WithContext(ctx context.Context) *GetRows1Params
WithContext adds the context to the get rows 1 params
func (*GetRows1Params) WithFields ¶
func (o *GetRows1Params) WithFields(fields *string) *GetRows1Params
WithFields adds the fields to the get rows 1 params
func (*GetRows1Params) WithHTTPClient ¶
func (o *GetRows1Params) WithHTTPClient(client *http.Client) *GetRows1Params
WithHTTPClient adds the HTTPClient to the get rows 1 params
func (*GetRows1Params) WithKeyspaceName ¶
func (o *GetRows1Params) WithKeyspaceName(keyspaceName string) *GetRows1Params
WithKeyspaceName adds the keyspaceName to the get rows 1 params
func (*GetRows1Params) WithPageSize ¶
func (o *GetRows1Params) WithPageSize(pageSize *int32) *GetRows1Params
WithPageSize adds the pageSize to the get rows 1 params
func (*GetRows1Params) WithPageState ¶
func (o *GetRows1Params) WithPageState(pageState *string) *GetRows1Params
WithPageState adds the pageState to the get rows 1 params
func (*GetRows1Params) WithPrimaryKey ¶
func (o *GetRows1Params) WithPrimaryKey(primaryKey []string) *GetRows1Params
WithPrimaryKey adds the primaryKey to the get rows 1 params
func (*GetRows1Params) WithRaw ¶
func (o *GetRows1Params) WithRaw(raw *bool) *GetRows1Params
WithRaw adds the raw to the get rows 1 params
func (*GetRows1Params) WithSort ¶
func (o *GetRows1Params) WithSort(sort *string) *GetRows1Params
WithSort adds the sort to the get rows 1 params
func (*GetRows1Params) WithTableName ¶
func (o *GetRows1Params) WithTableName(tableName string) *GetRows1Params
WithTableName adds the tableName to the get rows 1 params
func (*GetRows1Params) WithTimeout ¶
func (o *GetRows1Params) WithTimeout(timeout time.Duration) *GetRows1Params
WithTimeout adds the timeout to the get rows 1 params
func (*GetRows1Params) WithXCassandraToken ¶
func (o *GetRows1Params) WithXCassandraToken(xCassandraToken string) *GetRows1Params
WithXCassandraToken adds the xCassandraToken to the get rows 1 params
func (*GetRows1Params) WriteToRequest ¶
func (o *GetRows1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRows1Reader ¶
type GetRows1Reader struct {
// contains filtered or unexported fields
}
GetRows1Reader is a Reader for the GetRows1 structure.
func (*GetRows1Reader) ReadResponse ¶
func (o *GetRows1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRows1Unauthorized ¶
type GetRows1Unauthorized struct {
}GetRows1Unauthorized handles this case with default header values.
Unauthorized
func NewGetRows1Unauthorized ¶
func NewGetRows1Unauthorized() *GetRows1Unauthorized
NewGetRows1Unauthorized creates a GetRows1Unauthorized with default headers values
func (*GetRows1Unauthorized) Error ¶
func (o *GetRows1Unauthorized) Error() string
func (*GetRows1Unauthorized) GetPayload ¶
func (o *GetRows1Unauthorized) GetPayload() *models.Error
type GetRowsBadRequest ¶
GetRowsBadRequest handles this case with default header values.
Bad request
func NewGetRowsBadRequest ¶
func NewGetRowsBadRequest() *GetRowsBadRequest
NewGetRowsBadRequest creates a GetRowsBadRequest with default headers values
func (*GetRowsBadRequest) Error ¶
func (o *GetRowsBadRequest) Error() string
func (*GetRowsBadRequest) GetPayload ¶
func (o *GetRowsBadRequest) GetPayload() *models.Error
type GetRowsForbidden ¶
GetRowsForbidden handles this case with default header values.
Forbidden
func NewGetRowsForbidden ¶
func NewGetRowsForbidden() *GetRowsForbidden
NewGetRowsForbidden creates a GetRowsForbidden with default headers values
func (*GetRowsForbidden) Error ¶
func (o *GetRowsForbidden) Error() string
func (*GetRowsForbidden) GetPayload ¶
func (o *GetRowsForbidden) GetPayload() *models.Error
type GetRowsInternalServerError ¶
GetRowsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetRowsInternalServerError ¶
func NewGetRowsInternalServerError() *GetRowsInternalServerError
NewGetRowsInternalServerError creates a GetRowsInternalServerError with default headers values
func (*GetRowsInternalServerError) Error ¶
func (o *GetRowsInternalServerError) Error() string
func (*GetRowsInternalServerError) GetPayload ¶
func (o *GetRowsInternalServerError) GetPayload() *models.Error
type GetRowsNotFound ¶
GetRowsNotFound handles this case with default header values.
Not Found
func NewGetRowsNotFound ¶
func NewGetRowsNotFound() *GetRowsNotFound
NewGetRowsNotFound creates a GetRowsNotFound with default headers values
func (*GetRowsNotFound) Error ¶
func (o *GetRowsNotFound) Error() string
func (*GetRowsNotFound) GetPayload ¶
func (o *GetRowsNotFound) GetPayload() *models.Error
type GetRowsOK ¶
GetRowsOK handles this case with default header values.
OK
func NewGetRowsOK ¶
func NewGetRowsOK() *GetRowsOK
NewGetRowsOK creates a GetRowsOK with default headers values
func (*GetRowsOK) GetPayload ¶
type GetRowsParams ¶
type GetRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRowsParams contains all the parameters to send to the API endpoint for the get rows operation typically these are written to a http.Request
func NewGetRowsParams ¶
func NewGetRowsParams() *GetRowsParams
NewGetRowsParams creates a new GetRowsParams object with the default values initialized.
func NewGetRowsParamsWithContext ¶
func NewGetRowsParamsWithContext(ctx context.Context) *GetRowsParams
NewGetRowsParamsWithContext creates a new GetRowsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRowsParamsWithHTTPClient ¶
func NewGetRowsParamsWithHTTPClient(client *http.Client) *GetRowsParams
NewGetRowsParamsWithHTTPClient creates a new GetRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRowsParamsWithTimeout ¶
func NewGetRowsParamsWithTimeout(timeout time.Duration) *GetRowsParams
NewGetRowsParamsWithTimeout creates a new GetRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRowsParams) SetContext ¶
func (o *GetRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the get rows params
func (*GetRowsParams) SetHTTPClient ¶
func (o *GetRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rows params
func (*GetRowsParams) SetKeyspaceName ¶
func (o *GetRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the get rows params
func (*GetRowsParams) SetTableName ¶
func (o *GetRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the get rows params
func (*GetRowsParams) SetTimeout ¶
func (o *GetRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rows params
func (*GetRowsParams) SetXCassandraToken ¶
func (o *GetRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the get rows params
func (*GetRowsParams) WithContext ¶
func (o *GetRowsParams) WithContext(ctx context.Context) *GetRowsParams
WithContext adds the context to the get rows params
func (*GetRowsParams) WithHTTPClient ¶
func (o *GetRowsParams) WithHTTPClient(client *http.Client) *GetRowsParams
WithHTTPClient adds the HTTPClient to the get rows params
func (*GetRowsParams) WithKeyspaceName ¶
func (o *GetRowsParams) WithKeyspaceName(keyspaceName string) *GetRowsParams
WithKeyspaceName adds the keyspaceName to the get rows params
func (*GetRowsParams) WithTableName ¶
func (o *GetRowsParams) WithTableName(tableName string) *GetRowsParams
WithTableName adds the tableName to the get rows params
func (*GetRowsParams) WithTimeout ¶
func (o *GetRowsParams) WithTimeout(timeout time.Duration) *GetRowsParams
WithTimeout adds the timeout to the get rows params
func (*GetRowsParams) WithXCassandraToken ¶
func (o *GetRowsParams) WithXCassandraToken(xCassandraToken string) *GetRowsParams
WithXCassandraToken adds the xCassandraToken to the get rows params
func (*GetRowsParams) WriteToRequest ¶
func (o *GetRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRowsReader ¶
type GetRowsReader struct {
// contains filtered or unexported fields
}
GetRowsReader is a Reader for the GetRows structure.
func (*GetRowsReader) ReadResponse ¶
func (o *GetRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRowsUnauthorized ¶
type GetRowsUnauthorized struct {
}GetRowsUnauthorized handles this case with default header values.
Unauthorized
func NewGetRowsUnauthorized ¶
func NewGetRowsUnauthorized() *GetRowsUnauthorized
NewGetRowsUnauthorized creates a GetRowsUnauthorized with default headers values
func (*GetRowsUnauthorized) Error ¶
func (o *GetRowsUnauthorized) Error() string
func (*GetRowsUnauthorized) GetPayload ¶
func (o *GetRowsUnauthorized) GetPayload() *models.Error
type PatchRowsBadRequest ¶
PatchRowsBadRequest handles this case with default header values.
Bad Request
func NewPatchRowsBadRequest ¶
func NewPatchRowsBadRequest() *PatchRowsBadRequest
NewPatchRowsBadRequest creates a PatchRowsBadRequest with default headers values
func (*PatchRowsBadRequest) Error ¶
func (o *PatchRowsBadRequest) Error() string
func (*PatchRowsBadRequest) GetPayload ¶
func (o *PatchRowsBadRequest) GetPayload() *models.Error
type PatchRowsInternalServerError ¶
PatchRowsInternalServerError handles this case with default header values.
Internal server error
func NewPatchRowsInternalServerError ¶
func NewPatchRowsInternalServerError() *PatchRowsInternalServerError
NewPatchRowsInternalServerError creates a PatchRowsInternalServerError with default headers values
func (*PatchRowsInternalServerError) Error ¶
func (o *PatchRowsInternalServerError) Error() string
func (*PatchRowsInternalServerError) GetPayload ¶
func (o *PatchRowsInternalServerError) GetPayload() *models.Error
type PatchRowsOK ¶
type PatchRowsOK struct {
Payload *models.ResponseWrapper
}
PatchRowsOK handles this case with default header values.
resource updated
func NewPatchRowsOK ¶
func NewPatchRowsOK() *PatchRowsOK
NewPatchRowsOK creates a PatchRowsOK with default headers values
func (*PatchRowsOK) Error ¶
func (o *PatchRowsOK) Error() string
func (*PatchRowsOK) GetPayload ¶
func (o *PatchRowsOK) GetPayload() *models.ResponseWrapper
type PatchRowsParams ¶
type PatchRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body document */ Body string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PrimaryKey Value from the primary key column for the table. Define composite keys by separating values with slashes (`val1/val2...`) in the order they were defined. </br> For example, if the composite key was defined as `PRIMARY KEY(race_year, race_name)` then the primary key in the path would be `race_year/race_name` */ PrimaryKey []string /*Raw*/ Raw *bool /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchRowsParams contains all the parameters to send to the API endpoint for the patch rows operation typically these are written to a http.Request
func NewPatchRowsParams ¶
func NewPatchRowsParams() *PatchRowsParams
NewPatchRowsParams creates a new PatchRowsParams object with the default values initialized.
func NewPatchRowsParamsWithContext ¶
func NewPatchRowsParamsWithContext(ctx context.Context) *PatchRowsParams
NewPatchRowsParamsWithContext creates a new PatchRowsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchRowsParamsWithHTTPClient ¶
func NewPatchRowsParamsWithHTTPClient(client *http.Client) *PatchRowsParams
NewPatchRowsParamsWithHTTPClient creates a new PatchRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchRowsParamsWithTimeout ¶
func NewPatchRowsParamsWithTimeout(timeout time.Duration) *PatchRowsParams
NewPatchRowsParamsWithTimeout creates a new PatchRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchRowsParams) SetBody ¶
func (o *PatchRowsParams) SetBody(body string)
SetBody adds the body to the patch rows params
func (*PatchRowsParams) SetContext ¶
func (o *PatchRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch rows params
func (*PatchRowsParams) SetHTTPClient ¶
func (o *PatchRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch rows params
func (*PatchRowsParams) SetKeyspaceName ¶
func (o *PatchRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the patch rows params
func (*PatchRowsParams) SetPrimaryKey ¶
func (o *PatchRowsParams) SetPrimaryKey(primaryKey []string)
SetPrimaryKey adds the primaryKey to the patch rows params
func (*PatchRowsParams) SetRaw ¶
func (o *PatchRowsParams) SetRaw(raw *bool)
SetRaw adds the raw to the patch rows params
func (*PatchRowsParams) SetTableName ¶
func (o *PatchRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the patch rows params
func (*PatchRowsParams) SetTimeout ¶
func (o *PatchRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch rows params
func (*PatchRowsParams) SetXCassandraToken ¶
func (o *PatchRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the patch rows params
func (*PatchRowsParams) WithBody ¶
func (o *PatchRowsParams) WithBody(body string) *PatchRowsParams
WithBody adds the body to the patch rows params
func (*PatchRowsParams) WithContext ¶
func (o *PatchRowsParams) WithContext(ctx context.Context) *PatchRowsParams
WithContext adds the context to the patch rows params
func (*PatchRowsParams) WithHTTPClient ¶
func (o *PatchRowsParams) WithHTTPClient(client *http.Client) *PatchRowsParams
WithHTTPClient adds the HTTPClient to the patch rows params
func (*PatchRowsParams) WithKeyspaceName ¶
func (o *PatchRowsParams) WithKeyspaceName(keyspaceName string) *PatchRowsParams
WithKeyspaceName adds the keyspaceName to the patch rows params
func (*PatchRowsParams) WithPrimaryKey ¶
func (o *PatchRowsParams) WithPrimaryKey(primaryKey []string) *PatchRowsParams
WithPrimaryKey adds the primaryKey to the patch rows params
func (*PatchRowsParams) WithRaw ¶
func (o *PatchRowsParams) WithRaw(raw *bool) *PatchRowsParams
WithRaw adds the raw to the patch rows params
func (*PatchRowsParams) WithTableName ¶
func (o *PatchRowsParams) WithTableName(tableName string) *PatchRowsParams
WithTableName adds the tableName to the patch rows params
func (*PatchRowsParams) WithTimeout ¶
func (o *PatchRowsParams) WithTimeout(timeout time.Duration) *PatchRowsParams
WithTimeout adds the timeout to the patch rows params
func (*PatchRowsParams) WithXCassandraToken ¶
func (o *PatchRowsParams) WithXCassandraToken(xCassandraToken string) *PatchRowsParams
WithXCassandraToken adds the xCassandraToken to the patch rows params
func (*PatchRowsParams) WriteToRequest ¶
func (o *PatchRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchRowsReader ¶
type PatchRowsReader struct {
// contains filtered or unexported fields
}
PatchRowsReader is a Reader for the PatchRows structure.
func (*PatchRowsReader) ReadResponse ¶
func (o *PatchRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchRowsUnauthorized ¶
type PatchRowsUnauthorized struct {
}PatchRowsUnauthorized handles this case with default header values.
Unauthorized
func NewPatchRowsUnauthorized ¶
func NewPatchRowsUnauthorized() *PatchRowsUnauthorized
NewPatchRowsUnauthorized creates a PatchRowsUnauthorized with default headers values
func (*PatchRowsUnauthorized) Error ¶
func (o *PatchRowsUnauthorized) Error() string
func (*PatchRowsUnauthorized) GetPayload ¶
func (o *PatchRowsUnauthorized) GetPayload() *models.Error
type QueryRowsBadRequest ¶
QueryRowsBadRequest handles this case with default header values.
Bad request
func NewQueryRowsBadRequest ¶
func NewQueryRowsBadRequest() *QueryRowsBadRequest
NewQueryRowsBadRequest creates a QueryRowsBadRequest with default headers values
func (*QueryRowsBadRequest) Error ¶
func (o *QueryRowsBadRequest) Error() string
func (*QueryRowsBadRequest) GetPayload ¶
func (o *QueryRowsBadRequest) GetPayload() *models.Error
type QueryRowsForbidden ¶
QueryRowsForbidden handles this case with default header values.
Forbidden
func NewQueryRowsForbidden ¶
func NewQueryRowsForbidden() *QueryRowsForbidden
NewQueryRowsForbidden creates a QueryRowsForbidden with default headers values
func (*QueryRowsForbidden) Error ¶
func (o *QueryRowsForbidden) Error() string
func (*QueryRowsForbidden) GetPayload ¶
func (o *QueryRowsForbidden) GetPayload() *models.Error
type QueryRowsInternalServerError ¶
QueryRowsInternalServerError handles this case with default header values.
Internal Server Error
func NewQueryRowsInternalServerError ¶
func NewQueryRowsInternalServerError() *QueryRowsInternalServerError
NewQueryRowsInternalServerError creates a QueryRowsInternalServerError with default headers values
func (*QueryRowsInternalServerError) Error ¶
func (o *QueryRowsInternalServerError) Error() string
func (*QueryRowsInternalServerError) GetPayload ¶
func (o *QueryRowsInternalServerError) GetPayload() *models.Error
type QueryRowsOK ¶
QueryRowsOK handles this case with default header values.
OK
func NewQueryRowsOK ¶
func NewQueryRowsOK() *QueryRowsOK
NewQueryRowsOK creates a QueryRowsOK with default headers values
func (*QueryRowsOK) Error ¶
func (o *QueryRowsOK) Error() string
func (*QueryRowsOK) GetPayload ¶
func (o *QueryRowsOK) GetPayload() *models.Rows
type QueryRowsParams ¶
type QueryRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body The query to be used for retrieving rows. */ Body *models.Query /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryRowsParams contains all the parameters to send to the API endpoint for the query rows operation typically these are written to a http.Request
func NewQueryRowsParams ¶
func NewQueryRowsParams() *QueryRowsParams
NewQueryRowsParams creates a new QueryRowsParams object with the default values initialized.
func NewQueryRowsParamsWithContext ¶
func NewQueryRowsParamsWithContext(ctx context.Context) *QueryRowsParams
NewQueryRowsParamsWithContext creates a new QueryRowsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryRowsParamsWithHTTPClient ¶
func NewQueryRowsParamsWithHTTPClient(client *http.Client) *QueryRowsParams
NewQueryRowsParamsWithHTTPClient creates a new QueryRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryRowsParamsWithTimeout ¶
func NewQueryRowsParamsWithTimeout(timeout time.Duration) *QueryRowsParams
NewQueryRowsParamsWithTimeout creates a new QueryRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryRowsParams) SetBody ¶
func (o *QueryRowsParams) SetBody(body *models.Query)
SetBody adds the body to the query rows params
func (*QueryRowsParams) SetContext ¶
func (o *QueryRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the query rows params
func (*QueryRowsParams) SetHTTPClient ¶
func (o *QueryRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query rows params
func (*QueryRowsParams) SetKeyspaceName ¶
func (o *QueryRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the query rows params
func (*QueryRowsParams) SetTableName ¶
func (o *QueryRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the query rows params
func (*QueryRowsParams) SetTimeout ¶
func (o *QueryRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query rows params
func (*QueryRowsParams) SetXCassandraToken ¶
func (o *QueryRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the query rows params
func (*QueryRowsParams) WithBody ¶
func (o *QueryRowsParams) WithBody(body *models.Query) *QueryRowsParams
WithBody adds the body to the query rows params
func (*QueryRowsParams) WithContext ¶
func (o *QueryRowsParams) WithContext(ctx context.Context) *QueryRowsParams
WithContext adds the context to the query rows params
func (*QueryRowsParams) WithHTTPClient ¶
func (o *QueryRowsParams) WithHTTPClient(client *http.Client) *QueryRowsParams
WithHTTPClient adds the HTTPClient to the query rows params
func (*QueryRowsParams) WithKeyspaceName ¶
func (o *QueryRowsParams) WithKeyspaceName(keyspaceName string) *QueryRowsParams
WithKeyspaceName adds the keyspaceName to the query rows params
func (*QueryRowsParams) WithTableName ¶
func (o *QueryRowsParams) WithTableName(tableName string) *QueryRowsParams
WithTableName adds the tableName to the query rows params
func (*QueryRowsParams) WithTimeout ¶
func (o *QueryRowsParams) WithTimeout(timeout time.Duration) *QueryRowsParams
WithTimeout adds the timeout to the query rows params
func (*QueryRowsParams) WithXCassandraToken ¶
func (o *QueryRowsParams) WithXCassandraToken(xCassandraToken string) *QueryRowsParams
WithXCassandraToken adds the xCassandraToken to the query rows params
func (*QueryRowsParams) WriteToRequest ¶
func (o *QueryRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryRowsReader ¶
type QueryRowsReader struct {
// contains filtered or unexported fields
}
QueryRowsReader is a Reader for the QueryRows structure.
func (*QueryRowsReader) ReadResponse ¶
func (o *QueryRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryRowsUnauthorized ¶
type QueryRowsUnauthorized struct {
}QueryRowsUnauthorized handles this case with default header values.
Unauthorized
func NewQueryRowsUnauthorized ¶
func NewQueryRowsUnauthorized() *QueryRowsUnauthorized
NewQueryRowsUnauthorized creates a QueryRowsUnauthorized with default headers values
func (*QueryRowsUnauthorized) Error ¶
func (o *QueryRowsUnauthorized) Error() string
func (*QueryRowsUnauthorized) GetPayload ¶
func (o *QueryRowsUnauthorized) GetPayload() *models.Error
type UpdateRowBadRequest ¶
UpdateRowBadRequest handles this case with default header values.
Bad request
func NewUpdateRowBadRequest ¶
func NewUpdateRowBadRequest() *UpdateRowBadRequest
NewUpdateRowBadRequest creates a UpdateRowBadRequest with default headers values
func (*UpdateRowBadRequest) Error ¶
func (o *UpdateRowBadRequest) Error() string
func (*UpdateRowBadRequest) GetPayload ¶
func (o *UpdateRowBadRequest) GetPayload() *models.Error
type UpdateRowForbidden ¶
UpdateRowForbidden handles this case with default header values.
Forbidden
func NewUpdateRowForbidden ¶
func NewUpdateRowForbidden() *UpdateRowForbidden
NewUpdateRowForbidden creates a UpdateRowForbidden with default headers values
func (*UpdateRowForbidden) Error ¶
func (o *UpdateRowForbidden) Error() string
func (*UpdateRowForbidden) GetPayload ¶
func (o *UpdateRowForbidden) GetPayload() *models.Error
type UpdateRowInternalServerError ¶
UpdateRowInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateRowInternalServerError ¶
func NewUpdateRowInternalServerError() *UpdateRowInternalServerError
NewUpdateRowInternalServerError creates a UpdateRowInternalServerError with default headers values
func (*UpdateRowInternalServerError) Error ¶
func (o *UpdateRowInternalServerError) Error() string
func (*UpdateRowInternalServerError) GetPayload ¶
func (o *UpdateRowInternalServerError) GetPayload() *models.Error
type UpdateRowOK ¶
type UpdateRowOK struct {
Payload *models.RowsResponse
}
UpdateRowOK handles this case with default header values.
OK
func NewUpdateRowOK ¶
func NewUpdateRowOK() *UpdateRowOK
NewUpdateRowOK creates a UpdateRowOK with default headers values
func (*UpdateRowOK) Error ¶
func (o *UpdateRowOK) Error() string
func (*UpdateRowOK) GetPayload ¶
func (o *UpdateRowOK) GetPayload() *models.RowsResponse
type UpdateRowParams ¶
type UpdateRowParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body*/ Body *models.RowUpdate /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRowParams contains all the parameters to send to the API endpoint for the update row operation typically these are written to a http.Request
func NewUpdateRowParams ¶
func NewUpdateRowParams() *UpdateRowParams
NewUpdateRowParams creates a new UpdateRowParams object with the default values initialized.
func NewUpdateRowParamsWithContext ¶
func NewUpdateRowParamsWithContext(ctx context.Context) *UpdateRowParams
NewUpdateRowParamsWithContext creates a new UpdateRowParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRowParamsWithHTTPClient ¶
func NewUpdateRowParamsWithHTTPClient(client *http.Client) *UpdateRowParams
NewUpdateRowParamsWithHTTPClient creates a new UpdateRowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRowParamsWithTimeout ¶
func NewUpdateRowParamsWithTimeout(timeout time.Duration) *UpdateRowParams
NewUpdateRowParamsWithTimeout creates a new UpdateRowParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRowParams) SetBody ¶
func (o *UpdateRowParams) SetBody(body *models.RowUpdate)
SetBody adds the body to the update row params
func (*UpdateRowParams) SetContext ¶
func (o *UpdateRowParams) SetContext(ctx context.Context)
SetContext adds the context to the update row params
func (*UpdateRowParams) SetHTTPClient ¶
func (o *UpdateRowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update row params
func (*UpdateRowParams) SetKeyspaceName ¶
func (o *UpdateRowParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the update row params
func (*UpdateRowParams) SetTableName ¶
func (o *UpdateRowParams) SetTableName(tableName string)
SetTableName adds the tableName to the update row params
func (*UpdateRowParams) SetTimeout ¶
func (o *UpdateRowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update row params
func (*UpdateRowParams) SetXCassandraToken ¶
func (o *UpdateRowParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the update row params
func (*UpdateRowParams) WithBody ¶
func (o *UpdateRowParams) WithBody(body *models.RowUpdate) *UpdateRowParams
WithBody adds the body to the update row params
func (*UpdateRowParams) WithContext ¶
func (o *UpdateRowParams) WithContext(ctx context.Context) *UpdateRowParams
WithContext adds the context to the update row params
func (*UpdateRowParams) WithHTTPClient ¶
func (o *UpdateRowParams) WithHTTPClient(client *http.Client) *UpdateRowParams
WithHTTPClient adds the HTTPClient to the update row params
func (*UpdateRowParams) WithKeyspaceName ¶
func (o *UpdateRowParams) WithKeyspaceName(keyspaceName string) *UpdateRowParams
WithKeyspaceName adds the keyspaceName to the update row params
func (*UpdateRowParams) WithTableName ¶
func (o *UpdateRowParams) WithTableName(tableName string) *UpdateRowParams
WithTableName adds the tableName to the update row params
func (*UpdateRowParams) WithTimeout ¶
func (o *UpdateRowParams) WithTimeout(timeout time.Duration) *UpdateRowParams
WithTimeout adds the timeout to the update row params
func (*UpdateRowParams) WithXCassandraToken ¶
func (o *UpdateRowParams) WithXCassandraToken(xCassandraToken string) *UpdateRowParams
WithXCassandraToken adds the xCassandraToken to the update row params
func (*UpdateRowParams) WriteToRequest ¶
func (o *UpdateRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRowReader ¶
type UpdateRowReader struct {
// contains filtered or unexported fields
}
UpdateRowReader is a Reader for the UpdateRow structure.
func (*UpdateRowReader) ReadResponse ¶
func (o *UpdateRowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRowUnauthorized ¶
type UpdateRowUnauthorized struct {
}UpdateRowUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateRowUnauthorized ¶
func NewUpdateRowUnauthorized() *UpdateRowUnauthorized
NewUpdateRowUnauthorized creates a UpdateRowUnauthorized with default headers values
func (*UpdateRowUnauthorized) Error ¶
func (o *UpdateRowUnauthorized) Error() string
func (*UpdateRowUnauthorized) GetPayload ¶
func (o *UpdateRowUnauthorized) GetPayload() *models.Error
type UpdateRowsBadRequest ¶
UpdateRowsBadRequest handles this case with default header values.
Bad Request
func NewUpdateRowsBadRequest ¶
func NewUpdateRowsBadRequest() *UpdateRowsBadRequest
NewUpdateRowsBadRequest creates a UpdateRowsBadRequest with default headers values
func (*UpdateRowsBadRequest) Error ¶
func (o *UpdateRowsBadRequest) Error() string
func (*UpdateRowsBadRequest) GetPayload ¶
func (o *UpdateRowsBadRequest) GetPayload() *models.Error
type UpdateRowsInternalServerError ¶
UpdateRowsInternalServerError handles this case with default header values.
Internal server error
func NewUpdateRowsInternalServerError ¶
func NewUpdateRowsInternalServerError() *UpdateRowsInternalServerError
NewUpdateRowsInternalServerError creates a UpdateRowsInternalServerError with default headers values
func (*UpdateRowsInternalServerError) Error ¶
func (o *UpdateRowsInternalServerError) Error() string
func (*UpdateRowsInternalServerError) GetPayload ¶
func (o *UpdateRowsInternalServerError) GetPayload() *models.Error
type UpdateRowsOK ¶
type UpdateRowsOK struct {
Payload interface{}
}
UpdateRowsOK handles this case with default header values.
resource updated
func NewUpdateRowsOK ¶
func NewUpdateRowsOK() *UpdateRowsOK
NewUpdateRowsOK creates a UpdateRowsOK with default headers values
func (*UpdateRowsOK) Error ¶
func (o *UpdateRowsOK) Error() string
func (*UpdateRowsOK) GetPayload ¶
func (o *UpdateRowsOK) GetPayload() interface{}
type UpdateRowsParams ¶
type UpdateRowsParams struct { /*XCassandraToken The token returned from the authorization endpoint. Use this token in each request. */ XCassandraToken string /*Body*/ Body string /*KeyspaceName Name of the keyspace to use for the request. */ KeyspaceName string /*PrimaryKey Value from the primary key column for the table. Define composite keys by separating values with slashes (`val1/val2...`) in the order they were defined. </br> For example, if the composite key was defined as `PRIMARY KEY(race_year, race_name)` then the primary key in the path would be `race_year/race_name` */ PrimaryKey []string /*Raw Unwrap results */ Raw *bool /*TableName Name of the table to use for the request. */ TableName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRowsParams contains all the parameters to send to the API endpoint for the update rows operation typically these are written to a http.Request
func NewUpdateRowsParams ¶
func NewUpdateRowsParams() *UpdateRowsParams
NewUpdateRowsParams creates a new UpdateRowsParams object with the default values initialized.
func NewUpdateRowsParamsWithContext ¶
func NewUpdateRowsParamsWithContext(ctx context.Context) *UpdateRowsParams
NewUpdateRowsParamsWithContext creates a new UpdateRowsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRowsParamsWithHTTPClient ¶
func NewUpdateRowsParamsWithHTTPClient(client *http.Client) *UpdateRowsParams
NewUpdateRowsParamsWithHTTPClient creates a new UpdateRowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRowsParamsWithTimeout ¶
func NewUpdateRowsParamsWithTimeout(timeout time.Duration) *UpdateRowsParams
NewUpdateRowsParamsWithTimeout creates a new UpdateRowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRowsParams) SetBody ¶
func (o *UpdateRowsParams) SetBody(body string)
SetBody adds the body to the update rows params
func (*UpdateRowsParams) SetContext ¶
func (o *UpdateRowsParams) SetContext(ctx context.Context)
SetContext adds the context to the update rows params
func (*UpdateRowsParams) SetHTTPClient ¶
func (o *UpdateRowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update rows params
func (*UpdateRowsParams) SetKeyspaceName ¶
func (o *UpdateRowsParams) SetKeyspaceName(keyspaceName string)
SetKeyspaceName adds the keyspaceName to the update rows params
func (*UpdateRowsParams) SetPrimaryKey ¶
func (o *UpdateRowsParams) SetPrimaryKey(primaryKey []string)
SetPrimaryKey adds the primaryKey to the update rows params
func (*UpdateRowsParams) SetRaw ¶
func (o *UpdateRowsParams) SetRaw(raw *bool)
SetRaw adds the raw to the update rows params
func (*UpdateRowsParams) SetTableName ¶
func (o *UpdateRowsParams) SetTableName(tableName string)
SetTableName adds the tableName to the update rows params
func (*UpdateRowsParams) SetTimeout ¶
func (o *UpdateRowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update rows params
func (*UpdateRowsParams) SetXCassandraToken ¶
func (o *UpdateRowsParams) SetXCassandraToken(xCassandraToken string)
SetXCassandraToken adds the xCassandraToken to the update rows params
func (*UpdateRowsParams) WithBody ¶
func (o *UpdateRowsParams) WithBody(body string) *UpdateRowsParams
WithBody adds the body to the update rows params
func (*UpdateRowsParams) WithContext ¶
func (o *UpdateRowsParams) WithContext(ctx context.Context) *UpdateRowsParams
WithContext adds the context to the update rows params
func (*UpdateRowsParams) WithHTTPClient ¶
func (o *UpdateRowsParams) WithHTTPClient(client *http.Client) *UpdateRowsParams
WithHTTPClient adds the HTTPClient to the update rows params
func (*UpdateRowsParams) WithKeyspaceName ¶
func (o *UpdateRowsParams) WithKeyspaceName(keyspaceName string) *UpdateRowsParams
WithKeyspaceName adds the keyspaceName to the update rows params
func (*UpdateRowsParams) WithPrimaryKey ¶
func (o *UpdateRowsParams) WithPrimaryKey(primaryKey []string) *UpdateRowsParams
WithPrimaryKey adds the primaryKey to the update rows params
func (*UpdateRowsParams) WithRaw ¶
func (o *UpdateRowsParams) WithRaw(raw *bool) *UpdateRowsParams
WithRaw adds the raw to the update rows params
func (*UpdateRowsParams) WithTableName ¶
func (o *UpdateRowsParams) WithTableName(tableName string) *UpdateRowsParams
WithTableName adds the tableName to the update rows params
func (*UpdateRowsParams) WithTimeout ¶
func (o *UpdateRowsParams) WithTimeout(timeout time.Duration) *UpdateRowsParams
WithTimeout adds the timeout to the update rows params
func (*UpdateRowsParams) WithXCassandraToken ¶
func (o *UpdateRowsParams) WithXCassandraToken(xCassandraToken string) *UpdateRowsParams
WithXCassandraToken adds the xCassandraToken to the update rows params
func (*UpdateRowsParams) WriteToRequest ¶
func (o *UpdateRowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRowsReader ¶
type UpdateRowsReader struct {
// contains filtered or unexported fields
}
UpdateRowsReader is a Reader for the UpdateRows structure.
func (*UpdateRowsReader) ReadResponse ¶
func (o *UpdateRowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRowsUnauthorized ¶
type UpdateRowsUnauthorized struct {
}UpdateRowsUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateRowsUnauthorized ¶
func NewUpdateRowsUnauthorized() *UpdateRowsUnauthorized
NewUpdateRowsUnauthorized creates a UpdateRowsUnauthorized with default headers values
func (*UpdateRowsUnauthorized) Error ¶
func (o *UpdateRowsUnauthorized) Error() string
func (*UpdateRowsUnauthorized) GetPayload ¶
func (o *UpdateRowsUnauthorized) GetPayload() *models.Error
Source Files
¶
- add_row_parameters.go
- add_row_responses.go
- create_row_parameters.go
- create_row_responses.go
- data_client.go
- delete_row_parameters.go
- delete_row_responses.go
- delete_rows_parameters.go
- delete_rows_responses.go
- get_all_rows_parameters.go
- get_all_rows_responses.go
- get_row_with_where_parameters.go
- get_row_with_where_responses.go
- get_rows1_parameters.go
- get_rows1_responses.go
- get_rows_parameters.go
- get_rows_responses.go
- patch_rows_parameters.go
- patch_rows_responses.go
- query_rows_parameters.go
- query_rows_responses.go
- update_row_parameters.go
- update_row_responses.go
- update_rows_parameters.go
- update_rows_responses.go