Documentation ¶
Index ¶
- type BulkCreateNetworkGeneratorsBody
- func (o *BulkCreateNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreateNetworkGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreateNetworkGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreateNetworkGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkCreateNetworkGeneratorsOK
- type BulkCreateNetworkGeneratorsParams
- func NewBulkCreateNetworkGeneratorsParams() *BulkCreateNetworkGeneratorsParams
- func NewBulkCreateNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkCreateNetworkGeneratorsParams
- func NewBulkCreateNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateNetworkGeneratorsParams
- func NewBulkCreateNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkCreateNetworkGeneratorsParams) SetCreate(create BulkCreateNetworkGeneratorsBody)
- func (o *BulkCreateNetworkGeneratorsParams) SetDefaults()
- func (o *BulkCreateNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreateNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreateNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) WithCreate(create BulkCreateNetworkGeneratorsBody) *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) WithDefaults() *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateNetworkGeneratorsParams
- func (o *BulkCreateNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreateNetworkGeneratorsReader
- type BulkCreateNetworkServersBody
- func (o *BulkCreateNetworkServersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreateNetworkServersBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreateNetworkServersBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreateNetworkServersBody) Validate(formats strfmt.Registry) error
- type BulkCreateNetworkServersOK
- type BulkCreateNetworkServersParams
- func NewBulkCreateNetworkServersParams() *BulkCreateNetworkServersParams
- func NewBulkCreateNetworkServersParamsWithContext(ctx context.Context) *BulkCreateNetworkServersParams
- func NewBulkCreateNetworkServersParamsWithHTTPClient(client *http.Client) *BulkCreateNetworkServersParams
- func NewBulkCreateNetworkServersParamsWithTimeout(timeout time.Duration) *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) SetContext(ctx context.Context)
- func (o *BulkCreateNetworkServersParams) SetCreate(create BulkCreateNetworkServersBody)
- func (o *BulkCreateNetworkServersParams) SetDefaults()
- func (o *BulkCreateNetworkServersParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreateNetworkServersParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreateNetworkServersParams) WithContext(ctx context.Context) *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) WithCreate(create BulkCreateNetworkServersBody) *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) WithDefaults() *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) WithHTTPClient(client *http.Client) *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) WithTimeout(timeout time.Duration) *BulkCreateNetworkServersParams
- func (o *BulkCreateNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreateNetworkServersReader
- type BulkDeleteNetworkGeneratorsBody
- func (o *BulkDeleteNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkDeleteNetworkGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkDeleteNetworkGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkDeleteNetworkGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkDeleteNetworkGeneratorsNoContent
- type BulkDeleteNetworkGeneratorsParams
- func NewBulkDeleteNetworkGeneratorsParams() *BulkDeleteNetworkGeneratorsParams
- func NewBulkDeleteNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteNetworkGeneratorsParams
- func NewBulkDeleteNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteNetworkGeneratorsParams
- func NewBulkDeleteNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkDeleteNetworkGeneratorsParams) SetDefaults()
- func (o *BulkDeleteNetworkGeneratorsParams) SetDelete(delete BulkDeleteNetworkGeneratorsBody)
- func (o *BulkDeleteNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkDeleteNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkDeleteNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) WithDefaults() *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) WithDelete(delete BulkDeleteNetworkGeneratorsBody) *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteNetworkGeneratorsParams
- func (o *BulkDeleteNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDeleteNetworkGeneratorsReader
- type BulkDeleteNetworkServersBody
- func (o *BulkDeleteNetworkServersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkDeleteNetworkServersBody) MarshalBinary() ([]byte, error)
- func (o *BulkDeleteNetworkServersBody) UnmarshalBinary(b []byte) error
- func (o *BulkDeleteNetworkServersBody) Validate(formats strfmt.Registry) error
- type BulkDeleteNetworkServersNoContent
- type BulkDeleteNetworkServersParams
- func NewBulkDeleteNetworkServersParams() *BulkDeleteNetworkServersParams
- func NewBulkDeleteNetworkServersParamsWithContext(ctx context.Context) *BulkDeleteNetworkServersParams
- func NewBulkDeleteNetworkServersParamsWithHTTPClient(client *http.Client) *BulkDeleteNetworkServersParams
- func NewBulkDeleteNetworkServersParamsWithTimeout(timeout time.Duration) *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) SetContext(ctx context.Context)
- func (o *BulkDeleteNetworkServersParams) SetDefaults()
- func (o *BulkDeleteNetworkServersParams) SetDelete(delete BulkDeleteNetworkServersBody)
- func (o *BulkDeleteNetworkServersParams) SetHTTPClient(client *http.Client)
- func (o *BulkDeleteNetworkServersParams) SetTimeout(timeout time.Duration)
- func (o *BulkDeleteNetworkServersParams) WithContext(ctx context.Context) *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) WithDefaults() *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) WithDelete(delete BulkDeleteNetworkServersBody) *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) WithHTTPClient(client *http.Client) *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) WithTimeout(timeout time.Duration) *BulkDeleteNetworkServersParams
- func (o *BulkDeleteNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDeleteNetworkServersReader
- type BulkStartNetworkGeneratorsOK
- type BulkStartNetworkGeneratorsParams
- func NewBulkStartNetworkGeneratorsParams() *BulkStartNetworkGeneratorsParams
- func NewBulkStartNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkStartNetworkGeneratorsParams
- func NewBulkStartNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartNetworkGeneratorsParams
- func NewBulkStartNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartNetworkGeneratorsRequest)
- func (o *BulkStartNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStartNetworkGeneratorsParams) SetDefaults()
- func (o *BulkStartNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStartNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStartNetworkGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartNetworkGeneratorsRequest) *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) WithDefaults() *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartNetworkGeneratorsParams
- func (o *BulkStartNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStartNetworkGeneratorsReader
- type BulkStopNetworkGeneratorsBody
- func (o *BulkStopNetworkGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStopNetworkGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkStopNetworkGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkStopNetworkGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkStopNetworkGeneratorsNoContent
- type BulkStopNetworkGeneratorsParams
- func NewBulkStopNetworkGeneratorsParams() *BulkStopNetworkGeneratorsParams
- func NewBulkStopNetworkGeneratorsParamsWithContext(ctx context.Context) *BulkStopNetworkGeneratorsParams
- func NewBulkStopNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopNetworkGeneratorsParams
- func NewBulkStopNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) SetBulkStop(bulkStop BulkStopNetworkGeneratorsBody)
- func (o *BulkStopNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStopNetworkGeneratorsParams) SetDefaults()
- func (o *BulkStopNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStopNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStopNetworkGeneratorsParams) WithBulkStop(bulkStop BulkStopNetworkGeneratorsBody) *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) WithDefaults() *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopNetworkGeneratorsParams
- func (o *BulkStopNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStopNetworkGeneratorsReader
- type Client
- func (a *Client) BulkCreateNetworkGenerators(params *BulkCreateNetworkGeneratorsParams, opts ...ClientOption) (*BulkCreateNetworkGeneratorsOK, error)
- func (a *Client) BulkCreateNetworkServers(params *BulkCreateNetworkServersParams, opts ...ClientOption) (*BulkCreateNetworkServersOK, error)
- func (a *Client) BulkDeleteNetworkGenerators(params *BulkDeleteNetworkGeneratorsParams, opts ...ClientOption) (*BulkDeleteNetworkGeneratorsNoContent, error)
- func (a *Client) BulkDeleteNetworkServers(params *BulkDeleteNetworkServersParams, opts ...ClientOption) (*BulkDeleteNetworkServersNoContent, error)
- func (a *Client) BulkStartNetworkGenerators(params *BulkStartNetworkGeneratorsParams, opts ...ClientOption) (*BulkStartNetworkGeneratorsOK, error)
- func (a *Client) BulkStopNetworkGenerators(params *BulkStopNetworkGeneratorsParams, opts ...ClientOption) (*BulkStopNetworkGeneratorsNoContent, error)
- func (a *Client) CreateNetworkGenerator(params *CreateNetworkGeneratorParams, opts ...ClientOption) (*CreateNetworkGeneratorCreated, error)
- func (a *Client) CreateNetworkServer(params *CreateNetworkServerParams, opts ...ClientOption) (*CreateNetworkServerCreated, error)
- func (a *Client) DeleteNetworkGenerator(params *DeleteNetworkGeneratorParams, opts ...ClientOption) (*DeleteNetworkGeneratorNoContent, error)
- func (a *Client) DeleteNetworkGeneratorResult(params *DeleteNetworkGeneratorResultParams, opts ...ClientOption) (*DeleteNetworkGeneratorResultNoContent, error)
- func (a *Client) DeleteNetworkServer(params *DeleteNetworkServerParams, opts ...ClientOption) (*DeleteNetworkServerNoContent, error)
- func (a *Client) GetNetworkGenerator(params *GetNetworkGeneratorParams, opts ...ClientOption) (*GetNetworkGeneratorOK, error)
- func (a *Client) GetNetworkGeneratorResult(params *GetNetworkGeneratorResultParams, opts ...ClientOption) (*GetNetworkGeneratorResultOK, error)
- func (a *Client) GetNetworkServer(params *GetNetworkServerParams, opts ...ClientOption) (*GetNetworkServerOK, error)
- func (a *Client) ListNetworkGeneratorResults(params *ListNetworkGeneratorResultsParams, opts ...ClientOption) (*ListNetworkGeneratorResultsOK, error)
- func (a *Client) ListNetworkGenerators(params *ListNetworkGeneratorsParams, opts ...ClientOption) (*ListNetworkGeneratorsOK, error)
- func (a *Client) ListNetworkServers(params *ListNetworkServersParams, opts ...ClientOption) (*ListNetworkServersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartNetworkGenerator(params *StartNetworkGeneratorParams, opts ...ClientOption) (*StartNetworkGeneratorCreated, error)
- func (a *Client) StopNetworkGenerator(params *StopNetworkGeneratorParams, opts ...ClientOption) (*StopNetworkGeneratorNoContent, error)
- func (a *Client) ToggleNetworkGenerators(params *ToggleNetworkGeneratorsParams, opts ...ClientOption) (*ToggleNetworkGeneratorsCreated, error)
- type ClientOption
- type ClientService
- type CreateNetworkGeneratorCreated
- type CreateNetworkGeneratorParams
- func NewCreateNetworkGeneratorParams() *CreateNetworkGeneratorParams
- func NewCreateNetworkGeneratorParamsWithContext(ctx context.Context) *CreateNetworkGeneratorParams
- func NewCreateNetworkGeneratorParamsWithHTTPClient(client *http.Client) *CreateNetworkGeneratorParams
- func NewCreateNetworkGeneratorParamsWithTimeout(timeout time.Duration) *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) SetContext(ctx context.Context)
- func (o *CreateNetworkGeneratorParams) SetDefaults()
- func (o *CreateNetworkGeneratorParams) SetGenerator(generator *models.NetworkGenerator)
- func (o *CreateNetworkGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkGeneratorParams) WithContext(ctx context.Context) *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) WithDefaults() *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) WithGenerator(generator *models.NetworkGenerator) *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) WithHTTPClient(client *http.Client) *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) WithTimeout(timeout time.Duration) *CreateNetworkGeneratorParams
- func (o *CreateNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkGeneratorReader
- type CreateNetworkServerCreated
- type CreateNetworkServerParams
- func NewCreateNetworkServerParams() *CreateNetworkServerParams
- func NewCreateNetworkServerParamsWithContext(ctx context.Context) *CreateNetworkServerParams
- func NewCreateNetworkServerParamsWithHTTPClient(client *http.Client) *CreateNetworkServerParams
- func NewCreateNetworkServerParamsWithTimeout(timeout time.Duration) *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) SetContext(ctx context.Context)
- func (o *CreateNetworkServerParams) SetDefaults()
- func (o *CreateNetworkServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkServerParams) SetServer(server *models.NetworkServer)
- func (o *CreateNetworkServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkServerParams) WithContext(ctx context.Context) *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) WithDefaults() *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) WithHTTPClient(client *http.Client) *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) WithServer(server *models.NetworkServer) *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) WithTimeout(timeout time.Duration) *CreateNetworkServerParams
- func (o *CreateNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkServerReader
- type DeleteNetworkGeneratorNoContent
- type DeleteNetworkGeneratorParams
- func NewDeleteNetworkGeneratorParams() *DeleteNetworkGeneratorParams
- func NewDeleteNetworkGeneratorParamsWithContext(ctx context.Context) *DeleteNetworkGeneratorParams
- func NewDeleteNetworkGeneratorParamsWithHTTPClient(client *http.Client) *DeleteNetworkGeneratorParams
- func NewDeleteNetworkGeneratorParamsWithTimeout(timeout time.Duration) *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkGeneratorParams) SetDefaults()
- func (o *DeleteNetworkGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkGeneratorParams) SetID(id string)
- func (o *DeleteNetworkGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkGeneratorParams) WithContext(ctx context.Context) *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) WithDefaults() *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) WithHTTPClient(client *http.Client) *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) WithID(id string) *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) WithTimeout(timeout time.Duration) *DeleteNetworkGeneratorParams
- func (o *DeleteNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkGeneratorReader
- type DeleteNetworkGeneratorResultNoContent
- type DeleteNetworkGeneratorResultParams
- func NewDeleteNetworkGeneratorResultParams() *DeleteNetworkGeneratorResultParams
- func NewDeleteNetworkGeneratorResultParamsWithContext(ctx context.Context) *DeleteNetworkGeneratorResultParams
- func NewDeleteNetworkGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteNetworkGeneratorResultParams
- func NewDeleteNetworkGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkGeneratorResultParams) SetDefaults()
- func (o *DeleteNetworkGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkGeneratorResultParams) SetID(id string)
- func (o *DeleteNetworkGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkGeneratorResultParams) WithContext(ctx context.Context) *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) WithDefaults() *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) WithID(id string) *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteNetworkGeneratorResultParams
- func (o *DeleteNetworkGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkGeneratorResultReader
- type DeleteNetworkServerNoContent
- type DeleteNetworkServerParams
- func NewDeleteNetworkServerParams() *DeleteNetworkServerParams
- func NewDeleteNetworkServerParamsWithContext(ctx context.Context) *DeleteNetworkServerParams
- func NewDeleteNetworkServerParamsWithHTTPClient(client *http.Client) *DeleteNetworkServerParams
- func NewDeleteNetworkServerParamsWithTimeout(timeout time.Duration) *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkServerParams) SetDefaults()
- func (o *DeleteNetworkServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkServerParams) SetID(id string)
- func (o *DeleteNetworkServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkServerParams) WithContext(ctx context.Context) *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) WithDefaults() *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) WithHTTPClient(client *http.Client) *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) WithID(id string) *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) WithTimeout(timeout time.Duration) *DeleteNetworkServerParams
- func (o *DeleteNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkServerReader
- type GetNetworkGeneratorOK
- type GetNetworkGeneratorParams
- func NewGetNetworkGeneratorParams() *GetNetworkGeneratorParams
- func NewGetNetworkGeneratorParamsWithContext(ctx context.Context) *GetNetworkGeneratorParams
- func NewGetNetworkGeneratorParamsWithHTTPClient(client *http.Client) *GetNetworkGeneratorParams
- func NewGetNetworkGeneratorParamsWithTimeout(timeout time.Duration) *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) SetContext(ctx context.Context)
- func (o *GetNetworkGeneratorParams) SetDefaults()
- func (o *GetNetworkGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkGeneratorParams) SetID(id string)
- func (o *GetNetworkGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkGeneratorParams) WithContext(ctx context.Context) *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) WithDefaults() *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) WithHTTPClient(client *http.Client) *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) WithID(id string) *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) WithTimeout(timeout time.Duration) *GetNetworkGeneratorParams
- func (o *GetNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkGeneratorReader
- type GetNetworkGeneratorResultOK
- type GetNetworkGeneratorResultParams
- func NewGetNetworkGeneratorResultParams() *GetNetworkGeneratorResultParams
- func NewGetNetworkGeneratorResultParamsWithContext(ctx context.Context) *GetNetworkGeneratorResultParams
- func NewGetNetworkGeneratorResultParamsWithHTTPClient(client *http.Client) *GetNetworkGeneratorResultParams
- func NewGetNetworkGeneratorResultParamsWithTimeout(timeout time.Duration) *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) SetContext(ctx context.Context)
- func (o *GetNetworkGeneratorResultParams) SetDefaults()
- func (o *GetNetworkGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkGeneratorResultParams) SetID(id string)
- func (o *GetNetworkGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkGeneratorResultParams) WithContext(ctx context.Context) *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) WithDefaults() *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) WithHTTPClient(client *http.Client) *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) WithID(id string) *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) WithTimeout(timeout time.Duration) *GetNetworkGeneratorResultParams
- func (o *GetNetworkGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkGeneratorResultReader
- type GetNetworkServerOK
- type GetNetworkServerParams
- func NewGetNetworkServerParams() *GetNetworkServerParams
- func NewGetNetworkServerParamsWithContext(ctx context.Context) *GetNetworkServerParams
- func NewGetNetworkServerParamsWithHTTPClient(client *http.Client) *GetNetworkServerParams
- func NewGetNetworkServerParamsWithTimeout(timeout time.Duration) *GetNetworkServerParams
- func (o *GetNetworkServerParams) SetContext(ctx context.Context)
- func (o *GetNetworkServerParams) SetDefaults()
- func (o *GetNetworkServerParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkServerParams) SetID(id string)
- func (o *GetNetworkServerParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkServerParams) WithContext(ctx context.Context) *GetNetworkServerParams
- func (o *GetNetworkServerParams) WithDefaults() *GetNetworkServerParams
- func (o *GetNetworkServerParams) WithHTTPClient(client *http.Client) *GetNetworkServerParams
- func (o *GetNetworkServerParams) WithID(id string) *GetNetworkServerParams
- func (o *GetNetworkServerParams) WithTimeout(timeout time.Duration) *GetNetworkServerParams
- func (o *GetNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkServerReader
- type ListNetworkGeneratorResultsOK
- type ListNetworkGeneratorResultsParams
- func NewListNetworkGeneratorResultsParams() *ListNetworkGeneratorResultsParams
- func NewListNetworkGeneratorResultsParamsWithContext(ctx context.Context) *ListNetworkGeneratorResultsParams
- func NewListNetworkGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListNetworkGeneratorResultsParams
- func NewListNetworkGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListNetworkGeneratorResultsParams
- func (o *ListNetworkGeneratorResultsParams) SetContext(ctx context.Context)
- func (o *ListNetworkGeneratorResultsParams) SetDefaults()
- func (o *ListNetworkGeneratorResultsParams) SetHTTPClient(client *http.Client)
- func (o *ListNetworkGeneratorResultsParams) SetTimeout(timeout time.Duration)
- func (o *ListNetworkGeneratorResultsParams) WithContext(ctx context.Context) *ListNetworkGeneratorResultsParams
- func (o *ListNetworkGeneratorResultsParams) WithDefaults() *ListNetworkGeneratorResultsParams
- func (o *ListNetworkGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListNetworkGeneratorResultsParams
- func (o *ListNetworkGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListNetworkGeneratorResultsParams
- func (o *ListNetworkGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNetworkGeneratorResultsReader
- type ListNetworkGeneratorsOK
- type ListNetworkGeneratorsParams
- func NewListNetworkGeneratorsParams() *ListNetworkGeneratorsParams
- func NewListNetworkGeneratorsParamsWithContext(ctx context.Context) *ListNetworkGeneratorsParams
- func NewListNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *ListNetworkGeneratorsParams
- func NewListNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *ListNetworkGeneratorsParams
- func (o *ListNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *ListNetworkGeneratorsParams) SetDefaults()
- func (o *ListNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *ListNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *ListNetworkGeneratorsParams) WithContext(ctx context.Context) *ListNetworkGeneratorsParams
- func (o *ListNetworkGeneratorsParams) WithDefaults() *ListNetworkGeneratorsParams
- func (o *ListNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *ListNetworkGeneratorsParams
- func (o *ListNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *ListNetworkGeneratorsParams
- func (o *ListNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNetworkGeneratorsReader
- type ListNetworkServersOK
- type ListNetworkServersParams
- func NewListNetworkServersParams() *ListNetworkServersParams
- func NewListNetworkServersParamsWithContext(ctx context.Context) *ListNetworkServersParams
- func NewListNetworkServersParamsWithHTTPClient(client *http.Client) *ListNetworkServersParams
- func NewListNetworkServersParamsWithTimeout(timeout time.Duration) *ListNetworkServersParams
- func (o *ListNetworkServersParams) SetContext(ctx context.Context)
- func (o *ListNetworkServersParams) SetDefaults()
- func (o *ListNetworkServersParams) SetHTTPClient(client *http.Client)
- func (o *ListNetworkServersParams) SetTimeout(timeout time.Duration)
- func (o *ListNetworkServersParams) WithContext(ctx context.Context) *ListNetworkServersParams
- func (o *ListNetworkServersParams) WithDefaults() *ListNetworkServersParams
- func (o *ListNetworkServersParams) WithHTTPClient(client *http.Client) *ListNetworkServersParams
- func (o *ListNetworkServersParams) WithTimeout(timeout time.Duration) *ListNetworkServersParams
- func (o *ListNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNetworkServersReader
- type StartNetworkGeneratorCreated
- type StartNetworkGeneratorParams
- func NewStartNetworkGeneratorParams() *StartNetworkGeneratorParams
- func NewStartNetworkGeneratorParamsWithContext(ctx context.Context) *StartNetworkGeneratorParams
- func NewStartNetworkGeneratorParamsWithHTTPClient(client *http.Client) *StartNetworkGeneratorParams
- func NewStartNetworkGeneratorParamsWithTimeout(timeout time.Duration) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) SetContext(ctx context.Context)
- func (o *StartNetworkGeneratorParams) SetDefaults()
- func (o *StartNetworkGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)
- func (o *StartNetworkGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StartNetworkGeneratorParams) SetID(id string)
- func (o *StartNetworkGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StartNetworkGeneratorParams) WithContext(ctx context.Context) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WithDefaults() *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WithHTTPClient(client *http.Client) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WithID(id string) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WithTimeout(timeout time.Duration) *StartNetworkGeneratorParams
- func (o *StartNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartNetworkGeneratorReader
- type StopNetworkGeneratorNoContent
- type StopNetworkGeneratorParams
- func NewStopNetworkGeneratorParams() *StopNetworkGeneratorParams
- func NewStopNetworkGeneratorParamsWithContext(ctx context.Context) *StopNetworkGeneratorParams
- func NewStopNetworkGeneratorParamsWithHTTPClient(client *http.Client) *StopNetworkGeneratorParams
- func NewStopNetworkGeneratorParamsWithTimeout(timeout time.Duration) *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) SetContext(ctx context.Context)
- func (o *StopNetworkGeneratorParams) SetDefaults()
- func (o *StopNetworkGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StopNetworkGeneratorParams) SetID(id string)
- func (o *StopNetworkGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StopNetworkGeneratorParams) WithContext(ctx context.Context) *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) WithDefaults() *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) WithHTTPClient(client *http.Client) *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) WithID(id string) *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) WithTimeout(timeout time.Duration) *StopNetworkGeneratorParams
- func (o *StopNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopNetworkGeneratorReader
- type ToggleNetworkGeneratorsCreated
- type ToggleNetworkGeneratorsParams
- func NewToggleNetworkGeneratorsParams() *ToggleNetworkGeneratorsParams
- func NewToggleNetworkGeneratorsParamsWithContext(ctx context.Context) *ToggleNetworkGeneratorsParams
- func NewToggleNetworkGeneratorsParamsWithHTTPClient(client *http.Client) *ToggleNetworkGeneratorsParams
- func NewToggleNetworkGeneratorsParamsWithTimeout(timeout time.Duration) *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) SetContext(ctx context.Context)
- func (o *ToggleNetworkGeneratorsParams) SetDefaults()
- func (o *ToggleNetworkGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *ToggleNetworkGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *ToggleNetworkGeneratorsParams) SetToggle(toggle *models.ToggleNetworkGeneratorsRequest)
- func (o *ToggleNetworkGeneratorsParams) WithContext(ctx context.Context) *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) WithDefaults() *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) WithToggle(toggle *models.ToggleNetworkGeneratorsRequest) *ToggleNetworkGeneratorsParams
- func (o *ToggleNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ToggleNetworkGeneratorsReader
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
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 (o *BulkCreateNetworkGeneratorsOK) Error() string
func (*BulkCreateNetworkGeneratorsOK) GetPayload ¶
func (o *BulkCreateNetworkGeneratorsOK) GetPayload() []*models.NetworkGenerator
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 ¶
func (o *BulkCreateNetworkGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk create network generators params
func (*BulkCreateNetworkGeneratorsParams) SetCreate ¶
func (o *BulkCreateNetworkGeneratorsParams) SetCreate(create BulkCreateNetworkGeneratorsBody)
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 ¶
func (o *BulkCreateNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkCreateNetworkGeneratorsParams
WithContext adds the context to the bulk create network generators params
func (*BulkCreateNetworkGeneratorsParams) WithCreate ¶
func (o *BulkCreateNetworkGeneratorsParams) WithCreate(create BulkCreateNetworkGeneratorsBody) *BulkCreateNetworkGeneratorsParams
WithCreate adds the create to the bulk create network generators params
func (*BulkCreateNetworkGeneratorsParams) WithDefaults ¶
func (o *BulkCreateNetworkGeneratorsParams) WithDefaults() *BulkCreateNetworkGeneratorsParams
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 ¶
func (o *BulkCreateNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk create network generators params
func (*BulkCreateNetworkGeneratorsParams) WithTimeout ¶
func (o *BulkCreateNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateNetworkGeneratorsParams
WithTimeout adds the timeout to the bulk create network generators params
func (*BulkCreateNetworkGeneratorsParams) WriteToRequest ¶
func (o *BulkCreateNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *BulkCreateNetworkServersOK) Error() string
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 ¶
func (o *BulkCreateNetworkServersParams) SetCreate(create BulkCreateNetworkServersBody)
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 ¶
func (o *BulkCreateNetworkServersParams) WithContext(ctx context.Context) *BulkCreateNetworkServersParams
WithContext adds the context to the bulk create network servers params
func (*BulkCreateNetworkServersParams) WithCreate ¶
func (o *BulkCreateNetworkServersParams) WithCreate(create BulkCreateNetworkServersBody) *BulkCreateNetworkServersParams
WithCreate adds the create to the bulk create network servers params
func (*BulkCreateNetworkServersParams) WithDefaults ¶
func (o *BulkCreateNetworkServersParams) WithDefaults() *BulkCreateNetworkServersParams
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 ¶
func (o *BulkCreateNetworkServersParams) WithHTTPClient(client *http.Client) *BulkCreateNetworkServersParams
WithHTTPClient adds the HTTPClient to the bulk create network servers params
func (*BulkCreateNetworkServersParams) WithTimeout ¶
func (o *BulkCreateNetworkServersParams) WithTimeout(timeout time.Duration) *BulkCreateNetworkServersParams
WithTimeout adds the timeout to the bulk create network servers params
func (*BulkCreateNetworkServersParams) WriteToRequest ¶
func (o *BulkCreateNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkDeleteNetworkGeneratorsNoContent) Error() string
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 ¶
func (o *BulkDeleteNetworkGeneratorsParams) SetContext(ctx context.Context)
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 ¶
func (o *BulkDeleteNetworkGeneratorsParams) SetDelete(delete BulkDeleteNetworkGeneratorsBody)
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 ¶
func (o *BulkDeleteNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteNetworkGeneratorsParams
WithContext adds the context to the bulk delete network generators params
func (*BulkDeleteNetworkGeneratorsParams) WithDefaults ¶
func (o *BulkDeleteNetworkGeneratorsParams) WithDefaults() *BulkDeleteNetworkGeneratorsParams
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 ¶
func (o *BulkDeleteNetworkGeneratorsParams) WithDelete(delete BulkDeleteNetworkGeneratorsBody) *BulkDeleteNetworkGeneratorsParams
WithDelete adds the delete to the bulk delete network generators params
func (*BulkDeleteNetworkGeneratorsParams) WithHTTPClient ¶
func (o *BulkDeleteNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk delete network generators params
func (*BulkDeleteNetworkGeneratorsParams) WithTimeout ¶
func (o *BulkDeleteNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteNetworkGeneratorsParams
WithTimeout adds the timeout to the bulk delete network generators params
func (*BulkDeleteNetworkGeneratorsParams) WriteToRequest ¶
func (o *BulkDeleteNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkDeleteNetworkServersNoContent) Error() string
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 ¶
func (o *BulkDeleteNetworkServersParams) SetDelete(delete BulkDeleteNetworkServersBody)
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 ¶
func (o *BulkDeleteNetworkServersParams) WithContext(ctx context.Context) *BulkDeleteNetworkServersParams
WithContext adds the context to the bulk delete network servers params
func (*BulkDeleteNetworkServersParams) WithDefaults ¶
func (o *BulkDeleteNetworkServersParams) WithDefaults() *BulkDeleteNetworkServersParams
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 ¶
func (o *BulkDeleteNetworkServersParams) WithDelete(delete BulkDeleteNetworkServersBody) *BulkDeleteNetworkServersParams
WithDelete adds the delete to the bulk delete network servers params
func (*BulkDeleteNetworkServersParams) WithHTTPClient ¶
func (o *BulkDeleteNetworkServersParams) WithHTTPClient(client *http.Client) *BulkDeleteNetworkServersParams
WithHTTPClient adds the HTTPClient to the bulk delete network servers params
func (*BulkDeleteNetworkServersParams) WithTimeout ¶
func (o *BulkDeleteNetworkServersParams) WithTimeout(timeout time.Duration) *BulkDeleteNetworkServersParams
WithTimeout adds the timeout to the bulk delete network servers params
func (*BulkDeleteNetworkServersParams) WriteToRequest ¶
func (o *BulkDeleteNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *BulkStartNetworkGeneratorsOK) Error() string
func (*BulkStartNetworkGeneratorsOK) GetPayload ¶
func (o *BulkStartNetworkGeneratorsOK) GetPayload() []*models.NetworkGeneratorResult
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 ¶
func (o *BulkStartNetworkGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartNetworkGeneratorsRequest)
SetBulkStart adds the bulkStart to the bulk start network generators params
func (*BulkStartNetworkGeneratorsParams) SetContext ¶
func (o *BulkStartNetworkGeneratorsParams) SetContext(ctx context.Context)
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 ¶
func (o *BulkStartNetworkGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartNetworkGeneratorsRequest) *BulkStartNetworkGeneratorsParams
WithBulkStart adds the bulkStart to the bulk start network generators params
func (*BulkStartNetworkGeneratorsParams) WithContext ¶
func (o *BulkStartNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkStartNetworkGeneratorsParams
WithContext adds the context to the bulk start network generators params
func (*BulkStartNetworkGeneratorsParams) WithDefaults ¶
func (o *BulkStartNetworkGeneratorsParams) WithDefaults() *BulkStartNetworkGeneratorsParams
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 ¶
func (o *BulkStartNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk start network generators params
func (*BulkStartNetworkGeneratorsParams) WithTimeout ¶
func (o *BulkStartNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartNetworkGeneratorsParams
WithTimeout adds the timeout to the bulk start network generators params
func (*BulkStartNetworkGeneratorsParams) WriteToRequest ¶
func (o *BulkStartNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkStopNetworkGeneratorsNoContent) Error() string
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 ¶
func (o *BulkStopNetworkGeneratorsParams) SetBulkStop(bulkStop BulkStopNetworkGeneratorsBody)
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 ¶
func (o *BulkStopNetworkGeneratorsParams) WithBulkStop(bulkStop BulkStopNetworkGeneratorsBody) *BulkStopNetworkGeneratorsParams
WithBulkStop adds the bulkStop to the bulk stop network generators params
func (*BulkStopNetworkGeneratorsParams) WithContext ¶
func (o *BulkStopNetworkGeneratorsParams) WithContext(ctx context.Context) *BulkStopNetworkGeneratorsParams
WithContext adds the context to the bulk stop network generators params
func (*BulkStopNetworkGeneratorsParams) WithDefaults ¶
func (o *BulkStopNetworkGeneratorsParams) WithDefaults() *BulkStopNetworkGeneratorsParams
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 ¶
func (o *BulkStopNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk stop network generators params
func (*BulkStopNetworkGeneratorsParams) WithTimeout ¶
func (o *BulkStopNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopNetworkGeneratorsParams
WithTimeout adds the timeout to the bulk stop network generators params
func (*BulkStopNetworkGeneratorsParams) WriteToRequest ¶
func (o *BulkStopNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateNetworkGeneratorCreated) Error() string
func (*CreateNetworkGeneratorCreated) GetPayload ¶
func (o *CreateNetworkGeneratorCreated) GetPayload() *models.NetworkGenerator
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 ¶
func (o *CreateNetworkGeneratorParams) WithContext(ctx context.Context) *CreateNetworkGeneratorParams
WithContext adds the context to the create network generator params
func (*CreateNetworkGeneratorParams) WithDefaults ¶
func (o *CreateNetworkGeneratorParams) WithDefaults() *CreateNetworkGeneratorParams
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 ¶
func (o *CreateNetworkGeneratorParams) WithGenerator(generator *models.NetworkGenerator) *CreateNetworkGeneratorParams
WithGenerator adds the generator to the create network generator params
func (*CreateNetworkGeneratorParams) WithHTTPClient ¶
func (o *CreateNetworkGeneratorParams) WithHTTPClient(client *http.Client) *CreateNetworkGeneratorParams
WithHTTPClient adds the HTTPClient to the create network generator params
func (*CreateNetworkGeneratorParams) WithTimeout ¶
func (o *CreateNetworkGeneratorParams) WithTimeout(timeout time.Duration) *CreateNetworkGeneratorParams
WithTimeout adds the timeout to the create network generator params
func (*CreateNetworkGeneratorParams) WriteToRequest ¶
func (o *CreateNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateNetworkServerCreated) Error() string
func (*CreateNetworkServerCreated) GetPayload ¶
func (o *CreateNetworkServerCreated) GetPayload() *models.NetworkServer
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 ¶
func (o *CreateNetworkServerParams) WithContext(ctx context.Context) *CreateNetworkServerParams
WithContext adds the context to the create network server params
func (*CreateNetworkServerParams) WithDefaults ¶
func (o *CreateNetworkServerParams) WithDefaults() *CreateNetworkServerParams
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 ¶
func (o *CreateNetworkServerParams) WithServer(server *models.NetworkServer) *CreateNetworkServerParams
WithServer adds the server to the create network server params
func (*CreateNetworkServerParams) WithTimeout ¶
func (o *CreateNetworkServerParams) WithTimeout(timeout time.Duration) *CreateNetworkServerParams
WithTimeout adds the timeout to the create network server params
func (*CreateNetworkServerParams) WriteToRequest ¶
func (o *CreateNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNetworkGeneratorNoContent) Error() string
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 ¶
func (o *DeleteNetworkGeneratorParams) WithContext(ctx context.Context) *DeleteNetworkGeneratorParams
WithContext adds the context to the delete network generator params
func (*DeleteNetworkGeneratorParams) WithDefaults ¶
func (o *DeleteNetworkGeneratorParams) WithDefaults() *DeleteNetworkGeneratorParams
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 ¶
func (o *DeleteNetworkGeneratorParams) WithHTTPClient(client *http.Client) *DeleteNetworkGeneratorParams
WithHTTPClient adds the HTTPClient to the delete network generator params
func (*DeleteNetworkGeneratorParams) WithID ¶
func (o *DeleteNetworkGeneratorParams) WithID(id string) *DeleteNetworkGeneratorParams
WithID adds the id to the delete network generator params
func (*DeleteNetworkGeneratorParams) WithTimeout ¶
func (o *DeleteNetworkGeneratorParams) WithTimeout(timeout time.Duration) *DeleteNetworkGeneratorParams
WithTimeout adds the timeout to the delete network generator params
func (*DeleteNetworkGeneratorParams) WriteToRequest ¶
func (o *DeleteNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNetworkGeneratorResultNoContent) Error() string
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 ¶
func (o *DeleteNetworkGeneratorResultParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNetworkGeneratorResultParams) SetID(id string)
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 ¶
func (o *DeleteNetworkGeneratorResultParams) WithContext(ctx context.Context) *DeleteNetworkGeneratorResultParams
WithContext adds the context to the delete network generator result params
func (*DeleteNetworkGeneratorResultParams) WithDefaults ¶
func (o *DeleteNetworkGeneratorResultParams) WithDefaults() *DeleteNetworkGeneratorResultParams
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 ¶
func (o *DeleteNetworkGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteNetworkGeneratorResultParams
WithHTTPClient adds the HTTPClient to the delete network generator result params
func (*DeleteNetworkGeneratorResultParams) WithID ¶
func (o *DeleteNetworkGeneratorResultParams) WithID(id string) *DeleteNetworkGeneratorResultParams
WithID adds the id to the delete network generator result params
func (*DeleteNetworkGeneratorResultParams) WithTimeout ¶
func (o *DeleteNetworkGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteNetworkGeneratorResultParams
WithTimeout adds the timeout to the delete network generator result params
func (*DeleteNetworkGeneratorResultParams) WriteToRequest ¶
func (o *DeleteNetworkGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNetworkServerNoContent) Error() string
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 ¶
func (o *DeleteNetworkServerParams) WithContext(ctx context.Context) *DeleteNetworkServerParams
WithContext adds the context to the delete network server params
func (*DeleteNetworkServerParams) WithDefaults ¶
func (o *DeleteNetworkServerParams) WithDefaults() *DeleteNetworkServerParams
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 ¶
func (o *DeleteNetworkServerParams) WithID(id string) *DeleteNetworkServerParams
WithID adds the id to the delete network server params
func (*DeleteNetworkServerParams) WithTimeout ¶
func (o *DeleteNetworkServerParams) WithTimeout(timeout time.Duration) *DeleteNetworkServerParams
WithTimeout adds the timeout to the delete network server params
func (*DeleteNetworkServerParams) WriteToRequest ¶
func (o *DeleteNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetNetworkGeneratorOK) GetPayload() *models.NetworkGenerator
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 ¶
func (o *GetNetworkGeneratorParams) WithContext(ctx context.Context) *GetNetworkGeneratorParams
WithContext adds the context to the get network generator params
func (*GetNetworkGeneratorParams) WithDefaults ¶
func (o *GetNetworkGeneratorParams) WithDefaults() *GetNetworkGeneratorParams
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 ¶
func (o *GetNetworkGeneratorParams) WithID(id string) *GetNetworkGeneratorParams
WithID adds the id to the get network generator params
func (*GetNetworkGeneratorParams) WithTimeout ¶
func (o *GetNetworkGeneratorParams) WithTimeout(timeout time.Duration) *GetNetworkGeneratorParams
WithTimeout adds the timeout to the get network generator params
func (*GetNetworkGeneratorParams) WriteToRequest ¶
func (o *GetNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetNetworkGeneratorResultOK) Error() string
func (*GetNetworkGeneratorResultOK) GetPayload ¶
func (o *GetNetworkGeneratorResultOK) GetPayload() *models.NetworkGeneratorResult
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 ¶
func (o *GetNetworkGeneratorResultParams) SetID(id string)
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 ¶
func (o *GetNetworkGeneratorResultParams) WithContext(ctx context.Context) *GetNetworkGeneratorResultParams
WithContext adds the context to the get network generator result params
func (*GetNetworkGeneratorResultParams) WithDefaults ¶
func (o *GetNetworkGeneratorResultParams) WithDefaults() *GetNetworkGeneratorResultParams
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 ¶
func (o *GetNetworkGeneratorResultParams) WithHTTPClient(client *http.Client) *GetNetworkGeneratorResultParams
WithHTTPClient adds the HTTPClient to the get network generator result params
func (*GetNetworkGeneratorResultParams) WithID ¶
func (o *GetNetworkGeneratorResultParams) WithID(id string) *GetNetworkGeneratorResultParams
WithID adds the id to the get network generator result params
func (*GetNetworkGeneratorResultParams) WithTimeout ¶
func (o *GetNetworkGeneratorResultParams) WithTimeout(timeout time.Duration) *GetNetworkGeneratorResultParams
WithTimeout adds the timeout to the get network generator result params
func (*GetNetworkGeneratorResultParams) WriteToRequest ¶
func (o *GetNetworkGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetNetworkServerParams) WithContext(ctx context.Context) *GetNetworkServerParams
WithContext adds the context to the get network server params
func (*GetNetworkServerParams) WithDefaults ¶
func (o *GetNetworkServerParams) WithDefaults() *GetNetworkServerParams
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 ¶
func (o *GetNetworkServerParams) WithID(id string) *GetNetworkServerParams
WithID adds the id to the get network server params
func (*GetNetworkServerParams) WithTimeout ¶
func (o *GetNetworkServerParams) WithTimeout(timeout time.Duration) *GetNetworkServerParams
WithTimeout adds the timeout to the get network server params
func (*GetNetworkServerParams) WriteToRequest ¶
func (o *GetNetworkServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListNetworkGeneratorResultsOK) Error() string
func (*ListNetworkGeneratorResultsOK) GetPayload ¶
func (o *ListNetworkGeneratorResultsOK) GetPayload() []*models.NetworkGeneratorResult
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 ¶
func (o *ListNetworkGeneratorResultsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListNetworkGeneratorResultsParams) WithContext(ctx context.Context) *ListNetworkGeneratorResultsParams
WithContext adds the context to the list network generator results params
func (*ListNetworkGeneratorResultsParams) WithDefaults ¶
func (o *ListNetworkGeneratorResultsParams) WithDefaults() *ListNetworkGeneratorResultsParams
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 ¶
func (o *ListNetworkGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListNetworkGeneratorResultsParams
WithHTTPClient adds the HTTPClient to the list network generator results params
func (*ListNetworkGeneratorResultsParams) WithTimeout ¶
func (o *ListNetworkGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListNetworkGeneratorResultsParams
WithTimeout adds the timeout to the list network generator results params
func (*ListNetworkGeneratorResultsParams) WriteToRequest ¶
func (o *ListNetworkGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListNetworkGeneratorsParams) WithContext(ctx context.Context) *ListNetworkGeneratorsParams
WithContext adds the context to the list network generators params
func (*ListNetworkGeneratorsParams) WithDefaults ¶
func (o *ListNetworkGeneratorsParams) WithDefaults() *ListNetworkGeneratorsParams
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 ¶
func (o *ListNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *ListNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the list network generators params
func (*ListNetworkGeneratorsParams) WithTimeout ¶
func (o *ListNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *ListNetworkGeneratorsParams
WithTimeout adds the timeout to the list network generators params
func (*ListNetworkGeneratorsParams) WriteToRequest ¶
func (o *ListNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListNetworkServersParams) WithContext(ctx context.Context) *ListNetworkServersParams
WithContext adds the context to the list network servers params
func (*ListNetworkServersParams) WithDefaults ¶
func (o *ListNetworkServersParams) WithDefaults() *ListNetworkServersParams
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 ¶
func (o *ListNetworkServersParams) WithTimeout(timeout time.Duration) *ListNetworkServersParams
WithTimeout adds the timeout to the list network servers params
func (*ListNetworkServersParams) WriteToRequest ¶
func (o *ListNetworkServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartNetworkGeneratorCreated) Error() string
func (*StartNetworkGeneratorCreated) GetPayload ¶
func (o *StartNetworkGeneratorCreated) GetPayload() *models.NetworkGeneratorResult
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 ¶
func (o *StartNetworkGeneratorParams) WithContext(ctx context.Context) *StartNetworkGeneratorParams
WithContext adds the context to the start network generator params
func (*StartNetworkGeneratorParams) WithDefaults ¶
func (o *StartNetworkGeneratorParams) WithDefaults() *StartNetworkGeneratorParams
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 ¶
func (o *StartNetworkGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartNetworkGeneratorParams
WithDynamicResults adds the dynamicResults to the start network generator params
func (*StartNetworkGeneratorParams) WithHTTPClient ¶
func (o *StartNetworkGeneratorParams) WithHTTPClient(client *http.Client) *StartNetworkGeneratorParams
WithHTTPClient adds the HTTPClient to the start network generator params
func (*StartNetworkGeneratorParams) WithID ¶
func (o *StartNetworkGeneratorParams) WithID(id string) *StartNetworkGeneratorParams
WithID adds the id to the start network generator params
func (*StartNetworkGeneratorParams) WithTimeout ¶
func (o *StartNetworkGeneratorParams) WithTimeout(timeout time.Duration) *StartNetworkGeneratorParams
WithTimeout adds the timeout to the start network generator params
func (*StartNetworkGeneratorParams) WriteToRequest ¶
func (o *StartNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StopNetworkGeneratorNoContent) Error() string
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 ¶
func (o *StopNetworkGeneratorParams) WithContext(ctx context.Context) *StopNetworkGeneratorParams
WithContext adds the context to the stop network generator params
func (*StopNetworkGeneratorParams) WithDefaults ¶
func (o *StopNetworkGeneratorParams) WithDefaults() *StopNetworkGeneratorParams
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 ¶
func (o *StopNetworkGeneratorParams) WithHTTPClient(client *http.Client) *StopNetworkGeneratorParams
WithHTTPClient adds the HTTPClient to the stop network generator params
func (*StopNetworkGeneratorParams) WithID ¶
func (o *StopNetworkGeneratorParams) WithID(id string) *StopNetworkGeneratorParams
WithID adds the id to the stop network generator params
func (*StopNetworkGeneratorParams) WithTimeout ¶
func (o *StopNetworkGeneratorParams) WithTimeout(timeout time.Duration) *StopNetworkGeneratorParams
WithTimeout adds the timeout to the stop network generator params
func (*StopNetworkGeneratorParams) WriteToRequest ¶
func (o *StopNetworkGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ToggleNetworkGeneratorsCreated) Error() string
func (*ToggleNetworkGeneratorsCreated) GetPayload ¶
func (o *ToggleNetworkGeneratorsCreated) GetPayload() *models.NetworkGeneratorResult
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 ¶
func (o *ToggleNetworkGeneratorsParams) SetToggle(toggle *models.ToggleNetworkGeneratorsRequest)
SetToggle adds the toggle to the toggle network generators params
func (*ToggleNetworkGeneratorsParams) WithContext ¶
func (o *ToggleNetworkGeneratorsParams) WithContext(ctx context.Context) *ToggleNetworkGeneratorsParams
WithContext adds the context to the toggle network generators params
func (*ToggleNetworkGeneratorsParams) WithDefaults ¶
func (o *ToggleNetworkGeneratorsParams) WithDefaults() *ToggleNetworkGeneratorsParams
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 ¶
func (o *ToggleNetworkGeneratorsParams) WithHTTPClient(client *http.Client) *ToggleNetworkGeneratorsParams
WithHTTPClient adds the HTTPClient to the toggle network generators params
func (*ToggleNetworkGeneratorsParams) WithTimeout ¶
func (o *ToggleNetworkGeneratorsParams) WithTimeout(timeout time.Duration) *ToggleNetworkGeneratorsParams
WithTimeout adds the timeout to the toggle network generators params
func (*ToggleNetworkGeneratorsParams) WithToggle ¶
func (o *ToggleNetworkGeneratorsParams) WithToggle(toggle *models.ToggleNetworkGeneratorsRequest) *ToggleNetworkGeneratorsParams
WithToggle adds the toggle to the toggle network generators params
func (*ToggleNetworkGeneratorsParams) WriteToRequest ¶
func (o *ToggleNetworkGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
- bulk_create_network_generators_parameters.go
- bulk_create_network_generators_responses.go
- bulk_create_network_servers_parameters.go
- bulk_create_network_servers_responses.go
- bulk_delete_network_generators_parameters.go
- bulk_delete_network_generators_responses.go
- bulk_delete_network_servers_parameters.go
- bulk_delete_network_servers_responses.go
- bulk_start_network_generators_parameters.go
- bulk_start_network_generators_responses.go
- bulk_stop_network_generators_parameters.go
- bulk_stop_network_generators_responses.go
- create_network_generator_parameters.go
- create_network_generator_responses.go
- create_network_server_parameters.go
- create_network_server_responses.go
- delete_network_generator_parameters.go
- delete_network_generator_responses.go
- delete_network_generator_result_parameters.go
- delete_network_generator_result_responses.go
- delete_network_server_parameters.go
- delete_network_server_responses.go
- get_network_generator_parameters.go
- get_network_generator_responses.go
- get_network_generator_result_parameters.go
- get_network_generator_result_responses.go
- get_network_server_parameters.go
- get_network_server_responses.go
- list_network_generator_results_parameters.go
- list_network_generator_results_responses.go
- list_network_generators_parameters.go
- list_network_generators_responses.go
- list_network_servers_parameters.go
- list_network_servers_responses.go
- network_generator_client.go
- start_network_generator_parameters.go
- start_network_generator_responses.go
- stop_network_generator_parameters.go
- stop_network_generator_responses.go
- toggle_network_generators_parameters.go
- toggle_network_generators_responses.go