application_components

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppcompsItems0

type AppcompsItems0 struct {

	// appcomp id
	AppcompID interface{} `json:"appcomp_id,omitempty"`

	// appcomp url
	AppcompURL interface{} `json:"appcomp_url,omitempty"`

	// name
	Name interface{} `json:"name,omitempty"`
}

AppcompsItems0 appcomps items0 swagger:model AppcompsItems0

func (*AppcompsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*AppcompsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AppcompsItems0) Validate

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

Validate validates this appcomps items0

type Client

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

Client for application components API

func (*Client) DeleteAppcomps

func (a *Client) DeleteAppcomps(params *DeleteAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppcompsOK, error)

DeleteAppcomps deletes application component

This API is used to delete the application component with the application component id supplied as the required argument.

func (*Client) GetAppcomps

func (a *Client) GetAppcomps(params *GetAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppcompsOK, error)

GetAppcomps Get Application Components

func (*Client) GetAppcompsAppcompID

func (a *Client) GetAppcompsAppcompID(params *GetAppcompsAppcompIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppcompsAppcompIDOK, error)

GetAppcompsAppcompID Get Application Components by ID

func (*Client) PostAppcomps

func (a *Client) PostAppcomps(params *PostAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAppcompsOK, error)

PostAppcomps Create / Update Application Components

func (*Client) PutCustomFieldAppcomp

func (a *Client) PutCustomFieldAppcomp(params *PutCustomFieldAppcompParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldAppcompOK, error)

PutCustomFieldAppcomp APIs to create update custom fields for application components

Required parameters: <ul><li>id <b>OR</b> name</li> <li>key</li>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAppcomps(params *DeleteAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppcompsOK, error)

	GetAppcomps(params *GetAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppcompsOK, error)

	GetAppcompsAppcompID(params *GetAppcompsAppcompIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppcompsAppcompIDOK, error)

	PostAppcomps(params *PostAppcompsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAppcompsOK, error)

	PutCustomFieldAppcomp(params *PutCustomFieldAppcompParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldAppcompOK, 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 application components API client.

type DeleteAppcompsBadRequest

type DeleteAppcompsBadRequest struct {
}

DeleteAppcompsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteAppcompsBadRequest

func NewDeleteAppcompsBadRequest() *DeleteAppcompsBadRequest

NewDeleteAppcompsBadRequest creates a DeleteAppcompsBadRequest with default headers values

func (*DeleteAppcompsBadRequest) Error

func (o *DeleteAppcompsBadRequest) Error() string

type DeleteAppcompsForbidden

type DeleteAppcompsForbidden struct {
}

DeleteAppcompsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteAppcompsForbidden

func NewDeleteAppcompsForbidden() *DeleteAppcompsForbidden

NewDeleteAppcompsForbidden creates a DeleteAppcompsForbidden with default headers values

func (*DeleteAppcompsForbidden) Error

func (o *DeleteAppcompsForbidden) Error() string

type DeleteAppcompsGone

type DeleteAppcompsGone struct {
}

DeleteAppcompsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteAppcompsGone

func NewDeleteAppcompsGone() *DeleteAppcompsGone

NewDeleteAppcompsGone creates a DeleteAppcompsGone with default headers values

func (*DeleteAppcompsGone) Error

func (o *DeleteAppcompsGone) Error() string

type DeleteAppcompsInternalServerError

type DeleteAppcompsInternalServerError struct {
}

DeleteAppcompsInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewDeleteAppcompsInternalServerError

func NewDeleteAppcompsInternalServerError() *DeleteAppcompsInternalServerError

NewDeleteAppcompsInternalServerError creates a DeleteAppcompsInternalServerError with default headers values

func (*DeleteAppcompsInternalServerError) Error

type DeleteAppcompsMethodNotAllowed

type DeleteAppcompsMethodNotAllowed struct {
}

DeleteAppcompsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteAppcompsMethodNotAllowed

func NewDeleteAppcompsMethodNotAllowed() *DeleteAppcompsMethodNotAllowed

NewDeleteAppcompsMethodNotAllowed creates a DeleteAppcompsMethodNotAllowed with default headers values

func (*DeleteAppcompsMethodNotAllowed) Error

type DeleteAppcompsNotFound

type DeleteAppcompsNotFound struct {
}

DeleteAppcompsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteAppcompsNotFound

func NewDeleteAppcompsNotFound() *DeleteAppcompsNotFound

NewDeleteAppcompsNotFound creates a DeleteAppcompsNotFound with default headers values

func (*DeleteAppcompsNotFound) Error

func (o *DeleteAppcompsNotFound) Error() string

type DeleteAppcompsOK

type DeleteAppcompsOK struct {
	Payload *DeleteAppcompsOKBody
}

DeleteAppcompsOK handles this case with default header values.

The above command returns results like this:

func NewDeleteAppcompsOK

func NewDeleteAppcompsOK() *DeleteAppcompsOK

NewDeleteAppcompsOK creates a DeleteAppcompsOK with default headers values

func (*DeleteAppcompsOK) Error

func (o *DeleteAppcompsOK) Error() string

func (*DeleteAppcompsOK) GetPayload

func (o *DeleteAppcompsOK) GetPayload() *DeleteAppcompsOKBody

type DeleteAppcompsOKBody

type DeleteAppcompsOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`
}

DeleteAppcompsOKBody delete appcomps o k body swagger:model DeleteAppcompsOKBody

func (*DeleteAppcompsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAppcompsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAppcompsOKBody) Validate

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

Validate validates this delete appcomps o k body

type DeleteAppcompsParams

type DeleteAppcompsParams struct {

	/*AppcompID
	  IP Address id

	*/
	AppcompID int64

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

DeleteAppcompsParams contains all the parameters to send to the API endpoint for the delete appcomps operation typically these are written to a http.Request

func NewDeleteAppcompsParams

func NewDeleteAppcompsParams() *DeleteAppcompsParams

NewDeleteAppcompsParams creates a new DeleteAppcompsParams object with the default values initialized.

func NewDeleteAppcompsParamsWithContext

func NewDeleteAppcompsParamsWithContext(ctx context.Context) *DeleteAppcompsParams

NewDeleteAppcompsParamsWithContext creates a new DeleteAppcompsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAppcompsParamsWithHTTPClient

func NewDeleteAppcompsParamsWithHTTPClient(client *http.Client) *DeleteAppcompsParams

NewDeleteAppcompsParamsWithHTTPClient creates a new DeleteAppcompsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAppcompsParamsWithTimeout

func NewDeleteAppcompsParamsWithTimeout(timeout time.Duration) *DeleteAppcompsParams

NewDeleteAppcompsParamsWithTimeout creates a new DeleteAppcompsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAppcompsParams) SetAppcompID

func (o *DeleteAppcompsParams) SetAppcompID(appcompID int64)

SetAppcompID adds the appcompId to the delete appcomps params

func (*DeleteAppcompsParams) SetContext

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

SetContext adds the context to the delete appcomps params

func (*DeleteAppcompsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete appcomps params

func (*DeleteAppcompsParams) SetTimeout

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

SetTimeout adds the timeout to the delete appcomps params

func (*DeleteAppcompsParams) WithAppcompID

func (o *DeleteAppcompsParams) WithAppcompID(appcompID int64) *DeleteAppcompsParams

WithAppcompID adds the appcompID to the delete appcomps params

func (*DeleteAppcompsParams) WithContext

WithContext adds the context to the delete appcomps params

func (*DeleteAppcompsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete appcomps params

func (*DeleteAppcompsParams) WithTimeout

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

WithTimeout adds the timeout to the delete appcomps params

func (*DeleteAppcompsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAppcompsReader

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

DeleteAppcompsReader is a Reader for the DeleteAppcomps structure.

func (*DeleteAppcompsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAppcompsServiceUnavailable

type DeleteAppcompsServiceUnavailable struct {
}

DeleteAppcompsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteAppcompsServiceUnavailable

func NewDeleteAppcompsServiceUnavailable() *DeleteAppcompsServiceUnavailable

NewDeleteAppcompsServiceUnavailable creates a DeleteAppcompsServiceUnavailable with default headers values

func (*DeleteAppcompsServiceUnavailable) Error

type DeleteAppcompsUnauthorized

type DeleteAppcompsUnauthorized struct {
}

DeleteAppcompsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteAppcompsUnauthorized

func NewDeleteAppcompsUnauthorized() *DeleteAppcompsUnauthorized

NewDeleteAppcompsUnauthorized creates a DeleteAppcompsUnauthorized with default headers values

func (*DeleteAppcompsUnauthorized) Error

type GetAppcompsAppcompIDBadRequest

type GetAppcompsAppcompIDBadRequest struct {
}

GetAppcompsAppcompIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetAppcompsAppcompIDBadRequest

func NewGetAppcompsAppcompIDBadRequest() *GetAppcompsAppcompIDBadRequest

NewGetAppcompsAppcompIDBadRequest creates a GetAppcompsAppcompIDBadRequest with default headers values

func (*GetAppcompsAppcompIDBadRequest) Error

type GetAppcompsAppcompIDForbidden

type GetAppcompsAppcompIDForbidden struct {
}

GetAppcompsAppcompIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetAppcompsAppcompIDForbidden

func NewGetAppcompsAppcompIDForbidden() *GetAppcompsAppcompIDForbidden

NewGetAppcompsAppcompIDForbidden creates a GetAppcompsAppcompIDForbidden with default headers values

func (*GetAppcompsAppcompIDForbidden) Error

type GetAppcompsAppcompIDGone

type GetAppcompsAppcompIDGone struct {
}

GetAppcompsAppcompIDGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetAppcompsAppcompIDGone

func NewGetAppcompsAppcompIDGone() *GetAppcompsAppcompIDGone

NewGetAppcompsAppcompIDGone creates a GetAppcompsAppcompIDGone with default headers values

func (*GetAppcompsAppcompIDGone) Error

func (o *GetAppcompsAppcompIDGone) Error() string

type GetAppcompsAppcompIDInternalServerError

type GetAppcompsAppcompIDInternalServerError struct {
}

GetAppcompsAppcompIDInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewGetAppcompsAppcompIDInternalServerError

func NewGetAppcompsAppcompIDInternalServerError() *GetAppcompsAppcompIDInternalServerError

NewGetAppcompsAppcompIDInternalServerError creates a GetAppcompsAppcompIDInternalServerError with default headers values

func (*GetAppcompsAppcompIDInternalServerError) Error

type GetAppcompsAppcompIDMethodNotAllowed

type GetAppcompsAppcompIDMethodNotAllowed struct {
}

GetAppcompsAppcompIDMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetAppcompsAppcompIDMethodNotAllowed

func NewGetAppcompsAppcompIDMethodNotAllowed() *GetAppcompsAppcompIDMethodNotAllowed

NewGetAppcompsAppcompIDMethodNotAllowed creates a GetAppcompsAppcompIDMethodNotAllowed with default headers values

func (*GetAppcompsAppcompIDMethodNotAllowed) Error

type GetAppcompsAppcompIDNotFound

type GetAppcompsAppcompIDNotFound struct {
}

GetAppcompsAppcompIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetAppcompsAppcompIDNotFound

func NewGetAppcompsAppcompIDNotFound() *GetAppcompsAppcompIDNotFound

NewGetAppcompsAppcompIDNotFound creates a GetAppcompsAppcompIDNotFound with default headers values

func (*GetAppcompsAppcompIDNotFound) Error

type GetAppcompsAppcompIDOK

type GetAppcompsAppcompIDOK struct {
	Payload *GetAppcompsAppcompIDOKBody
}

GetAppcompsAppcompIDOK handles this case with default header values.

The above command returns results like this:

func NewGetAppcompsAppcompIDOK

func NewGetAppcompsAppcompIDOK() *GetAppcompsAppcompIDOK

NewGetAppcompsAppcompIDOK creates a GetAppcompsAppcompIDOK with default headers values

func (*GetAppcompsAppcompIDOK) Error

func (o *GetAppcompsAppcompIDOK) Error() string

func (*GetAppcompsAppcompIDOK) GetPayload

type GetAppcompsAppcompIDOKBody

type GetAppcompsAppcompIDOKBody struct {

	// appcomp id
	AppcompID interface{} `json:"appcomp_id,omitempty"`

	// custom fields
	CustomFields []*models.AppcompsCustomFields `json:"custom_fields"`

	// dependent
	Dependent interface{} `json:"dependent,omitempty"`

	// depends on
	DependsOn interface{} `json:"depends_on,omitempty"`

	// device
	Device interface{} `json:"device,omitempty"`

	// group owner
	GroupOwner interface{} `json:"group_owner,omitempty"`

	// groups affected
	GroupsAffected interface{} `json:"groups_affected,omitempty"`

	// name
	Name interface{} `json:"name,omitempty"`

	// notes
	Notes interface{} `json:"notes,omitempty"`

	// what
	What interface{} `json:"what,omitempty"`
}

GetAppcompsAppcompIDOKBody get appcomps appcomp ID o k body swagger:model GetAppcompsAppcompIDOKBody

func (*GetAppcompsAppcompIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAppcompsAppcompIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAppcompsAppcompIDOKBody) Validate

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

Validate validates this get appcomps appcomp ID o k body

type GetAppcompsAppcompIDParams

type GetAppcompsAppcompIDParams struct {

	/*AppcompID
	  Appcomp id

	*/
	AppcompID strfmt.UUID

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

GetAppcompsAppcompIDParams contains all the parameters to send to the API endpoint for the get appcomps appcomp id operation typically these are written to a http.Request

func NewGetAppcompsAppcompIDParams

func NewGetAppcompsAppcompIDParams() *GetAppcompsAppcompIDParams

NewGetAppcompsAppcompIDParams creates a new GetAppcompsAppcompIDParams object with the default values initialized.

func NewGetAppcompsAppcompIDParamsWithContext

func NewGetAppcompsAppcompIDParamsWithContext(ctx context.Context) *GetAppcompsAppcompIDParams

NewGetAppcompsAppcompIDParamsWithContext creates a new GetAppcompsAppcompIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetAppcompsAppcompIDParamsWithHTTPClient

func NewGetAppcompsAppcompIDParamsWithHTTPClient(client *http.Client) *GetAppcompsAppcompIDParams

NewGetAppcompsAppcompIDParamsWithHTTPClient creates a new GetAppcompsAppcompIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAppcompsAppcompIDParamsWithTimeout

func NewGetAppcompsAppcompIDParamsWithTimeout(timeout time.Duration) *GetAppcompsAppcompIDParams

NewGetAppcompsAppcompIDParamsWithTimeout creates a new GetAppcompsAppcompIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAppcompsAppcompIDParams) SetAppcompID

func (o *GetAppcompsAppcompIDParams) SetAppcompID(appcompID strfmt.UUID)

SetAppcompID adds the appcompId to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) SetContext

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

SetContext adds the context to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) SetTimeout

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

SetTimeout adds the timeout to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) WithAppcompID

WithAppcompID adds the appcompID to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) WithContext

WithContext adds the context to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) WithTimeout

WithTimeout adds the timeout to the get appcomps appcomp id params

func (*GetAppcompsAppcompIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAppcompsAppcompIDReader

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

GetAppcompsAppcompIDReader is a Reader for the GetAppcompsAppcompID structure.

func (*GetAppcompsAppcompIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppcompsAppcompIDServiceUnavailable

type GetAppcompsAppcompIDServiceUnavailable struct {
}

GetAppcompsAppcompIDServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetAppcompsAppcompIDServiceUnavailable

func NewGetAppcompsAppcompIDServiceUnavailable() *GetAppcompsAppcompIDServiceUnavailable

NewGetAppcompsAppcompIDServiceUnavailable creates a GetAppcompsAppcompIDServiceUnavailable with default headers values

func (*GetAppcompsAppcompIDServiceUnavailable) Error

type GetAppcompsAppcompIDUnauthorized

type GetAppcompsAppcompIDUnauthorized struct {
}

GetAppcompsAppcompIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetAppcompsAppcompIDUnauthorized

func NewGetAppcompsAppcompIDUnauthorized() *GetAppcompsAppcompIDUnauthorized

NewGetAppcompsAppcompIDUnauthorized creates a GetAppcompsAppcompIDUnauthorized with default headers values

func (*GetAppcompsAppcompIDUnauthorized) Error

type GetAppcompsBadRequest

type GetAppcompsBadRequest struct {
}

GetAppcompsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetAppcompsBadRequest

func NewGetAppcompsBadRequest() *GetAppcompsBadRequest

NewGetAppcompsBadRequest creates a GetAppcompsBadRequest with default headers values

func (*GetAppcompsBadRequest) Error

func (o *GetAppcompsBadRequest) Error() string

type GetAppcompsForbidden

type GetAppcompsForbidden struct {
}

GetAppcompsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetAppcompsForbidden

func NewGetAppcompsForbidden() *GetAppcompsForbidden

NewGetAppcompsForbidden creates a GetAppcompsForbidden with default headers values

func (*GetAppcompsForbidden) Error

func (o *GetAppcompsForbidden) Error() string

type GetAppcompsGone

type GetAppcompsGone struct {
}

GetAppcompsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetAppcompsGone

func NewGetAppcompsGone() *GetAppcompsGone

NewGetAppcompsGone creates a GetAppcompsGone with default headers values

func (*GetAppcompsGone) Error

func (o *GetAppcompsGone) Error() string

type GetAppcompsInternalServerError

type GetAppcompsInternalServerError struct {
}

GetAppcompsInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewGetAppcompsInternalServerError

func NewGetAppcompsInternalServerError() *GetAppcompsInternalServerError

NewGetAppcompsInternalServerError creates a GetAppcompsInternalServerError with default headers values

func (*GetAppcompsInternalServerError) Error

type GetAppcompsMethodNotAllowed

type GetAppcompsMethodNotAllowed struct {
}

GetAppcompsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetAppcompsMethodNotAllowed

func NewGetAppcompsMethodNotAllowed() *GetAppcompsMethodNotAllowed

NewGetAppcompsMethodNotAllowed creates a GetAppcompsMethodNotAllowed with default headers values

func (*GetAppcompsMethodNotAllowed) Error

type GetAppcompsNotFound

type GetAppcompsNotFound struct {
}

GetAppcompsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetAppcompsNotFound

func NewGetAppcompsNotFound() *GetAppcompsNotFound

NewGetAppcompsNotFound creates a GetAppcompsNotFound with default headers values

func (*GetAppcompsNotFound) Error

func (o *GetAppcompsNotFound) Error() string

type GetAppcompsOK

type GetAppcompsOK struct {
	Payload *GetAppcompsOKBody
}

GetAppcompsOK handles this case with default header values.

The above command returns results like this:

func NewGetAppcompsOK

func NewGetAppcompsOK() *GetAppcompsOK

NewGetAppcompsOK creates a GetAppcompsOK with default headers values

func (*GetAppcompsOK) Error

func (o *GetAppcompsOK) Error() string

func (*GetAppcompsOK) GetPayload

func (o *GetAppcompsOK) GetPayload() *GetAppcompsOKBody

type GetAppcompsOKBody

type GetAppcompsOKBody struct {

	// appcomps
	Appcomps []*AppcompsItems0 `json:"appcomps"`
}

GetAppcompsOKBody get appcomps o k body swagger:model GetAppcompsOKBody

func (*GetAppcompsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAppcompsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAppcompsOKBody) Validate

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

Validate validates this get appcomps o k body

type GetAppcompsParams

type GetAppcompsParams struct {

	/*Device
	  Device name

	*/
	Device *string
	/*DeviceID
	  filter by id of device

	*/
	DeviceID *string

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

GetAppcompsParams contains all the parameters to send to the API endpoint for the get appcomps operation typically these are written to a http.Request

func NewGetAppcompsParams

func NewGetAppcompsParams() *GetAppcompsParams

NewGetAppcompsParams creates a new GetAppcompsParams object with the default values initialized.

func NewGetAppcompsParamsWithContext

func NewGetAppcompsParamsWithContext(ctx context.Context) *GetAppcompsParams

NewGetAppcompsParamsWithContext creates a new GetAppcompsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAppcompsParamsWithHTTPClient

func NewGetAppcompsParamsWithHTTPClient(client *http.Client) *GetAppcompsParams

NewGetAppcompsParamsWithHTTPClient creates a new GetAppcompsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAppcompsParamsWithTimeout

func NewGetAppcompsParamsWithTimeout(timeout time.Duration) *GetAppcompsParams

NewGetAppcompsParamsWithTimeout creates a new GetAppcompsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAppcompsParams) SetContext

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

SetContext adds the context to the get appcomps params

func (*GetAppcompsParams) SetDevice

func (o *GetAppcompsParams) SetDevice(device *string)

SetDevice adds the device to the get appcomps params

func (*GetAppcompsParams) SetDeviceID

func (o *GetAppcompsParams) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the get appcomps params

func (*GetAppcompsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get appcomps params

func (*GetAppcompsParams) SetTimeout

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

SetTimeout adds the timeout to the get appcomps params

func (*GetAppcompsParams) WithContext

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

WithContext adds the context to the get appcomps params

func (*GetAppcompsParams) WithDevice

func (o *GetAppcompsParams) WithDevice(device *string) *GetAppcompsParams

WithDevice adds the device to the get appcomps params

func (*GetAppcompsParams) WithDeviceID

func (o *GetAppcompsParams) WithDeviceID(deviceID *string) *GetAppcompsParams

WithDeviceID adds the deviceID to the get appcomps params

func (*GetAppcompsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get appcomps params

func (*GetAppcompsParams) WithTimeout

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

WithTimeout adds the timeout to the get appcomps params

func (*GetAppcompsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAppcompsReader

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

GetAppcompsReader is a Reader for the GetAppcomps structure.

func (*GetAppcompsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppcompsServiceUnavailable

type GetAppcompsServiceUnavailable struct {
}

GetAppcompsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetAppcompsServiceUnavailable

func NewGetAppcompsServiceUnavailable() *GetAppcompsServiceUnavailable

NewGetAppcompsServiceUnavailable creates a GetAppcompsServiceUnavailable with default headers values

func (*GetAppcompsServiceUnavailable) Error

type GetAppcompsUnauthorized

type GetAppcompsUnauthorized struct {
}

GetAppcompsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetAppcompsUnauthorized

func NewGetAppcompsUnauthorized() *GetAppcompsUnauthorized

NewGetAppcompsUnauthorized creates a GetAppcompsUnauthorized with default headers values

func (*GetAppcompsUnauthorized) Error

func (o *GetAppcompsUnauthorized) Error() string

type PostAppcompsBadRequest

type PostAppcompsBadRequest struct {
}

PostAppcompsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostAppcompsBadRequest

func NewPostAppcompsBadRequest() *PostAppcompsBadRequest

NewPostAppcompsBadRequest creates a PostAppcompsBadRequest with default headers values

func (*PostAppcompsBadRequest) Error

func (o *PostAppcompsBadRequest) Error() string

type PostAppcompsForbidden

type PostAppcompsForbidden struct {
}

PostAppcompsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostAppcompsForbidden

func NewPostAppcompsForbidden() *PostAppcompsForbidden

NewPostAppcompsForbidden creates a PostAppcompsForbidden with default headers values

func (*PostAppcompsForbidden) Error

func (o *PostAppcompsForbidden) Error() string

type PostAppcompsGone

type PostAppcompsGone struct {
}

PostAppcompsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostAppcompsGone

func NewPostAppcompsGone() *PostAppcompsGone

NewPostAppcompsGone creates a PostAppcompsGone with default headers values

func (*PostAppcompsGone) Error

func (o *PostAppcompsGone) Error() string

type PostAppcompsInternalServerError

type PostAppcompsInternalServerError struct {
}

PostAppcompsInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewPostAppcompsInternalServerError

func NewPostAppcompsInternalServerError() *PostAppcompsInternalServerError

NewPostAppcompsInternalServerError creates a PostAppcompsInternalServerError with default headers values

func (*PostAppcompsInternalServerError) Error

type PostAppcompsMethodNotAllowed

type PostAppcompsMethodNotAllowed struct {
}

PostAppcompsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostAppcompsMethodNotAllowed

func NewPostAppcompsMethodNotAllowed() *PostAppcompsMethodNotAllowed

NewPostAppcompsMethodNotAllowed creates a PostAppcompsMethodNotAllowed with default headers values

func (*PostAppcompsMethodNotAllowed) Error

type PostAppcompsNotFound

type PostAppcompsNotFound struct {
}

PostAppcompsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostAppcompsNotFound

func NewPostAppcompsNotFound() *PostAppcompsNotFound

NewPostAppcompsNotFound creates a PostAppcompsNotFound with default headers values

func (*PostAppcompsNotFound) Error

func (o *PostAppcompsNotFound) Error() string

type PostAppcompsOK

type PostAppcompsOK struct {
	Payload *PostAppcompsOKBody
}

PostAppcompsOK handles this case with default header values.

The above command returns results like this:

func NewPostAppcompsOK

func NewPostAppcompsOK() *PostAppcompsOK

NewPostAppcompsOK creates a PostAppcompsOK with default headers values

func (*PostAppcompsOK) Error

func (o *PostAppcompsOK) Error() string

func (*PostAppcompsOK) GetPayload

func (o *PostAppcompsOK) GetPayload() *PostAppcompsOKBody

type PostAppcompsOKBody

type PostAppcompsOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostAppcompsOKBody post appcomps o k body swagger:model PostAppcompsOKBody

func (*PostAppcompsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostAppcompsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostAppcompsOKBody) Validate

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

Validate validates this post appcomps o k body

type PostAppcompsParams

type PostAppcompsParams struct {

	/*Dependents
	  Names of app components that depend on this component separated by commas - must match component names exactly.

	*/
	Dependents *string
	/*DependsOn
	  Names of app components this component depends on, separated by commas - must match component names exactly.

	*/
	DependsOn *string
	/*DependsOnReasons
	  list of string pairs for dependent appcomps on this appcomp e.g. => depend_appcomp_name1:reason1, depend_appcomp_name2:reason2, depend_appcomp_nameN:reason3 (added in v6.6.0)

	*/
	DependsOnReasons *string
	/*Device
	  device (name) that this component is dependent on

	*/
	Device string
	/*DeviceReason
	  string for the device reason on this appcomp (added in v6.6.0)

	*/
	DeviceReason *string
	/*GroupOwner
	  Name of group that is responsible for this component - must match group name exactly.

	*/
	GroupOwner *string
	/*GroupsAffected
	  Names of affected groups separated by commas - must match group names exactly.

	*/
	GroupsAffected *string
	/*Name
	  unique name for component

	*/
	Name string
	/*What
	  Description of business impact due to loss of component.

	*/
	What *string

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

PostAppcompsParams contains all the parameters to send to the API endpoint for the post appcomps operation typically these are written to a http.Request

func NewPostAppcompsParams

func NewPostAppcompsParams() *PostAppcompsParams

NewPostAppcompsParams creates a new PostAppcompsParams object with the default values initialized.

func NewPostAppcompsParamsWithContext

func NewPostAppcompsParamsWithContext(ctx context.Context) *PostAppcompsParams

NewPostAppcompsParamsWithContext creates a new PostAppcompsParams object with the default values initialized, and the ability to set a context for a request

func NewPostAppcompsParamsWithHTTPClient

func NewPostAppcompsParamsWithHTTPClient(client *http.Client) *PostAppcompsParams

NewPostAppcompsParamsWithHTTPClient creates a new PostAppcompsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAppcompsParamsWithTimeout

func NewPostAppcompsParamsWithTimeout(timeout time.Duration) *PostAppcompsParams

NewPostAppcompsParamsWithTimeout creates a new PostAppcompsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAppcompsParams) SetContext

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

SetContext adds the context to the post appcomps params

func (*PostAppcompsParams) SetDependents

func (o *PostAppcompsParams) SetDependents(dependents *string)

SetDependents adds the dependents to the post appcomps params

func (*PostAppcompsParams) SetDependsOn

func (o *PostAppcompsParams) SetDependsOn(dependsOn *string)

SetDependsOn adds the dependsOn to the post appcomps params

func (*PostAppcompsParams) SetDependsOnReasons

func (o *PostAppcompsParams) SetDependsOnReasons(dependsOnReasons *string)

SetDependsOnReasons adds the dependsOnReasons to the post appcomps params

func (*PostAppcompsParams) SetDevice

func (o *PostAppcompsParams) SetDevice(device string)

SetDevice adds the device to the post appcomps params

func (*PostAppcompsParams) SetDeviceReason

func (o *PostAppcompsParams) SetDeviceReason(deviceReason *string)

SetDeviceReason adds the deviceReason to the post appcomps params

func (*PostAppcompsParams) SetGroupOwner

func (o *PostAppcompsParams) SetGroupOwner(groupOwner *string)

SetGroupOwner adds the groupOwner to the post appcomps params

func (*PostAppcompsParams) SetGroupsAffected

func (o *PostAppcompsParams) SetGroupsAffected(groupsAffected *string)

SetGroupsAffected adds the groupsAffected to the post appcomps params

func (*PostAppcompsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post appcomps params

func (*PostAppcompsParams) SetName

func (o *PostAppcompsParams) SetName(name string)

SetName adds the name to the post appcomps params

func (*PostAppcompsParams) SetTimeout

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

SetTimeout adds the timeout to the post appcomps params

func (*PostAppcompsParams) SetWhat

func (o *PostAppcompsParams) SetWhat(what *string)

SetWhat adds the what to the post appcomps params

func (*PostAppcompsParams) WithContext

WithContext adds the context to the post appcomps params

func (*PostAppcompsParams) WithDependents

func (o *PostAppcompsParams) WithDependents(dependents *string) *PostAppcompsParams

WithDependents adds the dependents to the post appcomps params

func (*PostAppcompsParams) WithDependsOn

func (o *PostAppcompsParams) WithDependsOn(dependsOn *string) *PostAppcompsParams

WithDependsOn adds the dependsOn to the post appcomps params

func (*PostAppcompsParams) WithDependsOnReasons

func (o *PostAppcompsParams) WithDependsOnReasons(dependsOnReasons *string) *PostAppcompsParams

WithDependsOnReasons adds the dependsOnReasons to the post appcomps params

func (*PostAppcompsParams) WithDevice

func (o *PostAppcompsParams) WithDevice(device string) *PostAppcompsParams

WithDevice adds the device to the post appcomps params

func (*PostAppcompsParams) WithDeviceReason

func (o *PostAppcompsParams) WithDeviceReason(deviceReason *string) *PostAppcompsParams

WithDeviceReason adds the deviceReason to the post appcomps params

func (*PostAppcompsParams) WithGroupOwner

func (o *PostAppcompsParams) WithGroupOwner(groupOwner *string) *PostAppcompsParams

WithGroupOwner adds the groupOwner to the post appcomps params

func (*PostAppcompsParams) WithGroupsAffected

func (o *PostAppcompsParams) WithGroupsAffected(groupsAffected *string) *PostAppcompsParams

WithGroupsAffected adds the groupsAffected to the post appcomps params

func (*PostAppcompsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post appcomps params

func (*PostAppcompsParams) WithName

func (o *PostAppcompsParams) WithName(name string) *PostAppcompsParams

WithName adds the name to the post appcomps params

func (*PostAppcompsParams) WithTimeout

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

WithTimeout adds the timeout to the post appcomps params

func (*PostAppcompsParams) WithWhat

func (o *PostAppcompsParams) WithWhat(what *string) *PostAppcompsParams

WithWhat adds the what to the post appcomps params

func (*PostAppcompsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAppcompsReader

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

PostAppcompsReader is a Reader for the PostAppcomps structure.

func (*PostAppcompsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAppcompsServiceUnavailable

type PostAppcompsServiceUnavailable struct {
}

PostAppcompsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostAppcompsServiceUnavailable

func NewPostAppcompsServiceUnavailable() *PostAppcompsServiceUnavailable

NewPostAppcompsServiceUnavailable creates a PostAppcompsServiceUnavailable with default headers values

func (*PostAppcompsServiceUnavailable) Error

type PostAppcompsUnauthorized

type PostAppcompsUnauthorized struct {
}

PostAppcompsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostAppcompsUnauthorized

func NewPostAppcompsUnauthorized() *PostAppcompsUnauthorized

NewPostAppcompsUnauthorized creates a PostAppcompsUnauthorized with default headers values

func (*PostAppcompsUnauthorized) Error

func (o *PostAppcompsUnauthorized) Error() string

type PutCustomFieldAppcompBadRequest

type PutCustomFieldAppcompBadRequest struct {
}

PutCustomFieldAppcompBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutCustomFieldAppcompBadRequest

func NewPutCustomFieldAppcompBadRequest() *PutCustomFieldAppcompBadRequest

NewPutCustomFieldAppcompBadRequest creates a PutCustomFieldAppcompBadRequest with default headers values

func (*PutCustomFieldAppcompBadRequest) Error

type PutCustomFieldAppcompForbidden

type PutCustomFieldAppcompForbidden struct {
}

PutCustomFieldAppcompForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutCustomFieldAppcompForbidden

func NewPutCustomFieldAppcompForbidden() *PutCustomFieldAppcompForbidden

NewPutCustomFieldAppcompForbidden creates a PutCustomFieldAppcompForbidden with default headers values

func (*PutCustomFieldAppcompForbidden) Error

type PutCustomFieldAppcompGone

type PutCustomFieldAppcompGone struct {
}

PutCustomFieldAppcompGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPutCustomFieldAppcompGone

func NewPutCustomFieldAppcompGone() *PutCustomFieldAppcompGone

NewPutCustomFieldAppcompGone creates a PutCustomFieldAppcompGone with default headers values

func (*PutCustomFieldAppcompGone) Error

func (o *PutCustomFieldAppcompGone) Error() string

type PutCustomFieldAppcompInternalServerError

type PutCustomFieldAppcompInternalServerError struct {
}

PutCustomFieldAppcompInternalServerError handles this case with default header values.

Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)

func NewPutCustomFieldAppcompInternalServerError

func NewPutCustomFieldAppcompInternalServerError() *PutCustomFieldAppcompInternalServerError

NewPutCustomFieldAppcompInternalServerError creates a PutCustomFieldAppcompInternalServerError with default headers values

func (*PutCustomFieldAppcompInternalServerError) Error

type PutCustomFieldAppcompMethodNotAllowed

type PutCustomFieldAppcompMethodNotAllowed struct {
}

PutCustomFieldAppcompMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPutCustomFieldAppcompMethodNotAllowed

func NewPutCustomFieldAppcompMethodNotAllowed() *PutCustomFieldAppcompMethodNotAllowed

NewPutCustomFieldAppcompMethodNotAllowed creates a PutCustomFieldAppcompMethodNotAllowed with default headers values

func (*PutCustomFieldAppcompMethodNotAllowed) Error

type PutCustomFieldAppcompNotFound

type PutCustomFieldAppcompNotFound struct {
}

PutCustomFieldAppcompNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutCustomFieldAppcompNotFound

func NewPutCustomFieldAppcompNotFound() *PutCustomFieldAppcompNotFound

NewPutCustomFieldAppcompNotFound creates a PutCustomFieldAppcompNotFound with default headers values

func (*PutCustomFieldAppcompNotFound) Error

type PutCustomFieldAppcompOK

type PutCustomFieldAppcompOK struct {
	Payload *PutCustomFieldAppcompOKBody
}

PutCustomFieldAppcompOK handles this case with default header values.

The above command returns results like this:

func NewPutCustomFieldAppcompOK

func NewPutCustomFieldAppcompOK() *PutCustomFieldAppcompOK

NewPutCustomFieldAppcompOK creates a PutCustomFieldAppcompOK with default headers values

func (*PutCustomFieldAppcompOK) Error

func (o *PutCustomFieldAppcompOK) Error() string

func (*PutCustomFieldAppcompOK) GetPayload

type PutCustomFieldAppcompOKBody

type PutCustomFieldAppcompOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PutCustomFieldAppcompOKBody put custom field appcomp o k body swagger:model PutCustomFieldAppcompOKBody

func (*PutCustomFieldAppcompOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutCustomFieldAppcompOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutCustomFieldAppcompOKBody) Validate

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

Validate validates this put custom field appcomp o k body

type PutCustomFieldAppcompParams

type PutCustomFieldAppcompParams struct {

	/*AddToPicklist
	  Comma separated values to add to picklist. If type is picklist and custom field is new, this is a required field. Duplicates will be ignored.

	*/
	AddToPicklist *string
	/*BulkFields
	  comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2

	*/
	BulkFields *string
	/*ClearValue
	  yes to clear existing value for that field

	*/
	ClearValue *string
	/*ID
	  ID of application component

	*/
	ID *string
	/*Key
	  Can be new or existing. This is the custom field name.

	*/
	Key string
	/*Name
	  name of application component

	*/
	Name *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RelatedFieldName
	  Required if type = related field.

	*/
	RelatedFieldName *string
	/*ShowOnChart
	  Show the field on impact charts

	*/
	ShowOnChart *string
	/*Type
	  this is the custom field type. If left blank, default is text. Date should be formatted as YYYY-MM-DD

	*/
	Type *string
	/*Value
	  This will set the value of the custom field for the specific object.

	*/
	Value *string

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

PutCustomFieldAppcompParams contains all the parameters to send to the API endpoint for the put custom field appcomp operation typically these are written to a http.Request

func NewPutCustomFieldAppcompParams

func NewPutCustomFieldAppcompParams() *PutCustomFieldAppcompParams

NewPutCustomFieldAppcompParams creates a new PutCustomFieldAppcompParams object with the default values initialized.

func NewPutCustomFieldAppcompParamsWithContext

func NewPutCustomFieldAppcompParamsWithContext(ctx context.Context) *PutCustomFieldAppcompParams

NewPutCustomFieldAppcompParamsWithContext creates a new PutCustomFieldAppcompParams object with the default values initialized, and the ability to set a context for a request

func NewPutCustomFieldAppcompParamsWithHTTPClient

func NewPutCustomFieldAppcompParamsWithHTTPClient(client *http.Client) *PutCustomFieldAppcompParams

NewPutCustomFieldAppcompParamsWithHTTPClient creates a new PutCustomFieldAppcompParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutCustomFieldAppcompParamsWithTimeout

func NewPutCustomFieldAppcompParamsWithTimeout(timeout time.Duration) *PutCustomFieldAppcompParams

NewPutCustomFieldAppcompParamsWithTimeout creates a new PutCustomFieldAppcompParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutCustomFieldAppcompParams) SetAddToPicklist

func (o *PutCustomFieldAppcompParams) SetAddToPicklist(addToPicklist *string)

SetAddToPicklist adds the addToPicklist to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetBulkFields

func (o *PutCustomFieldAppcompParams) SetBulkFields(bulkFields *string)

SetBulkFields adds the bulkFields to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetClearValue

func (o *PutCustomFieldAppcompParams) SetClearValue(clearValue *string)

SetClearValue adds the clearValue to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetContext

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

SetContext adds the context to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetID

func (o *PutCustomFieldAppcompParams) SetID(id *string)

SetID adds the id to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetKey

func (o *PutCustomFieldAppcompParams) SetKey(key string)

SetKey adds the key to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetName

func (o *PutCustomFieldAppcompParams) SetName(name *string)

SetName adds the name to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetNotes

func (o *PutCustomFieldAppcompParams) SetNotes(notes *string)

SetNotes adds the notes to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetRelatedFieldName

func (o *PutCustomFieldAppcompParams) SetRelatedFieldName(relatedFieldName *string)

SetRelatedFieldName adds the relatedFieldName to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetShowOnChart

func (o *PutCustomFieldAppcompParams) SetShowOnChart(showOnChart *string)

SetShowOnChart adds the showOnChart to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetTimeout

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

SetTimeout adds the timeout to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetType

func (o *PutCustomFieldAppcompParams) SetType(typeVar *string)

SetType adds the type to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) SetValue

func (o *PutCustomFieldAppcompParams) SetValue(value *string)

SetValue adds the value to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithAddToPicklist

func (o *PutCustomFieldAppcompParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldAppcompParams

WithAddToPicklist adds the addToPicklist to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithBulkFields

func (o *PutCustomFieldAppcompParams) WithBulkFields(bulkFields *string) *PutCustomFieldAppcompParams

WithBulkFields adds the bulkFields to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithClearValue

func (o *PutCustomFieldAppcompParams) WithClearValue(clearValue *string) *PutCustomFieldAppcompParams

WithClearValue adds the clearValue to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithContext

WithContext adds the context to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithID

WithID adds the id to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithKey

WithKey adds the key to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithName

WithName adds the name to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithNotes

WithNotes adds the notes to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithRelatedFieldName

func (o *PutCustomFieldAppcompParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldAppcompParams

WithRelatedFieldName adds the relatedFieldName to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithShowOnChart

func (o *PutCustomFieldAppcompParams) WithShowOnChart(showOnChart *string) *PutCustomFieldAppcompParams

WithShowOnChart adds the showOnChart to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithTimeout

WithTimeout adds the timeout to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithType

WithType adds the typeVar to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WithValue

WithValue adds the value to the put custom field appcomp params

func (*PutCustomFieldAppcompParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCustomFieldAppcompReader

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

PutCustomFieldAppcompReader is a Reader for the PutCustomFieldAppcomp structure.

func (*PutCustomFieldAppcompReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCustomFieldAppcompServiceUnavailable

type PutCustomFieldAppcompServiceUnavailable struct {
}

PutCustomFieldAppcompServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPutCustomFieldAppcompServiceUnavailable

func NewPutCustomFieldAppcompServiceUnavailable() *PutCustomFieldAppcompServiceUnavailable

NewPutCustomFieldAppcompServiceUnavailable creates a PutCustomFieldAppcompServiceUnavailable with default headers values

func (*PutCustomFieldAppcompServiceUnavailable) Error

type PutCustomFieldAppcompUnauthorized

type PutCustomFieldAppcompUnauthorized struct {
}

PutCustomFieldAppcompUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutCustomFieldAppcompUnauthorized

func NewPutCustomFieldAppcompUnauthorized() *PutCustomFieldAppcompUnauthorized

NewPutCustomFieldAppcompUnauthorized creates a PutCustomFieldAppcompUnauthorized with default headers values

func (*PutCustomFieldAppcompUnauthorized) Error

Jump to

Keyboard shortcuts

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