avns

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

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 a v ns API

func (*Client) CreateAvns

func (a *Client) CreateAvns(params *CreateAvnsParams, opts ...ClientOption) (*CreateAvnsOK, *CreateAvnsAccepted, error)

CreateAvns creates a v ns

func (*Client) GetAllAvns added in v0.1.1

func (a *Client) GetAllAvns(params *GetAllAvnsParams, opts ...ClientOption) (*GetAllAvnsOK, error)

GetAllAvns fetches all a v ns

Returns all matching AVNs

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ValidateAvns

func (a *Client) ValidateAvns(params *ValidateAvnsParams, opts ...ClientOption) (*ValidateAvnsOK, error)

ValidateAvns validates a v n creation spec

Returns Validation report

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAvns(params *CreateAvnsParams, opts ...ClientOption) (*CreateAvnsOK, *CreateAvnsAccepted, error)

	GetAllAvns(params *GetAllAvnsParams, opts ...ClientOption) (*GetAllAvnsOK, error)

	ValidateAvns(params *ValidateAvnsParams, opts ...ClientOption) (*ValidateAvnsOK, 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 a v ns API client.

type CreateAvnsAccepted

type CreateAvnsAccepted struct {
	Payload *models.Task
}

CreateAvnsAccepted describes a response with status code 202, with default header values.

Accepted

func NewCreateAvnsAccepted

func NewCreateAvnsAccepted() *CreateAvnsAccepted

NewCreateAvnsAccepted creates a CreateAvnsAccepted with default headers values

func (*CreateAvnsAccepted) Error

func (o *CreateAvnsAccepted) Error() string

func (*CreateAvnsAccepted) GetPayload

func (o *CreateAvnsAccepted) GetPayload() *models.Task

func (*CreateAvnsAccepted) IsClientError

func (o *CreateAvnsAccepted) IsClientError() bool

IsClientError returns true when this create avns accepted response has a 4xx status code

func (*CreateAvnsAccepted) IsCode

func (o *CreateAvnsAccepted) IsCode(code int) bool

IsCode returns true when this create avns accepted response a status code equal to that given

func (*CreateAvnsAccepted) IsRedirect

func (o *CreateAvnsAccepted) IsRedirect() bool

IsRedirect returns true when this create avns accepted response has a 3xx status code

func (*CreateAvnsAccepted) IsServerError

func (o *CreateAvnsAccepted) IsServerError() bool

IsServerError returns true when this create avns accepted response has a 5xx status code

func (*CreateAvnsAccepted) IsSuccess

func (o *CreateAvnsAccepted) IsSuccess() bool

IsSuccess returns true when this create avns accepted response has a 2xx status code

func (*CreateAvnsAccepted) String

func (o *CreateAvnsAccepted) String() string

type CreateAvnsBadRequest

type CreateAvnsBadRequest struct {
	Payload *models.Error
}

CreateAvnsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateAvnsBadRequest

func NewCreateAvnsBadRequest() *CreateAvnsBadRequest

NewCreateAvnsBadRequest creates a CreateAvnsBadRequest with default headers values

func (*CreateAvnsBadRequest) Error

func (o *CreateAvnsBadRequest) Error() string

func (*CreateAvnsBadRequest) GetPayload

func (o *CreateAvnsBadRequest) GetPayload() *models.Error

func (*CreateAvnsBadRequest) IsClientError

func (o *CreateAvnsBadRequest) IsClientError() bool

IsClientError returns true when this create avns bad request response has a 4xx status code

func (*CreateAvnsBadRequest) IsCode

func (o *CreateAvnsBadRequest) IsCode(code int) bool

IsCode returns true when this create avns bad request response a status code equal to that given

func (*CreateAvnsBadRequest) IsRedirect

func (o *CreateAvnsBadRequest) IsRedirect() bool

IsRedirect returns true when this create avns bad request response has a 3xx status code

func (*CreateAvnsBadRequest) IsServerError

func (o *CreateAvnsBadRequest) IsServerError() bool

IsServerError returns true when this create avns bad request response has a 5xx status code

func (*CreateAvnsBadRequest) IsSuccess

func (o *CreateAvnsBadRequest) IsSuccess() bool

IsSuccess returns true when this create avns bad request response has a 2xx status code

func (*CreateAvnsBadRequest) String

func (o *CreateAvnsBadRequest) String() string

type CreateAvnsInternalServerError

type CreateAvnsInternalServerError struct {
	Payload *models.Error
}

CreateAvnsInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewCreateAvnsInternalServerError

func NewCreateAvnsInternalServerError() *CreateAvnsInternalServerError

NewCreateAvnsInternalServerError creates a CreateAvnsInternalServerError with default headers values

func (*CreateAvnsInternalServerError) Error

func (*CreateAvnsInternalServerError) GetPayload

func (o *CreateAvnsInternalServerError) GetPayload() *models.Error

func (*CreateAvnsInternalServerError) IsClientError

func (o *CreateAvnsInternalServerError) IsClientError() bool

IsClientError returns true when this create avns internal server error response has a 4xx status code

func (*CreateAvnsInternalServerError) IsCode

func (o *CreateAvnsInternalServerError) IsCode(code int) bool

IsCode returns true when this create avns internal server error response a status code equal to that given

func (*CreateAvnsInternalServerError) IsRedirect

func (o *CreateAvnsInternalServerError) IsRedirect() bool

IsRedirect returns true when this create avns internal server error response has a 3xx status code

func (*CreateAvnsInternalServerError) IsServerError

func (o *CreateAvnsInternalServerError) IsServerError() bool

IsServerError returns true when this create avns internal server error response has a 5xx status code

func (*CreateAvnsInternalServerError) IsSuccess

func (o *CreateAvnsInternalServerError) IsSuccess() bool

IsSuccess returns true when this create avns internal server error response has a 2xx status code

func (*CreateAvnsInternalServerError) String

type CreateAvnsOK

type CreateAvnsOK struct {
	Payload *models.Task
}

CreateAvnsOK describes a response with status code 200, with default header values.

OK

func NewCreateAvnsOK

func NewCreateAvnsOK() *CreateAvnsOK

NewCreateAvnsOK creates a CreateAvnsOK with default headers values

func (*CreateAvnsOK) Error

func (o *CreateAvnsOK) Error() string

func (*CreateAvnsOK) GetPayload

func (o *CreateAvnsOK) GetPayload() *models.Task

func (*CreateAvnsOK) IsClientError

func (o *CreateAvnsOK) IsClientError() bool

IsClientError returns true when this create avns o k response has a 4xx status code

func (*CreateAvnsOK) IsCode

func (o *CreateAvnsOK) IsCode(code int) bool

IsCode returns true when this create avns o k response a status code equal to that given

func (*CreateAvnsOK) IsRedirect

func (o *CreateAvnsOK) IsRedirect() bool

IsRedirect returns true when this create avns o k response has a 3xx status code

func (*CreateAvnsOK) IsServerError

func (o *CreateAvnsOK) IsServerError() bool

IsServerError returns true when this create avns o k response has a 5xx status code

func (*CreateAvnsOK) IsSuccess

func (o *CreateAvnsOK) IsSuccess() bool

IsSuccess returns true when this create avns o k response has a 2xx status code

func (*CreateAvnsOK) String

func (o *CreateAvnsOK) String() string

type CreateAvnsParams

type CreateAvnsParams struct {

	/* AvnsCreationSpec.

	   Avn creation data
	*/
	AvnsCreationSpec *models.AvnsCreationSpec

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAvnsParams contains all the parameters to send to the API endpoint

for the create avns operation.

Typically these are written to a http.Request.

func NewCreateAvnsParams

func NewCreateAvnsParams() *CreateAvnsParams

NewCreateAvnsParams creates a new CreateAvnsParams 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 NewCreateAvnsParamsWithContext

func NewCreateAvnsParamsWithContext(ctx context.Context) *CreateAvnsParams

NewCreateAvnsParamsWithContext creates a new CreateAvnsParams object with the ability to set a context for a request.

func NewCreateAvnsParamsWithHTTPClient

func NewCreateAvnsParamsWithHTTPClient(client *http.Client) *CreateAvnsParams

NewCreateAvnsParamsWithHTTPClient creates a new CreateAvnsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAvnsParamsWithTimeout

func NewCreateAvnsParamsWithTimeout(timeout time.Duration) *CreateAvnsParams

NewCreateAvnsParamsWithTimeout creates a new CreateAvnsParams object with the ability to set a timeout on a request.

func (*CreateAvnsParams) SetAvnsCreationSpec

func (o *CreateAvnsParams) SetAvnsCreationSpec(avnsCreationSpec *models.AvnsCreationSpec)

SetAvnsCreationSpec adds the avnsCreationSpec to the create avns params

func (*CreateAvnsParams) SetContext

func (o *CreateAvnsParams) SetContext(ctx context.Context)

SetContext adds the context to the create avns params

func (*CreateAvnsParams) SetDefaults

func (o *CreateAvnsParams) SetDefaults()

SetDefaults hydrates default values in the create avns params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAvnsParams) SetHTTPClient

func (o *CreateAvnsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create avns params

func (*CreateAvnsParams) SetTimeout

func (o *CreateAvnsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create avns params

func (*CreateAvnsParams) WithAvnsCreationSpec

func (o *CreateAvnsParams) WithAvnsCreationSpec(avnsCreationSpec *models.AvnsCreationSpec) *CreateAvnsParams

WithAvnsCreationSpec adds the avnsCreationSpec to the create avns params

func (*CreateAvnsParams) WithContext

func (o *CreateAvnsParams) WithContext(ctx context.Context) *CreateAvnsParams

WithContext adds the context to the create avns params

func (*CreateAvnsParams) WithDefaults

func (o *CreateAvnsParams) WithDefaults() *CreateAvnsParams

WithDefaults hydrates default values in the create avns params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAvnsParams) WithHTTPClient

func (o *CreateAvnsParams) WithHTTPClient(client *http.Client) *CreateAvnsParams

WithHTTPClient adds the HTTPClient to the create avns params

func (*CreateAvnsParams) WithTimeout

func (o *CreateAvnsParams) WithTimeout(timeout time.Duration) *CreateAvnsParams

WithTimeout adds the timeout to the create avns params

func (*CreateAvnsParams) WriteToRequest

func (o *CreateAvnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAvnsReader

type CreateAvnsReader struct {
	// contains filtered or unexported fields
}

CreateAvnsReader is a Reader for the CreateAvns structure.

func (*CreateAvnsReader) ReadResponse

func (o *CreateAvnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAllAvnsInternalServerError added in v0.1.1

type GetAllAvnsInternalServerError struct {
	Payload *models.Error
}

GetAllAvnsInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewGetAllAvnsInternalServerError added in v0.1.1

func NewGetAllAvnsInternalServerError() *GetAllAvnsInternalServerError

NewGetAllAvnsInternalServerError creates a GetAllAvnsInternalServerError with default headers values

func (*GetAllAvnsInternalServerError) Error added in v0.1.1

func (*GetAllAvnsInternalServerError) GetPayload added in v0.1.1

func (o *GetAllAvnsInternalServerError) GetPayload() *models.Error

func (*GetAllAvnsInternalServerError) IsClientError added in v0.1.1

func (o *GetAllAvnsInternalServerError) IsClientError() bool

IsClientError returns true when this get all avns internal server error response has a 4xx status code

func (*GetAllAvnsInternalServerError) IsCode added in v0.1.1

func (o *GetAllAvnsInternalServerError) IsCode(code int) bool

IsCode returns true when this get all avns internal server error response a status code equal to that given

func (*GetAllAvnsInternalServerError) IsRedirect added in v0.1.1

func (o *GetAllAvnsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get all avns internal server error response has a 3xx status code

func (*GetAllAvnsInternalServerError) IsServerError added in v0.1.1

func (o *GetAllAvnsInternalServerError) IsServerError() bool

IsServerError returns true when this get all avns internal server error response has a 5xx status code

func (*GetAllAvnsInternalServerError) IsSuccess added in v0.1.1

func (o *GetAllAvnsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get all avns internal server error response has a 2xx status code

func (*GetAllAvnsInternalServerError) String added in v0.1.1

type GetAllAvnsOK added in v0.1.1

type GetAllAvnsOK struct {
	Payload []*models.Avn
}

GetAllAvnsOK describes a response with status code 200, with default header values.

Returns the list of all matching AVNs

func NewGetAllAvnsOK added in v0.1.1

func NewGetAllAvnsOK() *GetAllAvnsOK

NewGetAllAvnsOK creates a GetAllAvnsOK with default headers values

func (*GetAllAvnsOK) Error added in v0.1.1

func (o *GetAllAvnsOK) Error() string

func (*GetAllAvnsOK) GetPayload added in v0.1.1

func (o *GetAllAvnsOK) GetPayload() []*models.Avn

func (*GetAllAvnsOK) IsClientError added in v0.1.1

func (o *GetAllAvnsOK) IsClientError() bool

IsClientError returns true when this get all avns o k response has a 4xx status code

func (*GetAllAvnsOK) IsCode added in v0.1.1

func (o *GetAllAvnsOK) IsCode(code int) bool

IsCode returns true when this get all avns o k response a status code equal to that given

func (*GetAllAvnsOK) IsRedirect added in v0.1.1

func (o *GetAllAvnsOK) IsRedirect() bool

IsRedirect returns true when this get all avns o k response has a 3xx status code

func (*GetAllAvnsOK) IsServerError added in v0.1.1

func (o *GetAllAvnsOK) IsServerError() bool

IsServerError returns true when this get all avns o k response has a 5xx status code

func (*GetAllAvnsOK) IsSuccess added in v0.1.1

func (o *GetAllAvnsOK) IsSuccess() bool

IsSuccess returns true when this get all avns o k response has a 2xx status code

func (*GetAllAvnsOK) String added in v0.1.1

func (o *GetAllAvnsOK) String() string

type GetAllAvnsParams added in v0.1.1

type GetAllAvnsParams struct {

	/* RegionType.

	   Pass an optional AVN region type matching either Region-A or X-Region
	*/
	RegionType *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllAvnsParams contains all the parameters to send to the API endpoint

for the get all avns operation.

Typically these are written to a http.Request.

func NewGetAllAvnsParams added in v0.1.1

func NewGetAllAvnsParams() *GetAllAvnsParams

NewGetAllAvnsParams creates a new GetAllAvnsParams 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 NewGetAllAvnsParamsWithContext added in v0.1.1

func NewGetAllAvnsParamsWithContext(ctx context.Context) *GetAllAvnsParams

NewGetAllAvnsParamsWithContext creates a new GetAllAvnsParams object with the ability to set a context for a request.

func NewGetAllAvnsParamsWithHTTPClient added in v0.1.1

func NewGetAllAvnsParamsWithHTTPClient(client *http.Client) *GetAllAvnsParams

NewGetAllAvnsParamsWithHTTPClient creates a new GetAllAvnsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllAvnsParamsWithTimeout added in v0.1.1

func NewGetAllAvnsParamsWithTimeout(timeout time.Duration) *GetAllAvnsParams

NewGetAllAvnsParamsWithTimeout creates a new GetAllAvnsParams object with the ability to set a timeout on a request.

func (*GetAllAvnsParams) SetContext added in v0.1.1

func (o *GetAllAvnsParams) SetContext(ctx context.Context)

SetContext adds the context to the get all avns params

func (*GetAllAvnsParams) SetDefaults added in v0.1.1

func (o *GetAllAvnsParams) SetDefaults()

SetDefaults hydrates default values in the get all avns params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllAvnsParams) SetHTTPClient added in v0.1.1

func (o *GetAllAvnsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all avns params

func (*GetAllAvnsParams) SetRegionType added in v0.1.1

func (o *GetAllAvnsParams) SetRegionType(regionType *string)

SetRegionType adds the regionType to the get all avns params

func (*GetAllAvnsParams) SetTimeout added in v0.1.1

func (o *GetAllAvnsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all avns params

func (*GetAllAvnsParams) WithContext added in v0.1.1

func (o *GetAllAvnsParams) WithContext(ctx context.Context) *GetAllAvnsParams

WithContext adds the context to the get all avns params

func (*GetAllAvnsParams) WithDefaults added in v0.1.1

func (o *GetAllAvnsParams) WithDefaults() *GetAllAvnsParams

WithDefaults hydrates default values in the get all avns params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllAvnsParams) WithHTTPClient added in v0.1.1

func (o *GetAllAvnsParams) WithHTTPClient(client *http.Client) *GetAllAvnsParams

WithHTTPClient adds the HTTPClient to the get all avns params

func (*GetAllAvnsParams) WithRegionType added in v0.1.1

func (o *GetAllAvnsParams) WithRegionType(regionType *string) *GetAllAvnsParams

WithRegionType adds the regionType to the get all avns params

func (*GetAllAvnsParams) WithTimeout added in v0.1.1

func (o *GetAllAvnsParams) WithTimeout(timeout time.Duration) *GetAllAvnsParams

WithTimeout adds the timeout to the get all avns params

func (*GetAllAvnsParams) WriteToRequest added in v0.1.1

func (o *GetAllAvnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAllAvnsReader added in v0.1.1

type GetAllAvnsReader struct {
	// contains filtered or unexported fields
}

GetAllAvnsReader is a Reader for the GetAllAvns structure.

func (*GetAllAvnsReader) ReadResponse added in v0.1.1

func (o *GetAllAvnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateAvnsInternalServerError

type ValidateAvnsInternalServerError struct {
	Payload *models.Error
}

ValidateAvnsInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewValidateAvnsInternalServerError

func NewValidateAvnsInternalServerError() *ValidateAvnsInternalServerError

NewValidateAvnsInternalServerError creates a ValidateAvnsInternalServerError with default headers values

func (*ValidateAvnsInternalServerError) Error

func (*ValidateAvnsInternalServerError) GetPayload

func (o *ValidateAvnsInternalServerError) GetPayload() *models.Error

func (*ValidateAvnsInternalServerError) IsClientError

func (o *ValidateAvnsInternalServerError) IsClientError() bool

IsClientError returns true when this validate avns internal server error response has a 4xx status code

func (*ValidateAvnsInternalServerError) IsCode

func (o *ValidateAvnsInternalServerError) IsCode(code int) bool

IsCode returns true when this validate avns internal server error response a status code equal to that given

func (*ValidateAvnsInternalServerError) IsRedirect

func (o *ValidateAvnsInternalServerError) IsRedirect() bool

IsRedirect returns true when this validate avns internal server error response has a 3xx status code

func (*ValidateAvnsInternalServerError) IsServerError

func (o *ValidateAvnsInternalServerError) IsServerError() bool

IsServerError returns true when this validate avns internal server error response has a 5xx status code

func (*ValidateAvnsInternalServerError) IsSuccess

func (o *ValidateAvnsInternalServerError) IsSuccess() bool

IsSuccess returns true when this validate avns internal server error response has a 2xx status code

func (*ValidateAvnsInternalServerError) String

type ValidateAvnsOK

type ValidateAvnsOK struct {
	Payload *models.Validation
}

ValidateAvnsOK describes a response with status code 200, with default header values.

Validation of AVN Creation spec completed

func NewValidateAvnsOK

func NewValidateAvnsOK() *ValidateAvnsOK

NewValidateAvnsOK creates a ValidateAvnsOK with default headers values

func (*ValidateAvnsOK) Error

func (o *ValidateAvnsOK) Error() string

func (*ValidateAvnsOK) GetPayload

func (o *ValidateAvnsOK) GetPayload() *models.Validation

func (*ValidateAvnsOK) IsClientError

func (o *ValidateAvnsOK) IsClientError() bool

IsClientError returns true when this validate avns o k response has a 4xx status code

func (*ValidateAvnsOK) IsCode

func (o *ValidateAvnsOK) IsCode(code int) bool

IsCode returns true when this validate avns o k response a status code equal to that given

func (*ValidateAvnsOK) IsRedirect

func (o *ValidateAvnsOK) IsRedirect() bool

IsRedirect returns true when this validate avns o k response has a 3xx status code

func (*ValidateAvnsOK) IsServerError

func (o *ValidateAvnsOK) IsServerError() bool

IsServerError returns true when this validate avns o k response has a 5xx status code

func (*ValidateAvnsOK) IsSuccess

func (o *ValidateAvnsOK) IsSuccess() bool

IsSuccess returns true when this validate avns o k response has a 2xx status code

func (*ValidateAvnsOK) String

func (o *ValidateAvnsOK) String() string

type ValidateAvnsParams

type ValidateAvnsParams struct {

	/* AvnsCreationSpec.

	   Provide the spec to create the AVNs
	*/
	AvnsCreationSpec *models.AvnsCreationSpec

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateAvnsParams contains all the parameters to send to the API endpoint

for the validate avns operation.

Typically these are written to a http.Request.

func NewValidateAvnsParams

func NewValidateAvnsParams() *ValidateAvnsParams

NewValidateAvnsParams creates a new ValidateAvnsParams 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 NewValidateAvnsParamsWithContext

func NewValidateAvnsParamsWithContext(ctx context.Context) *ValidateAvnsParams

NewValidateAvnsParamsWithContext creates a new ValidateAvnsParams object with the ability to set a context for a request.

func NewValidateAvnsParamsWithHTTPClient

func NewValidateAvnsParamsWithHTTPClient(client *http.Client) *ValidateAvnsParams

NewValidateAvnsParamsWithHTTPClient creates a new ValidateAvnsParams object with the ability to set a custom HTTPClient for a request.

func NewValidateAvnsParamsWithTimeout

func NewValidateAvnsParamsWithTimeout(timeout time.Duration) *ValidateAvnsParams

NewValidateAvnsParamsWithTimeout creates a new ValidateAvnsParams object with the ability to set a timeout on a request.

func (*ValidateAvnsParams) SetAvnsCreationSpec

func (o *ValidateAvnsParams) SetAvnsCreationSpec(avnsCreationSpec *models.AvnsCreationSpec)

SetAvnsCreationSpec adds the avnsCreationSpec to the validate avns params

func (*ValidateAvnsParams) SetContext

func (o *ValidateAvnsParams) SetContext(ctx context.Context)

SetContext adds the context to the validate avns params

func (*ValidateAvnsParams) SetDefaults

func (o *ValidateAvnsParams) SetDefaults()

SetDefaults hydrates default values in the validate avns params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateAvnsParams) SetHTTPClient

func (o *ValidateAvnsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate avns params

func (*ValidateAvnsParams) SetTimeout

func (o *ValidateAvnsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate avns params

func (*ValidateAvnsParams) WithAvnsCreationSpec

func (o *ValidateAvnsParams) WithAvnsCreationSpec(avnsCreationSpec *models.AvnsCreationSpec) *ValidateAvnsParams

WithAvnsCreationSpec adds the avnsCreationSpec to the validate avns params

func (*ValidateAvnsParams) WithContext

WithContext adds the context to the validate avns params

func (*ValidateAvnsParams) WithDefaults

func (o *ValidateAvnsParams) WithDefaults() *ValidateAvnsParams

WithDefaults hydrates default values in the validate avns params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateAvnsParams) WithHTTPClient

func (o *ValidateAvnsParams) WithHTTPClient(client *http.Client) *ValidateAvnsParams

WithHTTPClient adds the HTTPClient to the validate avns params

func (*ValidateAvnsParams) WithTimeout

func (o *ValidateAvnsParams) WithTimeout(timeout time.Duration) *ValidateAvnsParams

WithTimeout adds the timeout to the validate avns params

func (*ValidateAvnsParams) WriteToRequest

func (o *ValidateAvnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ValidateAvnsReader

type ValidateAvnsReader struct {
	// contains filtered or unexported fields
}

ValidateAvnsReader is a Reader for the ValidateAvns structure.

func (*ValidateAvnsReader) ReadResponse

func (o *ValidateAvnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL