Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteBuildings(params *DeleteBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBuildingsOK, error)
- func (a *Client) GetBuildings(params *GetBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildingsOK, error)
- func (a *Client) PostBuildings(params *PostBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*PostBuildingsOK, error)
- func (a *Client) PutCustomFieldsBuilding(params *PutCustomFieldsBuildingParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsBuildingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteBuildingsBadRequest
- type DeleteBuildingsForbidden
- type DeleteBuildingsGone
- type DeleteBuildingsInternalServerError
- type DeleteBuildingsMethodNotAllowed
- type DeleteBuildingsNotFound
- type DeleteBuildingsOK
- type DeleteBuildingsOKBody
- type DeleteBuildingsParams
- func NewDeleteBuildingsParams() *DeleteBuildingsParams
- func NewDeleteBuildingsParamsWithContext(ctx context.Context) *DeleteBuildingsParams
- func NewDeleteBuildingsParamsWithHTTPClient(client *http.Client) *DeleteBuildingsParams
- func NewDeleteBuildingsParamsWithTimeout(timeout time.Duration) *DeleteBuildingsParams
- func (o *DeleteBuildingsParams) SetContext(ctx context.Context)
- func (o *DeleteBuildingsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBuildingsParams) SetID(id int64)
- func (o *DeleteBuildingsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBuildingsParams) WithContext(ctx context.Context) *DeleteBuildingsParams
- func (o *DeleteBuildingsParams) WithHTTPClient(client *http.Client) *DeleteBuildingsParams
- func (o *DeleteBuildingsParams) WithID(id int64) *DeleteBuildingsParams
- func (o *DeleteBuildingsParams) WithTimeout(timeout time.Duration) *DeleteBuildingsParams
- func (o *DeleteBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBuildingsReader
- type DeleteBuildingsServiceUnavailable
- type DeleteBuildingsUnauthorized
- type GetBuildingsBadRequest
- type GetBuildingsForbidden
- type GetBuildingsGone
- type GetBuildingsInternalServerError
- type GetBuildingsMethodNotAllowed
- type GetBuildingsNotFound
- type GetBuildingsOK
- type GetBuildingsOKBody
- type GetBuildingsParams
- func (o *GetBuildingsParams) SetContext(ctx context.Context)
- func (o *GetBuildingsParams) SetHTTPClient(client *http.Client)
- func (o *GetBuildingsParams) SetName(name *string)
- func (o *GetBuildingsParams) SetTimeout(timeout time.Duration)
- func (o *GetBuildingsParams) WithContext(ctx context.Context) *GetBuildingsParams
- func (o *GetBuildingsParams) WithHTTPClient(client *http.Client) *GetBuildingsParams
- func (o *GetBuildingsParams) WithName(name *string) *GetBuildingsParams
- func (o *GetBuildingsParams) WithTimeout(timeout time.Duration) *GetBuildingsParams
- func (o *GetBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBuildingsReader
- type GetBuildingsServiceUnavailable
- type GetBuildingsUnauthorized
- type PostBuildingsBadRequest
- type PostBuildingsForbidden
- type PostBuildingsGone
- type PostBuildingsInternalServerError
- type PostBuildingsMethodNotAllowed
- type PostBuildingsNotFound
- type PostBuildingsOK
- type PostBuildingsOKBody
- type PostBuildingsParams
- func (o *PostBuildingsParams) SetAddress(address string)
- func (o *PostBuildingsParams) SetContactName(contactName *string)
- func (o *PostBuildingsParams) SetContactPhone(contactPhone *string)
- func (o *PostBuildingsParams) SetContext(ctx context.Context)
- func (o *PostBuildingsParams) SetGroups(groups *string)
- func (o *PostBuildingsParams) SetHTTPClient(client *http.Client)
- func (o *PostBuildingsParams) SetName(name string)
- func (o *PostBuildingsParams) SetNotes(notes *string)
- func (o *PostBuildingsParams) SetTimeout(timeout time.Duration)
- func (o *PostBuildingsParams) WithAddress(address string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithContactName(contactName *string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithContactPhone(contactPhone *string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithContext(ctx context.Context) *PostBuildingsParams
- func (o *PostBuildingsParams) WithGroups(groups *string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithHTTPClient(client *http.Client) *PostBuildingsParams
- func (o *PostBuildingsParams) WithName(name string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithNotes(notes *string) *PostBuildingsParams
- func (o *PostBuildingsParams) WithTimeout(timeout time.Duration) *PostBuildingsParams
- func (o *PostBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostBuildingsReader
- type PostBuildingsServiceUnavailable
- type PostBuildingsUnauthorized
- type PutCustomFieldsBuildingBadRequest
- type PutCustomFieldsBuildingForbidden
- type PutCustomFieldsBuildingGone
- type PutCustomFieldsBuildingInternalServerError
- type PutCustomFieldsBuildingMethodNotAllowed
- type PutCustomFieldsBuildingNotFound
- type PutCustomFieldsBuildingOK
- type PutCustomFieldsBuildingOKBody
- type PutCustomFieldsBuildingParams
- func NewPutCustomFieldsBuildingParams() *PutCustomFieldsBuildingParams
- func NewPutCustomFieldsBuildingParamsWithContext(ctx context.Context) *PutCustomFieldsBuildingParams
- func NewPutCustomFieldsBuildingParamsWithHTTPClient(client *http.Client) *PutCustomFieldsBuildingParams
- func NewPutCustomFieldsBuildingParamsWithTimeout(timeout time.Duration) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) SetAddToPicklist(addToPicklist *string)
- func (o *PutCustomFieldsBuildingParams) SetBulkFields(bulkFields *string)
- func (o *PutCustomFieldsBuildingParams) SetClearValue(clearValue *string)
- func (o *PutCustomFieldsBuildingParams) SetContext(ctx context.Context)
- func (o *PutCustomFieldsBuildingParams) SetGroups(groups *string)
- func (o *PutCustomFieldsBuildingParams) SetHTTPClient(client *http.Client)
- func (o *PutCustomFieldsBuildingParams) SetID(id *string)
- func (o *PutCustomFieldsBuildingParams) SetKey(key string)
- func (o *PutCustomFieldsBuildingParams) SetName(name *string)
- func (o *PutCustomFieldsBuildingParams) SetNotes(notes *string)
- func (o *PutCustomFieldsBuildingParams) SetRelatedFieldName(relatedFieldName *string)
- func (o *PutCustomFieldsBuildingParams) SetTimeout(timeout time.Duration)
- func (o *PutCustomFieldsBuildingParams) SetType(typeVar *string)
- func (o *PutCustomFieldsBuildingParams) SetValue(value *string)
- func (o *PutCustomFieldsBuildingParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithBulkFields(bulkFields *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithClearValue(clearValue *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithContext(ctx context.Context) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithGroups(groups *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithHTTPClient(client *http.Client) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithID(id *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithKey(key string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithName(name *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithNotes(notes *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithTimeout(timeout time.Duration) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithType(typeVar *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WithValue(value *string) *PutCustomFieldsBuildingParams
- func (o *PutCustomFieldsBuildingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCustomFieldsBuildingReader
- type PutCustomFieldsBuildingServiceUnavailable
- type PutCustomFieldsBuildingUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for buildings API
func (*Client) DeleteBuildings ¶
func (a *Client) DeleteBuildings(params *DeleteBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBuildingsOK, error)
DeleteBuildings deletes building
This API is used to delete the building with the building id supplied as the required argument.
func (*Client) GetBuildings ¶
func (a *Client) GetBuildings(params *GetBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildingsOK, error)
GetBuildings retrieves information about all buildings
Get All Buildings
func (*Client) PostBuildings ¶
func (a *Client) PostBuildings(params *PostBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*PostBuildingsOK, error)
PostBuildings creates update buildings
Create/Update Building
func (*Client) PutCustomFieldsBuilding ¶
func (a *Client) PutCustomFieldsBuilding(params *PutCustomFieldsBuildingParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsBuildingOK, error)
PutCustomFieldsBuilding creates update custom fields for buildings
Create or update custom fields for buildings. "ID" or "name" of building is needed even when value is not being changed
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteBuildings(params *DeleteBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBuildingsOK, error) GetBuildings(params *GetBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildingsOK, error) PostBuildings(params *PostBuildingsParams, authInfo runtime.ClientAuthInfoWriter) (*PostBuildingsOK, error) PutCustomFieldsBuilding(params *PutCustomFieldsBuildingParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsBuildingOK, 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 buildings API client.
type DeleteBuildingsBadRequest ¶
type DeleteBuildingsBadRequest struct { }
DeleteBuildingsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewDeleteBuildingsBadRequest ¶
func NewDeleteBuildingsBadRequest() *DeleteBuildingsBadRequest
NewDeleteBuildingsBadRequest creates a DeleteBuildingsBadRequest with default headers values
func (*DeleteBuildingsBadRequest) Error ¶
func (o *DeleteBuildingsBadRequest) Error() string
type DeleteBuildingsForbidden ¶
type DeleteBuildingsForbidden struct { }
DeleteBuildingsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewDeleteBuildingsForbidden ¶
func NewDeleteBuildingsForbidden() *DeleteBuildingsForbidden
NewDeleteBuildingsForbidden creates a DeleteBuildingsForbidden with default headers values
func (*DeleteBuildingsForbidden) Error ¶
func (o *DeleteBuildingsForbidden) Error() string
type DeleteBuildingsGone ¶
type DeleteBuildingsGone struct { }
DeleteBuildingsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewDeleteBuildingsGone ¶
func NewDeleteBuildingsGone() *DeleteBuildingsGone
NewDeleteBuildingsGone creates a DeleteBuildingsGone with default headers values
func (*DeleteBuildingsGone) Error ¶
func (o *DeleteBuildingsGone) Error() string
type DeleteBuildingsInternalServerError ¶
type DeleteBuildingsInternalServerError struct { }
DeleteBuildingsInternalServerError 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 NewDeleteBuildingsInternalServerError ¶
func NewDeleteBuildingsInternalServerError() *DeleteBuildingsInternalServerError
NewDeleteBuildingsInternalServerError creates a DeleteBuildingsInternalServerError with default headers values
func (*DeleteBuildingsInternalServerError) Error ¶
func (o *DeleteBuildingsInternalServerError) Error() string
type DeleteBuildingsMethodNotAllowed ¶
type DeleteBuildingsMethodNotAllowed struct { }
DeleteBuildingsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewDeleteBuildingsMethodNotAllowed ¶
func NewDeleteBuildingsMethodNotAllowed() *DeleteBuildingsMethodNotAllowed
NewDeleteBuildingsMethodNotAllowed creates a DeleteBuildingsMethodNotAllowed with default headers values
func (*DeleteBuildingsMethodNotAllowed) Error ¶
func (o *DeleteBuildingsMethodNotAllowed) Error() string
type DeleteBuildingsNotFound ¶
type DeleteBuildingsNotFound struct { }
DeleteBuildingsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewDeleteBuildingsNotFound ¶
func NewDeleteBuildingsNotFound() *DeleteBuildingsNotFound
NewDeleteBuildingsNotFound creates a DeleteBuildingsNotFound with default headers values
func (*DeleteBuildingsNotFound) Error ¶
func (o *DeleteBuildingsNotFound) Error() string
type DeleteBuildingsOK ¶
type DeleteBuildingsOK struct {
Payload *DeleteBuildingsOKBody
}
DeleteBuildingsOK handles this case with default header values.
The above command returns results like this:
func NewDeleteBuildingsOK ¶
func NewDeleteBuildingsOK() *DeleteBuildingsOK
NewDeleteBuildingsOK creates a DeleteBuildingsOK with default headers values
func (*DeleteBuildingsOK) Error ¶
func (o *DeleteBuildingsOK) Error() string
func (*DeleteBuildingsOK) GetPayload ¶
func (o *DeleteBuildingsOK) GetPayload() *DeleteBuildingsOKBody
type DeleteBuildingsOKBody ¶
type DeleteBuildingsOKBody struct { // deleted Deleted interface{} `json:"deleted,omitempty"` // id ID interface{} `json:"id,omitempty"` }
DeleteBuildingsOKBody delete buildings o k body swagger:model DeleteBuildingsOKBody
func (*DeleteBuildingsOKBody) MarshalBinary ¶
func (o *DeleteBuildingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteBuildingsOKBody) UnmarshalBinary ¶
func (o *DeleteBuildingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteBuildingsParams ¶
type DeleteBuildingsParams struct { /*ID building id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBuildingsParams contains all the parameters to send to the API endpoint for the delete buildings operation typically these are written to a http.Request
func NewDeleteBuildingsParams ¶
func NewDeleteBuildingsParams() *DeleteBuildingsParams
NewDeleteBuildingsParams creates a new DeleteBuildingsParams object with the default values initialized.
func NewDeleteBuildingsParamsWithContext ¶
func NewDeleteBuildingsParamsWithContext(ctx context.Context) *DeleteBuildingsParams
NewDeleteBuildingsParamsWithContext creates a new DeleteBuildingsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteBuildingsParamsWithHTTPClient ¶
func NewDeleteBuildingsParamsWithHTTPClient(client *http.Client) *DeleteBuildingsParams
NewDeleteBuildingsParamsWithHTTPClient creates a new DeleteBuildingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteBuildingsParamsWithTimeout ¶
func NewDeleteBuildingsParamsWithTimeout(timeout time.Duration) *DeleteBuildingsParams
NewDeleteBuildingsParamsWithTimeout creates a new DeleteBuildingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteBuildingsParams) SetContext ¶
func (o *DeleteBuildingsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete buildings params
func (*DeleteBuildingsParams) SetHTTPClient ¶
func (o *DeleteBuildingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete buildings params
func (*DeleteBuildingsParams) SetID ¶
func (o *DeleteBuildingsParams) SetID(id int64)
SetID adds the id to the delete buildings params
func (*DeleteBuildingsParams) SetTimeout ¶
func (o *DeleteBuildingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete buildings params
func (*DeleteBuildingsParams) WithContext ¶
func (o *DeleteBuildingsParams) WithContext(ctx context.Context) *DeleteBuildingsParams
WithContext adds the context to the delete buildings params
func (*DeleteBuildingsParams) WithHTTPClient ¶
func (o *DeleteBuildingsParams) WithHTTPClient(client *http.Client) *DeleteBuildingsParams
WithHTTPClient adds the HTTPClient to the delete buildings params
func (*DeleteBuildingsParams) WithID ¶
func (o *DeleteBuildingsParams) WithID(id int64) *DeleteBuildingsParams
WithID adds the id to the delete buildings params
func (*DeleteBuildingsParams) WithTimeout ¶
func (o *DeleteBuildingsParams) WithTimeout(timeout time.Duration) *DeleteBuildingsParams
WithTimeout adds the timeout to the delete buildings params
func (*DeleteBuildingsParams) WriteToRequest ¶
func (o *DeleteBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBuildingsReader ¶
type DeleteBuildingsReader struct {
// contains filtered or unexported fields
}
DeleteBuildingsReader is a Reader for the DeleteBuildings structure.
func (*DeleteBuildingsReader) ReadResponse ¶
func (o *DeleteBuildingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBuildingsServiceUnavailable ¶
type DeleteBuildingsServiceUnavailable struct { }
DeleteBuildingsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewDeleteBuildingsServiceUnavailable ¶
func NewDeleteBuildingsServiceUnavailable() *DeleteBuildingsServiceUnavailable
NewDeleteBuildingsServiceUnavailable creates a DeleteBuildingsServiceUnavailable with default headers values
func (*DeleteBuildingsServiceUnavailable) Error ¶
func (o *DeleteBuildingsServiceUnavailable) Error() string
type DeleteBuildingsUnauthorized ¶
type DeleteBuildingsUnauthorized struct { }
DeleteBuildingsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewDeleteBuildingsUnauthorized ¶
func NewDeleteBuildingsUnauthorized() *DeleteBuildingsUnauthorized
NewDeleteBuildingsUnauthorized creates a DeleteBuildingsUnauthorized with default headers values
func (*DeleteBuildingsUnauthorized) Error ¶
func (o *DeleteBuildingsUnauthorized) Error() string
type GetBuildingsBadRequest ¶
type GetBuildingsBadRequest struct { }
GetBuildingsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetBuildingsBadRequest ¶
func NewGetBuildingsBadRequest() *GetBuildingsBadRequest
NewGetBuildingsBadRequest creates a GetBuildingsBadRequest with default headers values
func (*GetBuildingsBadRequest) Error ¶
func (o *GetBuildingsBadRequest) Error() string
type GetBuildingsForbidden ¶
type GetBuildingsForbidden struct { }
GetBuildingsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetBuildingsForbidden ¶
func NewGetBuildingsForbidden() *GetBuildingsForbidden
NewGetBuildingsForbidden creates a GetBuildingsForbidden with default headers values
func (*GetBuildingsForbidden) Error ¶
func (o *GetBuildingsForbidden) Error() string
type GetBuildingsGone ¶
type GetBuildingsGone struct { }
GetBuildingsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetBuildingsGone ¶
func NewGetBuildingsGone() *GetBuildingsGone
NewGetBuildingsGone creates a GetBuildingsGone with default headers values
func (*GetBuildingsGone) Error ¶
func (o *GetBuildingsGone) Error() string
type GetBuildingsInternalServerError ¶
type GetBuildingsInternalServerError struct { }
GetBuildingsInternalServerError 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 NewGetBuildingsInternalServerError ¶
func NewGetBuildingsInternalServerError() *GetBuildingsInternalServerError
NewGetBuildingsInternalServerError creates a GetBuildingsInternalServerError with default headers values
func (*GetBuildingsInternalServerError) Error ¶
func (o *GetBuildingsInternalServerError) Error() string
type GetBuildingsMethodNotAllowed ¶
type GetBuildingsMethodNotAllowed struct { }
GetBuildingsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetBuildingsMethodNotAllowed ¶
func NewGetBuildingsMethodNotAllowed() *GetBuildingsMethodNotAllowed
NewGetBuildingsMethodNotAllowed creates a GetBuildingsMethodNotAllowed with default headers values
func (*GetBuildingsMethodNotAllowed) Error ¶
func (o *GetBuildingsMethodNotAllowed) Error() string
type GetBuildingsNotFound ¶
type GetBuildingsNotFound struct { }
GetBuildingsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetBuildingsNotFound ¶
func NewGetBuildingsNotFound() *GetBuildingsNotFound
NewGetBuildingsNotFound creates a GetBuildingsNotFound with default headers values
func (*GetBuildingsNotFound) Error ¶
func (o *GetBuildingsNotFound) Error() string
type GetBuildingsOK ¶
type GetBuildingsOK struct {
Payload *GetBuildingsOKBody
}
GetBuildingsOK handles this case with default header values.
The above command returns results like this:
func NewGetBuildingsOK ¶
func NewGetBuildingsOK() *GetBuildingsOK
NewGetBuildingsOK creates a GetBuildingsOK with default headers values
func (*GetBuildingsOK) Error ¶
func (o *GetBuildingsOK) Error() string
func (*GetBuildingsOK) GetPayload ¶
func (o *GetBuildingsOK) GetPayload() *GetBuildingsOKBody
type GetBuildingsOKBody ¶
GetBuildingsOKBody get buildings o k body swagger:model GetBuildingsOKBody
func (*GetBuildingsOKBody) MarshalBinary ¶
func (o *GetBuildingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBuildingsOKBody) UnmarshalBinary ¶
func (o *GetBuildingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBuildingsParams ¶
type GetBuildingsParams struct { /*Name filter by name (Added in v6.0.0) */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBuildingsParams contains all the parameters to send to the API endpoint for the get buildings operation typically these are written to a http.Request
func NewGetBuildingsParams ¶
func NewGetBuildingsParams() *GetBuildingsParams
NewGetBuildingsParams creates a new GetBuildingsParams object with the default values initialized.
func NewGetBuildingsParamsWithContext ¶
func NewGetBuildingsParamsWithContext(ctx context.Context) *GetBuildingsParams
NewGetBuildingsParamsWithContext creates a new GetBuildingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetBuildingsParamsWithHTTPClient ¶
func NewGetBuildingsParamsWithHTTPClient(client *http.Client) *GetBuildingsParams
NewGetBuildingsParamsWithHTTPClient creates a new GetBuildingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBuildingsParamsWithTimeout ¶
func NewGetBuildingsParamsWithTimeout(timeout time.Duration) *GetBuildingsParams
NewGetBuildingsParamsWithTimeout creates a new GetBuildingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBuildingsParams) SetContext ¶
func (o *GetBuildingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get buildings params
func (*GetBuildingsParams) SetHTTPClient ¶
func (o *GetBuildingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get buildings params
func (*GetBuildingsParams) SetName ¶
func (o *GetBuildingsParams) SetName(name *string)
SetName adds the name to the get buildings params
func (*GetBuildingsParams) SetTimeout ¶
func (o *GetBuildingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get buildings params
func (*GetBuildingsParams) WithContext ¶
func (o *GetBuildingsParams) WithContext(ctx context.Context) *GetBuildingsParams
WithContext adds the context to the get buildings params
func (*GetBuildingsParams) WithHTTPClient ¶
func (o *GetBuildingsParams) WithHTTPClient(client *http.Client) *GetBuildingsParams
WithHTTPClient adds the HTTPClient to the get buildings params
func (*GetBuildingsParams) WithName ¶
func (o *GetBuildingsParams) WithName(name *string) *GetBuildingsParams
WithName adds the name to the get buildings params
func (*GetBuildingsParams) WithTimeout ¶
func (o *GetBuildingsParams) WithTimeout(timeout time.Duration) *GetBuildingsParams
WithTimeout adds the timeout to the get buildings params
func (*GetBuildingsParams) WriteToRequest ¶
func (o *GetBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBuildingsReader ¶
type GetBuildingsReader struct {
// contains filtered or unexported fields
}
GetBuildingsReader is a Reader for the GetBuildings structure.
func (*GetBuildingsReader) ReadResponse ¶
func (o *GetBuildingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBuildingsServiceUnavailable ¶
type GetBuildingsServiceUnavailable struct { }
GetBuildingsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetBuildingsServiceUnavailable ¶
func NewGetBuildingsServiceUnavailable() *GetBuildingsServiceUnavailable
NewGetBuildingsServiceUnavailable creates a GetBuildingsServiceUnavailable with default headers values
func (*GetBuildingsServiceUnavailable) Error ¶
func (o *GetBuildingsServiceUnavailable) Error() string
type GetBuildingsUnauthorized ¶
type GetBuildingsUnauthorized struct { }
GetBuildingsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetBuildingsUnauthorized ¶
func NewGetBuildingsUnauthorized() *GetBuildingsUnauthorized
NewGetBuildingsUnauthorized creates a GetBuildingsUnauthorized with default headers values
func (*GetBuildingsUnauthorized) Error ¶
func (o *GetBuildingsUnauthorized) Error() string
type PostBuildingsBadRequest ¶
type PostBuildingsBadRequest struct { }
PostBuildingsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostBuildingsBadRequest ¶
func NewPostBuildingsBadRequest() *PostBuildingsBadRequest
NewPostBuildingsBadRequest creates a PostBuildingsBadRequest with default headers values
func (*PostBuildingsBadRequest) Error ¶
func (o *PostBuildingsBadRequest) Error() string
type PostBuildingsForbidden ¶
type PostBuildingsForbidden struct { }
PostBuildingsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostBuildingsForbidden ¶
func NewPostBuildingsForbidden() *PostBuildingsForbidden
NewPostBuildingsForbidden creates a PostBuildingsForbidden with default headers values
func (*PostBuildingsForbidden) Error ¶
func (o *PostBuildingsForbidden) Error() string
type PostBuildingsGone ¶
type PostBuildingsGone struct { }
PostBuildingsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostBuildingsGone ¶
func NewPostBuildingsGone() *PostBuildingsGone
NewPostBuildingsGone creates a PostBuildingsGone with default headers values
func (*PostBuildingsGone) Error ¶
func (o *PostBuildingsGone) Error() string
type PostBuildingsInternalServerError ¶
type PostBuildingsInternalServerError struct { }
PostBuildingsInternalServerError 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 NewPostBuildingsInternalServerError ¶
func NewPostBuildingsInternalServerError() *PostBuildingsInternalServerError
NewPostBuildingsInternalServerError creates a PostBuildingsInternalServerError with default headers values
func (*PostBuildingsInternalServerError) Error ¶
func (o *PostBuildingsInternalServerError) Error() string
type PostBuildingsMethodNotAllowed ¶
type PostBuildingsMethodNotAllowed struct { }
PostBuildingsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostBuildingsMethodNotAllowed ¶
func NewPostBuildingsMethodNotAllowed() *PostBuildingsMethodNotAllowed
NewPostBuildingsMethodNotAllowed creates a PostBuildingsMethodNotAllowed with default headers values
func (*PostBuildingsMethodNotAllowed) Error ¶
func (o *PostBuildingsMethodNotAllowed) Error() string
type PostBuildingsNotFound ¶
type PostBuildingsNotFound struct { }
PostBuildingsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostBuildingsNotFound ¶
func NewPostBuildingsNotFound() *PostBuildingsNotFound
NewPostBuildingsNotFound creates a PostBuildingsNotFound with default headers values
func (*PostBuildingsNotFound) Error ¶
func (o *PostBuildingsNotFound) Error() string
type PostBuildingsOK ¶
type PostBuildingsOK struct {
Payload *PostBuildingsOKBody
}
PostBuildingsOK handles this case with default header values.
The above command returns results like this:
func NewPostBuildingsOK ¶
func NewPostBuildingsOK() *PostBuildingsOK
NewPostBuildingsOK creates a PostBuildingsOK with default headers values
func (*PostBuildingsOK) Error ¶
func (o *PostBuildingsOK) Error() string
func (*PostBuildingsOK) GetPayload ¶
func (o *PostBuildingsOK) GetPayload() *PostBuildingsOKBody
type PostBuildingsOKBody ¶
type PostBuildingsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostBuildingsOKBody post buildings o k body swagger:model PostBuildingsOKBody
func (*PostBuildingsOKBody) MarshalBinary ¶
func (o *PostBuildingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostBuildingsOKBody) UnmarshalBinary ¶
func (o *PostBuildingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostBuildingsParams ¶
type PostBuildingsParams struct { /*Address Address of building. */ Address string /*ContactName*/ ContactName *string /*ContactPhone*/ ContactPhone *string /*Groups If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted. */ Groups *string /*Name Name of building */ Name string /*Notes Any additional notes */ Notes *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostBuildingsParams contains all the parameters to send to the API endpoint for the post buildings operation typically these are written to a http.Request
func NewPostBuildingsParams ¶
func NewPostBuildingsParams() *PostBuildingsParams
NewPostBuildingsParams creates a new PostBuildingsParams object with the default values initialized.
func NewPostBuildingsParamsWithContext ¶
func NewPostBuildingsParamsWithContext(ctx context.Context) *PostBuildingsParams
NewPostBuildingsParamsWithContext creates a new PostBuildingsParams object with the default values initialized, and the ability to set a context for a request
func NewPostBuildingsParamsWithHTTPClient ¶
func NewPostBuildingsParamsWithHTTPClient(client *http.Client) *PostBuildingsParams
NewPostBuildingsParamsWithHTTPClient creates a new PostBuildingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostBuildingsParamsWithTimeout ¶
func NewPostBuildingsParamsWithTimeout(timeout time.Duration) *PostBuildingsParams
NewPostBuildingsParamsWithTimeout creates a new PostBuildingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostBuildingsParams) SetAddress ¶
func (o *PostBuildingsParams) SetAddress(address string)
SetAddress adds the address to the post buildings params
func (*PostBuildingsParams) SetContactName ¶
func (o *PostBuildingsParams) SetContactName(contactName *string)
SetContactName adds the contactName to the post buildings params
func (*PostBuildingsParams) SetContactPhone ¶
func (o *PostBuildingsParams) SetContactPhone(contactPhone *string)
SetContactPhone adds the contactPhone to the post buildings params
func (*PostBuildingsParams) SetContext ¶
func (o *PostBuildingsParams) SetContext(ctx context.Context)
SetContext adds the context to the post buildings params
func (*PostBuildingsParams) SetGroups ¶
func (o *PostBuildingsParams) SetGroups(groups *string)
SetGroups adds the groups to the post buildings params
func (*PostBuildingsParams) SetHTTPClient ¶
func (o *PostBuildingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post buildings params
func (*PostBuildingsParams) SetName ¶
func (o *PostBuildingsParams) SetName(name string)
SetName adds the name to the post buildings params
func (*PostBuildingsParams) SetNotes ¶
func (o *PostBuildingsParams) SetNotes(notes *string)
SetNotes adds the notes to the post buildings params
func (*PostBuildingsParams) SetTimeout ¶
func (o *PostBuildingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post buildings params
func (*PostBuildingsParams) WithAddress ¶
func (o *PostBuildingsParams) WithAddress(address string) *PostBuildingsParams
WithAddress adds the address to the post buildings params
func (*PostBuildingsParams) WithContactName ¶
func (o *PostBuildingsParams) WithContactName(contactName *string) *PostBuildingsParams
WithContactName adds the contactName to the post buildings params
func (*PostBuildingsParams) WithContactPhone ¶
func (o *PostBuildingsParams) WithContactPhone(contactPhone *string) *PostBuildingsParams
WithContactPhone adds the contactPhone to the post buildings params
func (*PostBuildingsParams) WithContext ¶
func (o *PostBuildingsParams) WithContext(ctx context.Context) *PostBuildingsParams
WithContext adds the context to the post buildings params
func (*PostBuildingsParams) WithGroups ¶
func (o *PostBuildingsParams) WithGroups(groups *string) *PostBuildingsParams
WithGroups adds the groups to the post buildings params
func (*PostBuildingsParams) WithHTTPClient ¶
func (o *PostBuildingsParams) WithHTTPClient(client *http.Client) *PostBuildingsParams
WithHTTPClient adds the HTTPClient to the post buildings params
func (*PostBuildingsParams) WithName ¶
func (o *PostBuildingsParams) WithName(name string) *PostBuildingsParams
WithName adds the name to the post buildings params
func (*PostBuildingsParams) WithNotes ¶
func (o *PostBuildingsParams) WithNotes(notes *string) *PostBuildingsParams
WithNotes adds the notes to the post buildings params
func (*PostBuildingsParams) WithTimeout ¶
func (o *PostBuildingsParams) WithTimeout(timeout time.Duration) *PostBuildingsParams
WithTimeout adds the timeout to the post buildings params
func (*PostBuildingsParams) WriteToRequest ¶
func (o *PostBuildingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostBuildingsReader ¶
type PostBuildingsReader struct {
// contains filtered or unexported fields
}
PostBuildingsReader is a Reader for the PostBuildings structure.
func (*PostBuildingsReader) ReadResponse ¶
func (o *PostBuildingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostBuildingsServiceUnavailable ¶
type PostBuildingsServiceUnavailable struct { }
PostBuildingsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostBuildingsServiceUnavailable ¶
func NewPostBuildingsServiceUnavailable() *PostBuildingsServiceUnavailable
NewPostBuildingsServiceUnavailable creates a PostBuildingsServiceUnavailable with default headers values
func (*PostBuildingsServiceUnavailable) Error ¶
func (o *PostBuildingsServiceUnavailable) Error() string
type PostBuildingsUnauthorized ¶
type PostBuildingsUnauthorized struct { }
PostBuildingsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostBuildingsUnauthorized ¶
func NewPostBuildingsUnauthorized() *PostBuildingsUnauthorized
NewPostBuildingsUnauthorized creates a PostBuildingsUnauthorized with default headers values
func (*PostBuildingsUnauthorized) Error ¶
func (o *PostBuildingsUnauthorized) Error() string
type PutCustomFieldsBuildingBadRequest ¶
type PutCustomFieldsBuildingBadRequest struct { }
PutCustomFieldsBuildingBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPutCustomFieldsBuildingBadRequest ¶
func NewPutCustomFieldsBuildingBadRequest() *PutCustomFieldsBuildingBadRequest
NewPutCustomFieldsBuildingBadRequest creates a PutCustomFieldsBuildingBadRequest with default headers values
func (*PutCustomFieldsBuildingBadRequest) Error ¶
func (o *PutCustomFieldsBuildingBadRequest) Error() string
type PutCustomFieldsBuildingForbidden ¶
type PutCustomFieldsBuildingForbidden struct { }
PutCustomFieldsBuildingForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPutCustomFieldsBuildingForbidden ¶
func NewPutCustomFieldsBuildingForbidden() *PutCustomFieldsBuildingForbidden
NewPutCustomFieldsBuildingForbidden creates a PutCustomFieldsBuildingForbidden with default headers values
func (*PutCustomFieldsBuildingForbidden) Error ¶
func (o *PutCustomFieldsBuildingForbidden) Error() string
type PutCustomFieldsBuildingGone ¶
type PutCustomFieldsBuildingGone struct { }
PutCustomFieldsBuildingGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPutCustomFieldsBuildingGone ¶
func NewPutCustomFieldsBuildingGone() *PutCustomFieldsBuildingGone
NewPutCustomFieldsBuildingGone creates a PutCustomFieldsBuildingGone with default headers values
func (*PutCustomFieldsBuildingGone) Error ¶
func (o *PutCustomFieldsBuildingGone) Error() string
type PutCustomFieldsBuildingInternalServerError ¶
type PutCustomFieldsBuildingInternalServerError struct { }
PutCustomFieldsBuildingInternalServerError 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 NewPutCustomFieldsBuildingInternalServerError ¶
func NewPutCustomFieldsBuildingInternalServerError() *PutCustomFieldsBuildingInternalServerError
NewPutCustomFieldsBuildingInternalServerError creates a PutCustomFieldsBuildingInternalServerError with default headers values
func (*PutCustomFieldsBuildingInternalServerError) Error ¶
func (o *PutCustomFieldsBuildingInternalServerError) Error() string
type PutCustomFieldsBuildingMethodNotAllowed ¶
type PutCustomFieldsBuildingMethodNotAllowed struct { }
PutCustomFieldsBuildingMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPutCustomFieldsBuildingMethodNotAllowed ¶
func NewPutCustomFieldsBuildingMethodNotAllowed() *PutCustomFieldsBuildingMethodNotAllowed
NewPutCustomFieldsBuildingMethodNotAllowed creates a PutCustomFieldsBuildingMethodNotAllowed with default headers values
func (*PutCustomFieldsBuildingMethodNotAllowed) Error ¶
func (o *PutCustomFieldsBuildingMethodNotAllowed) Error() string
type PutCustomFieldsBuildingNotFound ¶
type PutCustomFieldsBuildingNotFound struct { }
PutCustomFieldsBuildingNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPutCustomFieldsBuildingNotFound ¶
func NewPutCustomFieldsBuildingNotFound() *PutCustomFieldsBuildingNotFound
NewPutCustomFieldsBuildingNotFound creates a PutCustomFieldsBuildingNotFound with default headers values
func (*PutCustomFieldsBuildingNotFound) Error ¶
func (o *PutCustomFieldsBuildingNotFound) Error() string
type PutCustomFieldsBuildingOK ¶
type PutCustomFieldsBuildingOK struct {
Payload *PutCustomFieldsBuildingOKBody
}
PutCustomFieldsBuildingOK handles this case with default header values.
The above command returns results like this:
func NewPutCustomFieldsBuildingOK ¶
func NewPutCustomFieldsBuildingOK() *PutCustomFieldsBuildingOK
NewPutCustomFieldsBuildingOK creates a PutCustomFieldsBuildingOK with default headers values
func (*PutCustomFieldsBuildingOK) Error ¶
func (o *PutCustomFieldsBuildingOK) Error() string
func (*PutCustomFieldsBuildingOK) GetPayload ¶
func (o *PutCustomFieldsBuildingOK) GetPayload() *PutCustomFieldsBuildingOKBody
type PutCustomFieldsBuildingOKBody ¶
type PutCustomFieldsBuildingOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PutCustomFieldsBuildingOKBody put custom fields building o k body swagger:model PutCustomFieldsBuildingOKBody
func (*PutCustomFieldsBuildingOKBody) MarshalBinary ¶
func (o *PutCustomFieldsBuildingOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutCustomFieldsBuildingOKBody) UnmarshalBinary ¶
func (o *PutCustomFieldsBuildingOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutCustomFieldsBuildingParams ¶
type PutCustomFieldsBuildingParams 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 /*Groups If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted. */ Groups *string /*ID ID of building */ ID *string /*Key Can be new or existing. This is the custom field name. */ Key string /*Name Name of building */ Name *string /*Notes Any additional notes */ Notes *string /*RelatedFieldName Required if type = related field. */ RelatedFieldName *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 }
PutCustomFieldsBuildingParams contains all the parameters to send to the API endpoint for the put custom fields building operation typically these are written to a http.Request
func NewPutCustomFieldsBuildingParams ¶
func NewPutCustomFieldsBuildingParams() *PutCustomFieldsBuildingParams
NewPutCustomFieldsBuildingParams creates a new PutCustomFieldsBuildingParams object with the default values initialized.
func NewPutCustomFieldsBuildingParamsWithContext ¶
func NewPutCustomFieldsBuildingParamsWithContext(ctx context.Context) *PutCustomFieldsBuildingParams
NewPutCustomFieldsBuildingParamsWithContext creates a new PutCustomFieldsBuildingParams object with the default values initialized, and the ability to set a context for a request
func NewPutCustomFieldsBuildingParamsWithHTTPClient ¶
func NewPutCustomFieldsBuildingParamsWithHTTPClient(client *http.Client) *PutCustomFieldsBuildingParams
NewPutCustomFieldsBuildingParamsWithHTTPClient creates a new PutCustomFieldsBuildingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutCustomFieldsBuildingParamsWithTimeout ¶
func NewPutCustomFieldsBuildingParamsWithTimeout(timeout time.Duration) *PutCustomFieldsBuildingParams
NewPutCustomFieldsBuildingParamsWithTimeout creates a new PutCustomFieldsBuildingParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutCustomFieldsBuildingParams) SetAddToPicklist ¶
func (o *PutCustomFieldsBuildingParams) SetAddToPicklist(addToPicklist *string)
SetAddToPicklist adds the addToPicklist to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetBulkFields ¶
func (o *PutCustomFieldsBuildingParams) SetBulkFields(bulkFields *string)
SetBulkFields adds the bulkFields to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetClearValue ¶
func (o *PutCustomFieldsBuildingParams) SetClearValue(clearValue *string)
SetClearValue adds the clearValue to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetContext ¶
func (o *PutCustomFieldsBuildingParams) SetContext(ctx context.Context)
SetContext adds the context to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetGroups ¶
func (o *PutCustomFieldsBuildingParams) SetGroups(groups *string)
SetGroups adds the groups to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetHTTPClient ¶
func (o *PutCustomFieldsBuildingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetID ¶
func (o *PutCustomFieldsBuildingParams) SetID(id *string)
SetID adds the id to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetKey ¶
func (o *PutCustomFieldsBuildingParams) SetKey(key string)
SetKey adds the key to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetName ¶
func (o *PutCustomFieldsBuildingParams) SetName(name *string)
SetName adds the name to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetNotes ¶
func (o *PutCustomFieldsBuildingParams) SetNotes(notes *string)
SetNotes adds the notes to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetRelatedFieldName ¶
func (o *PutCustomFieldsBuildingParams) SetRelatedFieldName(relatedFieldName *string)
SetRelatedFieldName adds the relatedFieldName to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetTimeout ¶
func (o *PutCustomFieldsBuildingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetType ¶
func (o *PutCustomFieldsBuildingParams) SetType(typeVar *string)
SetType adds the type to the put custom fields building params
func (*PutCustomFieldsBuildingParams) SetValue ¶
func (o *PutCustomFieldsBuildingParams) SetValue(value *string)
SetValue adds the value to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithAddToPicklist ¶
func (o *PutCustomFieldsBuildingParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsBuildingParams
WithAddToPicklist adds the addToPicklist to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithBulkFields ¶
func (o *PutCustomFieldsBuildingParams) WithBulkFields(bulkFields *string) *PutCustomFieldsBuildingParams
WithBulkFields adds the bulkFields to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithClearValue ¶
func (o *PutCustomFieldsBuildingParams) WithClearValue(clearValue *string) *PutCustomFieldsBuildingParams
WithClearValue adds the clearValue to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithContext ¶
func (o *PutCustomFieldsBuildingParams) WithContext(ctx context.Context) *PutCustomFieldsBuildingParams
WithContext adds the context to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithGroups ¶
func (o *PutCustomFieldsBuildingParams) WithGroups(groups *string) *PutCustomFieldsBuildingParams
WithGroups adds the groups to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithHTTPClient ¶
func (o *PutCustomFieldsBuildingParams) WithHTTPClient(client *http.Client) *PutCustomFieldsBuildingParams
WithHTTPClient adds the HTTPClient to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithID ¶
func (o *PutCustomFieldsBuildingParams) WithID(id *string) *PutCustomFieldsBuildingParams
WithID adds the id to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithKey ¶
func (o *PutCustomFieldsBuildingParams) WithKey(key string) *PutCustomFieldsBuildingParams
WithKey adds the key to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithName ¶
func (o *PutCustomFieldsBuildingParams) WithName(name *string) *PutCustomFieldsBuildingParams
WithName adds the name to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithNotes ¶
func (o *PutCustomFieldsBuildingParams) WithNotes(notes *string) *PutCustomFieldsBuildingParams
WithNotes adds the notes to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithRelatedFieldName ¶
func (o *PutCustomFieldsBuildingParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsBuildingParams
WithRelatedFieldName adds the relatedFieldName to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithTimeout ¶
func (o *PutCustomFieldsBuildingParams) WithTimeout(timeout time.Duration) *PutCustomFieldsBuildingParams
WithTimeout adds the timeout to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithType ¶
func (o *PutCustomFieldsBuildingParams) WithType(typeVar *string) *PutCustomFieldsBuildingParams
WithType adds the typeVar to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WithValue ¶
func (o *PutCustomFieldsBuildingParams) WithValue(value *string) *PutCustomFieldsBuildingParams
WithValue adds the value to the put custom fields building params
func (*PutCustomFieldsBuildingParams) WriteToRequest ¶
func (o *PutCustomFieldsBuildingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutCustomFieldsBuildingReader ¶
type PutCustomFieldsBuildingReader struct {
// contains filtered or unexported fields
}
PutCustomFieldsBuildingReader is a Reader for the PutCustomFieldsBuilding structure.
func (*PutCustomFieldsBuildingReader) ReadResponse ¶
func (o *PutCustomFieldsBuildingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutCustomFieldsBuildingServiceUnavailable ¶
type PutCustomFieldsBuildingServiceUnavailable struct { }
PutCustomFieldsBuildingServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPutCustomFieldsBuildingServiceUnavailable ¶
func NewPutCustomFieldsBuildingServiceUnavailable() *PutCustomFieldsBuildingServiceUnavailable
NewPutCustomFieldsBuildingServiceUnavailable creates a PutCustomFieldsBuildingServiceUnavailable with default headers values
func (*PutCustomFieldsBuildingServiceUnavailable) Error ¶
func (o *PutCustomFieldsBuildingServiceUnavailable) Error() string
type PutCustomFieldsBuildingUnauthorized ¶
type PutCustomFieldsBuildingUnauthorized struct { }
PutCustomFieldsBuildingUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPutCustomFieldsBuildingUnauthorized ¶
func NewPutCustomFieldsBuildingUnauthorized() *PutCustomFieldsBuildingUnauthorized
NewPutCustomFieldsBuildingUnauthorized creates a PutCustomFieldsBuildingUnauthorized with default headers values
func (*PutCustomFieldsBuildingUnauthorized) Error ¶
func (o *PutCustomFieldsBuildingUnauthorized) Error() string