Documentation
¶
Index ¶
- type Client
- func (a *Client) DeletePassword(params *DeletePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePasswordOK, error)
- func (a *Client) GetPassword(params *GetPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordOK, error)
- func (a *Client) PostCustomFields(params *PostCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PostCustomFieldsOK, error)
- func (a *Client) PostUpdatePasswords(params *PostUpdatePasswordsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdatePasswordsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeletePasswordBadRequest
- type DeletePasswordForbidden
- type DeletePasswordGone
- type DeletePasswordInternalServerError
- type DeletePasswordMethodNotAllowed
- type DeletePasswordNotFound
- type DeletePasswordOK
- type DeletePasswordOKBody
- type DeletePasswordParams
- func NewDeletePasswordParams() *DeletePasswordParams
- func NewDeletePasswordParamsWithContext(ctx context.Context) *DeletePasswordParams
- func NewDeletePasswordParamsWithHTTPClient(client *http.Client) *DeletePasswordParams
- func NewDeletePasswordParamsWithTimeout(timeout time.Duration) *DeletePasswordParams
- func (o *DeletePasswordParams) SetContext(ctx context.Context)
- func (o *DeletePasswordParams) SetHTTPClient(client *http.Client)
- func (o *DeletePasswordParams) SetID(id int64)
- func (o *DeletePasswordParams) SetTimeout(timeout time.Duration)
- func (o *DeletePasswordParams) WithContext(ctx context.Context) *DeletePasswordParams
- func (o *DeletePasswordParams) WithHTTPClient(client *http.Client) *DeletePasswordParams
- func (o *DeletePasswordParams) WithID(id int64) *DeletePasswordParams
- func (o *DeletePasswordParams) WithTimeout(timeout time.Duration) *DeletePasswordParams
- func (o *DeletePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePasswordReader
- type DeletePasswordServiceUnavailable
- type DeletePasswordUnauthorized
- type GetPasswordBadRequest
- type GetPasswordForbidden
- type GetPasswordGone
- type GetPasswordInternalServerError
- type GetPasswordMethodNotAllowed
- type GetPasswordNotFound
- type GetPasswordOK
- type GetPasswordOKBody
- type GetPasswordParams
- func (o *GetPasswordParams) SetAppcomp(appcomp *string)
- func (o *GetPasswordParams) SetCategory(category *string)
- func (o *GetPasswordParams) SetContext(ctx context.Context)
- func (o *GetPasswordParams) SetDevice(device *string)
- func (o *GetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *GetPasswordParams) SetID(id *string)
- func (o *GetPasswordParams) SetLabel(label *string)
- func (o *GetPasswordParams) SetPlainText(plainText *string)
- func (o *GetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *GetPasswordParams) SetUsername(username *string)
- func (o *GetPasswordParams) WithAppcomp(appcomp *string) *GetPasswordParams
- func (o *GetPasswordParams) WithCategory(category *string) *GetPasswordParams
- func (o *GetPasswordParams) WithContext(ctx context.Context) *GetPasswordParams
- func (o *GetPasswordParams) WithDevice(device *string) *GetPasswordParams
- func (o *GetPasswordParams) WithHTTPClient(client *http.Client) *GetPasswordParams
- func (o *GetPasswordParams) WithID(id *string) *GetPasswordParams
- func (o *GetPasswordParams) WithLabel(label *string) *GetPasswordParams
- func (o *GetPasswordParams) WithPlainText(plainText *string) *GetPasswordParams
- func (o *GetPasswordParams) WithTimeout(timeout time.Duration) *GetPasswordParams
- func (o *GetPasswordParams) WithUsername(username *string) *GetPasswordParams
- func (o *GetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPasswordReader
- type GetPasswordServiceUnavailable
- type GetPasswordUnauthorized
- type PasswordsItems0
- type PostCustomFieldsBadRequest
- type PostCustomFieldsForbidden
- type PostCustomFieldsGone
- type PostCustomFieldsInternalServerError
- type PostCustomFieldsMethodNotAllowed
- type PostCustomFieldsNotFound
- type PostCustomFieldsOK
- type PostCustomFieldsOKBody
- type PostCustomFieldsParams
- func NewPostCustomFieldsParams() *PostCustomFieldsParams
- func NewPostCustomFieldsParamsWithContext(ctx context.Context) *PostCustomFieldsParams
- func NewPostCustomFieldsParamsWithHTTPClient(client *http.Client) *PostCustomFieldsParams
- func NewPostCustomFieldsParamsWithTimeout(timeout time.Duration) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) SetAddToPicklist(addToPicklist *string)
- func (o *PostCustomFieldsParams) SetBulkFields(bulkFields *string)
- func (o *PostCustomFieldsParams) SetClearValue(clearValue *string)
- func (o *PostCustomFieldsParams) SetContext(ctx context.Context)
- func (o *PostCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *PostCustomFieldsParams) SetKey(key string)
- func (o *PostCustomFieldsParams) SetNotes(notes *string)
- func (o *PostCustomFieldsParams) SetRelatedFieldName(relatedFieldName *string)
- func (o *PostCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *PostCustomFieldsParams) SetType(typeVar *string)
- func (o *PostCustomFieldsParams) SetUsername(username string)
- func (o *PostCustomFieldsParams) SetValue(value *string)
- func (o *PostCustomFieldsParams) WithAddToPicklist(addToPicklist *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithBulkFields(bulkFields *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithClearValue(clearValue *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithContext(ctx context.Context) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithHTTPClient(client *http.Client) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithKey(key string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithNotes(notes *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithRelatedFieldName(relatedFieldName *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithTimeout(timeout time.Duration) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithType(typeVar *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithUsername(username string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WithValue(value *string) *PostCustomFieldsParams
- func (o *PostCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostCustomFieldsReader
- type PostCustomFieldsServiceUnavailable
- type PostCustomFieldsUnauthorized
- type PostUpdatePasswordsBadRequest
- type PostUpdatePasswordsForbidden
- type PostUpdatePasswordsGone
- type PostUpdatePasswordsInternalServerError
- type PostUpdatePasswordsMethodNotAllowed
- type PostUpdatePasswordsNotFound
- type PostUpdatePasswordsOK
- type PostUpdatePasswordsOKBody
- type PostUpdatePasswordsParams
- func NewPostUpdatePasswordsParams() *PostUpdatePasswordsParams
- func NewPostUpdatePasswordsParamsWithContext(ctx context.Context) *PostUpdatePasswordsParams
- func NewPostUpdatePasswordsParamsWithHTTPClient(client *http.Client) *PostUpdatePasswordsParams
- func NewPostUpdatePasswordsParamsWithTimeout(timeout time.Duration) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) SetAppcomps(appcomps *string)
- func (o *PostUpdatePasswordsParams) SetCategory(category *string)
- func (o *PostUpdatePasswordsParams) SetContext(ctx context.Context)
- func (o *PostUpdatePasswordsParams) SetDaysBeforeExpiry(daysBeforeExpiry *string)
- func (o *PostUpdatePasswordsParams) SetDevices(devices *string)
- func (o *PostUpdatePasswordsParams) SetHTTPClient(client *http.Client)
- func (o *PostUpdatePasswordsParams) SetID(id *string)
- func (o *PostUpdatePasswordsParams) SetLabel(label *string)
- func (o *PostUpdatePasswordsParams) SetNotes(notes *string)
- func (o *PostUpdatePasswordsParams) SetPassword(password *string)
- func (o *PostUpdatePasswordsParams) SetTimeout(timeout time.Duration)
- func (o *PostUpdatePasswordsParams) SetUseOnlyGroupsRemove(useOnlyGroupsRemove *string)
- func (o *PostUpdatePasswordsParams) SetUseOnlyUsersRemove(useOnlyUsersRemove *string)
- func (o *PostUpdatePasswordsParams) SetUsername(username *string)
- func (o *PostUpdatePasswordsParams) SetViewEditGroupsRemove(viewEditGroupsRemove *string)
- func (o *PostUpdatePasswordsParams) SetViewEditUsers(viewEditUsers *string)
- func (o *PostUpdatePasswordsParams) SetViewEditUsersRemove(viewEditUsersRemove *string)
- func (o *PostUpdatePasswordsParams) SetViewGroups(viewGroups *string)
- func (o *PostUpdatePasswordsParams) SetViewGroupsRemove(viewGroupsRemove *string)
- func (o *PostUpdatePasswordsParams) SetViewUsers(viewUsers *string)
- func (o *PostUpdatePasswordsParams) SetViewUsersRemove(viewUsersRemove *string)
- func (o *PostUpdatePasswordsParams) WithAppcomps(appcomps *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithCategory(category *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithContext(ctx context.Context) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithDaysBeforeExpiry(daysBeforeExpiry *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithDevices(devices *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithHTTPClient(client *http.Client) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithID(id *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithLabel(label *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithNotes(notes *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithPassword(password *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithTimeout(timeout time.Duration) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithUseOnlyGroupsRemove(useOnlyGroupsRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithUseOnlyUsersRemove(useOnlyUsersRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithUsername(username *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewEditGroupsRemove(viewEditGroupsRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewEditUsers(viewEditUsers *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewEditUsersRemove(viewEditUsersRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewGroups(viewGroups *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewGroupsRemove(viewGroupsRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewUsers(viewUsers *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WithViewUsersRemove(viewUsersRemove *string) *PostUpdatePasswordsParams
- func (o *PostUpdatePasswordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUpdatePasswordsReader
- type PostUpdatePasswordsServiceUnavailable
- type PostUpdatePasswordsUnauthorized
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 passwords API
func (*Client) DeletePassword ¶
func (a *Client) DeletePassword(params *DeletePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePasswordOK, error)
DeletePassword deletes password
This API is used to delete the password with the password id supplied as the required argument. Note: You will only be able to delete the password if the supplied username has the correct permissions.
func (*Client) GetPassword ¶
func (a *Client) GetPassword(params *GetPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordOK, error)
GetPassword retrieves accounts usernames and passwords
Get Usernames and Passwords
func (*Client) PostCustomFields ¶
func (a *Client) PostCustomFields(params *PostCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PostCustomFieldsOK, error)
PostCustomFields Custom Fields
func (*Client) PostUpdatePasswords ¶
func (a *Client) PostUpdatePasswords(params *PostUpdatePasswordsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdatePasswordsOK, error)
PostUpdatePasswords Create / Update Passwords. Use id if updating existing password - else, username and password are required.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeletePassword(params *DeletePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePasswordOK, error) GetPassword(params *GetPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*GetPasswordOK, error) PostCustomFields(params *PostCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PostCustomFieldsOK, error) PostUpdatePasswords(params *PostUpdatePasswordsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdatePasswordsOK, 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 passwords API client.
type DeletePasswordBadRequest ¶
type DeletePasswordBadRequest struct { }
DeletePasswordBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewDeletePasswordBadRequest ¶
func NewDeletePasswordBadRequest() *DeletePasswordBadRequest
NewDeletePasswordBadRequest creates a DeletePasswordBadRequest with default headers values
func (*DeletePasswordBadRequest) Error ¶
func (o *DeletePasswordBadRequest) Error() string
type DeletePasswordForbidden ¶
type DeletePasswordForbidden struct { }
DeletePasswordForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewDeletePasswordForbidden ¶
func NewDeletePasswordForbidden() *DeletePasswordForbidden
NewDeletePasswordForbidden creates a DeletePasswordForbidden with default headers values
func (*DeletePasswordForbidden) Error ¶
func (o *DeletePasswordForbidden) Error() string
type DeletePasswordGone ¶
type DeletePasswordGone struct { }
DeletePasswordGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewDeletePasswordGone ¶
func NewDeletePasswordGone() *DeletePasswordGone
NewDeletePasswordGone creates a DeletePasswordGone with default headers values
func (*DeletePasswordGone) Error ¶
func (o *DeletePasswordGone) Error() string
type DeletePasswordInternalServerError ¶
type DeletePasswordInternalServerError struct { }
DeletePasswordInternalServerError 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 NewDeletePasswordInternalServerError ¶
func NewDeletePasswordInternalServerError() *DeletePasswordInternalServerError
NewDeletePasswordInternalServerError creates a DeletePasswordInternalServerError with default headers values
func (*DeletePasswordInternalServerError) Error ¶
func (o *DeletePasswordInternalServerError) Error() string
type DeletePasswordMethodNotAllowed ¶
type DeletePasswordMethodNotAllowed struct { }
DeletePasswordMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewDeletePasswordMethodNotAllowed ¶
func NewDeletePasswordMethodNotAllowed() *DeletePasswordMethodNotAllowed
NewDeletePasswordMethodNotAllowed creates a DeletePasswordMethodNotAllowed with default headers values
func (*DeletePasswordMethodNotAllowed) Error ¶
func (o *DeletePasswordMethodNotAllowed) Error() string
type DeletePasswordNotFound ¶
type DeletePasswordNotFound struct { }
DeletePasswordNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewDeletePasswordNotFound ¶
func NewDeletePasswordNotFound() *DeletePasswordNotFound
NewDeletePasswordNotFound creates a DeletePasswordNotFound with default headers values
func (*DeletePasswordNotFound) Error ¶
func (o *DeletePasswordNotFound) Error() string
type DeletePasswordOK ¶
type DeletePasswordOK struct {
Payload *DeletePasswordOKBody
}
DeletePasswordOK handles this case with default header values.
The above command returns results like this:
func NewDeletePasswordOK ¶
func NewDeletePasswordOK() *DeletePasswordOK
NewDeletePasswordOK creates a DeletePasswordOK with default headers values
func (*DeletePasswordOK) Error ¶
func (o *DeletePasswordOK) Error() string
func (*DeletePasswordOK) GetPayload ¶
func (o *DeletePasswordOK) GetPayload() *DeletePasswordOKBody
type DeletePasswordOKBody ¶
type DeletePasswordOKBody struct { // deleted Deleted interface{} `json:"deleted,omitempty"` // id ID interface{} `json:"id,omitempty"` }
DeletePasswordOKBody delete password o k body swagger:model DeletePasswordOKBody
func (*DeletePasswordOKBody) MarshalBinary ¶
func (o *DeletePasswordOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePasswordOKBody) UnmarshalBinary ¶
func (o *DeletePasswordOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePasswordParams ¶
type DeletePasswordParams struct { /*ID password id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePasswordParams contains all the parameters to send to the API endpoint for the delete password operation typically these are written to a http.Request
func NewDeletePasswordParams ¶
func NewDeletePasswordParams() *DeletePasswordParams
NewDeletePasswordParams creates a new DeletePasswordParams object with the default values initialized.
func NewDeletePasswordParamsWithContext ¶
func NewDeletePasswordParamsWithContext(ctx context.Context) *DeletePasswordParams
NewDeletePasswordParamsWithContext creates a new DeletePasswordParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePasswordParamsWithHTTPClient ¶
func NewDeletePasswordParamsWithHTTPClient(client *http.Client) *DeletePasswordParams
NewDeletePasswordParamsWithHTTPClient creates a new DeletePasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePasswordParamsWithTimeout ¶
func NewDeletePasswordParamsWithTimeout(timeout time.Duration) *DeletePasswordParams
NewDeletePasswordParamsWithTimeout creates a new DeletePasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePasswordParams) SetContext ¶
func (o *DeletePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the delete password params
func (*DeletePasswordParams) SetHTTPClient ¶
func (o *DeletePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete password params
func (*DeletePasswordParams) SetID ¶
func (o *DeletePasswordParams) SetID(id int64)
SetID adds the id to the delete password params
func (*DeletePasswordParams) SetTimeout ¶
func (o *DeletePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete password params
func (*DeletePasswordParams) WithContext ¶
func (o *DeletePasswordParams) WithContext(ctx context.Context) *DeletePasswordParams
WithContext adds the context to the delete password params
func (*DeletePasswordParams) WithHTTPClient ¶
func (o *DeletePasswordParams) WithHTTPClient(client *http.Client) *DeletePasswordParams
WithHTTPClient adds the HTTPClient to the delete password params
func (*DeletePasswordParams) WithID ¶
func (o *DeletePasswordParams) WithID(id int64) *DeletePasswordParams
WithID adds the id to the delete password params
func (*DeletePasswordParams) WithTimeout ¶
func (o *DeletePasswordParams) WithTimeout(timeout time.Duration) *DeletePasswordParams
WithTimeout adds the timeout to the delete password params
func (*DeletePasswordParams) WriteToRequest ¶
func (o *DeletePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePasswordReader ¶
type DeletePasswordReader struct {
// contains filtered or unexported fields
}
DeletePasswordReader is a Reader for the DeletePassword structure.
func (*DeletePasswordReader) ReadResponse ¶
func (o *DeletePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePasswordServiceUnavailable ¶
type DeletePasswordServiceUnavailable struct { }
DeletePasswordServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewDeletePasswordServiceUnavailable ¶
func NewDeletePasswordServiceUnavailable() *DeletePasswordServiceUnavailable
NewDeletePasswordServiceUnavailable creates a DeletePasswordServiceUnavailable with default headers values
func (*DeletePasswordServiceUnavailable) Error ¶
func (o *DeletePasswordServiceUnavailable) Error() string
type DeletePasswordUnauthorized ¶
type DeletePasswordUnauthorized struct { }
DeletePasswordUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewDeletePasswordUnauthorized ¶
func NewDeletePasswordUnauthorized() *DeletePasswordUnauthorized
NewDeletePasswordUnauthorized creates a DeletePasswordUnauthorized with default headers values
func (*DeletePasswordUnauthorized) Error ¶
func (o *DeletePasswordUnauthorized) Error() string
type GetPasswordBadRequest ¶
type GetPasswordBadRequest struct { }
GetPasswordBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetPasswordBadRequest ¶
func NewGetPasswordBadRequest() *GetPasswordBadRequest
NewGetPasswordBadRequest creates a GetPasswordBadRequest with default headers values
func (*GetPasswordBadRequest) Error ¶
func (o *GetPasswordBadRequest) Error() string
type GetPasswordForbidden ¶
type GetPasswordForbidden struct { }
GetPasswordForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetPasswordForbidden ¶
func NewGetPasswordForbidden() *GetPasswordForbidden
NewGetPasswordForbidden creates a GetPasswordForbidden with default headers values
func (*GetPasswordForbidden) Error ¶
func (o *GetPasswordForbidden) Error() string
type GetPasswordGone ¶
type GetPasswordGone struct { }
GetPasswordGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetPasswordGone ¶
func NewGetPasswordGone() *GetPasswordGone
NewGetPasswordGone creates a GetPasswordGone with default headers values
func (*GetPasswordGone) Error ¶
func (o *GetPasswordGone) Error() string
type GetPasswordInternalServerError ¶
type GetPasswordInternalServerError struct { }
GetPasswordInternalServerError 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 NewGetPasswordInternalServerError ¶
func NewGetPasswordInternalServerError() *GetPasswordInternalServerError
NewGetPasswordInternalServerError creates a GetPasswordInternalServerError with default headers values
func (*GetPasswordInternalServerError) Error ¶
func (o *GetPasswordInternalServerError) Error() string
type GetPasswordMethodNotAllowed ¶
type GetPasswordMethodNotAllowed struct { }
GetPasswordMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetPasswordMethodNotAllowed ¶
func NewGetPasswordMethodNotAllowed() *GetPasswordMethodNotAllowed
NewGetPasswordMethodNotAllowed creates a GetPasswordMethodNotAllowed with default headers values
func (*GetPasswordMethodNotAllowed) Error ¶
func (o *GetPasswordMethodNotAllowed) Error() string
type GetPasswordNotFound ¶
type GetPasswordNotFound struct { }
GetPasswordNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetPasswordNotFound ¶
func NewGetPasswordNotFound() *GetPasswordNotFound
NewGetPasswordNotFound creates a GetPasswordNotFound with default headers values
func (*GetPasswordNotFound) Error ¶
func (o *GetPasswordNotFound) Error() string
type GetPasswordOK ¶
type GetPasswordOK struct {
Payload *GetPasswordOKBody
}
GetPasswordOK handles this case with default header values.
The above command returns results like this:
func NewGetPasswordOK ¶
func NewGetPasswordOK() *GetPasswordOK
NewGetPasswordOK creates a GetPasswordOK with default headers values
func (*GetPasswordOK) Error ¶
func (o *GetPasswordOK) Error() string
func (*GetPasswordOK) GetPayload ¶
func (o *GetPasswordOK) GetPayload() *GetPasswordOKBody
type GetPasswordOKBody ¶
type GetPasswordOKBody struct { // passwords Passwords []*PasswordsItems0 `json:"Passwords"` }
GetPasswordOKBody get password o k body swagger:model GetPasswordOKBody
func (*GetPasswordOKBody) MarshalBinary ¶
func (o *GetPasswordOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPasswordOKBody) UnmarshalBinary ¶
func (o *GetPasswordOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPasswordParams ¶
type GetPasswordParams struct { /*Appcomp The application component that depends on this service */ Appcomp *string /*Category name of the category */ Category *string /*Device Device name */ Device *string /*ID The ID of the software, required if not using NAME */ ID *string /*Label*/ Label *string /*PlainText Decrypt the password and return the plain text version. ?plain_text=yes will decrypt and display the password. */ PlainText *string /*Username Retrieve all the passwords for a specified username. ?username= */ Username *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPasswordParams contains all the parameters to send to the API endpoint for the get password operation typically these are written to a http.Request
func NewGetPasswordParams ¶
func NewGetPasswordParams() *GetPasswordParams
NewGetPasswordParams creates a new GetPasswordParams object with the default values initialized.
func NewGetPasswordParamsWithContext ¶
func NewGetPasswordParamsWithContext(ctx context.Context) *GetPasswordParams
NewGetPasswordParamsWithContext creates a new GetPasswordParams object with the default values initialized, and the ability to set a context for a request
func NewGetPasswordParamsWithHTTPClient ¶
func NewGetPasswordParamsWithHTTPClient(client *http.Client) *GetPasswordParams
NewGetPasswordParamsWithHTTPClient creates a new GetPasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPasswordParamsWithTimeout ¶
func NewGetPasswordParamsWithTimeout(timeout time.Duration) *GetPasswordParams
NewGetPasswordParamsWithTimeout creates a new GetPasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPasswordParams) SetAppcomp ¶
func (o *GetPasswordParams) SetAppcomp(appcomp *string)
SetAppcomp adds the appcomp to the get password params
func (*GetPasswordParams) SetCategory ¶
func (o *GetPasswordParams) SetCategory(category *string)
SetCategory adds the category to the get password params
func (*GetPasswordParams) SetContext ¶
func (o *GetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the get password params
func (*GetPasswordParams) SetDevice ¶
func (o *GetPasswordParams) SetDevice(device *string)
SetDevice adds the device to the get password params
func (*GetPasswordParams) SetHTTPClient ¶
func (o *GetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get password params
func (*GetPasswordParams) SetID ¶
func (o *GetPasswordParams) SetID(id *string)
SetID adds the id to the get password params
func (*GetPasswordParams) SetLabel ¶
func (o *GetPasswordParams) SetLabel(label *string)
SetLabel adds the label to the get password params
func (*GetPasswordParams) SetPlainText ¶
func (o *GetPasswordParams) SetPlainText(plainText *string)
SetPlainText adds the plainText to the get password params
func (*GetPasswordParams) SetTimeout ¶
func (o *GetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get password params
func (*GetPasswordParams) SetUsername ¶
func (o *GetPasswordParams) SetUsername(username *string)
SetUsername adds the username to the get password params
func (*GetPasswordParams) WithAppcomp ¶
func (o *GetPasswordParams) WithAppcomp(appcomp *string) *GetPasswordParams
WithAppcomp adds the appcomp to the get password params
func (*GetPasswordParams) WithCategory ¶
func (o *GetPasswordParams) WithCategory(category *string) *GetPasswordParams
WithCategory adds the category to the get password params
func (*GetPasswordParams) WithContext ¶
func (o *GetPasswordParams) WithContext(ctx context.Context) *GetPasswordParams
WithContext adds the context to the get password params
func (*GetPasswordParams) WithDevice ¶
func (o *GetPasswordParams) WithDevice(device *string) *GetPasswordParams
WithDevice adds the device to the get password params
func (*GetPasswordParams) WithHTTPClient ¶
func (o *GetPasswordParams) WithHTTPClient(client *http.Client) *GetPasswordParams
WithHTTPClient adds the HTTPClient to the get password params
func (*GetPasswordParams) WithID ¶
func (o *GetPasswordParams) WithID(id *string) *GetPasswordParams
WithID adds the id to the get password params
func (*GetPasswordParams) WithLabel ¶
func (o *GetPasswordParams) WithLabel(label *string) *GetPasswordParams
WithLabel adds the label to the get password params
func (*GetPasswordParams) WithPlainText ¶
func (o *GetPasswordParams) WithPlainText(plainText *string) *GetPasswordParams
WithPlainText adds the plainText to the get password params
func (*GetPasswordParams) WithTimeout ¶
func (o *GetPasswordParams) WithTimeout(timeout time.Duration) *GetPasswordParams
WithTimeout adds the timeout to the get password params
func (*GetPasswordParams) WithUsername ¶
func (o *GetPasswordParams) WithUsername(username *string) *GetPasswordParams
WithUsername adds the username to the get password params
func (*GetPasswordParams) WriteToRequest ¶
func (o *GetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPasswordReader ¶
type GetPasswordReader struct {
// contains filtered or unexported fields
}
GetPasswordReader is a Reader for the GetPassword structure.
func (*GetPasswordReader) ReadResponse ¶
func (o *GetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPasswordServiceUnavailable ¶
type GetPasswordServiceUnavailable struct { }
GetPasswordServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetPasswordServiceUnavailable ¶
func NewGetPasswordServiceUnavailable() *GetPasswordServiceUnavailable
NewGetPasswordServiceUnavailable creates a GetPasswordServiceUnavailable with default headers values
func (*GetPasswordServiceUnavailable) Error ¶
func (o *GetPasswordServiceUnavailable) Error() string
type GetPasswordUnauthorized ¶
type GetPasswordUnauthorized struct { }
GetPasswordUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetPasswordUnauthorized ¶
func NewGetPasswordUnauthorized() *GetPasswordUnauthorized
NewGetPasswordUnauthorized creates a GetPasswordUnauthorized with default headers values
func (*GetPasswordUnauthorized) Error ¶
func (o *GetPasswordUnauthorized) Error() string
type PasswordsItems0 ¶
type PasswordsItems0 struct { // first added FirstAdded interface{} `json:"first_added,omitempty"` // id ID interface{} `json:"id,omitempty"` // label Label interface{} `json:"label,omitempty"` // last pw change LastPwChange interface{} `json:"last_pw_change,omitempty"` // notes Notes interface{} `json:"notes,omitempty"` // password Password interface{} `json:"password,omitempty"` // username Username interface{} `json:"username,omitempty"` }
PasswordsItems0 passwords items0 swagger:model PasswordsItems0
func (*PasswordsItems0) MarshalBinary ¶
func (o *PasswordsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PasswordsItems0) UnmarshalBinary ¶
func (o *PasswordsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostCustomFieldsBadRequest ¶
type PostCustomFieldsBadRequest struct { }
PostCustomFieldsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostCustomFieldsBadRequest ¶
func NewPostCustomFieldsBadRequest() *PostCustomFieldsBadRequest
NewPostCustomFieldsBadRequest creates a PostCustomFieldsBadRequest with default headers values
func (*PostCustomFieldsBadRequest) Error ¶
func (o *PostCustomFieldsBadRequest) Error() string
type PostCustomFieldsForbidden ¶
type PostCustomFieldsForbidden struct { }
PostCustomFieldsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostCustomFieldsForbidden ¶
func NewPostCustomFieldsForbidden() *PostCustomFieldsForbidden
NewPostCustomFieldsForbidden creates a PostCustomFieldsForbidden with default headers values
func (*PostCustomFieldsForbidden) Error ¶
func (o *PostCustomFieldsForbidden) Error() string
type PostCustomFieldsGone ¶
type PostCustomFieldsGone struct { }
PostCustomFieldsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostCustomFieldsGone ¶
func NewPostCustomFieldsGone() *PostCustomFieldsGone
NewPostCustomFieldsGone creates a PostCustomFieldsGone with default headers values
func (*PostCustomFieldsGone) Error ¶
func (o *PostCustomFieldsGone) Error() string
type PostCustomFieldsInternalServerError ¶
type PostCustomFieldsInternalServerError struct { }
PostCustomFieldsInternalServerError 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 NewPostCustomFieldsInternalServerError ¶
func NewPostCustomFieldsInternalServerError() *PostCustomFieldsInternalServerError
NewPostCustomFieldsInternalServerError creates a PostCustomFieldsInternalServerError with default headers values
func (*PostCustomFieldsInternalServerError) Error ¶
func (o *PostCustomFieldsInternalServerError) Error() string
type PostCustomFieldsMethodNotAllowed ¶
type PostCustomFieldsMethodNotAllowed struct { }
PostCustomFieldsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostCustomFieldsMethodNotAllowed ¶
func NewPostCustomFieldsMethodNotAllowed() *PostCustomFieldsMethodNotAllowed
NewPostCustomFieldsMethodNotAllowed creates a PostCustomFieldsMethodNotAllowed with default headers values
func (*PostCustomFieldsMethodNotAllowed) Error ¶
func (o *PostCustomFieldsMethodNotAllowed) Error() string
type PostCustomFieldsNotFound ¶
type PostCustomFieldsNotFound struct { }
PostCustomFieldsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostCustomFieldsNotFound ¶
func NewPostCustomFieldsNotFound() *PostCustomFieldsNotFound
NewPostCustomFieldsNotFound creates a PostCustomFieldsNotFound with default headers values
func (*PostCustomFieldsNotFound) Error ¶
func (o *PostCustomFieldsNotFound) Error() string
type PostCustomFieldsOK ¶
type PostCustomFieldsOK struct {
Payload *PostCustomFieldsOKBody
}
PostCustomFieldsOK handles this case with default header values.
The above command returns results like this:
func NewPostCustomFieldsOK ¶
func NewPostCustomFieldsOK() *PostCustomFieldsOK
NewPostCustomFieldsOK creates a PostCustomFieldsOK with default headers values
func (*PostCustomFieldsOK) Error ¶
func (o *PostCustomFieldsOK) Error() string
func (*PostCustomFieldsOK) GetPayload ¶
func (o *PostCustomFieldsOK) GetPayload() *PostCustomFieldsOKBody
type PostCustomFieldsOKBody ¶
type PostCustomFieldsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostCustomFieldsOKBody post custom fields o k body swagger:model PostCustomFieldsOKBody
func (*PostCustomFieldsOKBody) MarshalBinary ¶
func (o *PostCustomFieldsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostCustomFieldsOKBody) UnmarshalBinary ¶
func (o *PostCustomFieldsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostCustomFieldsParams ¶
type PostCustomFieldsParams 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 /*Key Can be new or existing. This is the custom field name. */ Key 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 /*Username Name of the password */ Username 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 }
PostCustomFieldsParams contains all the parameters to send to the API endpoint for the post custom fields operation typically these are written to a http.Request
func NewPostCustomFieldsParams ¶
func NewPostCustomFieldsParams() *PostCustomFieldsParams
NewPostCustomFieldsParams creates a new PostCustomFieldsParams object with the default values initialized.
func NewPostCustomFieldsParamsWithContext ¶
func NewPostCustomFieldsParamsWithContext(ctx context.Context) *PostCustomFieldsParams
NewPostCustomFieldsParamsWithContext creates a new PostCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewPostCustomFieldsParamsWithHTTPClient ¶
func NewPostCustomFieldsParamsWithHTTPClient(client *http.Client) *PostCustomFieldsParams
NewPostCustomFieldsParamsWithHTTPClient creates a new PostCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostCustomFieldsParamsWithTimeout ¶
func NewPostCustomFieldsParamsWithTimeout(timeout time.Duration) *PostCustomFieldsParams
NewPostCustomFieldsParamsWithTimeout creates a new PostCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostCustomFieldsParams) SetAddToPicklist ¶
func (o *PostCustomFieldsParams) SetAddToPicklist(addToPicklist *string)
SetAddToPicklist adds the addToPicklist to the post custom fields params
func (*PostCustomFieldsParams) SetBulkFields ¶
func (o *PostCustomFieldsParams) SetBulkFields(bulkFields *string)
SetBulkFields adds the bulkFields to the post custom fields params
func (*PostCustomFieldsParams) SetClearValue ¶
func (o *PostCustomFieldsParams) SetClearValue(clearValue *string)
SetClearValue adds the clearValue to the post custom fields params
func (*PostCustomFieldsParams) SetContext ¶
func (o *PostCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the post custom fields params
func (*PostCustomFieldsParams) SetHTTPClient ¶
func (o *PostCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post custom fields params
func (*PostCustomFieldsParams) SetKey ¶
func (o *PostCustomFieldsParams) SetKey(key string)
SetKey adds the key to the post custom fields params
func (*PostCustomFieldsParams) SetNotes ¶
func (o *PostCustomFieldsParams) SetNotes(notes *string)
SetNotes adds the notes to the post custom fields params
func (*PostCustomFieldsParams) SetRelatedFieldName ¶
func (o *PostCustomFieldsParams) SetRelatedFieldName(relatedFieldName *string)
SetRelatedFieldName adds the relatedFieldName to the post custom fields params
func (*PostCustomFieldsParams) SetTimeout ¶
func (o *PostCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post custom fields params
func (*PostCustomFieldsParams) SetType ¶
func (o *PostCustomFieldsParams) SetType(typeVar *string)
SetType adds the type to the post custom fields params
func (*PostCustomFieldsParams) SetUsername ¶
func (o *PostCustomFieldsParams) SetUsername(username string)
SetUsername adds the username to the post custom fields params
func (*PostCustomFieldsParams) SetValue ¶
func (o *PostCustomFieldsParams) SetValue(value *string)
SetValue adds the value to the post custom fields params
func (*PostCustomFieldsParams) WithAddToPicklist ¶
func (o *PostCustomFieldsParams) WithAddToPicklist(addToPicklist *string) *PostCustomFieldsParams
WithAddToPicklist adds the addToPicklist to the post custom fields params
func (*PostCustomFieldsParams) WithBulkFields ¶
func (o *PostCustomFieldsParams) WithBulkFields(bulkFields *string) *PostCustomFieldsParams
WithBulkFields adds the bulkFields to the post custom fields params
func (*PostCustomFieldsParams) WithClearValue ¶
func (o *PostCustomFieldsParams) WithClearValue(clearValue *string) *PostCustomFieldsParams
WithClearValue adds the clearValue to the post custom fields params
func (*PostCustomFieldsParams) WithContext ¶
func (o *PostCustomFieldsParams) WithContext(ctx context.Context) *PostCustomFieldsParams
WithContext adds the context to the post custom fields params
func (*PostCustomFieldsParams) WithHTTPClient ¶
func (o *PostCustomFieldsParams) WithHTTPClient(client *http.Client) *PostCustomFieldsParams
WithHTTPClient adds the HTTPClient to the post custom fields params
func (*PostCustomFieldsParams) WithKey ¶
func (o *PostCustomFieldsParams) WithKey(key string) *PostCustomFieldsParams
WithKey adds the key to the post custom fields params
func (*PostCustomFieldsParams) WithNotes ¶
func (o *PostCustomFieldsParams) WithNotes(notes *string) *PostCustomFieldsParams
WithNotes adds the notes to the post custom fields params
func (*PostCustomFieldsParams) WithRelatedFieldName ¶
func (o *PostCustomFieldsParams) WithRelatedFieldName(relatedFieldName *string) *PostCustomFieldsParams
WithRelatedFieldName adds the relatedFieldName to the post custom fields params
func (*PostCustomFieldsParams) WithTimeout ¶
func (o *PostCustomFieldsParams) WithTimeout(timeout time.Duration) *PostCustomFieldsParams
WithTimeout adds the timeout to the post custom fields params
func (*PostCustomFieldsParams) WithType ¶
func (o *PostCustomFieldsParams) WithType(typeVar *string) *PostCustomFieldsParams
WithType adds the typeVar to the post custom fields params
func (*PostCustomFieldsParams) WithUsername ¶
func (o *PostCustomFieldsParams) WithUsername(username string) *PostCustomFieldsParams
WithUsername adds the username to the post custom fields params
func (*PostCustomFieldsParams) WithValue ¶
func (o *PostCustomFieldsParams) WithValue(value *string) *PostCustomFieldsParams
WithValue adds the value to the post custom fields params
func (*PostCustomFieldsParams) WriteToRequest ¶
func (o *PostCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostCustomFieldsReader ¶
type PostCustomFieldsReader struct {
// contains filtered or unexported fields
}
PostCustomFieldsReader is a Reader for the PostCustomFields structure.
func (*PostCustomFieldsReader) ReadResponse ¶
func (o *PostCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostCustomFieldsServiceUnavailable ¶
type PostCustomFieldsServiceUnavailable struct { }
PostCustomFieldsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostCustomFieldsServiceUnavailable ¶
func NewPostCustomFieldsServiceUnavailable() *PostCustomFieldsServiceUnavailable
NewPostCustomFieldsServiceUnavailable creates a PostCustomFieldsServiceUnavailable with default headers values
func (*PostCustomFieldsServiceUnavailable) Error ¶
func (o *PostCustomFieldsServiceUnavailable) Error() string
type PostCustomFieldsUnauthorized ¶
type PostCustomFieldsUnauthorized struct { }
PostCustomFieldsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostCustomFieldsUnauthorized ¶
func NewPostCustomFieldsUnauthorized() *PostCustomFieldsUnauthorized
NewPostCustomFieldsUnauthorized creates a PostCustomFieldsUnauthorized with default headers values
func (*PostCustomFieldsUnauthorized) Error ¶
func (o *PostCustomFieldsUnauthorized) Error() string
type PostUpdatePasswordsBadRequest ¶
type PostUpdatePasswordsBadRequest struct { }
PostUpdatePasswordsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostUpdatePasswordsBadRequest ¶
func NewPostUpdatePasswordsBadRequest() *PostUpdatePasswordsBadRequest
NewPostUpdatePasswordsBadRequest creates a PostUpdatePasswordsBadRequest with default headers values
func (*PostUpdatePasswordsBadRequest) Error ¶
func (o *PostUpdatePasswordsBadRequest) Error() string
type PostUpdatePasswordsForbidden ¶
type PostUpdatePasswordsForbidden struct { }
PostUpdatePasswordsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostUpdatePasswordsForbidden ¶
func NewPostUpdatePasswordsForbidden() *PostUpdatePasswordsForbidden
NewPostUpdatePasswordsForbidden creates a PostUpdatePasswordsForbidden with default headers values
func (*PostUpdatePasswordsForbidden) Error ¶
func (o *PostUpdatePasswordsForbidden) Error() string
type PostUpdatePasswordsGone ¶
type PostUpdatePasswordsGone struct { }
PostUpdatePasswordsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostUpdatePasswordsGone ¶
func NewPostUpdatePasswordsGone() *PostUpdatePasswordsGone
NewPostUpdatePasswordsGone creates a PostUpdatePasswordsGone with default headers values
func (*PostUpdatePasswordsGone) Error ¶
func (o *PostUpdatePasswordsGone) Error() string
type PostUpdatePasswordsInternalServerError ¶
type PostUpdatePasswordsInternalServerError struct { }
PostUpdatePasswordsInternalServerError 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 NewPostUpdatePasswordsInternalServerError ¶
func NewPostUpdatePasswordsInternalServerError() *PostUpdatePasswordsInternalServerError
NewPostUpdatePasswordsInternalServerError creates a PostUpdatePasswordsInternalServerError with default headers values
func (*PostUpdatePasswordsInternalServerError) Error ¶
func (o *PostUpdatePasswordsInternalServerError) Error() string
type PostUpdatePasswordsMethodNotAllowed ¶
type PostUpdatePasswordsMethodNotAllowed struct { }
PostUpdatePasswordsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostUpdatePasswordsMethodNotAllowed ¶
func NewPostUpdatePasswordsMethodNotAllowed() *PostUpdatePasswordsMethodNotAllowed
NewPostUpdatePasswordsMethodNotAllowed creates a PostUpdatePasswordsMethodNotAllowed with default headers values
func (*PostUpdatePasswordsMethodNotAllowed) Error ¶
func (o *PostUpdatePasswordsMethodNotAllowed) Error() string
type PostUpdatePasswordsNotFound ¶
type PostUpdatePasswordsNotFound struct { }
PostUpdatePasswordsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostUpdatePasswordsNotFound ¶
func NewPostUpdatePasswordsNotFound() *PostUpdatePasswordsNotFound
NewPostUpdatePasswordsNotFound creates a PostUpdatePasswordsNotFound with default headers values
func (*PostUpdatePasswordsNotFound) Error ¶
func (o *PostUpdatePasswordsNotFound) Error() string
type PostUpdatePasswordsOK ¶
type PostUpdatePasswordsOK struct {
Payload *PostUpdatePasswordsOKBody
}
PostUpdatePasswordsOK handles this case with default header values.
The above command returns results like this:
func NewPostUpdatePasswordsOK ¶
func NewPostUpdatePasswordsOK() *PostUpdatePasswordsOK
NewPostUpdatePasswordsOK creates a PostUpdatePasswordsOK with default headers values
func (*PostUpdatePasswordsOK) Error ¶
func (o *PostUpdatePasswordsOK) Error() string
func (*PostUpdatePasswordsOK) GetPayload ¶
func (o *PostUpdatePasswordsOK) GetPayload() *PostUpdatePasswordsOKBody
type PostUpdatePasswordsOKBody ¶
type PostUpdatePasswordsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostUpdatePasswordsOKBody post update passwords o k body swagger:model PostUpdatePasswordsOKBody
func (*PostUpdatePasswordsOKBody) MarshalBinary ¶
func (o *PostUpdatePasswordsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostUpdatePasswordsOKBody) UnmarshalBinary ¶
func (o *PostUpdatePasswordsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostUpdatePasswordsParams ¶
type PostUpdatePasswordsParams struct { /*Appcomps A comma separated list of application component names. */ Appcomps *string /*Category A password category. If it doesn't exist a new one will be created. */ Category *string /*DaysBeforeExpiry number of days before password is set as expired */ DaysBeforeExpiry *string /*Devices A comma separated list of device names. */ Devices *string /*ID Required to modify existing password */ ID *string /*Label*/ Label *string /*Notes Any additional notes */ Notes *string /*Password The password. */ Password *string /*UseOnlyGroupsRemove A comma separated list of user groups to remove use permissions. */ UseOnlyGroupsRemove *string /*UseOnlyUsersRemove A comma separated list of users to remove use only permissions. */ UseOnlyUsersRemove *string /*Username*/ Username *string /*ViewEditGroupsRemove A comma separated list of user groups to remove view and edit permissions. */ ViewEditGroupsRemove *string /*ViewEditUsers A comma separated list of users that have permission to view and edit this password. */ ViewEditUsers *string /*ViewEditUsersRemove A comma separated list of users to remove view and edit permissions. */ ViewEditUsersRemove *string /*ViewGroups A comma separated list of user groups that have permission to view this password. */ ViewGroups *string /*ViewGroupsRemove A comma separated list of user groups to remove use permissions. */ ViewGroupsRemove *string /*ViewUsers A comma separated list of users that have permission to view this password. */ ViewUsers *string /*ViewUsersRemove A comma separated list of users to remove view permissions. */ ViewUsersRemove *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUpdatePasswordsParams contains all the parameters to send to the API endpoint for the post update passwords operation typically these are written to a http.Request
func NewPostUpdatePasswordsParams ¶
func NewPostUpdatePasswordsParams() *PostUpdatePasswordsParams
NewPostUpdatePasswordsParams creates a new PostUpdatePasswordsParams object with the default values initialized.
func NewPostUpdatePasswordsParamsWithContext ¶
func NewPostUpdatePasswordsParamsWithContext(ctx context.Context) *PostUpdatePasswordsParams
NewPostUpdatePasswordsParamsWithContext creates a new PostUpdatePasswordsParams object with the default values initialized, and the ability to set a context for a request
func NewPostUpdatePasswordsParamsWithHTTPClient ¶
func NewPostUpdatePasswordsParamsWithHTTPClient(client *http.Client) *PostUpdatePasswordsParams
NewPostUpdatePasswordsParamsWithHTTPClient creates a new PostUpdatePasswordsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostUpdatePasswordsParamsWithTimeout ¶
func NewPostUpdatePasswordsParamsWithTimeout(timeout time.Duration) *PostUpdatePasswordsParams
NewPostUpdatePasswordsParamsWithTimeout creates a new PostUpdatePasswordsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostUpdatePasswordsParams) SetAppcomps ¶
func (o *PostUpdatePasswordsParams) SetAppcomps(appcomps *string)
SetAppcomps adds the appcomps to the post update passwords params
func (*PostUpdatePasswordsParams) SetCategory ¶
func (o *PostUpdatePasswordsParams) SetCategory(category *string)
SetCategory adds the category to the post update passwords params
func (*PostUpdatePasswordsParams) SetContext ¶
func (o *PostUpdatePasswordsParams) SetContext(ctx context.Context)
SetContext adds the context to the post update passwords params
func (*PostUpdatePasswordsParams) SetDaysBeforeExpiry ¶
func (o *PostUpdatePasswordsParams) SetDaysBeforeExpiry(daysBeforeExpiry *string)
SetDaysBeforeExpiry adds the daysBeforeExpiry to the post update passwords params
func (*PostUpdatePasswordsParams) SetDevices ¶
func (o *PostUpdatePasswordsParams) SetDevices(devices *string)
SetDevices adds the devices to the post update passwords params
func (*PostUpdatePasswordsParams) SetHTTPClient ¶
func (o *PostUpdatePasswordsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post update passwords params
func (*PostUpdatePasswordsParams) SetID ¶
func (o *PostUpdatePasswordsParams) SetID(id *string)
SetID adds the id to the post update passwords params
func (*PostUpdatePasswordsParams) SetLabel ¶
func (o *PostUpdatePasswordsParams) SetLabel(label *string)
SetLabel adds the label to the post update passwords params
func (*PostUpdatePasswordsParams) SetNotes ¶
func (o *PostUpdatePasswordsParams) SetNotes(notes *string)
SetNotes adds the notes to the post update passwords params
func (*PostUpdatePasswordsParams) SetPassword ¶
func (o *PostUpdatePasswordsParams) SetPassword(password *string)
SetPassword adds the password to the post update passwords params
func (*PostUpdatePasswordsParams) SetTimeout ¶
func (o *PostUpdatePasswordsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post update passwords params
func (*PostUpdatePasswordsParams) SetUseOnlyGroupsRemove ¶
func (o *PostUpdatePasswordsParams) SetUseOnlyGroupsRemove(useOnlyGroupsRemove *string)
SetUseOnlyGroupsRemove adds the useOnlyGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) SetUseOnlyUsersRemove ¶
func (o *PostUpdatePasswordsParams) SetUseOnlyUsersRemove(useOnlyUsersRemove *string)
SetUseOnlyUsersRemove adds the useOnlyUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) SetUsername ¶
func (o *PostUpdatePasswordsParams) SetUsername(username *string)
SetUsername adds the username to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewEditGroupsRemove ¶
func (o *PostUpdatePasswordsParams) SetViewEditGroupsRemove(viewEditGroupsRemove *string)
SetViewEditGroupsRemove adds the viewEditGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewEditUsers ¶
func (o *PostUpdatePasswordsParams) SetViewEditUsers(viewEditUsers *string)
SetViewEditUsers adds the viewEditUsers to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewEditUsersRemove ¶
func (o *PostUpdatePasswordsParams) SetViewEditUsersRemove(viewEditUsersRemove *string)
SetViewEditUsersRemove adds the viewEditUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewGroups ¶
func (o *PostUpdatePasswordsParams) SetViewGroups(viewGroups *string)
SetViewGroups adds the viewGroups to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewGroupsRemove ¶
func (o *PostUpdatePasswordsParams) SetViewGroupsRemove(viewGroupsRemove *string)
SetViewGroupsRemove adds the viewGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewUsers ¶
func (o *PostUpdatePasswordsParams) SetViewUsers(viewUsers *string)
SetViewUsers adds the viewUsers to the post update passwords params
func (*PostUpdatePasswordsParams) SetViewUsersRemove ¶
func (o *PostUpdatePasswordsParams) SetViewUsersRemove(viewUsersRemove *string)
SetViewUsersRemove adds the viewUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithAppcomps ¶
func (o *PostUpdatePasswordsParams) WithAppcomps(appcomps *string) *PostUpdatePasswordsParams
WithAppcomps adds the appcomps to the post update passwords params
func (*PostUpdatePasswordsParams) WithCategory ¶
func (o *PostUpdatePasswordsParams) WithCategory(category *string) *PostUpdatePasswordsParams
WithCategory adds the category to the post update passwords params
func (*PostUpdatePasswordsParams) WithContext ¶
func (o *PostUpdatePasswordsParams) WithContext(ctx context.Context) *PostUpdatePasswordsParams
WithContext adds the context to the post update passwords params
func (*PostUpdatePasswordsParams) WithDaysBeforeExpiry ¶
func (o *PostUpdatePasswordsParams) WithDaysBeforeExpiry(daysBeforeExpiry *string) *PostUpdatePasswordsParams
WithDaysBeforeExpiry adds the daysBeforeExpiry to the post update passwords params
func (*PostUpdatePasswordsParams) WithDevices ¶
func (o *PostUpdatePasswordsParams) WithDevices(devices *string) *PostUpdatePasswordsParams
WithDevices adds the devices to the post update passwords params
func (*PostUpdatePasswordsParams) WithHTTPClient ¶
func (o *PostUpdatePasswordsParams) WithHTTPClient(client *http.Client) *PostUpdatePasswordsParams
WithHTTPClient adds the HTTPClient to the post update passwords params
func (*PostUpdatePasswordsParams) WithID ¶
func (o *PostUpdatePasswordsParams) WithID(id *string) *PostUpdatePasswordsParams
WithID adds the id to the post update passwords params
func (*PostUpdatePasswordsParams) WithLabel ¶
func (o *PostUpdatePasswordsParams) WithLabel(label *string) *PostUpdatePasswordsParams
WithLabel adds the label to the post update passwords params
func (*PostUpdatePasswordsParams) WithNotes ¶
func (o *PostUpdatePasswordsParams) WithNotes(notes *string) *PostUpdatePasswordsParams
WithNotes adds the notes to the post update passwords params
func (*PostUpdatePasswordsParams) WithPassword ¶
func (o *PostUpdatePasswordsParams) WithPassword(password *string) *PostUpdatePasswordsParams
WithPassword adds the password to the post update passwords params
func (*PostUpdatePasswordsParams) WithTimeout ¶
func (o *PostUpdatePasswordsParams) WithTimeout(timeout time.Duration) *PostUpdatePasswordsParams
WithTimeout adds the timeout to the post update passwords params
func (*PostUpdatePasswordsParams) WithUseOnlyGroupsRemove ¶
func (o *PostUpdatePasswordsParams) WithUseOnlyGroupsRemove(useOnlyGroupsRemove *string) *PostUpdatePasswordsParams
WithUseOnlyGroupsRemove adds the useOnlyGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithUseOnlyUsersRemove ¶
func (o *PostUpdatePasswordsParams) WithUseOnlyUsersRemove(useOnlyUsersRemove *string) *PostUpdatePasswordsParams
WithUseOnlyUsersRemove adds the useOnlyUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithUsername ¶
func (o *PostUpdatePasswordsParams) WithUsername(username *string) *PostUpdatePasswordsParams
WithUsername adds the username to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewEditGroupsRemove ¶
func (o *PostUpdatePasswordsParams) WithViewEditGroupsRemove(viewEditGroupsRemove *string) *PostUpdatePasswordsParams
WithViewEditGroupsRemove adds the viewEditGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewEditUsers ¶
func (o *PostUpdatePasswordsParams) WithViewEditUsers(viewEditUsers *string) *PostUpdatePasswordsParams
WithViewEditUsers adds the viewEditUsers to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewEditUsersRemove ¶
func (o *PostUpdatePasswordsParams) WithViewEditUsersRemove(viewEditUsersRemove *string) *PostUpdatePasswordsParams
WithViewEditUsersRemove adds the viewEditUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewGroups ¶
func (o *PostUpdatePasswordsParams) WithViewGroups(viewGroups *string) *PostUpdatePasswordsParams
WithViewGroups adds the viewGroups to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewGroupsRemove ¶
func (o *PostUpdatePasswordsParams) WithViewGroupsRemove(viewGroupsRemove *string) *PostUpdatePasswordsParams
WithViewGroupsRemove adds the viewGroupsRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewUsers ¶
func (o *PostUpdatePasswordsParams) WithViewUsers(viewUsers *string) *PostUpdatePasswordsParams
WithViewUsers adds the viewUsers to the post update passwords params
func (*PostUpdatePasswordsParams) WithViewUsersRemove ¶
func (o *PostUpdatePasswordsParams) WithViewUsersRemove(viewUsersRemove *string) *PostUpdatePasswordsParams
WithViewUsersRemove adds the viewUsersRemove to the post update passwords params
func (*PostUpdatePasswordsParams) WriteToRequest ¶
func (o *PostUpdatePasswordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUpdatePasswordsReader ¶
type PostUpdatePasswordsReader struct {
// contains filtered or unexported fields
}
PostUpdatePasswordsReader is a Reader for the PostUpdatePasswords structure.
func (*PostUpdatePasswordsReader) ReadResponse ¶
func (o *PostUpdatePasswordsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUpdatePasswordsServiceUnavailable ¶
type PostUpdatePasswordsServiceUnavailable struct { }
PostUpdatePasswordsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostUpdatePasswordsServiceUnavailable ¶
func NewPostUpdatePasswordsServiceUnavailable() *PostUpdatePasswordsServiceUnavailable
NewPostUpdatePasswordsServiceUnavailable creates a PostUpdatePasswordsServiceUnavailable with default headers values
func (*PostUpdatePasswordsServiceUnavailable) Error ¶
func (o *PostUpdatePasswordsServiceUnavailable) Error() string
type PostUpdatePasswordsUnauthorized ¶
type PostUpdatePasswordsUnauthorized struct { }
PostUpdatePasswordsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostUpdatePasswordsUnauthorized ¶
func NewPostUpdatePasswordsUnauthorized() *PostUpdatePasswordsUnauthorized
NewPostUpdatePasswordsUnauthorized creates a PostUpdatePasswordsUnauthorized with default headers values
func (*PostUpdatePasswordsUnauthorized) Error ¶
func (o *PostUpdatePasswordsUnauthorized) Error() string