prototype

package
v0.0.0-...-eff1da9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 prototype API

func (*Client) CreateOrganizationPrototypePermission

CreateOrganizationPrototypePermission Create a new permission prototype.

func (*Client) DeleteOrganizationPrototypePermission

DeleteOrganizationPrototypePermission Delete an existing permission prototype.

func (*Client) GetOrganizationPrototypePermissions

GetOrganizationPrototypePermissions List the existing prototypes for this organization.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrganizationPrototypePermission

UpdateOrganizationPrototypePermission Update the role of an existing permission prototype.

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new prototype API client.

type CreateOrganizationPrototypePermissionBadRequest

type CreateOrganizationPrototypePermissionBadRequest struct {
	Payload *models.APIError
}

CreateOrganizationPrototypePermissionBadRequest handles this case with default header values.

Bad Request

func NewCreateOrganizationPrototypePermissionBadRequest

func NewCreateOrganizationPrototypePermissionBadRequest() *CreateOrganizationPrototypePermissionBadRequest

NewCreateOrganizationPrototypePermissionBadRequest creates a CreateOrganizationPrototypePermissionBadRequest with default headers values

func (*CreateOrganizationPrototypePermissionBadRequest) Error

func (*CreateOrganizationPrototypePermissionBadRequest) GetPayload

type CreateOrganizationPrototypePermissionCreated

type CreateOrganizationPrototypePermissionCreated struct {
}

CreateOrganizationPrototypePermissionCreated handles this case with default header values.

Successful creation

func NewCreateOrganizationPrototypePermissionCreated

func NewCreateOrganizationPrototypePermissionCreated() *CreateOrganizationPrototypePermissionCreated

NewCreateOrganizationPrototypePermissionCreated creates a CreateOrganizationPrototypePermissionCreated with default headers values

func (*CreateOrganizationPrototypePermissionCreated) Error

type CreateOrganizationPrototypePermissionForbidden

type CreateOrganizationPrototypePermissionForbidden struct {
	Payload *models.APIError
}

CreateOrganizationPrototypePermissionForbidden handles this case with default header values.

Unauthorized access

func NewCreateOrganizationPrototypePermissionForbidden

func NewCreateOrganizationPrototypePermissionForbidden() *CreateOrganizationPrototypePermissionForbidden

NewCreateOrganizationPrototypePermissionForbidden creates a CreateOrganizationPrototypePermissionForbidden with default headers values

func (*CreateOrganizationPrototypePermissionForbidden) Error

func (*CreateOrganizationPrototypePermissionForbidden) GetPayload

type CreateOrganizationPrototypePermissionNotFound

type CreateOrganizationPrototypePermissionNotFound struct {
	Payload *models.APIError
}

CreateOrganizationPrototypePermissionNotFound handles this case with default header values.

Not found

func NewCreateOrganizationPrototypePermissionNotFound

func NewCreateOrganizationPrototypePermissionNotFound() *CreateOrganizationPrototypePermissionNotFound

NewCreateOrganizationPrototypePermissionNotFound creates a CreateOrganizationPrototypePermissionNotFound with default headers values

func (*CreateOrganizationPrototypePermissionNotFound) Error

func (*CreateOrganizationPrototypePermissionNotFound) GetPayload

type CreateOrganizationPrototypePermissionParams

type CreateOrganizationPrototypePermissionParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.NewPrototype
	/*Orgname
	  The name of the organization

	*/
	Orgname string

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

CreateOrganizationPrototypePermissionParams contains all the parameters to send to the API endpoint for the create organization prototype permission operation typically these are written to a http.Request

func NewCreateOrganizationPrototypePermissionParams

func NewCreateOrganizationPrototypePermissionParams() *CreateOrganizationPrototypePermissionParams

NewCreateOrganizationPrototypePermissionParams creates a new CreateOrganizationPrototypePermissionParams object with the default values initialized.

func NewCreateOrganizationPrototypePermissionParamsWithContext

func NewCreateOrganizationPrototypePermissionParamsWithContext(ctx context.Context) *CreateOrganizationPrototypePermissionParams

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

func NewCreateOrganizationPrototypePermissionParamsWithHTTPClient

func NewCreateOrganizationPrototypePermissionParamsWithHTTPClient(client *http.Client) *CreateOrganizationPrototypePermissionParams

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

func NewCreateOrganizationPrototypePermissionParamsWithTimeout

func NewCreateOrganizationPrototypePermissionParamsWithTimeout(timeout time.Duration) *CreateOrganizationPrototypePermissionParams

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

func (*CreateOrganizationPrototypePermissionParams) SetBody

SetBody adds the body to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) SetContext

SetContext adds the context to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) SetOrgname

func (o *CreateOrganizationPrototypePermissionParams) SetOrgname(orgname string)

SetOrgname adds the orgname to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) SetTimeout

SetTimeout adds the timeout to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WithBody

WithBody adds the body to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WithContext

WithContext adds the context to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WithOrgname

WithOrgname adds the orgname to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WithTimeout

WithTimeout adds the timeout to the create organization prototype permission params

func (*CreateOrganizationPrototypePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrganizationPrototypePermissionReader

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

CreateOrganizationPrototypePermissionReader is a Reader for the CreateOrganizationPrototypePermission structure.

func (*CreateOrganizationPrototypePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrganizationPrototypePermissionUnauthorized

type CreateOrganizationPrototypePermissionUnauthorized struct {
	Payload *models.APIError
}

CreateOrganizationPrototypePermissionUnauthorized handles this case with default header values.

Session required

func NewCreateOrganizationPrototypePermissionUnauthorized

func NewCreateOrganizationPrototypePermissionUnauthorized() *CreateOrganizationPrototypePermissionUnauthorized

NewCreateOrganizationPrototypePermissionUnauthorized creates a CreateOrganizationPrototypePermissionUnauthorized with default headers values

func (*CreateOrganizationPrototypePermissionUnauthorized) Error

func (*CreateOrganizationPrototypePermissionUnauthorized) GetPayload

type DeleteOrganizationPrototypePermissionBadRequest

type DeleteOrganizationPrototypePermissionBadRequest struct {
	Payload *models.APIError
}

DeleteOrganizationPrototypePermissionBadRequest handles this case with default header values.

Bad Request

func NewDeleteOrganizationPrototypePermissionBadRequest

func NewDeleteOrganizationPrototypePermissionBadRequest() *DeleteOrganizationPrototypePermissionBadRequest

NewDeleteOrganizationPrototypePermissionBadRequest creates a DeleteOrganizationPrototypePermissionBadRequest with default headers values

func (*DeleteOrganizationPrototypePermissionBadRequest) Error

func (*DeleteOrganizationPrototypePermissionBadRequest) GetPayload

type DeleteOrganizationPrototypePermissionForbidden

type DeleteOrganizationPrototypePermissionForbidden struct {
	Payload *models.APIError
}

DeleteOrganizationPrototypePermissionForbidden handles this case with default header values.

Unauthorized access

func NewDeleteOrganizationPrototypePermissionForbidden

func NewDeleteOrganizationPrototypePermissionForbidden() *DeleteOrganizationPrototypePermissionForbidden

NewDeleteOrganizationPrototypePermissionForbidden creates a DeleteOrganizationPrototypePermissionForbidden with default headers values

func (*DeleteOrganizationPrototypePermissionForbidden) Error

func (*DeleteOrganizationPrototypePermissionForbidden) GetPayload

type DeleteOrganizationPrototypePermissionNoContent

type DeleteOrganizationPrototypePermissionNoContent struct {
}

DeleteOrganizationPrototypePermissionNoContent handles this case with default header values.

Deleted

func NewDeleteOrganizationPrototypePermissionNoContent

func NewDeleteOrganizationPrototypePermissionNoContent() *DeleteOrganizationPrototypePermissionNoContent

NewDeleteOrganizationPrototypePermissionNoContent creates a DeleteOrganizationPrototypePermissionNoContent with default headers values

func (*DeleteOrganizationPrototypePermissionNoContent) Error

type DeleteOrganizationPrototypePermissionNotFound

type DeleteOrganizationPrototypePermissionNotFound struct {
	Payload *models.APIError
}

DeleteOrganizationPrototypePermissionNotFound handles this case with default header values.

Not found

func NewDeleteOrganizationPrototypePermissionNotFound

func NewDeleteOrganizationPrototypePermissionNotFound() *DeleteOrganizationPrototypePermissionNotFound

NewDeleteOrganizationPrototypePermissionNotFound creates a DeleteOrganizationPrototypePermissionNotFound with default headers values

func (*DeleteOrganizationPrototypePermissionNotFound) Error

func (*DeleteOrganizationPrototypePermissionNotFound) GetPayload

type DeleteOrganizationPrototypePermissionParams

type DeleteOrganizationPrototypePermissionParams struct {

	/*Orgname
	  The name of the organization

	*/
	Orgname string
	/*Prototypeid
	  The ID of the prototype

	*/
	Prototypeid string

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

DeleteOrganizationPrototypePermissionParams contains all the parameters to send to the API endpoint for the delete organization prototype permission operation typically these are written to a http.Request

func NewDeleteOrganizationPrototypePermissionParams

func NewDeleteOrganizationPrototypePermissionParams() *DeleteOrganizationPrototypePermissionParams

NewDeleteOrganizationPrototypePermissionParams creates a new DeleteOrganizationPrototypePermissionParams object with the default values initialized.

func NewDeleteOrganizationPrototypePermissionParamsWithContext

func NewDeleteOrganizationPrototypePermissionParamsWithContext(ctx context.Context) *DeleteOrganizationPrototypePermissionParams

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

func NewDeleteOrganizationPrototypePermissionParamsWithHTTPClient

func NewDeleteOrganizationPrototypePermissionParamsWithHTTPClient(client *http.Client) *DeleteOrganizationPrototypePermissionParams

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

func NewDeleteOrganizationPrototypePermissionParamsWithTimeout

func NewDeleteOrganizationPrototypePermissionParamsWithTimeout(timeout time.Duration) *DeleteOrganizationPrototypePermissionParams

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

func (*DeleteOrganizationPrototypePermissionParams) SetContext

SetContext adds the context to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) SetOrgname

func (o *DeleteOrganizationPrototypePermissionParams) SetOrgname(orgname string)

SetOrgname adds the orgname to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) SetPrototypeid

func (o *DeleteOrganizationPrototypePermissionParams) SetPrototypeid(prototypeid string)

SetPrototypeid adds the prototypeid to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) SetTimeout

SetTimeout adds the timeout to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WithContext

WithContext adds the context to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WithOrgname

WithOrgname adds the orgname to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WithPrototypeid

WithPrototypeid adds the prototypeid to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WithTimeout

WithTimeout adds the timeout to the delete organization prototype permission params

func (*DeleteOrganizationPrototypePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationPrototypePermissionReader

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

DeleteOrganizationPrototypePermissionReader is a Reader for the DeleteOrganizationPrototypePermission structure.

func (*DeleteOrganizationPrototypePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationPrototypePermissionUnauthorized

type DeleteOrganizationPrototypePermissionUnauthorized struct {
	Payload *models.APIError
}

DeleteOrganizationPrototypePermissionUnauthorized handles this case with default header values.

Session required

func NewDeleteOrganizationPrototypePermissionUnauthorized

func NewDeleteOrganizationPrototypePermissionUnauthorized() *DeleteOrganizationPrototypePermissionUnauthorized

NewDeleteOrganizationPrototypePermissionUnauthorized creates a DeleteOrganizationPrototypePermissionUnauthorized with default headers values

func (*DeleteOrganizationPrototypePermissionUnauthorized) Error

func (*DeleteOrganizationPrototypePermissionUnauthorized) GetPayload

type GetOrganizationPrototypePermissionsBadRequest

type GetOrganizationPrototypePermissionsBadRequest struct {
	Payload *models.APIError
}

GetOrganizationPrototypePermissionsBadRequest handles this case with default header values.

Bad Request

func NewGetOrganizationPrototypePermissionsBadRequest

func NewGetOrganizationPrototypePermissionsBadRequest() *GetOrganizationPrototypePermissionsBadRequest

NewGetOrganizationPrototypePermissionsBadRequest creates a GetOrganizationPrototypePermissionsBadRequest with default headers values

func (*GetOrganizationPrototypePermissionsBadRequest) Error

func (*GetOrganizationPrototypePermissionsBadRequest) GetPayload

type GetOrganizationPrototypePermissionsForbidden

type GetOrganizationPrototypePermissionsForbidden struct {
	Payload *models.APIError
}

GetOrganizationPrototypePermissionsForbidden handles this case with default header values.

Unauthorized access

func NewGetOrganizationPrototypePermissionsForbidden

func NewGetOrganizationPrototypePermissionsForbidden() *GetOrganizationPrototypePermissionsForbidden

NewGetOrganizationPrototypePermissionsForbidden creates a GetOrganizationPrototypePermissionsForbidden with default headers values

func (*GetOrganizationPrototypePermissionsForbidden) Error

func (*GetOrganizationPrototypePermissionsForbidden) GetPayload

type GetOrganizationPrototypePermissionsNotFound

type GetOrganizationPrototypePermissionsNotFound struct {
	Payload *models.APIError
}

GetOrganizationPrototypePermissionsNotFound handles this case with default header values.

Not found

func NewGetOrganizationPrototypePermissionsNotFound

func NewGetOrganizationPrototypePermissionsNotFound() *GetOrganizationPrototypePermissionsNotFound

NewGetOrganizationPrototypePermissionsNotFound creates a GetOrganizationPrototypePermissionsNotFound with default headers values

func (*GetOrganizationPrototypePermissionsNotFound) Error

func (*GetOrganizationPrototypePermissionsNotFound) GetPayload

type GetOrganizationPrototypePermissionsOK

type GetOrganizationPrototypePermissionsOK struct {
}

GetOrganizationPrototypePermissionsOK handles this case with default header values.

Successful invocation

func NewGetOrganizationPrototypePermissionsOK

func NewGetOrganizationPrototypePermissionsOK() *GetOrganizationPrototypePermissionsOK

NewGetOrganizationPrototypePermissionsOK creates a GetOrganizationPrototypePermissionsOK with default headers values

func (*GetOrganizationPrototypePermissionsOK) Error

type GetOrganizationPrototypePermissionsParams

type GetOrganizationPrototypePermissionsParams struct {

	/*Orgname
	  The name of the organization

	*/
	Orgname string

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

GetOrganizationPrototypePermissionsParams contains all the parameters to send to the API endpoint for the get organization prototype permissions operation typically these are written to a http.Request

func NewGetOrganizationPrototypePermissionsParams

func NewGetOrganizationPrototypePermissionsParams() *GetOrganizationPrototypePermissionsParams

NewGetOrganizationPrototypePermissionsParams creates a new GetOrganizationPrototypePermissionsParams object with the default values initialized.

func NewGetOrganizationPrototypePermissionsParamsWithContext

func NewGetOrganizationPrototypePermissionsParamsWithContext(ctx context.Context) *GetOrganizationPrototypePermissionsParams

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

func NewGetOrganizationPrototypePermissionsParamsWithHTTPClient

func NewGetOrganizationPrototypePermissionsParamsWithHTTPClient(client *http.Client) *GetOrganizationPrototypePermissionsParams

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

func NewGetOrganizationPrototypePermissionsParamsWithTimeout

func NewGetOrganizationPrototypePermissionsParamsWithTimeout(timeout time.Duration) *GetOrganizationPrototypePermissionsParams

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

func (*GetOrganizationPrototypePermissionsParams) SetContext

SetContext adds the context to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) SetOrgname

func (o *GetOrganizationPrototypePermissionsParams) SetOrgname(orgname string)

SetOrgname adds the orgname to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) SetTimeout

SetTimeout adds the timeout to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) WithContext

WithContext adds the context to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) WithOrgname

WithOrgname adds the orgname to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) WithTimeout

WithTimeout adds the timeout to the get organization prototype permissions params

func (*GetOrganizationPrototypePermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationPrototypePermissionsReader

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

GetOrganizationPrototypePermissionsReader is a Reader for the GetOrganizationPrototypePermissions structure.

func (*GetOrganizationPrototypePermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationPrototypePermissionsUnauthorized

type GetOrganizationPrototypePermissionsUnauthorized struct {
	Payload *models.APIError
}

GetOrganizationPrototypePermissionsUnauthorized handles this case with default header values.

Session required

func NewGetOrganizationPrototypePermissionsUnauthorized

func NewGetOrganizationPrototypePermissionsUnauthorized() *GetOrganizationPrototypePermissionsUnauthorized

NewGetOrganizationPrototypePermissionsUnauthorized creates a GetOrganizationPrototypePermissionsUnauthorized with default headers values

func (*GetOrganizationPrototypePermissionsUnauthorized) Error

func (*GetOrganizationPrototypePermissionsUnauthorized) GetPayload

type UpdateOrganizationPrototypePermissionBadRequest

type UpdateOrganizationPrototypePermissionBadRequest struct {
	Payload *models.APIError
}

UpdateOrganizationPrototypePermissionBadRequest handles this case with default header values.

Bad Request

func NewUpdateOrganizationPrototypePermissionBadRequest

func NewUpdateOrganizationPrototypePermissionBadRequest() *UpdateOrganizationPrototypePermissionBadRequest

NewUpdateOrganizationPrototypePermissionBadRequest creates a UpdateOrganizationPrototypePermissionBadRequest with default headers values

func (*UpdateOrganizationPrototypePermissionBadRequest) Error

func (*UpdateOrganizationPrototypePermissionBadRequest) GetPayload

type UpdateOrganizationPrototypePermissionForbidden

type UpdateOrganizationPrototypePermissionForbidden struct {
	Payload *models.APIError
}

UpdateOrganizationPrototypePermissionForbidden handles this case with default header values.

Unauthorized access

func NewUpdateOrganizationPrototypePermissionForbidden

func NewUpdateOrganizationPrototypePermissionForbidden() *UpdateOrganizationPrototypePermissionForbidden

NewUpdateOrganizationPrototypePermissionForbidden creates a UpdateOrganizationPrototypePermissionForbidden with default headers values

func (*UpdateOrganizationPrototypePermissionForbidden) Error

func (*UpdateOrganizationPrototypePermissionForbidden) GetPayload

type UpdateOrganizationPrototypePermissionNotFound

type UpdateOrganizationPrototypePermissionNotFound struct {
	Payload *models.APIError
}

UpdateOrganizationPrototypePermissionNotFound handles this case with default header values.

Not found

func NewUpdateOrganizationPrototypePermissionNotFound

func NewUpdateOrganizationPrototypePermissionNotFound() *UpdateOrganizationPrototypePermissionNotFound

NewUpdateOrganizationPrototypePermissionNotFound creates a UpdateOrganizationPrototypePermissionNotFound with default headers values

func (*UpdateOrganizationPrototypePermissionNotFound) Error

func (*UpdateOrganizationPrototypePermissionNotFound) GetPayload

type UpdateOrganizationPrototypePermissionOK

type UpdateOrganizationPrototypePermissionOK struct {
}

UpdateOrganizationPrototypePermissionOK handles this case with default header values.

Successful invocation

func NewUpdateOrganizationPrototypePermissionOK

func NewUpdateOrganizationPrototypePermissionOK() *UpdateOrganizationPrototypePermissionOK

NewUpdateOrganizationPrototypePermissionOK creates a UpdateOrganizationPrototypePermissionOK with default headers values

func (*UpdateOrganizationPrototypePermissionOK) Error

type UpdateOrganizationPrototypePermissionParams

type UpdateOrganizationPrototypePermissionParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.PrototypeUpdate
	/*Orgname
	  The name of the organization

	*/
	Orgname string
	/*Prototypeid
	  The ID of the prototype

	*/
	Prototypeid string

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

UpdateOrganizationPrototypePermissionParams contains all the parameters to send to the API endpoint for the update organization prototype permission operation typically these are written to a http.Request

func NewUpdateOrganizationPrototypePermissionParams

func NewUpdateOrganizationPrototypePermissionParams() *UpdateOrganizationPrototypePermissionParams

NewUpdateOrganizationPrototypePermissionParams creates a new UpdateOrganizationPrototypePermissionParams object with the default values initialized.

func NewUpdateOrganizationPrototypePermissionParamsWithContext

func NewUpdateOrganizationPrototypePermissionParamsWithContext(ctx context.Context) *UpdateOrganizationPrototypePermissionParams

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

func NewUpdateOrganizationPrototypePermissionParamsWithHTTPClient

func NewUpdateOrganizationPrototypePermissionParamsWithHTTPClient(client *http.Client) *UpdateOrganizationPrototypePermissionParams

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

func NewUpdateOrganizationPrototypePermissionParamsWithTimeout

func NewUpdateOrganizationPrototypePermissionParamsWithTimeout(timeout time.Duration) *UpdateOrganizationPrototypePermissionParams

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

func (*UpdateOrganizationPrototypePermissionParams) SetBody

SetBody adds the body to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) SetContext

SetContext adds the context to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) SetOrgname

func (o *UpdateOrganizationPrototypePermissionParams) SetOrgname(orgname string)

SetOrgname adds the orgname to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) SetPrototypeid

func (o *UpdateOrganizationPrototypePermissionParams) SetPrototypeid(prototypeid string)

SetPrototypeid adds the prototypeid to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) SetTimeout

SetTimeout adds the timeout to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithBody

WithBody adds the body to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithContext

WithContext adds the context to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithOrgname

WithOrgname adds the orgname to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithPrototypeid

WithPrototypeid adds the prototypeid to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WithTimeout

WithTimeout adds the timeout to the update organization prototype permission params

func (*UpdateOrganizationPrototypePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrganizationPrototypePermissionReader

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

UpdateOrganizationPrototypePermissionReader is a Reader for the UpdateOrganizationPrototypePermission structure.

func (*UpdateOrganizationPrototypePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrganizationPrototypePermissionUnauthorized

type UpdateOrganizationPrototypePermissionUnauthorized struct {
	Payload *models.APIError
}

UpdateOrganizationPrototypePermissionUnauthorized handles this case with default header values.

Session required

func NewUpdateOrganizationPrototypePermissionUnauthorized

func NewUpdateOrganizationPrototypePermissionUnauthorized() *UpdateOrganizationPrototypePermissionUnauthorized

NewUpdateOrganizationPrototypePermissionUnauthorized creates a UpdateOrganizationPrototypePermissionUnauthorized with default headers values

func (*UpdateOrganizationPrototypePermissionUnauthorized) Error

func (*UpdateOrganizationPrototypePermissionUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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