Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type CreateFileV1BadRequest
- func (o *CreateFileV1BadRequest) Code() int
- func (o *CreateFileV1BadRequest) Error() string
- func (o *CreateFileV1BadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *CreateFileV1BadRequest) IsClientError() bool
- func (o *CreateFileV1BadRequest) IsCode(code int) bool
- func (o *CreateFileV1BadRequest) IsRedirect() bool
- func (o *CreateFileV1BadRequest) IsServerError() bool
- func (o *CreateFileV1BadRequest) IsSuccess() bool
- func (o *CreateFileV1BadRequest) String() string
- type CreateFileV1Forbidden
- func (o *CreateFileV1Forbidden) Code() int
- func (o *CreateFileV1Forbidden) Error() string
- func (o *CreateFileV1Forbidden) GetPayload() *models.MsaspecResponseFields
- func (o *CreateFileV1Forbidden) IsClientError() bool
- func (o *CreateFileV1Forbidden) IsCode(code int) bool
- func (o *CreateFileV1Forbidden) IsRedirect() bool
- func (o *CreateFileV1Forbidden) IsServerError() bool
- func (o *CreateFileV1Forbidden) IsSuccess() bool
- func (o *CreateFileV1Forbidden) String() string
- type CreateFileV1InternalServerError
- func (o *CreateFileV1InternalServerError) Code() int
- func (o *CreateFileV1InternalServerError) Error() string
- func (o *CreateFileV1InternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *CreateFileV1InternalServerError) IsClientError() bool
- func (o *CreateFileV1InternalServerError) IsCode(code int) bool
- func (o *CreateFileV1InternalServerError) IsRedirect() bool
- func (o *CreateFileV1InternalServerError) IsServerError() bool
- func (o *CreateFileV1InternalServerError) IsSuccess() bool
- func (o *CreateFileV1InternalServerError) String() string
- type CreateFileV1NotFound
- func (o *CreateFileV1NotFound) Code() int
- func (o *CreateFileV1NotFound) Error() string
- func (o *CreateFileV1NotFound) GetPayload() *models.MsaspecResponseFields
- func (o *CreateFileV1NotFound) IsClientError() bool
- func (o *CreateFileV1NotFound) IsCode(code int) bool
- func (o *CreateFileV1NotFound) IsRedirect() bool
- func (o *CreateFileV1NotFound) IsServerError() bool
- func (o *CreateFileV1NotFound) IsSuccess() bool
- func (o *CreateFileV1NotFound) String() string
- type CreateFileV1OK
- func (o *CreateFileV1OK) Code() int
- func (o *CreateFileV1OK) Error() string
- func (o *CreateFileV1OK) GetPayload() *models.DomainLookupFileWrapper
- func (o *CreateFileV1OK) IsClientError() bool
- func (o *CreateFileV1OK) IsCode(code int) bool
- func (o *CreateFileV1OK) IsRedirect() bool
- func (o *CreateFileV1OK) IsServerError() bool
- func (o *CreateFileV1OK) IsSuccess() bool
- func (o *CreateFileV1OK) String() string
- type CreateFileV1Params
- func (o *CreateFileV1Params) SetContext(ctx context.Context)
- func (o *CreateFileV1Params) SetDefaults()
- func (o *CreateFileV1Params) SetDescription(description *string)
- func (o *CreateFileV1Params) SetFile(file runtime.NamedReadCloser)
- func (o *CreateFileV1Params) SetHTTPClient(client *http.Client)
- func (o *CreateFileV1Params) SetID(id *string)
- func (o *CreateFileV1Params) SetName(name string)
- func (o *CreateFileV1Params) SetRepo(repo *string)
- func (o *CreateFileV1Params) SetTimeout(timeout time.Duration)
- func (o *CreateFileV1Params) WithContext(ctx context.Context) *CreateFileV1Params
- func (o *CreateFileV1Params) WithDefaults() *CreateFileV1Params
- func (o *CreateFileV1Params) WithDescription(description *string) *CreateFileV1Params
- func (o *CreateFileV1Params) WithFile(file runtime.NamedReadCloser) *CreateFileV1Params
- func (o *CreateFileV1Params) WithHTTPClient(client *http.Client) *CreateFileV1Params
- func (o *CreateFileV1Params) WithID(id *string) *CreateFileV1Params
- func (o *CreateFileV1Params) WithName(name string) *CreateFileV1Params
- func (o *CreateFileV1Params) WithRepo(repo *string) *CreateFileV1Params
- func (o *CreateFileV1Params) WithTimeout(timeout time.Duration) *CreateFileV1Params
- func (o *CreateFileV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFileV1Reader
- type CreateFileV1TooManyRequests
- func (o *CreateFileV1TooManyRequests) Code() int
- func (o *CreateFileV1TooManyRequests) Error() string
- func (o *CreateFileV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreateFileV1TooManyRequests) IsClientError() bool
- func (o *CreateFileV1TooManyRequests) IsCode(code int) bool
- func (o *CreateFileV1TooManyRequests) IsRedirect() bool
- func (o *CreateFileV1TooManyRequests) IsServerError() bool
- func (o *CreateFileV1TooManyRequests) IsSuccess() bool
- func (o *CreateFileV1TooManyRequests) String() string
- type UpdateFileV1BadRequest
- func (o *UpdateFileV1BadRequest) Code() int
- func (o *UpdateFileV1BadRequest) Error() string
- func (o *UpdateFileV1BadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *UpdateFileV1BadRequest) IsClientError() bool
- func (o *UpdateFileV1BadRequest) IsCode(code int) bool
- func (o *UpdateFileV1BadRequest) IsRedirect() bool
- func (o *UpdateFileV1BadRequest) IsServerError() bool
- func (o *UpdateFileV1BadRequest) IsSuccess() bool
- func (o *UpdateFileV1BadRequest) String() string
- type UpdateFileV1Forbidden
- func (o *UpdateFileV1Forbidden) Code() int
- func (o *UpdateFileV1Forbidden) Error() string
- func (o *UpdateFileV1Forbidden) GetPayload() *models.MsaspecResponseFields
- func (o *UpdateFileV1Forbidden) IsClientError() bool
- func (o *UpdateFileV1Forbidden) IsCode(code int) bool
- func (o *UpdateFileV1Forbidden) IsRedirect() bool
- func (o *UpdateFileV1Forbidden) IsServerError() bool
- func (o *UpdateFileV1Forbidden) IsSuccess() bool
- func (o *UpdateFileV1Forbidden) String() string
- type UpdateFileV1InternalServerError
- func (o *UpdateFileV1InternalServerError) Code() int
- func (o *UpdateFileV1InternalServerError) Error() string
- func (o *UpdateFileV1InternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *UpdateFileV1InternalServerError) IsClientError() bool
- func (o *UpdateFileV1InternalServerError) IsCode(code int) bool
- func (o *UpdateFileV1InternalServerError) IsRedirect() bool
- func (o *UpdateFileV1InternalServerError) IsServerError() bool
- func (o *UpdateFileV1InternalServerError) IsSuccess() bool
- func (o *UpdateFileV1InternalServerError) String() string
- type UpdateFileV1NotFound
- func (o *UpdateFileV1NotFound) Code() int
- func (o *UpdateFileV1NotFound) Error() string
- func (o *UpdateFileV1NotFound) GetPayload() *models.MsaspecResponseFields
- func (o *UpdateFileV1NotFound) IsClientError() bool
- func (o *UpdateFileV1NotFound) IsCode(code int) bool
- func (o *UpdateFileV1NotFound) IsRedirect() bool
- func (o *UpdateFileV1NotFound) IsServerError() bool
- func (o *UpdateFileV1NotFound) IsSuccess() bool
- func (o *UpdateFileV1NotFound) String() string
- type UpdateFileV1OK
- func (o *UpdateFileV1OK) Code() int
- func (o *UpdateFileV1OK) Error() string
- func (o *UpdateFileV1OK) GetPayload() *models.DomainLookupFileWrapper
- func (o *UpdateFileV1OK) IsClientError() bool
- func (o *UpdateFileV1OK) IsCode(code int) bool
- func (o *UpdateFileV1OK) IsRedirect() bool
- func (o *UpdateFileV1OK) IsServerError() bool
- func (o *UpdateFileV1OK) IsSuccess() bool
- func (o *UpdateFileV1OK) String() string
- type UpdateFileV1Params
- func (o *UpdateFileV1Params) SetContext(ctx context.Context)
- func (o *UpdateFileV1Params) SetDefaults()
- func (o *UpdateFileV1Params) SetDescription(description *string)
- func (o *UpdateFileV1Params) SetFile(file runtime.NamedReadCloser)
- func (o *UpdateFileV1Params) SetHTTPClient(client *http.Client)
- func (o *UpdateFileV1Params) SetID(id string)
- func (o *UpdateFileV1Params) SetTimeout(timeout time.Duration)
- func (o *UpdateFileV1Params) WithContext(ctx context.Context) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithDefaults() *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithDescription(description *string) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithFile(file runtime.NamedReadCloser) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithHTTPClient(client *http.Client) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithID(id string) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WithTimeout(timeout time.Duration) *UpdateFileV1Params
- func (o *UpdateFileV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFileV1Reader
- type UpdateFileV1TooManyRequests
- func (o *UpdateFileV1TooManyRequests) Code() int
- func (o *UpdateFileV1TooManyRequests) Error() string
- func (o *UpdateFileV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateFileV1TooManyRequests) IsClientError() bool
- func (o *UpdateFileV1TooManyRequests) IsCode(code int) bool
- func (o *UpdateFileV1TooManyRequests) IsRedirect() bool
- func (o *UpdateFileV1TooManyRequests) IsServerError() bool
- func (o *UpdateFileV1TooManyRequests) IsSuccess() bool
- func (o *UpdateFileV1TooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for lookup files API
func (*Client) CreateFileV1 ¶
func (a *Client) CreateFileV1(params *CreateFileV1Params, opts ...ClientOption) (*CreateFileV1OK, error)
CreateFileV1 creates a lookup file
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFileV1 ¶
func (a *Client) UpdateFileV1(params *UpdateFileV1Params, opts ...ClientOption) (*UpdateFileV1OK, error)
UpdateFileV1 updates a lookup file
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateFileV1(params *CreateFileV1Params, opts ...ClientOption) (*CreateFileV1OK, error) UpdateFileV1(params *UpdateFileV1Params, opts ...ClientOption) (*UpdateFileV1OK, 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 lookup files API client.
type CreateFileV1BadRequest ¶
type CreateFileV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
CreateFileV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateFileV1BadRequest ¶
func NewCreateFileV1BadRequest() *CreateFileV1BadRequest
NewCreateFileV1BadRequest creates a CreateFileV1BadRequest with default headers values
func (*CreateFileV1BadRequest) Code ¶
func (o *CreateFileV1BadRequest) Code() int
Code gets the status code for the create file v1 bad request response
func (*CreateFileV1BadRequest) Error ¶
func (o *CreateFileV1BadRequest) Error() string
func (*CreateFileV1BadRequest) GetPayload ¶
func (o *CreateFileV1BadRequest) GetPayload() *models.MsaspecResponseFields
func (*CreateFileV1BadRequest) IsClientError ¶
func (o *CreateFileV1BadRequest) IsClientError() bool
IsClientError returns true when this create file v1 bad request response has a 4xx status code
func (*CreateFileV1BadRequest) IsCode ¶
func (o *CreateFileV1BadRequest) IsCode(code int) bool
IsCode returns true when this create file v1 bad request response a status code equal to that given
func (*CreateFileV1BadRequest) IsRedirect ¶
func (o *CreateFileV1BadRequest) IsRedirect() bool
IsRedirect returns true when this create file v1 bad request response has a 3xx status code
func (*CreateFileV1BadRequest) IsServerError ¶
func (o *CreateFileV1BadRequest) IsServerError() bool
IsServerError returns true when this create file v1 bad request response has a 5xx status code
func (*CreateFileV1BadRequest) IsSuccess ¶
func (o *CreateFileV1BadRequest) IsSuccess() bool
IsSuccess returns true when this create file v1 bad request response has a 2xx status code
func (*CreateFileV1BadRequest) String ¶
func (o *CreateFileV1BadRequest) String() string
type CreateFileV1Forbidden ¶
type CreateFileV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
CreateFileV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateFileV1Forbidden ¶
func NewCreateFileV1Forbidden() *CreateFileV1Forbidden
NewCreateFileV1Forbidden creates a CreateFileV1Forbidden with default headers values
func (*CreateFileV1Forbidden) Code ¶
func (o *CreateFileV1Forbidden) Code() int
Code gets the status code for the create file v1 forbidden response
func (*CreateFileV1Forbidden) Error ¶
func (o *CreateFileV1Forbidden) Error() string
func (*CreateFileV1Forbidden) GetPayload ¶
func (o *CreateFileV1Forbidden) GetPayload() *models.MsaspecResponseFields
func (*CreateFileV1Forbidden) IsClientError ¶
func (o *CreateFileV1Forbidden) IsClientError() bool
IsClientError returns true when this create file v1 forbidden response has a 4xx status code
func (*CreateFileV1Forbidden) IsCode ¶
func (o *CreateFileV1Forbidden) IsCode(code int) bool
IsCode returns true when this create file v1 forbidden response a status code equal to that given
func (*CreateFileV1Forbidden) IsRedirect ¶
func (o *CreateFileV1Forbidden) IsRedirect() bool
IsRedirect returns true when this create file v1 forbidden response has a 3xx status code
func (*CreateFileV1Forbidden) IsServerError ¶
func (o *CreateFileV1Forbidden) IsServerError() bool
IsServerError returns true when this create file v1 forbidden response has a 5xx status code
func (*CreateFileV1Forbidden) IsSuccess ¶
func (o *CreateFileV1Forbidden) IsSuccess() bool
IsSuccess returns true when this create file v1 forbidden response has a 2xx status code
func (*CreateFileV1Forbidden) String ¶
func (o *CreateFileV1Forbidden) String() string
type CreateFileV1InternalServerError ¶
type CreateFileV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
CreateFileV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateFileV1InternalServerError ¶
func NewCreateFileV1InternalServerError() *CreateFileV1InternalServerError
NewCreateFileV1InternalServerError creates a CreateFileV1InternalServerError with default headers values
func (*CreateFileV1InternalServerError) Code ¶
func (o *CreateFileV1InternalServerError) Code() int
Code gets the status code for the create file v1 internal server error response
func (*CreateFileV1InternalServerError) Error ¶
func (o *CreateFileV1InternalServerError) Error() string
func (*CreateFileV1InternalServerError) GetPayload ¶
func (o *CreateFileV1InternalServerError) GetPayload() *models.MsaspecResponseFields
func (*CreateFileV1InternalServerError) IsClientError ¶
func (o *CreateFileV1InternalServerError) IsClientError() bool
IsClientError returns true when this create file v1 internal server error response has a 4xx status code
func (*CreateFileV1InternalServerError) IsCode ¶
func (o *CreateFileV1InternalServerError) IsCode(code int) bool
IsCode returns true when this create file v1 internal server error response a status code equal to that given
func (*CreateFileV1InternalServerError) IsRedirect ¶
func (o *CreateFileV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this create file v1 internal server error response has a 3xx status code
func (*CreateFileV1InternalServerError) IsServerError ¶
func (o *CreateFileV1InternalServerError) IsServerError() bool
IsServerError returns true when this create file v1 internal server error response has a 5xx status code
func (*CreateFileV1InternalServerError) IsSuccess ¶
func (o *CreateFileV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this create file v1 internal server error response has a 2xx status code
func (*CreateFileV1InternalServerError) String ¶
func (o *CreateFileV1InternalServerError) String() string
type CreateFileV1NotFound ¶
type CreateFileV1NotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
CreateFileV1NotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateFileV1NotFound ¶
func NewCreateFileV1NotFound() *CreateFileV1NotFound
NewCreateFileV1NotFound creates a CreateFileV1NotFound with default headers values
func (*CreateFileV1NotFound) Code ¶
func (o *CreateFileV1NotFound) Code() int
Code gets the status code for the create file v1 not found response
func (*CreateFileV1NotFound) Error ¶
func (o *CreateFileV1NotFound) Error() string
func (*CreateFileV1NotFound) GetPayload ¶
func (o *CreateFileV1NotFound) GetPayload() *models.MsaspecResponseFields
func (*CreateFileV1NotFound) IsClientError ¶
func (o *CreateFileV1NotFound) IsClientError() bool
IsClientError returns true when this create file v1 not found response has a 4xx status code
func (*CreateFileV1NotFound) IsCode ¶
func (o *CreateFileV1NotFound) IsCode(code int) bool
IsCode returns true when this create file v1 not found response a status code equal to that given
func (*CreateFileV1NotFound) IsRedirect ¶
func (o *CreateFileV1NotFound) IsRedirect() bool
IsRedirect returns true when this create file v1 not found response has a 3xx status code
func (*CreateFileV1NotFound) IsServerError ¶
func (o *CreateFileV1NotFound) IsServerError() bool
IsServerError returns true when this create file v1 not found response has a 5xx status code
func (*CreateFileV1NotFound) IsSuccess ¶
func (o *CreateFileV1NotFound) IsSuccess() bool
IsSuccess returns true when this create file v1 not found response has a 2xx status code
func (*CreateFileV1NotFound) String ¶
func (o *CreateFileV1NotFound) String() string
type CreateFileV1OK ¶
type CreateFileV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainLookupFileWrapper }
CreateFileV1OK describes a response with status code 200, with default header values.
OK
func NewCreateFileV1OK ¶
func NewCreateFileV1OK() *CreateFileV1OK
NewCreateFileV1OK creates a CreateFileV1OK with default headers values
func (*CreateFileV1OK) Code ¶
func (o *CreateFileV1OK) Code() int
Code gets the status code for the create file v1 o k response
func (*CreateFileV1OK) Error ¶
func (o *CreateFileV1OK) Error() string
func (*CreateFileV1OK) GetPayload ¶
func (o *CreateFileV1OK) GetPayload() *models.DomainLookupFileWrapper
func (*CreateFileV1OK) IsClientError ¶
func (o *CreateFileV1OK) IsClientError() bool
IsClientError returns true when this create file v1 o k response has a 4xx status code
func (*CreateFileV1OK) IsCode ¶
func (o *CreateFileV1OK) IsCode(code int) bool
IsCode returns true when this create file v1 o k response a status code equal to that given
func (*CreateFileV1OK) IsRedirect ¶
func (o *CreateFileV1OK) IsRedirect() bool
IsRedirect returns true when this create file v1 o k response has a 3xx status code
func (*CreateFileV1OK) IsServerError ¶
func (o *CreateFileV1OK) IsServerError() bool
IsServerError returns true when this create file v1 o k response has a 5xx status code
func (*CreateFileV1OK) IsSuccess ¶
func (o *CreateFileV1OK) IsSuccess() bool
IsSuccess returns true when this create file v1 o k response has a 2xx status code
func (*CreateFileV1OK) String ¶
func (o *CreateFileV1OK) String() string
type CreateFileV1Params ¶
type CreateFileV1Params struct { /* Description. File description */ Description *string /* File. File to be uploaded */ File runtime.NamedReadCloser /* ID. Unique identifier of the file being updated. */ ID *string /* Name. Name used to identify the file */ Name string /* Repo. Name of repository or view to save the file */ Repo *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFileV1Params contains all the parameters to send to the API endpoint
for the create file v1 operation. Typically these are written to a http.Request.
func NewCreateFileV1Params ¶
func NewCreateFileV1Params() *CreateFileV1Params
NewCreateFileV1Params creates a new CreateFileV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateFileV1ParamsWithContext ¶
func NewCreateFileV1ParamsWithContext(ctx context.Context) *CreateFileV1Params
NewCreateFileV1ParamsWithContext creates a new CreateFileV1Params object with the ability to set a context for a request.
func NewCreateFileV1ParamsWithHTTPClient ¶
func NewCreateFileV1ParamsWithHTTPClient(client *http.Client) *CreateFileV1Params
NewCreateFileV1ParamsWithHTTPClient creates a new CreateFileV1Params object with the ability to set a custom HTTPClient for a request.
func NewCreateFileV1ParamsWithTimeout ¶
func NewCreateFileV1ParamsWithTimeout(timeout time.Duration) *CreateFileV1Params
NewCreateFileV1ParamsWithTimeout creates a new CreateFileV1Params object with the ability to set a timeout on a request.
func (*CreateFileV1Params) SetContext ¶
func (o *CreateFileV1Params) SetContext(ctx context.Context)
SetContext adds the context to the create file v1 params
func (*CreateFileV1Params) SetDefaults ¶
func (o *CreateFileV1Params) SetDefaults()
SetDefaults hydrates default values in the create file v1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFileV1Params) SetDescription ¶
func (o *CreateFileV1Params) SetDescription(description *string)
SetDescription adds the description to the create file v1 params
func (*CreateFileV1Params) SetFile ¶
func (o *CreateFileV1Params) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the create file v1 params
func (*CreateFileV1Params) SetHTTPClient ¶
func (o *CreateFileV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create file v1 params
func (*CreateFileV1Params) SetID ¶
func (o *CreateFileV1Params) SetID(id *string)
SetID adds the id to the create file v1 params
func (*CreateFileV1Params) SetName ¶
func (o *CreateFileV1Params) SetName(name string)
SetName adds the name to the create file v1 params
func (*CreateFileV1Params) SetRepo ¶
func (o *CreateFileV1Params) SetRepo(repo *string)
SetRepo adds the repo to the create file v1 params
func (*CreateFileV1Params) SetTimeout ¶
func (o *CreateFileV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create file v1 params
func (*CreateFileV1Params) WithContext ¶
func (o *CreateFileV1Params) WithContext(ctx context.Context) *CreateFileV1Params
WithContext adds the context to the create file v1 params
func (*CreateFileV1Params) WithDefaults ¶
func (o *CreateFileV1Params) WithDefaults() *CreateFileV1Params
WithDefaults hydrates default values in the create file v1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFileV1Params) WithDescription ¶
func (o *CreateFileV1Params) WithDescription(description *string) *CreateFileV1Params
WithDescription adds the description to the create file v1 params
func (*CreateFileV1Params) WithFile ¶
func (o *CreateFileV1Params) WithFile(file runtime.NamedReadCloser) *CreateFileV1Params
WithFile adds the file to the create file v1 params
func (*CreateFileV1Params) WithHTTPClient ¶
func (o *CreateFileV1Params) WithHTTPClient(client *http.Client) *CreateFileV1Params
WithHTTPClient adds the HTTPClient to the create file v1 params
func (*CreateFileV1Params) WithID ¶
func (o *CreateFileV1Params) WithID(id *string) *CreateFileV1Params
WithID adds the id to the create file v1 params
func (*CreateFileV1Params) WithName ¶
func (o *CreateFileV1Params) WithName(name string) *CreateFileV1Params
WithName adds the name to the create file v1 params
func (*CreateFileV1Params) WithRepo ¶
func (o *CreateFileV1Params) WithRepo(repo *string) *CreateFileV1Params
WithRepo adds the repo to the create file v1 params
func (*CreateFileV1Params) WithTimeout ¶
func (o *CreateFileV1Params) WithTimeout(timeout time.Duration) *CreateFileV1Params
WithTimeout adds the timeout to the create file v1 params
func (*CreateFileV1Params) WriteToRequest ¶
func (o *CreateFileV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFileV1Reader ¶
type CreateFileV1Reader struct {
// contains filtered or unexported fields
}
CreateFileV1Reader is a Reader for the CreateFileV1 structure.
func (*CreateFileV1Reader) ReadResponse ¶
func (o *CreateFileV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateFileV1TooManyRequests ¶
type CreateFileV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
CreateFileV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateFileV1TooManyRequests ¶
func NewCreateFileV1TooManyRequests() *CreateFileV1TooManyRequests
NewCreateFileV1TooManyRequests creates a CreateFileV1TooManyRequests with default headers values
func (*CreateFileV1TooManyRequests) Code ¶
func (o *CreateFileV1TooManyRequests) Code() int
Code gets the status code for the create file v1 too many requests response
func (*CreateFileV1TooManyRequests) Error ¶
func (o *CreateFileV1TooManyRequests) Error() string
func (*CreateFileV1TooManyRequests) GetPayload ¶
func (o *CreateFileV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CreateFileV1TooManyRequests) IsClientError ¶
func (o *CreateFileV1TooManyRequests) IsClientError() bool
IsClientError returns true when this create file v1 too many requests response has a 4xx status code
func (*CreateFileV1TooManyRequests) IsCode ¶
func (o *CreateFileV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this create file v1 too many requests response a status code equal to that given
func (*CreateFileV1TooManyRequests) IsRedirect ¶
func (o *CreateFileV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this create file v1 too many requests response has a 3xx status code
func (*CreateFileV1TooManyRequests) IsServerError ¶
func (o *CreateFileV1TooManyRequests) IsServerError() bool
IsServerError returns true when this create file v1 too many requests response has a 5xx status code
func (*CreateFileV1TooManyRequests) IsSuccess ¶
func (o *CreateFileV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this create file v1 too many requests response has a 2xx status code
func (*CreateFileV1TooManyRequests) String ¶
func (o *CreateFileV1TooManyRequests) String() string
type UpdateFileV1BadRequest ¶
type UpdateFileV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
UpdateFileV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateFileV1BadRequest ¶
func NewUpdateFileV1BadRequest() *UpdateFileV1BadRequest
NewUpdateFileV1BadRequest creates a UpdateFileV1BadRequest with default headers values
func (*UpdateFileV1BadRequest) Code ¶
func (o *UpdateFileV1BadRequest) Code() int
Code gets the status code for the update file v1 bad request response
func (*UpdateFileV1BadRequest) Error ¶
func (o *UpdateFileV1BadRequest) Error() string
func (*UpdateFileV1BadRequest) GetPayload ¶
func (o *UpdateFileV1BadRequest) GetPayload() *models.MsaspecResponseFields
func (*UpdateFileV1BadRequest) IsClientError ¶
func (o *UpdateFileV1BadRequest) IsClientError() bool
IsClientError returns true when this update file v1 bad request response has a 4xx status code
func (*UpdateFileV1BadRequest) IsCode ¶
func (o *UpdateFileV1BadRequest) IsCode(code int) bool
IsCode returns true when this update file v1 bad request response a status code equal to that given
func (*UpdateFileV1BadRequest) IsRedirect ¶
func (o *UpdateFileV1BadRequest) IsRedirect() bool
IsRedirect returns true when this update file v1 bad request response has a 3xx status code
func (*UpdateFileV1BadRequest) IsServerError ¶
func (o *UpdateFileV1BadRequest) IsServerError() bool
IsServerError returns true when this update file v1 bad request response has a 5xx status code
func (*UpdateFileV1BadRequest) IsSuccess ¶
func (o *UpdateFileV1BadRequest) IsSuccess() bool
IsSuccess returns true when this update file v1 bad request response has a 2xx status code
func (*UpdateFileV1BadRequest) String ¶
func (o *UpdateFileV1BadRequest) String() string
type UpdateFileV1Forbidden ¶
type UpdateFileV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
UpdateFileV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateFileV1Forbidden ¶
func NewUpdateFileV1Forbidden() *UpdateFileV1Forbidden
NewUpdateFileV1Forbidden creates a UpdateFileV1Forbidden with default headers values
func (*UpdateFileV1Forbidden) Code ¶
func (o *UpdateFileV1Forbidden) Code() int
Code gets the status code for the update file v1 forbidden response
func (*UpdateFileV1Forbidden) Error ¶
func (o *UpdateFileV1Forbidden) Error() string
func (*UpdateFileV1Forbidden) GetPayload ¶
func (o *UpdateFileV1Forbidden) GetPayload() *models.MsaspecResponseFields
func (*UpdateFileV1Forbidden) IsClientError ¶
func (o *UpdateFileV1Forbidden) IsClientError() bool
IsClientError returns true when this update file v1 forbidden response has a 4xx status code
func (*UpdateFileV1Forbidden) IsCode ¶
func (o *UpdateFileV1Forbidden) IsCode(code int) bool
IsCode returns true when this update file v1 forbidden response a status code equal to that given
func (*UpdateFileV1Forbidden) IsRedirect ¶
func (o *UpdateFileV1Forbidden) IsRedirect() bool
IsRedirect returns true when this update file v1 forbidden response has a 3xx status code
func (*UpdateFileV1Forbidden) IsServerError ¶
func (o *UpdateFileV1Forbidden) IsServerError() bool
IsServerError returns true when this update file v1 forbidden response has a 5xx status code
func (*UpdateFileV1Forbidden) IsSuccess ¶
func (o *UpdateFileV1Forbidden) IsSuccess() bool
IsSuccess returns true when this update file v1 forbidden response has a 2xx status code
func (*UpdateFileV1Forbidden) String ¶
func (o *UpdateFileV1Forbidden) String() string
type UpdateFileV1InternalServerError ¶
type UpdateFileV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
UpdateFileV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateFileV1InternalServerError ¶
func NewUpdateFileV1InternalServerError() *UpdateFileV1InternalServerError
NewUpdateFileV1InternalServerError creates a UpdateFileV1InternalServerError with default headers values
func (*UpdateFileV1InternalServerError) Code ¶
func (o *UpdateFileV1InternalServerError) Code() int
Code gets the status code for the update file v1 internal server error response
func (*UpdateFileV1InternalServerError) Error ¶
func (o *UpdateFileV1InternalServerError) Error() string
func (*UpdateFileV1InternalServerError) GetPayload ¶
func (o *UpdateFileV1InternalServerError) GetPayload() *models.MsaspecResponseFields
func (*UpdateFileV1InternalServerError) IsClientError ¶
func (o *UpdateFileV1InternalServerError) IsClientError() bool
IsClientError returns true when this update file v1 internal server error response has a 4xx status code
func (*UpdateFileV1InternalServerError) IsCode ¶
func (o *UpdateFileV1InternalServerError) IsCode(code int) bool
IsCode returns true when this update file v1 internal server error response a status code equal to that given
func (*UpdateFileV1InternalServerError) IsRedirect ¶
func (o *UpdateFileV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this update file v1 internal server error response has a 3xx status code
func (*UpdateFileV1InternalServerError) IsServerError ¶
func (o *UpdateFileV1InternalServerError) IsServerError() bool
IsServerError returns true when this update file v1 internal server error response has a 5xx status code
func (*UpdateFileV1InternalServerError) IsSuccess ¶
func (o *UpdateFileV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this update file v1 internal server error response has a 2xx status code
func (*UpdateFileV1InternalServerError) String ¶
func (o *UpdateFileV1InternalServerError) String() string
type UpdateFileV1NotFound ¶
type UpdateFileV1NotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
UpdateFileV1NotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateFileV1NotFound ¶
func NewUpdateFileV1NotFound() *UpdateFileV1NotFound
NewUpdateFileV1NotFound creates a UpdateFileV1NotFound with default headers values
func (*UpdateFileV1NotFound) Code ¶
func (o *UpdateFileV1NotFound) Code() int
Code gets the status code for the update file v1 not found response
func (*UpdateFileV1NotFound) Error ¶
func (o *UpdateFileV1NotFound) Error() string
func (*UpdateFileV1NotFound) GetPayload ¶
func (o *UpdateFileV1NotFound) GetPayload() *models.MsaspecResponseFields
func (*UpdateFileV1NotFound) IsClientError ¶
func (o *UpdateFileV1NotFound) IsClientError() bool
IsClientError returns true when this update file v1 not found response has a 4xx status code
func (*UpdateFileV1NotFound) IsCode ¶
func (o *UpdateFileV1NotFound) IsCode(code int) bool
IsCode returns true when this update file v1 not found response a status code equal to that given
func (*UpdateFileV1NotFound) IsRedirect ¶
func (o *UpdateFileV1NotFound) IsRedirect() bool
IsRedirect returns true when this update file v1 not found response has a 3xx status code
func (*UpdateFileV1NotFound) IsServerError ¶
func (o *UpdateFileV1NotFound) IsServerError() bool
IsServerError returns true when this update file v1 not found response has a 5xx status code
func (*UpdateFileV1NotFound) IsSuccess ¶
func (o *UpdateFileV1NotFound) IsSuccess() bool
IsSuccess returns true when this update file v1 not found response has a 2xx status code
func (*UpdateFileV1NotFound) String ¶
func (o *UpdateFileV1NotFound) String() string
type UpdateFileV1OK ¶
type UpdateFileV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainLookupFileWrapper }
UpdateFileV1OK describes a response with status code 200, with default header values.
OK
func NewUpdateFileV1OK ¶
func NewUpdateFileV1OK() *UpdateFileV1OK
NewUpdateFileV1OK creates a UpdateFileV1OK with default headers values
func (*UpdateFileV1OK) Code ¶
func (o *UpdateFileV1OK) Code() int
Code gets the status code for the update file v1 o k response
func (*UpdateFileV1OK) Error ¶
func (o *UpdateFileV1OK) Error() string
func (*UpdateFileV1OK) GetPayload ¶
func (o *UpdateFileV1OK) GetPayload() *models.DomainLookupFileWrapper
func (*UpdateFileV1OK) IsClientError ¶
func (o *UpdateFileV1OK) IsClientError() bool
IsClientError returns true when this update file v1 o k response has a 4xx status code
func (*UpdateFileV1OK) IsCode ¶
func (o *UpdateFileV1OK) IsCode(code int) bool
IsCode returns true when this update file v1 o k response a status code equal to that given
func (*UpdateFileV1OK) IsRedirect ¶
func (o *UpdateFileV1OK) IsRedirect() bool
IsRedirect returns true when this update file v1 o k response has a 3xx status code
func (*UpdateFileV1OK) IsServerError ¶
func (o *UpdateFileV1OK) IsServerError() bool
IsServerError returns true when this update file v1 o k response has a 5xx status code
func (*UpdateFileV1OK) IsSuccess ¶
func (o *UpdateFileV1OK) IsSuccess() bool
IsSuccess returns true when this update file v1 o k response has a 2xx status code
func (*UpdateFileV1OK) String ¶
func (o *UpdateFileV1OK) String() string
type UpdateFileV1Params ¶
type UpdateFileV1Params struct { /* Description. File description */ Description *string /* File. File to be uploaded */ File runtime.NamedReadCloser /* ID. Unique identifier of the file being updated. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFileV1Params contains all the parameters to send to the API endpoint
for the update file v1 operation. Typically these are written to a http.Request.
func NewUpdateFileV1Params ¶
func NewUpdateFileV1Params() *UpdateFileV1Params
NewUpdateFileV1Params creates a new UpdateFileV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateFileV1ParamsWithContext ¶
func NewUpdateFileV1ParamsWithContext(ctx context.Context) *UpdateFileV1Params
NewUpdateFileV1ParamsWithContext creates a new UpdateFileV1Params object with the ability to set a context for a request.
func NewUpdateFileV1ParamsWithHTTPClient ¶
func NewUpdateFileV1ParamsWithHTTPClient(client *http.Client) *UpdateFileV1Params
NewUpdateFileV1ParamsWithHTTPClient creates a new UpdateFileV1Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateFileV1ParamsWithTimeout ¶
func NewUpdateFileV1ParamsWithTimeout(timeout time.Duration) *UpdateFileV1Params
NewUpdateFileV1ParamsWithTimeout creates a new UpdateFileV1Params object with the ability to set a timeout on a request.
func (*UpdateFileV1Params) SetContext ¶
func (o *UpdateFileV1Params) SetContext(ctx context.Context)
SetContext adds the context to the update file v1 params
func (*UpdateFileV1Params) SetDefaults ¶
func (o *UpdateFileV1Params) SetDefaults()
SetDefaults hydrates default values in the update file v1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFileV1Params) SetDescription ¶
func (o *UpdateFileV1Params) SetDescription(description *string)
SetDescription adds the description to the update file v1 params
func (*UpdateFileV1Params) SetFile ¶
func (o *UpdateFileV1Params) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the update file v1 params
func (*UpdateFileV1Params) SetHTTPClient ¶
func (o *UpdateFileV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update file v1 params
func (*UpdateFileV1Params) SetID ¶
func (o *UpdateFileV1Params) SetID(id string)
SetID adds the id to the update file v1 params
func (*UpdateFileV1Params) SetTimeout ¶
func (o *UpdateFileV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update file v1 params
func (*UpdateFileV1Params) WithContext ¶
func (o *UpdateFileV1Params) WithContext(ctx context.Context) *UpdateFileV1Params
WithContext adds the context to the update file v1 params
func (*UpdateFileV1Params) WithDefaults ¶
func (o *UpdateFileV1Params) WithDefaults() *UpdateFileV1Params
WithDefaults hydrates default values in the update file v1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFileV1Params) WithDescription ¶
func (o *UpdateFileV1Params) WithDescription(description *string) *UpdateFileV1Params
WithDescription adds the description to the update file v1 params
func (*UpdateFileV1Params) WithFile ¶
func (o *UpdateFileV1Params) WithFile(file runtime.NamedReadCloser) *UpdateFileV1Params
WithFile adds the file to the update file v1 params
func (*UpdateFileV1Params) WithHTTPClient ¶
func (o *UpdateFileV1Params) WithHTTPClient(client *http.Client) *UpdateFileV1Params
WithHTTPClient adds the HTTPClient to the update file v1 params
func (*UpdateFileV1Params) WithID ¶
func (o *UpdateFileV1Params) WithID(id string) *UpdateFileV1Params
WithID adds the id to the update file v1 params
func (*UpdateFileV1Params) WithTimeout ¶
func (o *UpdateFileV1Params) WithTimeout(timeout time.Duration) *UpdateFileV1Params
WithTimeout adds the timeout to the update file v1 params
func (*UpdateFileV1Params) WriteToRequest ¶
func (o *UpdateFileV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFileV1Reader ¶
type UpdateFileV1Reader struct {
// contains filtered or unexported fields
}
UpdateFileV1Reader is a Reader for the UpdateFileV1 structure.
func (*UpdateFileV1Reader) ReadResponse ¶
func (o *UpdateFileV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFileV1TooManyRequests ¶
type UpdateFileV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
UpdateFileV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdateFileV1TooManyRequests ¶
func NewUpdateFileV1TooManyRequests() *UpdateFileV1TooManyRequests
NewUpdateFileV1TooManyRequests creates a UpdateFileV1TooManyRequests with default headers values
func (*UpdateFileV1TooManyRequests) Code ¶
func (o *UpdateFileV1TooManyRequests) Code() int
Code gets the status code for the update file v1 too many requests response
func (*UpdateFileV1TooManyRequests) Error ¶
func (o *UpdateFileV1TooManyRequests) Error() string
func (*UpdateFileV1TooManyRequests) GetPayload ¶
func (o *UpdateFileV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateFileV1TooManyRequests) IsClientError ¶
func (o *UpdateFileV1TooManyRequests) IsClientError() bool
IsClientError returns true when this update file v1 too many requests response has a 4xx status code
func (*UpdateFileV1TooManyRequests) IsCode ¶
func (o *UpdateFileV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this update file v1 too many requests response a status code equal to that given
func (*UpdateFileV1TooManyRequests) IsRedirect ¶
func (o *UpdateFileV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this update file v1 too many requests response has a 3xx status code
func (*UpdateFileV1TooManyRequests) IsServerError ¶
func (o *UpdateFileV1TooManyRequests) IsServerError() bool
IsServerError returns true when this update file v1 too many requests response has a 5xx status code
func (*UpdateFileV1TooManyRequests) IsSuccess ¶
func (o *UpdateFileV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this update file v1 too many requests response has a 2xx status code
func (*UpdateFileV1TooManyRequests) String ¶
func (o *UpdateFileV1TooManyRequests) String() string