network_generator

package
v0.0.0-...-8fe3866 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkCreateNetworkGeneratorsBody

type BulkCreateNetworkGeneratorsBody struct {

	// List of network generators
	// Required: true
	// Min Items: 1
	Items []*models.NetworkGenerator `json:"items"`
}

BulkCreateNetworkGeneratorsBody BulkCreateNetworkGeneratorsRequest // // Parameters for the bulk create operation swagger:model BulkCreateNetworkGeneratorsBody

func (*BulkCreateNetworkGeneratorsBody) ContextValidate

func (o *BulkCreateNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk create network generators body based on the context it is used

func (*BulkCreateNetworkGeneratorsBody) MarshalBinary

func (o *BulkCreateNetworkGeneratorsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkCreateNetworkGeneratorsBody) UnmarshalBinary

func (o *BulkCreateNetworkGeneratorsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkCreateNetworkGeneratorsBody) Validate

Validate validates this bulk create network generators body

type BulkCreateNetworkGeneratorsOK

type BulkCreateNetworkGeneratorsOK struct {
	Payload []*models.NetworkGenerator
}
BulkCreateNetworkGeneratorsOK describes a response with status code 200, with default header values.

Success

func NewBulkCreateNetworkGeneratorsOK

func NewBulkCreateNetworkGeneratorsOK() *BulkCreateNetworkGeneratorsOK

NewBulkCreateNetworkGeneratorsOK creates a BulkCreateNetworkGeneratorsOK with default headers values

func (*BulkCreateNetworkGeneratorsOK) Error

func (*BulkCreateNetworkGeneratorsOK) GetPayload

type BulkCreateNetworkGeneratorsParams

type BulkCreateNetworkGeneratorsParams struct {

	/* Create.

	   Bulk creation
	*/
	Create BulkCreateNetworkGeneratorsBody

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

BulkCreateNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the bulk create network generators operation.

Typically these are written to a http.Request.

func NewBulkCreateNetworkGeneratorsParams

func NewBulkCreateNetworkGeneratorsParams() *BulkCreateNetworkGeneratorsParams

NewBulkCreateNetworkGeneratorsParams creates a new BulkCreateNetworkGeneratorsParams 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 NewBulkCreateNetworkGeneratorsParamsWithContext

func NewBulkCreateNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkCreateNetworkGeneratorsParams

NewBulkCreateNetworkGeneratorsParamsWithContext creates a new BulkCreateNetworkGeneratorsParams object with the ability to set a context for a request.

func NewBulkCreateNetworkGeneratorsParamsWithHTTPClient

func NewBulkCreateNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateNetworkGeneratorsParams

NewBulkCreateNetworkGeneratorsParamsWithHTTPClient creates a new BulkCreateNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewBulkCreateNetworkGeneratorsParamsWithTimeout

func NewBulkCreateNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateNetworkGeneratorsParams

NewBulkCreateNetworkGeneratorsParamsWithTimeout creates a new BulkCreateNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*BulkCreateNetworkGeneratorsParams) SetContext

SetContext adds the context to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) SetCreate

SetCreate adds the create to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) SetDefaults

func (o *BulkCreateNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the bulk create network generators params (not the query body).

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

func (*BulkCreateNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) WithContext

WithContext adds the context to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) WithCreate

WithCreate adds the create to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the bulk create network generators params (not the query body).

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

func (*BulkCreateNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk create network generators params

func (*BulkCreateNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkCreateNetworkGeneratorsReader

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

BulkCreateNetworkGeneratorsReader is a Reader for the BulkCreateNetworkGenerators structure.

func (*BulkCreateNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkCreateNetworkServersBody

type BulkCreateNetworkServersBody struct {

	// List of network server
	// Required: true
	// Min Items: 1
	Items []*models.NetworkServer `json:"items"`
}

BulkCreateNetworkServersBody BulkCreateNetworkServersRequest // // Parameters for the bulk create operation swagger:model BulkCreateNetworkServersBody

func (*BulkCreateNetworkServersBody) ContextValidate

func (o *BulkCreateNetworkServersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk create network servers body based on the context it is used

func (*BulkCreateNetworkServersBody) MarshalBinary

func (o *BulkCreateNetworkServersBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkCreateNetworkServersBody) UnmarshalBinary

func (o *BulkCreateNetworkServersBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkCreateNetworkServersBody) Validate

func (o *BulkCreateNetworkServersBody) Validate(formats strfmt.Registry) error

Validate validates this bulk create network servers body

type BulkCreateNetworkServersOK

type BulkCreateNetworkServersOK struct {
	Payload []*models.NetworkServer
}
BulkCreateNetworkServersOK describes a response with status code 200, with default header values.

Success

func NewBulkCreateNetworkServersOK

func NewBulkCreateNetworkServersOK() *BulkCreateNetworkServersOK

NewBulkCreateNetworkServersOK creates a BulkCreateNetworkServersOK with default headers values

func (*BulkCreateNetworkServersOK) Error

func (*BulkCreateNetworkServersOK) GetPayload

func (o *BulkCreateNetworkServersOK) GetPayload() []*models.NetworkServer

type BulkCreateNetworkServersParams

type BulkCreateNetworkServersParams struct {

	/* Create.

	   Bulk creation
	*/
	Create BulkCreateNetworkServersBody

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

BulkCreateNetworkServersParams contains all the parameters to send to the API endpoint

for the bulk create network servers operation.

Typically these are written to a http.Request.

func NewBulkCreateNetworkServersParams

func NewBulkCreateNetworkServersParams() *BulkCreateNetworkServersParams

NewBulkCreateNetworkServersParams creates a new BulkCreateNetworkServersParams 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 NewBulkCreateNetworkServersParamsWithContext

func NewBulkCreateNetworkServersParamsWithContext(ctx context.Context) *BulkCreateNetworkServersParams

NewBulkCreateNetworkServersParamsWithContext creates a new BulkCreateNetworkServersParams object with the ability to set a context for a request.

func NewBulkCreateNetworkServersParamsWithHTTPClient

func NewBulkCreateNetworkServersParamsWithHTTPClient(client *http.Client) *BulkCreateNetworkServersParams

NewBulkCreateNetworkServersParamsWithHTTPClient creates a new BulkCreateNetworkServersParams object with the ability to set a custom HTTPClient for a request.

func NewBulkCreateNetworkServersParamsWithTimeout

func NewBulkCreateNetworkServersParamsWithTimeout(timeout time.Duration) *BulkCreateNetworkServersParams

NewBulkCreateNetworkServersParamsWithTimeout creates a new BulkCreateNetworkServersParams object with the ability to set a timeout on a request.

func (*BulkCreateNetworkServersParams) SetContext

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

SetContext adds the context to the bulk create network servers params

func (*BulkCreateNetworkServersParams) SetCreate

SetCreate adds the create to the bulk create network servers params

func (*BulkCreateNetworkServersParams) SetDefaults

func (o *BulkCreateNetworkServersParams) SetDefaults()

SetDefaults hydrates default values in the bulk create network servers params (not the query body).

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

func (*BulkCreateNetworkServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk create network servers params

func (*BulkCreateNetworkServersParams) SetTimeout

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

SetTimeout adds the timeout to the bulk create network servers params

func (*BulkCreateNetworkServersParams) WithContext

WithContext adds the context to the bulk create network servers params

func (*BulkCreateNetworkServersParams) WithCreate

WithCreate adds the create to the bulk create network servers params

func (*BulkCreateNetworkServersParams) WithDefaults

WithDefaults hydrates default values in the bulk create network servers params (not the query body).

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

func (*BulkCreateNetworkServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk create network servers params

func (*BulkCreateNetworkServersParams) WithTimeout

WithTimeout adds the timeout to the bulk create network servers params

func (*BulkCreateNetworkServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkCreateNetworkServersReader

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

BulkCreateNetworkServersReader is a Reader for the BulkCreateNetworkServers structure.

func (*BulkCreateNetworkServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkDeleteNetworkGeneratorsBody

type BulkDeleteNetworkGeneratorsBody struct {

	// List of network generator ids
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkDeleteNetworkGeneratorsBody BulkDeleteNetworkGeneratorsRequest // // Parameters for the bulk delete operation swagger:model BulkDeleteNetworkGeneratorsBody

func (*BulkDeleteNetworkGeneratorsBody) ContextValidate

func (o *BulkDeleteNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk delete network generators body based on context it is used

func (*BulkDeleteNetworkGeneratorsBody) MarshalBinary

func (o *BulkDeleteNetworkGeneratorsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkDeleteNetworkGeneratorsBody) UnmarshalBinary

func (o *BulkDeleteNetworkGeneratorsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkDeleteNetworkGeneratorsBody) Validate

Validate validates this bulk delete network generators body

type BulkDeleteNetworkGeneratorsNoContent

type BulkDeleteNetworkGeneratorsNoContent struct {
}
BulkDeleteNetworkGeneratorsNoContent describes a response with status code 204, with default header values.

No Content

func NewBulkDeleteNetworkGeneratorsNoContent

func NewBulkDeleteNetworkGeneratorsNoContent() *BulkDeleteNetworkGeneratorsNoContent

NewBulkDeleteNetworkGeneratorsNoContent creates a BulkDeleteNetworkGeneratorsNoContent with default headers values

func (*BulkDeleteNetworkGeneratorsNoContent) Error

type BulkDeleteNetworkGeneratorsParams

type BulkDeleteNetworkGeneratorsParams struct {

	/* Delete.

	   Bulk delete
	*/
	Delete BulkDeleteNetworkGeneratorsBody

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

BulkDeleteNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the bulk delete network generators operation.

Typically these are written to a http.Request.

func NewBulkDeleteNetworkGeneratorsParams

func NewBulkDeleteNetworkGeneratorsParams() *BulkDeleteNetworkGeneratorsParams

NewBulkDeleteNetworkGeneratorsParams creates a new BulkDeleteNetworkGeneratorsParams 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 NewBulkDeleteNetworkGeneratorsParamsWithContext

func NewBulkDeleteNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteNetworkGeneratorsParams

NewBulkDeleteNetworkGeneratorsParamsWithContext creates a new BulkDeleteNetworkGeneratorsParams object with the ability to set a context for a request.

func NewBulkDeleteNetworkGeneratorsParamsWithHTTPClient

func NewBulkDeleteNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteNetworkGeneratorsParams

NewBulkDeleteNetworkGeneratorsParamsWithHTTPClient creates a new BulkDeleteNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewBulkDeleteNetworkGeneratorsParamsWithTimeout

func NewBulkDeleteNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteNetworkGeneratorsParams

NewBulkDeleteNetworkGeneratorsParamsWithTimeout creates a new BulkDeleteNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*BulkDeleteNetworkGeneratorsParams) SetContext

SetContext adds the context to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) SetDefaults

func (o *BulkDeleteNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the bulk delete network generators params (not the query body).

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

func (*BulkDeleteNetworkGeneratorsParams) SetDelete

SetDelete adds the delete to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) WithContext

WithContext adds the context to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the bulk delete network generators params (not the query body).

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

func (*BulkDeleteNetworkGeneratorsParams) WithDelete

WithDelete adds the delete to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk delete network generators params

func (*BulkDeleteNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkDeleteNetworkGeneratorsReader

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

BulkDeleteNetworkGeneratorsReader is a Reader for the BulkDeleteNetworkGenerators structure.

func (*BulkDeleteNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkDeleteNetworkServersBody

type BulkDeleteNetworkServersBody struct {

	// List of network server ids
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkDeleteNetworkServersBody BulkDeleteNetworkServersRequest // // Parameters for the bulk delete operation swagger:model BulkDeleteNetworkServersBody

func (*BulkDeleteNetworkServersBody) ContextValidate

func (o *BulkDeleteNetworkServersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk delete network servers body based on context it is used

func (*BulkDeleteNetworkServersBody) MarshalBinary

func (o *BulkDeleteNetworkServersBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkDeleteNetworkServersBody) UnmarshalBinary

func (o *BulkDeleteNetworkServersBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkDeleteNetworkServersBody) Validate

func (o *BulkDeleteNetworkServersBody) Validate(formats strfmt.Registry) error

Validate validates this bulk delete network servers body

type BulkDeleteNetworkServersNoContent

type BulkDeleteNetworkServersNoContent struct {
}
BulkDeleteNetworkServersNoContent describes a response with status code 204, with default header values.

No Content

func NewBulkDeleteNetworkServersNoContent

func NewBulkDeleteNetworkServersNoContent() *BulkDeleteNetworkServersNoContent

NewBulkDeleteNetworkServersNoContent creates a BulkDeleteNetworkServersNoContent with default headers values

func (*BulkDeleteNetworkServersNoContent) Error

type BulkDeleteNetworkServersParams

type BulkDeleteNetworkServersParams struct {

	/* Delete.

	   Bulk delete
	*/
	Delete BulkDeleteNetworkServersBody

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

BulkDeleteNetworkServersParams contains all the parameters to send to the API endpoint

for the bulk delete network servers operation.

Typically these are written to a http.Request.

func NewBulkDeleteNetworkServersParams

func NewBulkDeleteNetworkServersParams() *BulkDeleteNetworkServersParams

NewBulkDeleteNetworkServersParams creates a new BulkDeleteNetworkServersParams 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 NewBulkDeleteNetworkServersParamsWithContext

func NewBulkDeleteNetworkServersParamsWithContext(ctx context.Context) *BulkDeleteNetworkServersParams

NewBulkDeleteNetworkServersParamsWithContext creates a new BulkDeleteNetworkServersParams object with the ability to set a context for a request.

func NewBulkDeleteNetworkServersParamsWithHTTPClient

func NewBulkDeleteNetworkServersParamsWithHTTPClient(client *http.Client) *BulkDeleteNetworkServersParams

NewBulkDeleteNetworkServersParamsWithHTTPClient creates a new BulkDeleteNetworkServersParams object with the ability to set a custom HTTPClient for a request.

func NewBulkDeleteNetworkServersParamsWithTimeout

func NewBulkDeleteNetworkServersParamsWithTimeout(timeout time.Duration) *BulkDeleteNetworkServersParams

NewBulkDeleteNetworkServersParamsWithTimeout creates a new BulkDeleteNetworkServersParams object with the ability to set a timeout on a request.

func (*BulkDeleteNetworkServersParams) SetContext

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

SetContext adds the context to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) SetDefaults

func (o *BulkDeleteNetworkServersParams) SetDefaults()

SetDefaults hydrates default values in the bulk delete network servers params (not the query body).

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

func (*BulkDeleteNetworkServersParams) SetDelete

SetDelete adds the delete to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) SetTimeout

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

SetTimeout adds the timeout to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) WithContext

WithContext adds the context to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) WithDefaults

WithDefaults hydrates default values in the bulk delete network servers params (not the query body).

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

func (*BulkDeleteNetworkServersParams) WithDelete

WithDelete adds the delete to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) WithTimeout

WithTimeout adds the timeout to the bulk delete network servers params

func (*BulkDeleteNetworkServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkDeleteNetworkServersReader

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

BulkDeleteNetworkServersReader is a Reader for the BulkDeleteNetworkServers structure.

func (*BulkDeleteNetworkServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkStartNetworkGeneratorsOK

type BulkStartNetworkGeneratorsOK struct {
	Payload []*models.NetworkGeneratorResult
}
BulkStartNetworkGeneratorsOK describes a response with status code 200, with default header values.

Success

func NewBulkStartNetworkGeneratorsOK

func NewBulkStartNetworkGeneratorsOK() *BulkStartNetworkGeneratorsOK

NewBulkStartNetworkGeneratorsOK creates a BulkStartNetworkGeneratorsOK with default headers values

func (*BulkStartNetworkGeneratorsOK) Error

func (*BulkStartNetworkGeneratorsOK) GetPayload

type BulkStartNetworkGeneratorsParams

type BulkStartNetworkGeneratorsParams struct {

	/* BulkStart.

	   Bulk start
	*/
	BulkStart *models.BulkStartNetworkGeneratorsRequest

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

BulkStartNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the bulk start network generators operation.

Typically these are written to a http.Request.

func NewBulkStartNetworkGeneratorsParams

func NewBulkStartNetworkGeneratorsParams() *BulkStartNetworkGeneratorsParams

NewBulkStartNetworkGeneratorsParams creates a new BulkStartNetworkGeneratorsParams 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 NewBulkStartNetworkGeneratorsParamsWithContext

func NewBulkStartNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkStartNetworkGeneratorsParams

NewBulkStartNetworkGeneratorsParamsWithContext creates a new BulkStartNetworkGeneratorsParams object with the ability to set a context for a request.

func NewBulkStartNetworkGeneratorsParamsWithHTTPClient

func NewBulkStartNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartNetworkGeneratorsParams

NewBulkStartNetworkGeneratorsParamsWithHTTPClient creates a new BulkStartNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewBulkStartNetworkGeneratorsParamsWithTimeout

func NewBulkStartNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartNetworkGeneratorsParams

NewBulkStartNetworkGeneratorsParamsWithTimeout creates a new BulkStartNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*BulkStartNetworkGeneratorsParams) SetBulkStart

SetBulkStart adds the bulkStart to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) SetContext

SetContext adds the context to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) SetDefaults

func (o *BulkStartNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the bulk start network generators params (not the query body).

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

func (*BulkStartNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) WithBulkStart

WithBulkStart adds the bulkStart to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) WithContext

WithContext adds the context to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the bulk start network generators params (not the query body).

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

func (*BulkStartNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk start network generators params

func (*BulkStartNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkStartNetworkGeneratorsReader

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

BulkStartNetworkGeneratorsReader is a Reader for the BulkStartNetworkGenerators structure.

func (*BulkStartNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkStopNetworkGeneratorsBody

type BulkStopNetworkGeneratorsBody struct {

	// List of network generator identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStopNetworkGeneratorsBody BulkStopNetworkGeneratorsRequest // // Parameters for the bulk stop operation swagger:model BulkStopNetworkGeneratorsBody

func (*BulkStopNetworkGeneratorsBody) ContextValidate

func (o *BulkStopNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk stop network generators body based on context it is used

func (*BulkStopNetworkGeneratorsBody) MarshalBinary

func (o *BulkStopNetworkGeneratorsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStopNetworkGeneratorsBody) UnmarshalBinary

func (o *BulkStopNetworkGeneratorsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStopNetworkGeneratorsBody) Validate

func (o *BulkStopNetworkGeneratorsBody) Validate(formats strfmt.Registry) error

Validate validates this bulk stop network generators body

type BulkStopNetworkGeneratorsNoContent

type BulkStopNetworkGeneratorsNoContent struct {
}
BulkStopNetworkGeneratorsNoContent describes a response with status code 204, with default header values.

No Content

func NewBulkStopNetworkGeneratorsNoContent

func NewBulkStopNetworkGeneratorsNoContent() *BulkStopNetworkGeneratorsNoContent

NewBulkStopNetworkGeneratorsNoContent creates a BulkStopNetworkGeneratorsNoContent with default headers values

func (*BulkStopNetworkGeneratorsNoContent) Error

type BulkStopNetworkGeneratorsParams

type BulkStopNetworkGeneratorsParams struct {

	/* BulkStop.

	   Bulk stop
	*/
	BulkStop BulkStopNetworkGeneratorsBody

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

BulkStopNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the bulk stop network generators operation.

Typically these are written to a http.Request.

func NewBulkStopNetworkGeneratorsParams

func NewBulkStopNetworkGeneratorsParams() *BulkStopNetworkGeneratorsParams

NewBulkStopNetworkGeneratorsParams creates a new BulkStopNetworkGeneratorsParams 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 NewBulkStopNetworkGeneratorsParamsWithContext

func NewBulkStopNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkStopNetworkGeneratorsParams

NewBulkStopNetworkGeneratorsParamsWithContext creates a new BulkStopNetworkGeneratorsParams object with the ability to set a context for a request.

func NewBulkStopNetworkGeneratorsParamsWithHTTPClient

func NewBulkStopNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopNetworkGeneratorsParams

NewBulkStopNetworkGeneratorsParamsWithHTTPClient creates a new BulkStopNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewBulkStopNetworkGeneratorsParamsWithTimeout

func NewBulkStopNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopNetworkGeneratorsParams

NewBulkStopNetworkGeneratorsParamsWithTimeout creates a new BulkStopNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*BulkStopNetworkGeneratorsParams) SetBulkStop

SetBulkStop adds the bulkStop to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) SetContext

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

SetContext adds the context to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) SetDefaults

func (o *BulkStopNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the bulk stop network generators params (not the query body).

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

func (*BulkStopNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) WithBulkStop

WithBulkStop adds the bulkStop to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) WithContext

WithContext adds the context to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the bulk stop network generators params (not the query body).

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

func (*BulkStopNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk stop network generators params

func (*BulkStopNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkStopNetworkGeneratorsReader

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

BulkStopNetworkGeneratorsReader is a Reader for the BulkStopNetworkGenerators structure.

func (*BulkStopNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for network generator API

func (*Client) BulkCreateNetworkGenerators

func (a *Client) BulkCreateNetworkGenerators(params *BulkCreateNetworkGeneratorsParams, opts ...ClientOption) (*BulkCreateNetworkGeneratorsOK, error)
BulkCreateNetworkGenerators bulks create network generators

Create multiple network generators. Requests are processed in an

all-or-nothing manner, i.e. a single network generator creation failure causes all creations for this request to fail.

func (*Client) BulkCreateNetworkServers

func (a *Client) BulkCreateNetworkServers(params *BulkCreateNetworkServersParams, opts ...ClientOption) (*BulkCreateNetworkServersOK, error)
BulkCreateNetworkServers bulks create network servers

Create multiple network servers. Requests are processed in an

all-or-nothing manner, i.e. a single network server creation failure causes all creations for this request to fail.

func (*Client) BulkDeleteNetworkGenerators

func (a *Client) BulkDeleteNetworkGenerators(params *BulkDeleteNetworkGeneratorsParams, opts ...ClientOption) (*BulkDeleteNetworkGeneratorsNoContent, error)
BulkDeleteNetworkGenerators bulks delete network generators

Delete multiple network generators in a best-effort manner. Non-existant network generators ids

do not cause errors. Idempotent.

func (*Client) BulkDeleteNetworkServers

func (a *Client) BulkDeleteNetworkServers(params *BulkDeleteNetworkServersParams, opts ...ClientOption) (*BulkDeleteNetworkServersNoContent, error)
BulkDeleteNetworkServers bulks delete network servers

Delete multiple network servers in a best-effort manner. Non-existant network server ids

do not cause errors. Idempotent.

func (*Client) BulkStartNetworkGenerators

func (a *Client) BulkStartNetworkGenerators(params *BulkStartNetworkGeneratorsParams, opts ...ClientOption) (*BulkStartNetworkGeneratorsOK, error)

BulkStartNetworkGenerators tells multiple network generators to start

Start multiple network generators.

func (*Client) BulkStopNetworkGenerators

func (a *Client) BulkStopNetworkGenerators(params *BulkStopNetworkGeneratorsParams, opts ...ClientOption) (*BulkStopNetworkGeneratorsNoContent, error)

BulkStopNetworkGenerators bulks stop network generators

Best-effort stop multiple network generators. Non-existent network generator ids do not cause errors. Idempotent.

func (*Client) CreateNetworkGenerator

func (a *Client) CreateNetworkGenerator(params *CreateNetworkGeneratorParams, opts ...ClientOption) (*CreateNetworkGeneratorCreated, error)

CreateNetworkGenerator creates a network generator

Create a new network generator

func (*Client) CreateNetworkServer

func (a *Client) CreateNetworkServer(params *CreateNetworkServerParams, opts ...ClientOption) (*CreateNetworkServerCreated, error)

CreateNetworkServer creates and run a network server

Create a new network server.

func (*Client) DeleteNetworkGenerator

func (a *Client) DeleteNetworkGenerator(params *DeleteNetworkGeneratorParams, opts ...ClientOption) (*DeleteNetworkGeneratorNoContent, error)

DeleteNetworkGenerator deletes a network generator

Deletes an existing network generator. Idempotent.

func (*Client) DeleteNetworkGeneratorResult

func (a *Client) DeleteNetworkGeneratorResult(params *DeleteNetworkGeneratorResultParams, opts ...ClientOption) (*DeleteNetworkGeneratorResultNoContent, error)

DeleteNetworkGeneratorResult deletes results from a network generator idempotent

func (*Client) DeleteNetworkServer

func (a *Client) DeleteNetworkServer(params *DeleteNetworkServerParams, opts ...ClientOption) (*DeleteNetworkServerNoContent, error)

DeleteNetworkServer deletes a network server

Deletes an existing network server. Idempotent.

func (*Client) GetNetworkGenerator

func (a *Client) GetNetworkGenerator(params *GetNetworkGeneratorParams, opts ...ClientOption) (*GetNetworkGeneratorOK, error)

GetNetworkGenerator gets a network generator

Returns a network generator, by id.

func (*Client) GetNetworkGeneratorResult

func (a *Client) GetNetworkGeneratorResult(params *GetNetworkGeneratorResultParams, opts ...ClientOption) (*GetNetworkGeneratorResultOK, error)

GetNetworkGeneratorResult gets a result from a network generator

Returns results from a network generator by result id.

func (*Client) GetNetworkServer

func (a *Client) GetNetworkServer(params *GetNetworkServerParams, opts ...ClientOption) (*GetNetworkServerOK, error)

GetNetworkServer gets a network server

Returns a network server, by id.

func (*Client) ListNetworkGeneratorResults

func (a *Client) ListNetworkGeneratorResults(params *ListNetworkGeneratorResultsParams, opts ...ClientOption) (*ListNetworkGeneratorResultsOK, error)

ListNetworkGeneratorResults lists network generator results

The `network-generator-results` endpoint returns all of the results produced by running network generators.

func (*Client) ListNetworkGenerators

func (a *Client) ListNetworkGenerators(params *ListNetworkGeneratorsParams, opts ...ClientOption) (*ListNetworkGeneratorsOK, error)

ListNetworkGenerators lists network generators

The `network-generators` endpoint returns all of the configured network generators.

func (*Client) ListNetworkServers

func (a *Client) ListNetworkServers(params *ListNetworkServersParams, opts ...ClientOption) (*ListNetworkServersOK, error)

ListNetworkServers lists network servers

Returns all network servers

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartNetworkGenerator

func (a *Client) StartNetworkGenerator(params *StartNetworkGeneratorParams, opts ...ClientOption) (*StartNetworkGeneratorCreated, error)

StartNetworkGenerator starts a network generator

Start an existing network generator.

func (*Client) StopNetworkGenerator

func (a *Client) StopNetworkGenerator(params *StopNetworkGeneratorParams, opts ...ClientOption) (*StopNetworkGeneratorNoContent, error)

StopNetworkGenerator stops a network generator

Stop a running network generator. Idempotent.

func (*Client) ToggleNetworkGenerators

func (a *Client) ToggleNetworkGenerators(params *ToggleNetworkGeneratorsParams, opts ...ClientOption) (*ToggleNetworkGeneratorsCreated, error)
ToggleNetworkGenerators replaces a running network generator with a stopped network generator

Swap a running network generator with an idle network generator.

Upon success, the idle generator will be in the run state, the running generator will be in the stopped state and all active TCP/UDP sessions will be transferred to the newly running generator. If the original network generator had a read/write load and the new network generator does not have this type of load, these sessions will be immediately stopped.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BulkCreateNetworkGenerators(params *BulkCreateNetworkGeneratorsParams, opts ...ClientOption) (*BulkCreateNetworkGeneratorsOK, error)

	BulkCreateNetworkServers(params *BulkCreateNetworkServersParams, opts ...ClientOption) (*BulkCreateNetworkServersOK, error)

	BulkDeleteNetworkGenerators(params *BulkDeleteNetworkGeneratorsParams, opts ...ClientOption) (*BulkDeleteNetworkGeneratorsNoContent, error)

	BulkDeleteNetworkServers(params *BulkDeleteNetworkServersParams, opts ...ClientOption) (*BulkDeleteNetworkServersNoContent, error)

	BulkStartNetworkGenerators(params *BulkStartNetworkGeneratorsParams, opts ...ClientOption) (*BulkStartNetworkGeneratorsOK, error)

	BulkStopNetworkGenerators(params *BulkStopNetworkGeneratorsParams, opts ...ClientOption) (*BulkStopNetworkGeneratorsNoContent, error)

	CreateNetworkGenerator(params *CreateNetworkGeneratorParams, opts ...ClientOption) (*CreateNetworkGeneratorCreated, error)

	CreateNetworkServer(params *CreateNetworkServerParams, opts ...ClientOption) (*CreateNetworkServerCreated, error)

	DeleteNetworkGenerator(params *DeleteNetworkGeneratorParams, opts ...ClientOption) (*DeleteNetworkGeneratorNoContent, error)

	DeleteNetworkGeneratorResult(params *DeleteNetworkGeneratorResultParams, opts ...ClientOption) (*DeleteNetworkGeneratorResultNoContent, error)

	DeleteNetworkServer(params *DeleteNetworkServerParams, opts ...ClientOption) (*DeleteNetworkServerNoContent, error)

	GetNetworkGenerator(params *GetNetworkGeneratorParams, opts ...ClientOption) (*GetNetworkGeneratorOK, error)

	GetNetworkGeneratorResult(params *GetNetworkGeneratorResultParams, opts ...ClientOption) (*GetNetworkGeneratorResultOK, error)

	GetNetworkServer(params *GetNetworkServerParams, opts ...ClientOption) (*GetNetworkServerOK, error)

	ListNetworkGeneratorResults(params *ListNetworkGeneratorResultsParams, opts ...ClientOption) (*ListNetworkGeneratorResultsOK, error)

	ListNetworkGenerators(params *ListNetworkGeneratorsParams, opts ...ClientOption) (*ListNetworkGeneratorsOK, error)

	ListNetworkServers(params *ListNetworkServersParams, opts ...ClientOption) (*ListNetworkServersOK, error)

	StartNetworkGenerator(params *StartNetworkGeneratorParams, opts ...ClientOption) (*StartNetworkGeneratorCreated, error)

	StopNetworkGenerator(params *StopNetworkGeneratorParams, opts ...ClientOption) (*StopNetworkGeneratorNoContent, error)

	ToggleNetworkGenerators(params *ToggleNetworkGeneratorsParams, opts ...ClientOption) (*ToggleNetworkGeneratorsCreated, 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 network generator API client.

type CreateNetworkGeneratorCreated

type CreateNetworkGeneratorCreated struct {

	/* URI of created network generator
	 */
	Location string

	Payload *models.NetworkGenerator
}
CreateNetworkGeneratorCreated describes a response with status code 201, with default header values.

Created

func NewCreateNetworkGeneratorCreated

func NewCreateNetworkGeneratorCreated() *CreateNetworkGeneratorCreated

NewCreateNetworkGeneratorCreated creates a CreateNetworkGeneratorCreated with default headers values

func (*CreateNetworkGeneratorCreated) Error

func (*CreateNetworkGeneratorCreated) GetPayload

type CreateNetworkGeneratorParams

type CreateNetworkGeneratorParams struct {

	/* Generator.

	   New network generator
	*/
	Generator *models.NetworkGenerator

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

CreateNetworkGeneratorParams contains all the parameters to send to the API endpoint

for the create network generator operation.

Typically these are written to a http.Request.

func NewCreateNetworkGeneratorParams

func NewCreateNetworkGeneratorParams() *CreateNetworkGeneratorParams

NewCreateNetworkGeneratorParams creates a new CreateNetworkGeneratorParams 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 NewCreateNetworkGeneratorParamsWithContext

func NewCreateNetworkGeneratorParamsWithContext(ctx context.Context) *CreateNetworkGeneratorParams

NewCreateNetworkGeneratorParamsWithContext creates a new CreateNetworkGeneratorParams object with the ability to set a context for a request.

func NewCreateNetworkGeneratorParamsWithHTTPClient

func NewCreateNetworkGeneratorParamsWithHTTPClient(client *http.Client) *CreateNetworkGeneratorParams

NewCreateNetworkGeneratorParamsWithHTTPClient creates a new CreateNetworkGeneratorParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkGeneratorParamsWithTimeout

func NewCreateNetworkGeneratorParamsWithTimeout(timeout time.Duration) *CreateNetworkGeneratorParams

NewCreateNetworkGeneratorParamsWithTimeout creates a new CreateNetworkGeneratorParams object with the ability to set a timeout on a request.

func (*CreateNetworkGeneratorParams) SetContext

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

SetContext adds the context to the create network generator params

func (*CreateNetworkGeneratorParams) SetDefaults

func (o *CreateNetworkGeneratorParams) SetDefaults()

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

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

func (*CreateNetworkGeneratorParams) SetGenerator

func (o *CreateNetworkGeneratorParams) SetGenerator(generator *models.NetworkGenerator)

SetGenerator adds the generator to the create network generator params

func (*CreateNetworkGeneratorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network generator params

func (*CreateNetworkGeneratorParams) SetTimeout

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

SetTimeout adds the timeout to the create network generator params

func (*CreateNetworkGeneratorParams) WithContext

WithContext adds the context to the create network generator params

func (*CreateNetworkGeneratorParams) WithDefaults

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

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

func (*CreateNetworkGeneratorParams) WithGenerator

WithGenerator adds the generator to the create network generator params

func (*CreateNetworkGeneratorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network generator params

func (*CreateNetworkGeneratorParams) WithTimeout

WithTimeout adds the timeout to the create network generator params

func (*CreateNetworkGeneratorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkGeneratorReader

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

CreateNetworkGeneratorReader is a Reader for the CreateNetworkGenerator structure.

func (*CreateNetworkGeneratorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNetworkServerCreated

type CreateNetworkServerCreated struct {

	/* URI of created network server
	 */
	Location string

	Payload *models.NetworkServer
}
CreateNetworkServerCreated describes a response with status code 201, with default header values.

Created

func NewCreateNetworkServerCreated

func NewCreateNetworkServerCreated() *CreateNetworkServerCreated

NewCreateNetworkServerCreated creates a CreateNetworkServerCreated with default headers values

func (*CreateNetworkServerCreated) Error

func (*CreateNetworkServerCreated) GetPayload

type CreateNetworkServerParams

type CreateNetworkServerParams struct {

	/* Server.

	   New network server
	*/
	Server *models.NetworkServer

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

CreateNetworkServerParams contains all the parameters to send to the API endpoint

for the create network server operation.

Typically these are written to a http.Request.

func NewCreateNetworkServerParams

func NewCreateNetworkServerParams() *CreateNetworkServerParams

NewCreateNetworkServerParams creates a new CreateNetworkServerParams 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 NewCreateNetworkServerParamsWithContext

func NewCreateNetworkServerParamsWithContext(ctx context.Context) *CreateNetworkServerParams

NewCreateNetworkServerParamsWithContext creates a new CreateNetworkServerParams object with the ability to set a context for a request.

func NewCreateNetworkServerParamsWithHTTPClient

func NewCreateNetworkServerParamsWithHTTPClient(client *http.Client) *CreateNetworkServerParams

NewCreateNetworkServerParamsWithHTTPClient creates a new CreateNetworkServerParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkServerParamsWithTimeout

func NewCreateNetworkServerParamsWithTimeout(timeout time.Duration) *CreateNetworkServerParams

NewCreateNetworkServerParamsWithTimeout creates a new CreateNetworkServerParams object with the ability to set a timeout on a request.

func (*CreateNetworkServerParams) SetContext

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

SetContext adds the context to the create network server params

func (*CreateNetworkServerParams) SetDefaults

func (o *CreateNetworkServerParams) SetDefaults()

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

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

func (*CreateNetworkServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network server params

func (*CreateNetworkServerParams) SetServer

func (o *CreateNetworkServerParams) SetServer(server *models.NetworkServer)

SetServer adds the server to the create network server params

func (*CreateNetworkServerParams) SetTimeout

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

SetTimeout adds the timeout to the create network server params

func (*CreateNetworkServerParams) WithContext

WithContext adds the context to the create network server params

func (*CreateNetworkServerParams) WithDefaults

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

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

func (*CreateNetworkServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create network server params

func (*CreateNetworkServerParams) WithServer

WithServer adds the server to the create network server params

func (*CreateNetworkServerParams) WithTimeout

WithTimeout adds the timeout to the create network server params

func (*CreateNetworkServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkServerReader

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

CreateNetworkServerReader is a Reader for the CreateNetworkServer structure.

func (*CreateNetworkServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkGeneratorNoContent

type DeleteNetworkGeneratorNoContent struct {
}
DeleteNetworkGeneratorNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteNetworkGeneratorNoContent

func NewDeleteNetworkGeneratorNoContent() *DeleteNetworkGeneratorNoContent

NewDeleteNetworkGeneratorNoContent creates a DeleteNetworkGeneratorNoContent with default headers values

func (*DeleteNetworkGeneratorNoContent) Error

type DeleteNetworkGeneratorParams

type DeleteNetworkGeneratorParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

DeleteNetworkGeneratorParams contains all the parameters to send to the API endpoint

for the delete network generator operation.

Typically these are written to a http.Request.

func NewDeleteNetworkGeneratorParams

func NewDeleteNetworkGeneratorParams() *DeleteNetworkGeneratorParams

NewDeleteNetworkGeneratorParams creates a new DeleteNetworkGeneratorParams 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 NewDeleteNetworkGeneratorParamsWithContext

func NewDeleteNetworkGeneratorParamsWithContext(ctx context.Context) *DeleteNetworkGeneratorParams

NewDeleteNetworkGeneratorParamsWithContext creates a new DeleteNetworkGeneratorParams object with the ability to set a context for a request.

func NewDeleteNetworkGeneratorParamsWithHTTPClient

func NewDeleteNetworkGeneratorParamsWithHTTPClient(client *http.Client) *DeleteNetworkGeneratorParams

NewDeleteNetworkGeneratorParamsWithHTTPClient creates a new DeleteNetworkGeneratorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkGeneratorParamsWithTimeout

func NewDeleteNetworkGeneratorParamsWithTimeout(timeout time.Duration) *DeleteNetworkGeneratorParams

NewDeleteNetworkGeneratorParamsWithTimeout creates a new DeleteNetworkGeneratorParams object with the ability to set a timeout on a request.

func (*DeleteNetworkGeneratorParams) SetContext

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

SetContext adds the context to the delete network generator params

func (*DeleteNetworkGeneratorParams) SetDefaults

func (o *DeleteNetworkGeneratorParams) SetDefaults()

SetDefaults hydrates default values in the delete network generator params (not the query body).

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

func (*DeleteNetworkGeneratorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network generator params

func (*DeleteNetworkGeneratorParams) SetID

func (o *DeleteNetworkGeneratorParams) SetID(id string)

SetID adds the id to the delete network generator params

func (*DeleteNetworkGeneratorParams) SetTimeout

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

SetTimeout adds the timeout to the delete network generator params

func (*DeleteNetworkGeneratorParams) WithContext

WithContext adds the context to the delete network generator params

func (*DeleteNetworkGeneratorParams) WithDefaults

WithDefaults hydrates default values in the delete network generator params (not the query body).

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

func (*DeleteNetworkGeneratorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network generator params

func (*DeleteNetworkGeneratorParams) WithID

WithID adds the id to the delete network generator params

func (*DeleteNetworkGeneratorParams) WithTimeout

WithTimeout adds the timeout to the delete network generator params

func (*DeleteNetworkGeneratorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkGeneratorReader

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

DeleteNetworkGeneratorReader is a Reader for the DeleteNetworkGenerator structure.

func (*DeleteNetworkGeneratorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkGeneratorResultNoContent

type DeleteNetworkGeneratorResultNoContent struct {
}
DeleteNetworkGeneratorResultNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteNetworkGeneratorResultNoContent

func NewDeleteNetworkGeneratorResultNoContent() *DeleteNetworkGeneratorResultNoContent

NewDeleteNetworkGeneratorResultNoContent creates a DeleteNetworkGeneratorResultNoContent with default headers values

func (*DeleteNetworkGeneratorResultNoContent) Error

type DeleteNetworkGeneratorResultParams

type DeleteNetworkGeneratorResultParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

DeleteNetworkGeneratorResultParams contains all the parameters to send to the API endpoint

for the delete network generator result operation.

Typically these are written to a http.Request.

func NewDeleteNetworkGeneratorResultParams

func NewDeleteNetworkGeneratorResultParams() *DeleteNetworkGeneratorResultParams

NewDeleteNetworkGeneratorResultParams creates a new DeleteNetworkGeneratorResultParams 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 NewDeleteNetworkGeneratorResultParamsWithContext

func NewDeleteNetworkGeneratorResultParamsWithContext(ctx context.Context) *DeleteNetworkGeneratorResultParams

NewDeleteNetworkGeneratorResultParamsWithContext creates a new DeleteNetworkGeneratorResultParams object with the ability to set a context for a request.

func NewDeleteNetworkGeneratorResultParamsWithHTTPClient

func NewDeleteNetworkGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteNetworkGeneratorResultParams

NewDeleteNetworkGeneratorResultParamsWithHTTPClient creates a new DeleteNetworkGeneratorResultParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkGeneratorResultParamsWithTimeout

func NewDeleteNetworkGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteNetworkGeneratorResultParams

NewDeleteNetworkGeneratorResultParamsWithTimeout creates a new DeleteNetworkGeneratorResultParams object with the ability to set a timeout on a request.

func (*DeleteNetworkGeneratorResultParams) SetContext

SetContext adds the context to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) SetDefaults

func (o *DeleteNetworkGeneratorResultParams) SetDefaults()

SetDefaults hydrates default values in the delete network generator result params (not the query body).

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

func (*DeleteNetworkGeneratorResultParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) SetID

SetID adds the id to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) SetTimeout

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

SetTimeout adds the timeout to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) WithContext

WithContext adds the context to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) WithDefaults

WithDefaults hydrates default values in the delete network generator result params (not the query body).

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

func (*DeleteNetworkGeneratorResultParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) WithID

WithID adds the id to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) WithTimeout

WithTimeout adds the timeout to the delete network generator result params

func (*DeleteNetworkGeneratorResultParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkGeneratorResultReader

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

DeleteNetworkGeneratorResultReader is a Reader for the DeleteNetworkGeneratorResult structure.

func (*DeleteNetworkGeneratorResultReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkServerNoContent

type DeleteNetworkServerNoContent struct {
}
DeleteNetworkServerNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteNetworkServerNoContent

func NewDeleteNetworkServerNoContent() *DeleteNetworkServerNoContent

NewDeleteNetworkServerNoContent creates a DeleteNetworkServerNoContent with default headers values

func (*DeleteNetworkServerNoContent) Error

type DeleteNetworkServerParams

type DeleteNetworkServerParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

DeleteNetworkServerParams contains all the parameters to send to the API endpoint

for the delete network server operation.

Typically these are written to a http.Request.

func NewDeleteNetworkServerParams

func NewDeleteNetworkServerParams() *DeleteNetworkServerParams

NewDeleteNetworkServerParams creates a new DeleteNetworkServerParams 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 NewDeleteNetworkServerParamsWithContext

func NewDeleteNetworkServerParamsWithContext(ctx context.Context) *DeleteNetworkServerParams

NewDeleteNetworkServerParamsWithContext creates a new DeleteNetworkServerParams object with the ability to set a context for a request.

func NewDeleteNetworkServerParamsWithHTTPClient

func NewDeleteNetworkServerParamsWithHTTPClient(client *http.Client) *DeleteNetworkServerParams

NewDeleteNetworkServerParamsWithHTTPClient creates a new DeleteNetworkServerParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkServerParamsWithTimeout

func NewDeleteNetworkServerParamsWithTimeout(timeout time.Duration) *DeleteNetworkServerParams

NewDeleteNetworkServerParamsWithTimeout creates a new DeleteNetworkServerParams object with the ability to set a timeout on a request.

func (*DeleteNetworkServerParams) SetContext

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

SetContext adds the context to the delete network server params

func (*DeleteNetworkServerParams) SetDefaults

func (o *DeleteNetworkServerParams) SetDefaults()

SetDefaults hydrates default values in the delete network server params (not the query body).

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

func (*DeleteNetworkServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network server params

func (*DeleteNetworkServerParams) SetID

func (o *DeleteNetworkServerParams) SetID(id string)

SetID adds the id to the delete network server params

func (*DeleteNetworkServerParams) SetTimeout

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

SetTimeout adds the timeout to the delete network server params

func (*DeleteNetworkServerParams) WithContext

WithContext adds the context to the delete network server params

func (*DeleteNetworkServerParams) WithDefaults

WithDefaults hydrates default values in the delete network server params (not the query body).

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

func (*DeleteNetworkServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete network server params

func (*DeleteNetworkServerParams) WithID

WithID adds the id to the delete network server params

func (*DeleteNetworkServerParams) WithTimeout

WithTimeout adds the timeout to the delete network server params

func (*DeleteNetworkServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkServerReader

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

DeleteNetworkServerReader is a Reader for the DeleteNetworkServer structure.

func (*DeleteNetworkServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkGeneratorOK

type GetNetworkGeneratorOK struct {
	Payload *models.NetworkGenerator
}
GetNetworkGeneratorOK describes a response with status code 200, with default header values.

Success

func NewGetNetworkGeneratorOK

func NewGetNetworkGeneratorOK() *GetNetworkGeneratorOK

NewGetNetworkGeneratorOK creates a GetNetworkGeneratorOK with default headers values

func (*GetNetworkGeneratorOK) Error

func (o *GetNetworkGeneratorOK) Error() string

func (*GetNetworkGeneratorOK) GetPayload

type GetNetworkGeneratorParams

type GetNetworkGeneratorParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetNetworkGeneratorParams contains all the parameters to send to the API endpoint

for the get network generator operation.

Typically these are written to a http.Request.

func NewGetNetworkGeneratorParams

func NewGetNetworkGeneratorParams() *GetNetworkGeneratorParams

NewGetNetworkGeneratorParams creates a new GetNetworkGeneratorParams 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 NewGetNetworkGeneratorParamsWithContext

func NewGetNetworkGeneratorParamsWithContext(ctx context.Context) *GetNetworkGeneratorParams

NewGetNetworkGeneratorParamsWithContext creates a new GetNetworkGeneratorParams object with the ability to set a context for a request.

func NewGetNetworkGeneratorParamsWithHTTPClient

func NewGetNetworkGeneratorParamsWithHTTPClient(client *http.Client) *GetNetworkGeneratorParams

NewGetNetworkGeneratorParamsWithHTTPClient creates a new GetNetworkGeneratorParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkGeneratorParamsWithTimeout

func NewGetNetworkGeneratorParamsWithTimeout(timeout time.Duration) *GetNetworkGeneratorParams

NewGetNetworkGeneratorParamsWithTimeout creates a new GetNetworkGeneratorParams object with the ability to set a timeout on a request.

func (*GetNetworkGeneratorParams) SetContext

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

SetContext adds the context to the get network generator params

func (*GetNetworkGeneratorParams) SetDefaults

func (o *GetNetworkGeneratorParams) SetDefaults()

SetDefaults hydrates default values in the get network generator params (not the query body).

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

func (*GetNetworkGeneratorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network generator params

func (*GetNetworkGeneratorParams) SetID

func (o *GetNetworkGeneratorParams) SetID(id string)

SetID adds the id to the get network generator params

func (*GetNetworkGeneratorParams) SetTimeout

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

SetTimeout adds the timeout to the get network generator params

func (*GetNetworkGeneratorParams) WithContext

WithContext adds the context to the get network generator params

func (*GetNetworkGeneratorParams) WithDefaults

WithDefaults hydrates default values in the get network generator params (not the query body).

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

func (*GetNetworkGeneratorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network generator params

func (*GetNetworkGeneratorParams) WithID

WithID adds the id to the get network generator params

func (*GetNetworkGeneratorParams) WithTimeout

WithTimeout adds the timeout to the get network generator params

func (*GetNetworkGeneratorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkGeneratorReader

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

GetNetworkGeneratorReader is a Reader for the GetNetworkGenerator structure.

func (*GetNetworkGeneratorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkGeneratorResultOK

type GetNetworkGeneratorResultOK struct {
	Payload *models.NetworkGeneratorResult
}
GetNetworkGeneratorResultOK describes a response with status code 200, with default header values.

Success

func NewGetNetworkGeneratorResultOK

func NewGetNetworkGeneratorResultOK() *GetNetworkGeneratorResultOK

NewGetNetworkGeneratorResultOK creates a GetNetworkGeneratorResultOK with default headers values

func (*GetNetworkGeneratorResultOK) Error

func (*GetNetworkGeneratorResultOK) GetPayload

type GetNetworkGeneratorResultParams

type GetNetworkGeneratorResultParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetNetworkGeneratorResultParams contains all the parameters to send to the API endpoint

for the get network generator result operation.

Typically these are written to a http.Request.

func NewGetNetworkGeneratorResultParams

func NewGetNetworkGeneratorResultParams() *GetNetworkGeneratorResultParams

NewGetNetworkGeneratorResultParams creates a new GetNetworkGeneratorResultParams 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 NewGetNetworkGeneratorResultParamsWithContext

func NewGetNetworkGeneratorResultParamsWithContext(ctx context.Context) *GetNetworkGeneratorResultParams

NewGetNetworkGeneratorResultParamsWithContext creates a new GetNetworkGeneratorResultParams object with the ability to set a context for a request.

func NewGetNetworkGeneratorResultParamsWithHTTPClient

func NewGetNetworkGeneratorResultParamsWithHTTPClient(client *http.Client) *GetNetworkGeneratorResultParams

NewGetNetworkGeneratorResultParamsWithHTTPClient creates a new GetNetworkGeneratorResultParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkGeneratorResultParamsWithTimeout

func NewGetNetworkGeneratorResultParamsWithTimeout(timeout time.Duration) *GetNetworkGeneratorResultParams

NewGetNetworkGeneratorResultParamsWithTimeout creates a new GetNetworkGeneratorResultParams object with the ability to set a timeout on a request.

func (*GetNetworkGeneratorResultParams) SetContext

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

SetContext adds the context to the get network generator result params

func (*GetNetworkGeneratorResultParams) SetDefaults

func (o *GetNetworkGeneratorResultParams) SetDefaults()

SetDefaults hydrates default values in the get network generator result params (not the query body).

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

func (*GetNetworkGeneratorResultParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network generator result params

func (*GetNetworkGeneratorResultParams) SetID

SetID adds the id to the get network generator result params

func (*GetNetworkGeneratorResultParams) SetTimeout

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

SetTimeout adds the timeout to the get network generator result params

func (*GetNetworkGeneratorResultParams) WithContext

WithContext adds the context to the get network generator result params

func (*GetNetworkGeneratorResultParams) WithDefaults

WithDefaults hydrates default values in the get network generator result params (not the query body).

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

func (*GetNetworkGeneratorResultParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network generator result params

func (*GetNetworkGeneratorResultParams) WithID

WithID adds the id to the get network generator result params

func (*GetNetworkGeneratorResultParams) WithTimeout

WithTimeout adds the timeout to the get network generator result params

func (*GetNetworkGeneratorResultParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkGeneratorResultReader

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

GetNetworkGeneratorResultReader is a Reader for the GetNetworkGeneratorResult structure.

func (*GetNetworkGeneratorResultReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkServerOK

type GetNetworkServerOK struct {
	Payload *models.NetworkServer
}
GetNetworkServerOK describes a response with status code 200, with default header values.

Success

func NewGetNetworkServerOK

func NewGetNetworkServerOK() *GetNetworkServerOK

NewGetNetworkServerOK creates a GetNetworkServerOK with default headers values

func (*GetNetworkServerOK) Error

func (o *GetNetworkServerOK) Error() string

func (*GetNetworkServerOK) GetPayload

func (o *GetNetworkServerOK) GetPayload() *models.NetworkServer

type GetNetworkServerParams

type GetNetworkServerParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetNetworkServerParams contains all the parameters to send to the API endpoint

for the get network server operation.

Typically these are written to a http.Request.

func NewGetNetworkServerParams

func NewGetNetworkServerParams() *GetNetworkServerParams

NewGetNetworkServerParams creates a new GetNetworkServerParams 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 NewGetNetworkServerParamsWithContext

func NewGetNetworkServerParamsWithContext(ctx context.Context) *GetNetworkServerParams

NewGetNetworkServerParamsWithContext creates a new GetNetworkServerParams object with the ability to set a context for a request.

func NewGetNetworkServerParamsWithHTTPClient

func NewGetNetworkServerParamsWithHTTPClient(client *http.Client) *GetNetworkServerParams

NewGetNetworkServerParamsWithHTTPClient creates a new GetNetworkServerParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkServerParamsWithTimeout

func NewGetNetworkServerParamsWithTimeout(timeout time.Duration) *GetNetworkServerParams

NewGetNetworkServerParamsWithTimeout creates a new GetNetworkServerParams object with the ability to set a timeout on a request.

func (*GetNetworkServerParams) SetContext

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

SetContext adds the context to the get network server params

func (*GetNetworkServerParams) SetDefaults

func (o *GetNetworkServerParams) SetDefaults()

SetDefaults hydrates default values in the get network server params (not the query body).

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

func (*GetNetworkServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network server params

func (*GetNetworkServerParams) SetID

func (o *GetNetworkServerParams) SetID(id string)

SetID adds the id to the get network server params

func (*GetNetworkServerParams) SetTimeout

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

SetTimeout adds the timeout to the get network server params

func (*GetNetworkServerParams) WithContext

WithContext adds the context to the get network server params

func (*GetNetworkServerParams) WithDefaults

WithDefaults hydrates default values in the get network server params (not the query body).

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

func (*GetNetworkServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network server params

func (*GetNetworkServerParams) WithID

WithID adds the id to the get network server params

func (*GetNetworkServerParams) WithTimeout

WithTimeout adds the timeout to the get network server params

func (*GetNetworkServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkServerReader

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

GetNetworkServerReader is a Reader for the GetNetworkServer structure.

func (*GetNetworkServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNetworkGeneratorResultsOK

type ListNetworkGeneratorResultsOK struct {
	Payload []*models.NetworkGeneratorResult
}
ListNetworkGeneratorResultsOK describes a response with status code 200, with default header values.

Success

func NewListNetworkGeneratorResultsOK

func NewListNetworkGeneratorResultsOK() *ListNetworkGeneratorResultsOK

NewListNetworkGeneratorResultsOK creates a ListNetworkGeneratorResultsOK with default headers values

func (*ListNetworkGeneratorResultsOK) Error

func (*ListNetworkGeneratorResultsOK) GetPayload

type ListNetworkGeneratorResultsParams

type ListNetworkGeneratorResultsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNetworkGeneratorResultsParams contains all the parameters to send to the API endpoint

for the list network generator results operation.

Typically these are written to a http.Request.

func NewListNetworkGeneratorResultsParams

func NewListNetworkGeneratorResultsParams() *ListNetworkGeneratorResultsParams

NewListNetworkGeneratorResultsParams creates a new ListNetworkGeneratorResultsParams 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 NewListNetworkGeneratorResultsParamsWithContext

func NewListNetworkGeneratorResultsParamsWithContext(ctx context.Context) *ListNetworkGeneratorResultsParams

NewListNetworkGeneratorResultsParamsWithContext creates a new ListNetworkGeneratorResultsParams object with the ability to set a context for a request.

func NewListNetworkGeneratorResultsParamsWithHTTPClient

func NewListNetworkGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListNetworkGeneratorResultsParams

NewListNetworkGeneratorResultsParamsWithHTTPClient creates a new ListNetworkGeneratorResultsParams object with the ability to set a custom HTTPClient for a request.

func NewListNetworkGeneratorResultsParamsWithTimeout

func NewListNetworkGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListNetworkGeneratorResultsParams

NewListNetworkGeneratorResultsParamsWithTimeout creates a new ListNetworkGeneratorResultsParams object with the ability to set a timeout on a request.

func (*ListNetworkGeneratorResultsParams) SetContext

SetContext adds the context to the list network generator results params

func (*ListNetworkGeneratorResultsParams) SetDefaults

func (o *ListNetworkGeneratorResultsParams) SetDefaults()

SetDefaults hydrates default values in the list network generator results params (not the query body).

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

func (*ListNetworkGeneratorResultsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list network generator results params

func (*ListNetworkGeneratorResultsParams) SetTimeout

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

SetTimeout adds the timeout to the list network generator results params

func (*ListNetworkGeneratorResultsParams) WithContext

WithContext adds the context to the list network generator results params

func (*ListNetworkGeneratorResultsParams) WithDefaults

WithDefaults hydrates default values in the list network generator results params (not the query body).

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

func (*ListNetworkGeneratorResultsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list network generator results params

func (*ListNetworkGeneratorResultsParams) WithTimeout

WithTimeout adds the timeout to the list network generator results params

func (*ListNetworkGeneratorResultsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNetworkGeneratorResultsReader

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

ListNetworkGeneratorResultsReader is a Reader for the ListNetworkGeneratorResults structure.

func (*ListNetworkGeneratorResultsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNetworkGeneratorsOK

type ListNetworkGeneratorsOK struct {
	Payload []*models.NetworkGenerator
}
ListNetworkGeneratorsOK describes a response with status code 200, with default header values.

Success

func NewListNetworkGeneratorsOK

func NewListNetworkGeneratorsOK() *ListNetworkGeneratorsOK

NewListNetworkGeneratorsOK creates a ListNetworkGeneratorsOK with default headers values

func (*ListNetworkGeneratorsOK) Error

func (o *ListNetworkGeneratorsOK) Error() string

func (*ListNetworkGeneratorsOK) GetPayload

func (o *ListNetworkGeneratorsOK) GetPayload() []*models.NetworkGenerator

type ListNetworkGeneratorsParams

type ListNetworkGeneratorsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the list network generators operation.

Typically these are written to a http.Request.

func NewListNetworkGeneratorsParams

func NewListNetworkGeneratorsParams() *ListNetworkGeneratorsParams

NewListNetworkGeneratorsParams creates a new ListNetworkGeneratorsParams 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 NewListNetworkGeneratorsParamsWithContext

func NewListNetworkGeneratorsParamsWithContext(ctx context.Context) *ListNetworkGeneratorsParams

NewListNetworkGeneratorsParamsWithContext creates a new ListNetworkGeneratorsParams object with the ability to set a context for a request.

func NewListNetworkGeneratorsParamsWithHTTPClient

func NewListNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *ListNetworkGeneratorsParams

NewListNetworkGeneratorsParamsWithHTTPClient creates a new ListNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewListNetworkGeneratorsParamsWithTimeout

func NewListNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *ListNetworkGeneratorsParams

NewListNetworkGeneratorsParamsWithTimeout creates a new ListNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*ListNetworkGeneratorsParams) SetContext

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

SetContext adds the context to the list network generators params

func (*ListNetworkGeneratorsParams) SetDefaults

func (o *ListNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the list network generators params (not the query body).

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

func (*ListNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list network generators params

func (*ListNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the list network generators params

func (*ListNetworkGeneratorsParams) WithContext

WithContext adds the context to the list network generators params

func (*ListNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the list network generators params (not the query body).

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

func (*ListNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list network generators params

func (*ListNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the list network generators params

func (*ListNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNetworkGeneratorsReader

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

ListNetworkGeneratorsReader is a Reader for the ListNetworkGenerators structure.

func (*ListNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNetworkServersOK

type ListNetworkServersOK struct {
	Payload []*models.NetworkServer
}
ListNetworkServersOK describes a response with status code 200, with default header values.

Success

func NewListNetworkServersOK

func NewListNetworkServersOK() *ListNetworkServersOK

NewListNetworkServersOK creates a ListNetworkServersOK with default headers values

func (*ListNetworkServersOK) Error

func (o *ListNetworkServersOK) Error() string

func (*ListNetworkServersOK) GetPayload

func (o *ListNetworkServersOK) GetPayload() []*models.NetworkServer

type ListNetworkServersParams

type ListNetworkServersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNetworkServersParams contains all the parameters to send to the API endpoint

for the list network servers operation.

Typically these are written to a http.Request.

func NewListNetworkServersParams

func NewListNetworkServersParams() *ListNetworkServersParams

NewListNetworkServersParams creates a new ListNetworkServersParams 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 NewListNetworkServersParamsWithContext

func NewListNetworkServersParamsWithContext(ctx context.Context) *ListNetworkServersParams

NewListNetworkServersParamsWithContext creates a new ListNetworkServersParams object with the ability to set a context for a request.

func NewListNetworkServersParamsWithHTTPClient

func NewListNetworkServersParamsWithHTTPClient(client *http.Client) *ListNetworkServersParams

NewListNetworkServersParamsWithHTTPClient creates a new ListNetworkServersParams object with the ability to set a custom HTTPClient for a request.

func NewListNetworkServersParamsWithTimeout

func NewListNetworkServersParamsWithTimeout(timeout time.Duration) *ListNetworkServersParams

NewListNetworkServersParamsWithTimeout creates a new ListNetworkServersParams object with the ability to set a timeout on a request.

func (*ListNetworkServersParams) SetContext

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

SetContext adds the context to the list network servers params

func (*ListNetworkServersParams) SetDefaults

func (o *ListNetworkServersParams) SetDefaults()

SetDefaults hydrates default values in the list network servers params (not the query body).

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

func (*ListNetworkServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list network servers params

func (*ListNetworkServersParams) SetTimeout

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

SetTimeout adds the timeout to the list network servers params

func (*ListNetworkServersParams) WithContext

WithContext adds the context to the list network servers params

func (*ListNetworkServersParams) WithDefaults

WithDefaults hydrates default values in the list network servers params (not the query body).

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

func (*ListNetworkServersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list network servers params

func (*ListNetworkServersParams) WithTimeout

WithTimeout adds the timeout to the list network servers params

func (*ListNetworkServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNetworkServersReader

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

ListNetworkServersReader is a Reader for the ListNetworkServers structure.

func (*ListNetworkServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartNetworkGeneratorCreated

type StartNetworkGeneratorCreated struct {

	/* URI of created network generator result
	 */
	Location string

	Payload *models.NetworkGeneratorResult
}
StartNetworkGeneratorCreated describes a response with status code 201, with default header values.

Created

func NewStartNetworkGeneratorCreated

func NewStartNetworkGeneratorCreated() *StartNetworkGeneratorCreated

NewStartNetworkGeneratorCreated creates a StartNetworkGeneratorCreated with default headers values

func (*StartNetworkGeneratorCreated) Error

func (*StartNetworkGeneratorCreated) GetPayload

type StartNetworkGeneratorParams

type StartNetworkGeneratorParams struct {

	/* DynamicResults.

	   Dynamic results configuration
	*/
	DynamicResults *models.DynamicResultsConfig

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

StartNetworkGeneratorParams contains all the parameters to send to the API endpoint

for the start network generator operation.

Typically these are written to a http.Request.

func NewStartNetworkGeneratorParams

func NewStartNetworkGeneratorParams() *StartNetworkGeneratorParams

NewStartNetworkGeneratorParams creates a new StartNetworkGeneratorParams 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 NewStartNetworkGeneratorParamsWithContext

func NewStartNetworkGeneratorParamsWithContext(ctx context.Context) *StartNetworkGeneratorParams

NewStartNetworkGeneratorParamsWithContext creates a new StartNetworkGeneratorParams object with the ability to set a context for a request.

func NewStartNetworkGeneratorParamsWithHTTPClient

func NewStartNetworkGeneratorParamsWithHTTPClient(client *http.Client) *StartNetworkGeneratorParams

NewStartNetworkGeneratorParamsWithHTTPClient creates a new StartNetworkGeneratorParams object with the ability to set a custom HTTPClient for a request.

func NewStartNetworkGeneratorParamsWithTimeout

func NewStartNetworkGeneratorParamsWithTimeout(timeout time.Duration) *StartNetworkGeneratorParams

NewStartNetworkGeneratorParamsWithTimeout creates a new StartNetworkGeneratorParams object with the ability to set a timeout on a request.

func (*StartNetworkGeneratorParams) SetContext

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

SetContext adds the context to the start network generator params

func (*StartNetworkGeneratorParams) SetDefaults

func (o *StartNetworkGeneratorParams) SetDefaults()

SetDefaults hydrates default values in the start network generator params (not the query body).

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

func (*StartNetworkGeneratorParams) SetDynamicResults

func (o *StartNetworkGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)

SetDynamicResults adds the dynamicResults to the start network generator params

func (*StartNetworkGeneratorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start network generator params

func (*StartNetworkGeneratorParams) SetID

func (o *StartNetworkGeneratorParams) SetID(id string)

SetID adds the id to the start network generator params

func (*StartNetworkGeneratorParams) SetTimeout

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

SetTimeout adds the timeout to the start network generator params

func (*StartNetworkGeneratorParams) WithContext

WithContext adds the context to the start network generator params

func (*StartNetworkGeneratorParams) WithDefaults

WithDefaults hydrates default values in the start network generator params (not the query body).

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

func (*StartNetworkGeneratorParams) WithDynamicResults

WithDynamicResults adds the dynamicResults to the start network generator params

func (*StartNetworkGeneratorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start network generator params

func (*StartNetworkGeneratorParams) WithID

WithID adds the id to the start network generator params

func (*StartNetworkGeneratorParams) WithTimeout

WithTimeout adds the timeout to the start network generator params

func (*StartNetworkGeneratorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartNetworkGeneratorReader

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

StartNetworkGeneratorReader is a Reader for the StartNetworkGenerator structure.

func (*StartNetworkGeneratorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopNetworkGeneratorNoContent

type StopNetworkGeneratorNoContent struct {
}
StopNetworkGeneratorNoContent describes a response with status code 204, with default header values.

No Content

func NewStopNetworkGeneratorNoContent

func NewStopNetworkGeneratorNoContent() *StopNetworkGeneratorNoContent

NewStopNetworkGeneratorNoContent creates a StopNetworkGeneratorNoContent with default headers values

func (*StopNetworkGeneratorNoContent) Error

type StopNetworkGeneratorParams

type StopNetworkGeneratorParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

StopNetworkGeneratorParams contains all the parameters to send to the API endpoint

for the stop network generator operation.

Typically these are written to a http.Request.

func NewStopNetworkGeneratorParams

func NewStopNetworkGeneratorParams() *StopNetworkGeneratorParams

NewStopNetworkGeneratorParams creates a new StopNetworkGeneratorParams 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 NewStopNetworkGeneratorParamsWithContext

func NewStopNetworkGeneratorParamsWithContext(ctx context.Context) *StopNetworkGeneratorParams

NewStopNetworkGeneratorParamsWithContext creates a new StopNetworkGeneratorParams object with the ability to set a context for a request.

func NewStopNetworkGeneratorParamsWithHTTPClient

func NewStopNetworkGeneratorParamsWithHTTPClient(client *http.Client) *StopNetworkGeneratorParams

NewStopNetworkGeneratorParamsWithHTTPClient creates a new StopNetworkGeneratorParams object with the ability to set a custom HTTPClient for a request.

func NewStopNetworkGeneratorParamsWithTimeout

func NewStopNetworkGeneratorParamsWithTimeout(timeout time.Duration) *StopNetworkGeneratorParams

NewStopNetworkGeneratorParamsWithTimeout creates a new StopNetworkGeneratorParams object with the ability to set a timeout on a request.

func (*StopNetworkGeneratorParams) SetContext

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

SetContext adds the context to the stop network generator params

func (*StopNetworkGeneratorParams) SetDefaults

func (o *StopNetworkGeneratorParams) SetDefaults()

SetDefaults hydrates default values in the stop network generator params (not the query body).

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

func (*StopNetworkGeneratorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop network generator params

func (*StopNetworkGeneratorParams) SetID

func (o *StopNetworkGeneratorParams) SetID(id string)

SetID adds the id to the stop network generator params

func (*StopNetworkGeneratorParams) SetTimeout

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

SetTimeout adds the timeout to the stop network generator params

func (*StopNetworkGeneratorParams) WithContext

WithContext adds the context to the stop network generator params

func (*StopNetworkGeneratorParams) WithDefaults

WithDefaults hydrates default values in the stop network generator params (not the query body).

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

func (*StopNetworkGeneratorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop network generator params

func (*StopNetworkGeneratorParams) WithID

WithID adds the id to the stop network generator params

func (*StopNetworkGeneratorParams) WithTimeout

WithTimeout adds the timeout to the stop network generator params

func (*StopNetworkGeneratorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopNetworkGeneratorReader

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

StopNetworkGeneratorReader is a Reader for the StopNetworkGenerator structure.

func (*StopNetworkGeneratorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ToggleNetworkGeneratorsCreated

type ToggleNetworkGeneratorsCreated struct {

	/* URI to created network generator result object
	 */
	Location string

	Payload *models.NetworkGeneratorResult
}
ToggleNetworkGeneratorsCreated describes a response with status code 201, with default header values.

Created

func NewToggleNetworkGeneratorsCreated

func NewToggleNetworkGeneratorsCreated() *ToggleNetworkGeneratorsCreated

NewToggleNetworkGeneratorsCreated creates a ToggleNetworkGeneratorsCreated with default headers values

func (*ToggleNetworkGeneratorsCreated) Error

func (*ToggleNetworkGeneratorsCreated) GetPayload

type ToggleNetworkGeneratorsParams

type ToggleNetworkGeneratorsParams struct {

	/* Toggle.

	   Network generator toggle
	*/
	Toggle *models.ToggleNetworkGeneratorsRequest

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

ToggleNetworkGeneratorsParams contains all the parameters to send to the API endpoint

for the toggle network generators operation.

Typically these are written to a http.Request.

func NewToggleNetworkGeneratorsParams

func NewToggleNetworkGeneratorsParams() *ToggleNetworkGeneratorsParams

NewToggleNetworkGeneratorsParams creates a new ToggleNetworkGeneratorsParams 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 NewToggleNetworkGeneratorsParamsWithContext

func NewToggleNetworkGeneratorsParamsWithContext(ctx context.Context) *ToggleNetworkGeneratorsParams

NewToggleNetworkGeneratorsParamsWithContext creates a new ToggleNetworkGeneratorsParams object with the ability to set a context for a request.

func NewToggleNetworkGeneratorsParamsWithHTTPClient

func NewToggleNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *ToggleNetworkGeneratorsParams

NewToggleNetworkGeneratorsParamsWithHTTPClient creates a new ToggleNetworkGeneratorsParams object with the ability to set a custom HTTPClient for a request.

func NewToggleNetworkGeneratorsParamsWithTimeout

func NewToggleNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *ToggleNetworkGeneratorsParams

NewToggleNetworkGeneratorsParamsWithTimeout creates a new ToggleNetworkGeneratorsParams object with the ability to set a timeout on a request.

func (*ToggleNetworkGeneratorsParams) SetContext

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

SetContext adds the context to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) SetDefaults

func (o *ToggleNetworkGeneratorsParams) SetDefaults()

SetDefaults hydrates default values in the toggle network generators params (not the query body).

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

func (*ToggleNetworkGeneratorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) SetTimeout

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

SetTimeout adds the timeout to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) SetToggle

SetToggle adds the toggle to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) WithContext

WithContext adds the context to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) WithDefaults

WithDefaults hydrates default values in the toggle network generators params (not the query body).

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

func (*ToggleNetworkGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) WithToggle

WithToggle adds the toggle to the toggle network generators params

func (*ToggleNetworkGeneratorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ToggleNetworkGeneratorsReader

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

ToggleNetworkGeneratorsReader is a Reader for the ToggleNetworkGenerators structure.

func (*ToggleNetworkGeneratorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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