Documentation
¶
Overview ¶
Package bwpublic provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Index ¶
- Constants
- func NewDeletePublicCollectionsIdRequest(server string, id string) (*http.Request, error)
- func NewDeletePublicGroupsIdRequest(server string, id string) (*http.Request, error)
- func NewDeletePublicMembersIdRequest(server string, id string) (*http.Request, error)
- func NewGetPublicCollectionsIdRequest(server string, id string) (*http.Request, error)
- func NewGetPublicCollectionsRequest(server string) (*http.Request, error)
- func NewGetPublicEventsRequest(server string, params *GetPublicEventsParams) (*http.Request, error)
- func NewGetPublicGroupsIdMemberIdsRequest(server string, id string) (*http.Request, error)
- func NewGetPublicGroupsIdRequest(server string, id string) (*http.Request, error)
- func NewGetPublicGroupsRequest(server string) (*http.Request, error)
- func NewGetPublicMembersIdGroupIdsRequest(server string, id string) (*http.Request, error)
- func NewGetPublicMembersIdRequest(server string, id string) (*http.Request, error)
- func NewGetPublicMembersRequest(server string) (*http.Request, error)
- func NewGetPublicPoliciesRequest(server string) (*http.Request, error)
- func NewGetPublicPoliciesTypeRequest(server string, pType PolicyType) (*http.Request, error)
- func NewPostPublicGroupsRequest(server string, body PostPublicGroupsJSONRequestBody) (*http.Request, error)
- func NewPostPublicGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostPublicMembersIdReinviteRequest(server string, id string) (*http.Request, error)
- func NewPostPublicMembersRequest(server string, body PostPublicMembersJSONRequestBody) (*http.Request, error)
- func NewPostPublicMembersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostPublicOrganizationImportRequest(server string, body PostPublicOrganizationImportJSONRequestBody) (*http.Request, error)
- func NewPostPublicOrganizationImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicCollectionsIdRequest(server string, id string, body PutPublicCollectionsIdJSONRequestBody) (*http.Request, error)
- func NewPutPublicCollectionsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicGroupsIdMemberIdsRequest(server string, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody) (*http.Request, error)
- func NewPutPublicGroupsIdMemberIdsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicGroupsIdRequest(server string, id string, body PutPublicGroupsIdJSONRequestBody) (*http.Request, error)
- func NewPutPublicGroupsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicMembersIdGroupIdsRequest(server string, id string, body PutPublicMembersIdGroupIdsJSONRequestBody) (*http.Request, error)
- func NewPutPublicMembersIdGroupIdsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicMembersIdRequest(server string, id string, body PutPublicMembersIdJSONRequestBody) (*http.Request, error)
- func NewPutPublicMembersIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutPublicPoliciesIdRequest(server string, id string, params *PutPublicPoliciesIdParams, ...) (*http.Request, error)
- func NewPutPublicPoliciesIdRequestWithBody(server string, id string, params *PutPublicPoliciesIdParams, ...) (*http.Request, error)
- type AssociationWithPermissionsRequestModel
- type AssociationWithPermissionsResponseModel
- type Client
- func (c *Client) DeletePublicCollectionsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePublicGroupsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePublicMembersId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicCollections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicCollectionsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicEvents(ctx context.Context, params *GetPublicEventsParams, ...) (*http.Response, error)
- func (c *Client) GetPublicGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicGroupsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicGroupsIdMemberIds(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicMembers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicMembersId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicMembersIdGroupIds(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicPoliciesType(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostPublicGroups(ctx context.Context, body PostPublicGroupsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostPublicGroupsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostPublicMembers(ctx context.Context, body PostPublicMembersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostPublicMembersIdReinvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostPublicMembersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostPublicOrganizationImport(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostPublicOrganizationImportWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicCollectionsId(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutPublicCollectionsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicGroupsId(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutPublicGroupsIdMemberIds(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutPublicGroupsIdMemberIdsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicGroupsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicMembersId(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutPublicMembersIdGroupIds(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutPublicMembersIdGroupIdsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicMembersIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutPublicPoliciesId(ctx context.Context, id string, params *PutPublicPoliciesIdParams, ...) (*http.Response, error)
- func (c *Client) PutPublicPoliciesIdWithBody(ctx context.Context, id string, params *PutPublicPoliciesIdParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeletePublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicCollectionsIdResponse, error)
- func (c *ClientWithResponses) DeletePublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicGroupsIdResponse, error)
- func (c *ClientWithResponses) DeletePublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicMembersIdResponse, error)
- func (c *ClientWithResponses) GetPublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicCollectionsIdResponse, error)
- func (c *ClientWithResponses) GetPublicCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicCollectionsResponse, error)
- func (c *ClientWithResponses) GetPublicEventsWithResponse(ctx context.Context, params *GetPublicEventsParams, ...) (*GetPublicEventsResponse, error)
- func (c *ClientWithResponses) GetPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdMemberIdsResponse, error)
- func (c *ClientWithResponses) GetPublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdResponse, error)
- func (c *ClientWithResponses) GetPublicGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicGroupsResponse, error)
- func (c *ClientWithResponses) GetPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdGroupIdsResponse, error)
- func (c *ClientWithResponses) GetPublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdResponse, error)
- func (c *ClientWithResponses) GetPublicMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicMembersResponse, error)
- func (c *ClientWithResponses) GetPublicPoliciesTypeWithResponse(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*GetPublicPoliciesTypeResponse, error)
- func (c *ClientWithResponses) GetPublicPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicPoliciesResponse, error)
- func (c *ClientWithResponses) PostPublicGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostPublicGroupsResponse, error)
- func (c *ClientWithResponses) PostPublicGroupsWithResponse(ctx context.Context, body PostPublicGroupsJSONRequestBody, ...) (*PostPublicGroupsResponse, error)
- func (c *ClientWithResponses) PostPublicMembersIdReinviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostPublicMembersIdReinviteResponse, error)
- func (c *ClientWithResponses) PostPublicMembersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostPublicMembersResponse, error)
- func (c *ClientWithResponses) PostPublicMembersWithResponse(ctx context.Context, body PostPublicMembersJSONRequestBody, ...) (*PostPublicMembersResponse, error)
- func (c *ClientWithResponses) PostPublicOrganizationImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostPublicOrganizationImportResponse, error)
- func (c *ClientWithResponses) PostPublicOrganizationImportWithResponse(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, ...) (*PostPublicOrganizationImportResponse, error)
- func (c *ClientWithResponses) PutPublicCollectionsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutPublicCollectionsIdResponse, error)
- func (c *ClientWithResponses) PutPublicCollectionsIdWithResponse(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, ...) (*PutPublicCollectionsIdResponse, error)
- func (c *ClientWithResponses) PutPublicGroupsIdMemberIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutPublicGroupsIdMemberIdsResponse, error)
- func (c *ClientWithResponses) PutPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, ...) (*PutPublicGroupsIdMemberIdsResponse, error)
- func (c *ClientWithResponses) PutPublicGroupsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutPublicGroupsIdResponse, error)
- func (c *ClientWithResponses) PutPublicGroupsIdWithResponse(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, ...) (*PutPublicGroupsIdResponse, error)
- func (c *ClientWithResponses) PutPublicMembersIdGroupIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutPublicMembersIdGroupIdsResponse, error)
- func (c *ClientWithResponses) PutPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, ...) (*PutPublicMembersIdGroupIdsResponse, error)
- func (c *ClientWithResponses) PutPublicMembersIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutPublicMembersIdResponse, error)
- func (c *ClientWithResponses) PutPublicMembersIdWithResponse(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, ...) (*PutPublicMembersIdResponse, error)
- func (c *ClientWithResponses) PutPublicPoliciesIdWithBodyWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, ...) (*PutPublicPoliciesIdResponse, error)
- func (c *ClientWithResponses) PutPublicPoliciesIdWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, ...) (*PutPublicPoliciesIdResponse, error)
- type ClientWithResponsesInterface
- type CollectionResponseModel
- type CollectionResponseModelListResponseModel
- type CollectionUpdateRequestModel
- type DeletePublicCollectionsIdResponse
- type DeletePublicGroupsIdResponse
- type DeletePublicMembersIdResponse
- type DeviceType
- type ErrorResponseModel
- type ErrorResponseModel_Errors
- type EventResponseModel
- type EventResponseModelListResponseModel
- type EventType
- type GetPublicCollectionsIdResponse
- type GetPublicCollectionsResponse
- type GetPublicEventsParams
- type GetPublicEventsResponse
- type GetPublicGroupsIdMemberIdsResponse
- type GetPublicGroupsIdResponse
- type GetPublicGroupsResponse
- type GetPublicMembersIdGroupIdsResponse
- type GetPublicMembersIdResponse
- type GetPublicMembersResponse
- type GetPublicPoliciesResponse
- type GetPublicPoliciesTypeResponse
- type GroupCreateUpdateRequestModel
- type GroupResponseModel
- type GroupResponseModelListResponseModel
- type HttpRequestDoer
- type MemberCreateRequestModel
- type MemberResponseModel
- type MemberResponseModelListResponseModel
- type MemberUpdateRequestModel
- type OrganizationImportGroupRequestModel
- type OrganizationImportMemberRequestModel
- type OrganizationImportRequestModel
- type OrganizationUserStatusType
- type OrganizationUserType
- type PolicyResponseModel
- type PolicyResponseModelListResponseModel
- type PolicyResponseModel_Data
- func (a PolicyResponseModel_Data) Get(fieldName string) (value map[string]interface{}, found bool)
- func (a PolicyResponseModel_Data) MarshalJSON() ([]byte, error)
- func (a *PolicyResponseModel_Data) Set(fieldName string, value map[string]interface{})
- func (a *PolicyResponseModel_Data) UnmarshalJSON(b []byte) error
- type PolicyType
- type PolicyUpdateRequestModel
- type PolicyUpdateRequestModel_Data
- func (a PolicyUpdateRequestModel_Data) Get(fieldName string) (value map[string]interface{}, found bool)
- func (a PolicyUpdateRequestModel_Data) MarshalJSON() ([]byte, error)
- func (a *PolicyUpdateRequestModel_Data) Set(fieldName string, value map[string]interface{})
- func (a *PolicyUpdateRequestModel_Data) UnmarshalJSON(b []byte) error
- type PostPublicGroupsJSONBody
- type PostPublicGroupsJSONRequestBody
- type PostPublicGroupsResponse
- type PostPublicMembersIdReinviteResponse
- type PostPublicMembersJSONBody
- type PostPublicMembersJSONRequestBody
- type PostPublicMembersResponse
- type PostPublicOrganizationImportJSONBody
- type PostPublicOrganizationImportJSONRequestBody
- type PostPublicOrganizationImportResponse
- type PutPublicCollectionsIdJSONBody
- type PutPublicCollectionsIdJSONRequestBody
- type PutPublicCollectionsIdResponse
- type PutPublicGroupsIdJSONBody
- type PutPublicGroupsIdJSONRequestBody
- type PutPublicGroupsIdMemberIdsJSONBody
- type PutPublicGroupsIdMemberIdsJSONRequestBody
- type PutPublicGroupsIdMemberIdsResponse
- type PutPublicGroupsIdResponse
- type PutPublicMembersIdGroupIdsJSONBody
- type PutPublicMembersIdGroupIdsJSONRequestBody
- type PutPublicMembersIdGroupIdsResponse
- type PutPublicMembersIdJSONBody
- type PutPublicMembersIdJSONRequestBody
- type PutPublicMembersIdResponse
- type PutPublicPoliciesIdJSONBody
- type PutPublicPoliciesIdJSONRequestBody
- type PutPublicPoliciesIdParams
- type PutPublicPoliciesIdResponse
- type RequestEditorFn
- type UpdateGroupIdsRequestModel
- type UpdateMemberIdsRequestModel
Constants ¶
const (
OAuth2_Client_CredentialsScopes = "OAuth2_Client_Credentials.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewDeletePublicCollectionsIdRequest ¶
NewDeletePublicCollectionsIdRequest generates requests for DeletePublicCollectionsId
func NewDeletePublicGroupsIdRequest ¶
NewDeletePublicGroupsIdRequest generates requests for DeletePublicGroupsId
func NewDeletePublicMembersIdRequest ¶
NewDeletePublicMembersIdRequest generates requests for DeletePublicMembersId
func NewGetPublicCollectionsIdRequest ¶
NewGetPublicCollectionsIdRequest generates requests for GetPublicCollectionsId
func NewGetPublicCollectionsRequest ¶
NewGetPublicCollectionsRequest generates requests for GetPublicCollections
func NewGetPublicEventsRequest ¶
func NewGetPublicEventsRequest(server string, params *GetPublicEventsParams) (*http.Request, error)
NewGetPublicEventsRequest generates requests for GetPublicEvents
func NewGetPublicGroupsIdMemberIdsRequest ¶
NewGetPublicGroupsIdMemberIdsRequest generates requests for GetPublicGroupsIdMemberIds
func NewGetPublicGroupsIdRequest ¶
NewGetPublicGroupsIdRequest generates requests for GetPublicGroupsId
func NewGetPublicGroupsRequest ¶
NewGetPublicGroupsRequest generates requests for GetPublicGroups
func NewGetPublicMembersIdGroupIdsRequest ¶
NewGetPublicMembersIdGroupIdsRequest generates requests for GetPublicMembersIdGroupIds
func NewGetPublicMembersIdRequest ¶
NewGetPublicMembersIdRequest generates requests for GetPublicMembersId
func NewGetPublicMembersRequest ¶
NewGetPublicMembersRequest generates requests for GetPublicMembers
func NewGetPublicPoliciesRequest ¶
NewGetPublicPoliciesRequest generates requests for GetPublicPolicies
func NewGetPublicPoliciesTypeRequest ¶
func NewGetPublicPoliciesTypeRequest(server string, pType PolicyType) (*http.Request, error)
NewGetPublicPoliciesTypeRequest generates requests for GetPublicPoliciesType
func NewPostPublicGroupsRequest ¶
func NewPostPublicGroupsRequest(server string, body PostPublicGroupsJSONRequestBody) (*http.Request, error)
NewPostPublicGroupsRequest calls the generic PostPublicGroups builder with application/json body
func NewPostPublicGroupsRequestWithBody ¶
func NewPostPublicGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostPublicGroupsRequestWithBody generates requests for PostPublicGroups with any type of body
func NewPostPublicMembersIdReinviteRequest ¶
NewPostPublicMembersIdReinviteRequest generates requests for PostPublicMembersIdReinvite
func NewPostPublicMembersRequest ¶
func NewPostPublicMembersRequest(server string, body PostPublicMembersJSONRequestBody) (*http.Request, error)
NewPostPublicMembersRequest calls the generic PostPublicMembers builder with application/json body
func NewPostPublicMembersRequestWithBody ¶
func NewPostPublicMembersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostPublicMembersRequestWithBody generates requests for PostPublicMembers with any type of body
func NewPostPublicOrganizationImportRequest ¶
func NewPostPublicOrganizationImportRequest(server string, body PostPublicOrganizationImportJSONRequestBody) (*http.Request, error)
NewPostPublicOrganizationImportRequest calls the generic PostPublicOrganizationImport builder with application/json body
func NewPostPublicOrganizationImportRequestWithBody ¶
func NewPostPublicOrganizationImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostPublicOrganizationImportRequestWithBody generates requests for PostPublicOrganizationImport with any type of body
func NewPutPublicCollectionsIdRequest ¶
func NewPutPublicCollectionsIdRequest(server string, id string, body PutPublicCollectionsIdJSONRequestBody) (*http.Request, error)
NewPutPublicCollectionsIdRequest calls the generic PutPublicCollectionsId builder with application/json body
func NewPutPublicCollectionsIdRequestWithBody ¶
func NewPutPublicCollectionsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicCollectionsIdRequestWithBody generates requests for PutPublicCollectionsId with any type of body
func NewPutPublicGroupsIdMemberIdsRequest ¶
func NewPutPublicGroupsIdMemberIdsRequest(server string, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody) (*http.Request, error)
NewPutPublicGroupsIdMemberIdsRequest calls the generic PutPublicGroupsIdMemberIds builder with application/json body
func NewPutPublicGroupsIdMemberIdsRequestWithBody ¶
func NewPutPublicGroupsIdMemberIdsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicGroupsIdMemberIdsRequestWithBody generates requests for PutPublicGroupsIdMemberIds with any type of body
func NewPutPublicGroupsIdRequest ¶
func NewPutPublicGroupsIdRequest(server string, id string, body PutPublicGroupsIdJSONRequestBody) (*http.Request, error)
NewPutPublicGroupsIdRequest calls the generic PutPublicGroupsId builder with application/json body
func NewPutPublicGroupsIdRequestWithBody ¶
func NewPutPublicGroupsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicGroupsIdRequestWithBody generates requests for PutPublicGroupsId with any type of body
func NewPutPublicMembersIdGroupIdsRequest ¶
func NewPutPublicMembersIdGroupIdsRequest(server string, id string, body PutPublicMembersIdGroupIdsJSONRequestBody) (*http.Request, error)
NewPutPublicMembersIdGroupIdsRequest calls the generic PutPublicMembersIdGroupIds builder with application/json body
func NewPutPublicMembersIdGroupIdsRequestWithBody ¶
func NewPutPublicMembersIdGroupIdsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicMembersIdGroupIdsRequestWithBody generates requests for PutPublicMembersIdGroupIds with any type of body
func NewPutPublicMembersIdRequest ¶
func NewPutPublicMembersIdRequest(server string, id string, body PutPublicMembersIdJSONRequestBody) (*http.Request, error)
NewPutPublicMembersIdRequest calls the generic PutPublicMembersId builder with application/json body
func NewPutPublicMembersIdRequestWithBody ¶
func NewPutPublicMembersIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicMembersIdRequestWithBody generates requests for PutPublicMembersId with any type of body
func NewPutPublicPoliciesIdRequest ¶
func NewPutPublicPoliciesIdRequest(server string, id string, params *PutPublicPoliciesIdParams, body PutPublicPoliciesIdJSONRequestBody) (*http.Request, error)
NewPutPublicPoliciesIdRequest calls the generic PutPublicPoliciesId builder with application/json body
func NewPutPublicPoliciesIdRequestWithBody ¶
func NewPutPublicPoliciesIdRequestWithBody(server string, id string, params *PutPublicPoliciesIdParams, contentType string, body io.Reader) (*http.Request, error)
NewPutPublicPoliciesIdRequestWithBody generates requests for PutPublicPoliciesId with any type of body
Types ¶
type AssociationWithPermissionsRequestModel ¶
type AssociationWithPermissionsRequestModel struct {
// The associated object's unique identifier.
Id string `json:"id"`
// When true, the read only permission will not allow the user or group to make changes to items.
ReadOnly bool `json:"readOnly"`
}
AssociationWithPermissionsRequestModel defines model for AssociationWithPermissionsRequestModel.
type AssociationWithPermissionsResponseModel ¶
type AssociationWithPermissionsResponseModel struct {
// The associated object's unique identifier.
Id string `json:"id"`
// When true, the read only permission will not allow the user or group to make changes to items.
ReadOnly bool `json:"readOnly"`
}
AssociationWithPermissionsResponseModel defines model for AssociationWithPermissionsResponseModel.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeletePublicCollectionsId ¶
func (*Client) DeletePublicGroupsId ¶
func (*Client) DeletePublicMembersId ¶
func (*Client) GetPublicCollections ¶
func (*Client) GetPublicCollectionsId ¶
func (*Client) GetPublicEvents ¶
func (c *Client) GetPublicEvents(ctx context.Context, params *GetPublicEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPublicGroups ¶
func (*Client) GetPublicGroupsId ¶
func (*Client) GetPublicGroupsIdMemberIds ¶
func (*Client) GetPublicMembers ¶
func (*Client) GetPublicMembersId ¶
func (*Client) GetPublicMembersIdGroupIds ¶
func (*Client) GetPublicPolicies ¶
func (*Client) GetPublicPoliciesType ¶
func (c *Client) GetPublicPoliciesType(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostPublicGroups ¶
func (c *Client) PostPublicGroups(ctx context.Context, body PostPublicGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostPublicGroupsWithBody ¶
func (*Client) PostPublicMembers ¶
func (c *Client) PostPublicMembers(ctx context.Context, body PostPublicMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostPublicMembersIdReinvite ¶
func (*Client) PostPublicMembersWithBody ¶
func (*Client) PostPublicOrganizationImport ¶
func (c *Client) PostPublicOrganizationImport(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostPublicOrganizationImportWithBody ¶
func (*Client) PutPublicCollectionsId ¶
func (c *Client) PutPublicCollectionsId(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutPublicCollectionsIdWithBody ¶
func (*Client) PutPublicGroupsId ¶
func (c *Client) PutPublicGroupsId(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutPublicGroupsIdMemberIds ¶
func (c *Client) PutPublicGroupsIdMemberIds(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutPublicGroupsIdMemberIdsWithBody ¶
func (*Client) PutPublicGroupsIdWithBody ¶
func (*Client) PutPublicMembersId ¶
func (c *Client) PutPublicMembersId(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutPublicMembersIdGroupIds ¶
func (c *Client) PutPublicMembersIdGroupIds(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutPublicMembersIdGroupIdsWithBody ¶
func (*Client) PutPublicMembersIdWithBody ¶
func (*Client) PutPublicPoliciesId ¶
func (c *Client) PutPublicPoliciesId(ctx context.Context, id string, params *PutPublicPoliciesIdParams, body PutPublicPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetPublicCollections request
GetPublicCollections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublicCollectionsId request
DeletePublicCollectionsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicCollectionsId request
GetPublicCollectionsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicCollectionsId request with any body
PutPublicCollectionsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicCollectionsId(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicEvents request
GetPublicEvents(ctx context.Context, params *GetPublicEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicGroups request
GetPublicGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostPublicGroups request with any body
PostPublicGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostPublicGroups(ctx context.Context, body PostPublicGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublicGroupsId request
DeletePublicGroupsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicGroupsId request
GetPublicGroupsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicGroupsId request with any body
PutPublicGroupsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicGroupsId(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicGroupsIdMemberIds request
GetPublicGroupsIdMemberIds(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicGroupsIdMemberIds request with any body
PutPublicGroupsIdMemberIdsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicGroupsIdMemberIds(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicMembers request
GetPublicMembers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostPublicMembers request with any body
PostPublicMembersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostPublicMembers(ctx context.Context, body PostPublicMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublicMembersId request
DeletePublicMembersId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicMembersId request
GetPublicMembersId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicMembersId request with any body
PutPublicMembersIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicMembersId(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicMembersIdGroupIds request
GetPublicMembersIdGroupIds(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicMembersIdGroupIds request with any body
PutPublicMembersIdGroupIdsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicMembersIdGroupIds(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostPublicMembersIdReinvite request
PostPublicMembersIdReinvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostPublicOrganizationImport request with any body
PostPublicOrganizationImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostPublicOrganizationImport(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicPolicies request
GetPublicPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutPublicPoliciesId request with any body
PutPublicPoliciesIdWithBody(ctx context.Context, id string, params *PutPublicPoliciesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutPublicPoliciesId(ctx context.Context, id string, params *PutPublicPoliciesIdParams, body PutPublicPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicPoliciesType request
GetPublicPoliciesType(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeletePublicCollectionsIdWithResponse ¶
func (c *ClientWithResponses) DeletePublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicCollectionsIdResponse, error)
DeletePublicCollectionsIdWithResponse request returning *DeletePublicCollectionsIdResponse
func (*ClientWithResponses) DeletePublicGroupsIdWithResponse ¶
func (c *ClientWithResponses) DeletePublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicGroupsIdResponse, error)
DeletePublicGroupsIdWithResponse request returning *DeletePublicGroupsIdResponse
func (*ClientWithResponses) DeletePublicMembersIdWithResponse ¶
func (c *ClientWithResponses) DeletePublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicMembersIdResponse, error)
DeletePublicMembersIdWithResponse request returning *DeletePublicMembersIdResponse
func (*ClientWithResponses) GetPublicCollectionsIdWithResponse ¶
func (c *ClientWithResponses) GetPublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicCollectionsIdResponse, error)
GetPublicCollectionsIdWithResponse request returning *GetPublicCollectionsIdResponse
func (*ClientWithResponses) GetPublicCollectionsWithResponse ¶
func (c *ClientWithResponses) GetPublicCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicCollectionsResponse, error)
GetPublicCollectionsWithResponse request returning *GetPublicCollectionsResponse
func (*ClientWithResponses) GetPublicEventsWithResponse ¶
func (c *ClientWithResponses) GetPublicEventsWithResponse(ctx context.Context, params *GetPublicEventsParams, reqEditors ...RequestEditorFn) (*GetPublicEventsResponse, error)
GetPublicEventsWithResponse request returning *GetPublicEventsResponse
func (*ClientWithResponses) GetPublicGroupsIdMemberIdsWithResponse ¶
func (c *ClientWithResponses) GetPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdMemberIdsResponse, error)
GetPublicGroupsIdMemberIdsWithResponse request returning *GetPublicGroupsIdMemberIdsResponse
func (*ClientWithResponses) GetPublicGroupsIdWithResponse ¶
func (c *ClientWithResponses) GetPublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdResponse, error)
GetPublicGroupsIdWithResponse request returning *GetPublicGroupsIdResponse
func (*ClientWithResponses) GetPublicGroupsWithResponse ¶
func (c *ClientWithResponses) GetPublicGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicGroupsResponse, error)
GetPublicGroupsWithResponse request returning *GetPublicGroupsResponse
func (*ClientWithResponses) GetPublicMembersIdGroupIdsWithResponse ¶
func (c *ClientWithResponses) GetPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdGroupIdsResponse, error)
GetPublicMembersIdGroupIdsWithResponse request returning *GetPublicMembersIdGroupIdsResponse
func (*ClientWithResponses) GetPublicMembersIdWithResponse ¶
func (c *ClientWithResponses) GetPublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdResponse, error)
GetPublicMembersIdWithResponse request returning *GetPublicMembersIdResponse
func (*ClientWithResponses) GetPublicMembersWithResponse ¶
func (c *ClientWithResponses) GetPublicMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicMembersResponse, error)
GetPublicMembersWithResponse request returning *GetPublicMembersResponse
func (*ClientWithResponses) GetPublicPoliciesTypeWithResponse ¶
func (c *ClientWithResponses) GetPublicPoliciesTypeWithResponse(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*GetPublicPoliciesTypeResponse, error)
GetPublicPoliciesTypeWithResponse request returning *GetPublicPoliciesTypeResponse
func (*ClientWithResponses) GetPublicPoliciesWithResponse ¶
func (c *ClientWithResponses) GetPublicPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicPoliciesResponse, error)
GetPublicPoliciesWithResponse request returning *GetPublicPoliciesResponse
func (*ClientWithResponses) PostPublicGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostPublicGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicGroupsResponse, error)
PostPublicGroupsWithBodyWithResponse request with arbitrary body returning *PostPublicGroupsResponse
func (*ClientWithResponses) PostPublicGroupsWithResponse ¶
func (c *ClientWithResponses) PostPublicGroupsWithResponse(ctx context.Context, body PostPublicGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicGroupsResponse, error)
func (*ClientWithResponses) PostPublicMembersIdReinviteWithResponse ¶
func (c *ClientWithResponses) PostPublicMembersIdReinviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostPublicMembersIdReinviteResponse, error)
PostPublicMembersIdReinviteWithResponse request returning *PostPublicMembersIdReinviteResponse
func (*ClientWithResponses) PostPublicMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostPublicMembersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicMembersResponse, error)
PostPublicMembersWithBodyWithResponse request with arbitrary body returning *PostPublicMembersResponse
func (*ClientWithResponses) PostPublicMembersWithResponse ¶
func (c *ClientWithResponses) PostPublicMembersWithResponse(ctx context.Context, body PostPublicMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicMembersResponse, error)
func (*ClientWithResponses) PostPublicOrganizationImportWithBodyWithResponse ¶
func (c *ClientWithResponses) PostPublicOrganizationImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicOrganizationImportResponse, error)
PostPublicOrganizationImportWithBodyWithResponse request with arbitrary body returning *PostPublicOrganizationImportResponse
func (*ClientWithResponses) PostPublicOrganizationImportWithResponse ¶
func (c *ClientWithResponses) PostPublicOrganizationImportWithResponse(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicOrganizationImportResponse, error)
func (*ClientWithResponses) PutPublicCollectionsIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicCollectionsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicCollectionsIdResponse, error)
PutPublicCollectionsIdWithBodyWithResponse request with arbitrary body returning *PutPublicCollectionsIdResponse
func (*ClientWithResponses) PutPublicCollectionsIdWithResponse ¶
func (c *ClientWithResponses) PutPublicCollectionsIdWithResponse(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicCollectionsIdResponse, error)
func (*ClientWithResponses) PutPublicGroupsIdMemberIdsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicGroupsIdMemberIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdMemberIdsResponse, error)
PutPublicGroupsIdMemberIdsWithBodyWithResponse request with arbitrary body returning *PutPublicGroupsIdMemberIdsResponse
func (*ClientWithResponses) PutPublicGroupsIdMemberIdsWithResponse ¶
func (c *ClientWithResponses) PutPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdMemberIdsResponse, error)
func (*ClientWithResponses) PutPublicGroupsIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicGroupsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdResponse, error)
PutPublicGroupsIdWithBodyWithResponse request with arbitrary body returning *PutPublicGroupsIdResponse
func (*ClientWithResponses) PutPublicGroupsIdWithResponse ¶
func (c *ClientWithResponses) PutPublicGroupsIdWithResponse(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdResponse, error)
func (*ClientWithResponses) PutPublicMembersIdGroupIdsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicMembersIdGroupIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicMembersIdGroupIdsResponse, error)
PutPublicMembersIdGroupIdsWithBodyWithResponse request with arbitrary body returning *PutPublicMembersIdGroupIdsResponse
func (*ClientWithResponses) PutPublicMembersIdGroupIdsWithResponse ¶
func (c *ClientWithResponses) PutPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicMembersIdGroupIdsResponse, error)
func (*ClientWithResponses) PutPublicMembersIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicMembersIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicMembersIdResponse, error)
PutPublicMembersIdWithBodyWithResponse request with arbitrary body returning *PutPublicMembersIdResponse
func (*ClientWithResponses) PutPublicMembersIdWithResponse ¶
func (c *ClientWithResponses) PutPublicMembersIdWithResponse(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicMembersIdResponse, error)
func (*ClientWithResponses) PutPublicPoliciesIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutPublicPoliciesIdWithBodyWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicPoliciesIdResponse, error)
PutPublicPoliciesIdWithBodyWithResponse request with arbitrary body returning *PutPublicPoliciesIdResponse
func (*ClientWithResponses) PutPublicPoliciesIdWithResponse ¶
func (c *ClientWithResponses) PutPublicPoliciesIdWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, body PutPublicPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicPoliciesIdResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetPublicCollections request
GetPublicCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicCollectionsResponse, error)
// DeletePublicCollectionsId request
DeletePublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicCollectionsIdResponse, error)
// GetPublicCollectionsId request
GetPublicCollectionsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicCollectionsIdResponse, error)
// PutPublicCollectionsId request with any body
PutPublicCollectionsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicCollectionsIdResponse, error)
PutPublicCollectionsIdWithResponse(ctx context.Context, id string, body PutPublicCollectionsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicCollectionsIdResponse, error)
// GetPublicEvents request
GetPublicEventsWithResponse(ctx context.Context, params *GetPublicEventsParams, reqEditors ...RequestEditorFn) (*GetPublicEventsResponse, error)
// GetPublicGroups request
GetPublicGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicGroupsResponse, error)
// PostPublicGroups request with any body
PostPublicGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicGroupsResponse, error)
PostPublicGroupsWithResponse(ctx context.Context, body PostPublicGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicGroupsResponse, error)
// DeletePublicGroupsId request
DeletePublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicGroupsIdResponse, error)
// GetPublicGroupsId request
GetPublicGroupsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdResponse, error)
// PutPublicGroupsId request with any body
PutPublicGroupsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdResponse, error)
PutPublicGroupsIdWithResponse(ctx context.Context, id string, body PutPublicGroupsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdResponse, error)
// GetPublicGroupsIdMemberIds request
GetPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicGroupsIdMemberIdsResponse, error)
// PutPublicGroupsIdMemberIds request with any body
PutPublicGroupsIdMemberIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdMemberIdsResponse, error)
PutPublicGroupsIdMemberIdsWithResponse(ctx context.Context, id string, body PutPublicGroupsIdMemberIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicGroupsIdMemberIdsResponse, error)
// GetPublicMembers request
GetPublicMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicMembersResponse, error)
// PostPublicMembers request with any body
PostPublicMembersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicMembersResponse, error)
PostPublicMembersWithResponse(ctx context.Context, body PostPublicMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicMembersResponse, error)
// DeletePublicMembersId request
DeletePublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePublicMembersIdResponse, error)
// GetPublicMembersId request
GetPublicMembersIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdResponse, error)
// PutPublicMembersId request with any body
PutPublicMembersIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicMembersIdResponse, error)
PutPublicMembersIdWithResponse(ctx context.Context, id string, body PutPublicMembersIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicMembersIdResponse, error)
// GetPublicMembersIdGroupIds request
GetPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicMembersIdGroupIdsResponse, error)
// PutPublicMembersIdGroupIds request with any body
PutPublicMembersIdGroupIdsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicMembersIdGroupIdsResponse, error)
PutPublicMembersIdGroupIdsWithResponse(ctx context.Context, id string, body PutPublicMembersIdGroupIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicMembersIdGroupIdsResponse, error)
// PostPublicMembersIdReinvite request
PostPublicMembersIdReinviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostPublicMembersIdReinviteResponse, error)
// PostPublicOrganizationImport request with any body
PostPublicOrganizationImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPublicOrganizationImportResponse, error)
PostPublicOrganizationImportWithResponse(ctx context.Context, body PostPublicOrganizationImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPublicOrganizationImportResponse, error)
// GetPublicPolicies request
GetPublicPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicPoliciesResponse, error)
// PutPublicPoliciesId request with any body
PutPublicPoliciesIdWithBodyWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPublicPoliciesIdResponse, error)
PutPublicPoliciesIdWithResponse(ctx context.Context, id string, params *PutPublicPoliciesIdParams, body PutPublicPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPublicPoliciesIdResponse, error)
// GetPublicPoliciesType request
GetPublicPoliciesTypeWithResponse(ctx context.Context, pType PolicyType, reqEditors ...RequestEditorFn) (*GetPublicPoliciesTypeResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CollectionResponseModel ¶
type CollectionResponseModel struct {
// External identifier for reference or linking this collection to another system.
ExternalId *string `json:"externalId"`
// The associated groups that this collection is assigned to.
Groups *[]AssociationWithPermissionsResponseModel `json:"groups"`
// The collection's unique identifier.
Id string `json:"id"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
A collection.
type CollectionResponseModelListResponseModel ¶
type CollectionResponseModelListResponseModel struct {
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken"`
// An array containing the actual response elements, paginated by any request parameters.
Data []CollectionResponseModel `json:"data"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
CollectionResponseModelListResponseModel defines model for CollectionResponseModelListResponseModel.
type CollectionUpdateRequestModel ¶
type CollectionUpdateRequestModel struct {
// External identifier for reference or linking this collection to another system.
ExternalId *string `json:"externalId"`
// The associated groups that this collection is assigned to.
Groups *[]AssociationWithPermissionsRequestModel `json:"groups"`
}
CollectionUpdateRequestModel defines model for CollectionUpdateRequestModel.
type DeletePublicCollectionsIdResponse ¶
func ParseDeletePublicCollectionsIdResponse ¶
func ParseDeletePublicCollectionsIdResponse(rsp *http.Response) (*DeletePublicCollectionsIdResponse, error)
ParseDeletePublicCollectionsIdResponse parses an HTTP response from a DeletePublicCollectionsIdWithResponse call
func (DeletePublicCollectionsIdResponse) Status ¶
func (r DeletePublicCollectionsIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublicCollectionsIdResponse) StatusCode ¶
func (r DeletePublicCollectionsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePublicGroupsIdResponse ¶
func ParseDeletePublicGroupsIdResponse ¶
func ParseDeletePublicGroupsIdResponse(rsp *http.Response) (*DeletePublicGroupsIdResponse, error)
ParseDeletePublicGroupsIdResponse parses an HTTP response from a DeletePublicGroupsIdWithResponse call
func (DeletePublicGroupsIdResponse) Status ¶
func (r DeletePublicGroupsIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublicGroupsIdResponse) StatusCode ¶
func (r DeletePublicGroupsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePublicMembersIdResponse ¶
func ParseDeletePublicMembersIdResponse ¶
func ParseDeletePublicMembersIdResponse(rsp *http.Response) (*DeletePublicMembersIdResponse, error)
ParseDeletePublicMembersIdResponse parses an HTTP response from a DeletePublicMembersIdWithResponse call
func (DeletePublicMembersIdResponse) Status ¶
func (r DeletePublicMembersIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublicMembersIdResponse) StatusCode ¶
func (r DeletePublicMembersIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeviceType ¶
type DeviceType int32
DeviceType defines model for DeviceType.
const ( DeviceTypeN0 DeviceType = 0 DeviceTypeN1 DeviceType = 1 DeviceTypeN10 DeviceType = 10 DeviceTypeN11 DeviceType = 11 DeviceTypeN12 DeviceType = 12 DeviceTypeN13 DeviceType = 13 DeviceTypeN14 DeviceType = 14 DeviceTypeN15 DeviceType = 15 DeviceTypeN16 DeviceType = 16 DeviceTypeN17 DeviceType = 17 DeviceTypeN18 DeviceType = 18 DeviceTypeN19 DeviceType = 19 DeviceTypeN2 DeviceType = 2 DeviceTypeN20 DeviceType = 20 DeviceTypeN3 DeviceType = 3 DeviceTypeN4 DeviceType = 4 DeviceTypeN5 DeviceType = 5 DeviceTypeN6 DeviceType = 6 DeviceTypeN7 DeviceType = 7 DeviceTypeN8 DeviceType = 8 DeviceTypeN9 DeviceType = 9 )
Defines values for DeviceType.
type ErrorResponseModel ¶
type ErrorResponseModel struct {
// If multiple errors occurred, they are listed in dictionary. Errors related to a specific
// request parameter will include a dictionary key describing that parameter.
Errors *ErrorResponseModel_Errors `json:"errors"`
// A human-readable message providing details about the error.
Message string `json:"message"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
ErrorResponseModel defines model for ErrorResponseModel.
type ErrorResponseModel_Errors ¶
If multiple errors occurred, they are listed in dictionary. Errors related to a specific request parameter will include a dictionary key describing that parameter.
func (ErrorResponseModel_Errors) Get ¶
func (a ErrorResponseModel_Errors) Get(fieldName string) (value []string, found bool)
Getter for additional properties for ErrorResponseModel_Errors. Returns the specified element and whether it was found
func (ErrorResponseModel_Errors) MarshalJSON ¶
func (a ErrorResponseModel_Errors) MarshalJSON() ([]byte, error)
Override default JSON handling for ErrorResponseModel_Errors to handle AdditionalProperties
func (*ErrorResponseModel_Errors) Set ¶
func (a *ErrorResponseModel_Errors) Set(fieldName string, value []string)
Setter for additional properties for ErrorResponseModel_Errors
func (*ErrorResponseModel_Errors) UnmarshalJSON ¶
func (a *ErrorResponseModel_Errors) UnmarshalJSON(b []byte) error
Override default JSON handling for ErrorResponseModel_Errors to handle AdditionalProperties
type EventResponseModel ¶
type EventResponseModel struct {
// The unique identifier of the user that performed the event.
ActingUserId *string `json:"actingUserId"`
// The unique identifier of the related collection that the event describes.
CollectionId *string `json:"collectionId"`
// The date/timestamp when the event occurred.
Date time.Time `json:"date"`
Device *DeviceType `json:"device,omitempty"`
// The unique identifier of the related group that the event describes.
GroupId *string `json:"groupId"`
// The IP address of the acting user.
IpAddress *string `json:"ipAddress"`
// The unique identifier of the related item that the event describes.
ItemId *string `json:"itemId"`
// The unique identifier of the related member that the event describes.
MemberId *string `json:"memberId"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
// The unique identifier of the related policy that the event describes.
PolicyId *string `json:"policyId"`
Type EventType `json:"type"`
}
An event log.
type EventResponseModelListResponseModel ¶
type EventResponseModelListResponseModel struct {
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken"`
// An array containing the actual response elements, paginated by any request parameters.
Data []EventResponseModel `json:"data"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
EventResponseModelListResponseModel defines model for EventResponseModelListResponseModel.
type EventType ¶
type EventType int32
EventType defines model for EventType.
const ( EventTypeN1000 EventType = 1000 EventTypeN1001 EventType = 1001 EventTypeN1002 EventType = 1002 EventTypeN1003 EventType = 1003 EventTypeN1004 EventType = 1004 EventTypeN1005 EventType = 1005 EventTypeN1006 EventType = 1006 EventTypeN1007 EventType = 1007 EventTypeN1008 EventType = 1008 EventTypeN1100 EventType = 1100 EventTypeN1101 EventType = 1101 EventTypeN1102 EventType = 1102 EventTypeN1103 EventType = 1103 EventTypeN1104 EventType = 1104 EventTypeN1105 EventType = 1105 EventTypeN1106 EventType = 1106 EventTypeN1107 EventType = 1107 EventTypeN1108 EventType = 1108 EventTypeN1109 EventType = 1109 EventTypeN1110 EventType = 1110 EventTypeN1111 EventType = 1111 EventTypeN1112 EventType = 1112 EventTypeN1113 EventType = 1113 EventTypeN1114 EventType = 1114 EventTypeN1115 EventType = 1115 EventTypeN1116 EventType = 1116 EventTypeN1117 EventType = 1117 EventTypeN1300 EventType = 1300 EventTypeN1301 EventType = 1301 EventTypeN1302 EventType = 1302 EventTypeN1400 EventType = 1400 EventTypeN1401 EventType = 1401 EventTypeN1402 EventType = 1402 EventTypeN1500 EventType = 1500 EventTypeN1501 EventType = 1501 EventTypeN1502 EventType = 1502 EventTypeN1503 EventType = 1503 EventTypeN1504 EventType = 1504 EventTypeN1505 EventType = 1505 EventTypeN1506 EventType = 1506 EventTypeN1507 EventType = 1507 EventTypeN1508 EventType = 1508 EventTypeN1509 EventType = 1509 EventTypeN1600 EventType = 1600 EventTypeN1601 EventType = 1601 EventTypeN1603 EventType = 1603 EventTypeN1700 EventType = 1700 EventTypeN1800 EventType = 1800 EventTypeN1801 EventType = 1801 EventTypeN1802 EventType = 1802 EventTypeN1803 EventType = 1803 EventTypeN1900 EventType = 1900 EventTypeN1901 EventType = 1901 EventTypeN1902 EventType = 1902 EventTypeN1903 EventType = 1903 )
Defines values for EventType.
type GetPublicCollectionsIdResponse ¶
type GetPublicCollectionsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CollectionResponseModel
}
func ParseGetPublicCollectionsIdResponse ¶
func ParseGetPublicCollectionsIdResponse(rsp *http.Response) (*GetPublicCollectionsIdResponse, error)
ParseGetPublicCollectionsIdResponse parses an HTTP response from a GetPublicCollectionsIdWithResponse call
func (GetPublicCollectionsIdResponse) Status ¶
func (r GetPublicCollectionsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicCollectionsIdResponse) StatusCode ¶
func (r GetPublicCollectionsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicCollectionsResponse ¶
type GetPublicCollectionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CollectionResponseModelListResponseModel
}
func ParseGetPublicCollectionsResponse ¶
func ParseGetPublicCollectionsResponse(rsp *http.Response) (*GetPublicCollectionsResponse, error)
ParseGetPublicCollectionsResponse parses an HTTP response from a GetPublicCollectionsWithResponse call
func (GetPublicCollectionsResponse) Status ¶
func (r GetPublicCollectionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicCollectionsResponse) StatusCode ¶
func (r GetPublicCollectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicEventsParams ¶
type GetPublicEventsParams struct {
// The start date. Must be less than the end date.
Start *time.Time `json:"start,omitempty"`
// The end date. Must be greater than the start date.
End *time.Time `json:"end,omitempty"`
// The unique identifier of the user that performed the event.
ActingUserId *string `json:"actingUserId,omitempty"`
// The unique identifier of the related item that the event describes.
ItemId *string `json:"itemId,omitempty"`
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken,omitempty"`
}
GetPublicEventsParams defines parameters for GetPublicEvents.
type GetPublicEventsResponse ¶
type GetPublicEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EventResponseModelListResponseModel
}
func ParseGetPublicEventsResponse ¶
func ParseGetPublicEventsResponse(rsp *http.Response) (*GetPublicEventsResponse, error)
ParseGetPublicEventsResponse parses an HTTP response from a GetPublicEventsWithResponse call
func (GetPublicEventsResponse) Status ¶
func (r GetPublicEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicEventsResponse) StatusCode ¶
func (r GetPublicEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicGroupsIdMemberIdsResponse ¶
type GetPublicGroupsIdMemberIdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]string
}
func ParseGetPublicGroupsIdMemberIdsResponse ¶
func ParseGetPublicGroupsIdMemberIdsResponse(rsp *http.Response) (*GetPublicGroupsIdMemberIdsResponse, error)
ParseGetPublicGroupsIdMemberIdsResponse parses an HTTP response from a GetPublicGroupsIdMemberIdsWithResponse call
func (GetPublicGroupsIdMemberIdsResponse) Status ¶
func (r GetPublicGroupsIdMemberIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicGroupsIdMemberIdsResponse) StatusCode ¶
func (r GetPublicGroupsIdMemberIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicGroupsIdResponse ¶
type GetPublicGroupsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponseModel
}
func ParseGetPublicGroupsIdResponse ¶
func ParseGetPublicGroupsIdResponse(rsp *http.Response) (*GetPublicGroupsIdResponse, error)
ParseGetPublicGroupsIdResponse parses an HTTP response from a GetPublicGroupsIdWithResponse call
func (GetPublicGroupsIdResponse) Status ¶
func (r GetPublicGroupsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicGroupsIdResponse) StatusCode ¶
func (r GetPublicGroupsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicGroupsResponse ¶
type GetPublicGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponseModelListResponseModel
}
func ParseGetPublicGroupsResponse ¶
func ParseGetPublicGroupsResponse(rsp *http.Response) (*GetPublicGroupsResponse, error)
ParseGetPublicGroupsResponse parses an HTTP response from a GetPublicGroupsWithResponse call
func (GetPublicGroupsResponse) Status ¶
func (r GetPublicGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicGroupsResponse) StatusCode ¶
func (r GetPublicGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicMembersIdGroupIdsResponse ¶
type GetPublicMembersIdGroupIdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]string
}
func ParseGetPublicMembersIdGroupIdsResponse ¶
func ParseGetPublicMembersIdGroupIdsResponse(rsp *http.Response) (*GetPublicMembersIdGroupIdsResponse, error)
ParseGetPublicMembersIdGroupIdsResponse parses an HTTP response from a GetPublicMembersIdGroupIdsWithResponse call
func (GetPublicMembersIdGroupIdsResponse) Status ¶
func (r GetPublicMembersIdGroupIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicMembersIdGroupIdsResponse) StatusCode ¶
func (r GetPublicMembersIdGroupIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicMembersIdResponse ¶
type GetPublicMembersIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberResponseModel
}
func ParseGetPublicMembersIdResponse ¶
func ParseGetPublicMembersIdResponse(rsp *http.Response) (*GetPublicMembersIdResponse, error)
ParseGetPublicMembersIdResponse parses an HTTP response from a GetPublicMembersIdWithResponse call
func (GetPublicMembersIdResponse) Status ¶
func (r GetPublicMembersIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicMembersIdResponse) StatusCode ¶
func (r GetPublicMembersIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicMembersResponse ¶
type GetPublicMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberResponseModelListResponseModel
}
func ParseGetPublicMembersResponse ¶
func ParseGetPublicMembersResponse(rsp *http.Response) (*GetPublicMembersResponse, error)
ParseGetPublicMembersResponse parses an HTTP response from a GetPublicMembersWithResponse call
func (GetPublicMembersResponse) Status ¶
func (r GetPublicMembersResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicMembersResponse) StatusCode ¶
func (r GetPublicMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicPoliciesResponse ¶
type GetPublicPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyResponseModelListResponseModel
}
func ParseGetPublicPoliciesResponse ¶
func ParseGetPublicPoliciesResponse(rsp *http.Response) (*GetPublicPoliciesResponse, error)
ParseGetPublicPoliciesResponse parses an HTTP response from a GetPublicPoliciesWithResponse call
func (GetPublicPoliciesResponse) Status ¶
func (r GetPublicPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicPoliciesResponse) StatusCode ¶
func (r GetPublicPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicPoliciesTypeResponse ¶
type GetPublicPoliciesTypeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponseModel
}
func ParseGetPublicPoliciesTypeResponse ¶
func ParseGetPublicPoliciesTypeResponse(rsp *http.Response) (*GetPublicPoliciesTypeResponse, error)
ParseGetPublicPoliciesTypeResponse parses an HTTP response from a GetPublicPoliciesTypeWithResponse call
func (GetPublicPoliciesTypeResponse) Status ¶
func (r GetPublicPoliciesTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicPoliciesTypeResponse) StatusCode ¶
func (r GetPublicPoliciesTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupCreateUpdateRequestModel ¶
type GroupCreateUpdateRequestModel struct {
// Determines if this group can access all collections within the organization, or only the associated
// collections. If set to {true}, this option overrides any collection assignments.
AccessAll bool `json:"accessAll"`
// The associated collections that this group can access.
Collections *[]AssociationWithPermissionsRequestModel `json:"collections"`
// External identifier for reference or linking this group to another system, such as a user directory.
ExternalId *string `json:"externalId"`
// The name of the group.
Name string `json:"name"`
}
GroupCreateUpdateRequestModel defines model for GroupCreateUpdateRequestModel.
type GroupResponseModel ¶
type GroupResponseModel struct {
// Determines if this group can access all collections within the organization, or only the associated
// collections. If set to {true}, this option overrides any collection assignments.
AccessAll bool `json:"accessAll"`
// The associated collections that this group can access.
Collections *[]AssociationWithPermissionsResponseModel `json:"collections"`
// External identifier for reference or linking this group to another system, such as a user directory.
ExternalId *string `json:"externalId"`
// The group's unique identifier.
Id string `json:"id"`
// The name of the group.
Name string `json:"name"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
A user group.
type GroupResponseModelListResponseModel ¶
type GroupResponseModelListResponseModel struct {
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken"`
// An array containing the actual response elements, paginated by any request parameters.
Data []GroupResponseModel `json:"data"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
GroupResponseModelListResponseModel defines model for GroupResponseModelListResponseModel.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MemberCreateRequestModel ¶
type MemberCreateRequestModel struct {
// Determines if this member can access all collections within the organization, or only the associated
// collections. If set to {true}, this option overrides any collection assignments.
AccessAll bool `json:"accessAll"`
// The associated collections that this member can access.
Collections *[]AssociationWithPermissionsRequestModel `json:"collections"`
// The member's email address.
Email string `json:"email"`
// External identifier for reference or linking this member to another system, such as a user directory.
ExternalId *string `json:"externalId"`
// Returns {true} if the member has enrolled in Password Reset assistance within the organization
ResetPasswordEnrolled bool `json:"resetPasswordEnrolled"`
Type OrganizationUserType `json:"type"`
}
MemberCreateRequestModel defines model for MemberCreateRequestModel.
type MemberResponseModel ¶
type MemberResponseModel struct {
// Determines if this member can access all collections within the organization, or only the associated
// collections. If set to {true}, this option overrides any collection assignments.
AccessAll bool `json:"accessAll"`
// The associated collections that this member can access.
Collections *[]AssociationWithPermissionsResponseModel `json:"collections"`
// The member's email address.
Email string `json:"email"`
// External identifier for reference or linking this member to another system, such as a user directory.
ExternalId *string `json:"externalId"`
// The member's unique identifier within the organization.
Id string `json:"id"`
// The member's name, set from their user account profile.
Name *string `json:"name"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
// Returns {true} if the member has enrolled in Password Reset assistance within the organization
ResetPasswordEnrolled bool `json:"resetPasswordEnrolled"`
Status OrganizationUserStatusType `json:"status"`
// Returns {true} if the member has a two-step login method enabled on their user account.
TwoFactorEnabled bool `json:"twoFactorEnabled"`
Type OrganizationUserType `json:"type"`
// The member's unique identifier across Bitwarden.
UserId string `json:"userId"`
}
An organization member.
type MemberResponseModelListResponseModel ¶
type MemberResponseModelListResponseModel struct {
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken"`
// An array containing the actual response elements, paginated by any request parameters.
Data []MemberResponseModel `json:"data"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
MemberResponseModelListResponseModel defines model for MemberResponseModelListResponseModel.
type MemberUpdateRequestModel ¶
type MemberUpdateRequestModel struct {
// Determines if this member can access all collections within the organization, or only the associated
// collections. If set to {true}, this option overrides any collection assignments.
AccessAll bool `json:"accessAll"`
// The associated collections that this member can access.
Collections *[]AssociationWithPermissionsRequestModel `json:"collections"`
// External identifier for reference or linking this member to another system, such as a user directory.
ExternalId *string `json:"externalId"`
// Returns {true} if the member has enrolled in Password Reset assistance within the organization
ResetPasswordEnrolled bool `json:"resetPasswordEnrolled"`
Type OrganizationUserType `json:"type"`
}
MemberUpdateRequestModel defines model for MemberUpdateRequestModel.
type OrganizationImportGroupRequestModel ¶
type OrganizationImportGroupRequestModel struct {
// External identifier for reference or linking this group to another system, such as a user directory.
ExternalId string `json:"externalId"`
// The associated external ids for members in this group.
MemberExternalIds *[]string `json:"memberExternalIds"`
// The name of the group.
Name string `json:"name"`
}
OrganizationImportGroupRequestModel defines model for OrganizationImportGroupRequestModel.
type OrganizationImportMemberRequestModel ¶
type OrganizationImportMemberRequestModel struct {
// Determines if this member should be removed from the organization during import.
Deleted *bool `json:"deleted,omitempty"`
// The member's email address. Required for non-deleted users.
Email *openapi_types.Email `json:"email"`
// External identifier for reference or linking this member to another system, such as a user directory.
ExternalId string `json:"externalId"`
}
OrganizationImportMemberRequestModel defines model for OrganizationImportMemberRequestModel.
type OrganizationImportRequestModel ¶
type OrganizationImportRequestModel struct {
// Groups to import.
Groups *[]OrganizationImportGroupRequestModel `json:"groups"`
// Indicates an import of over 2000 users and/or groups is expected
LargeImport *bool `json:"largeImport,omitempty"`
// Members to import.
Members *[]OrganizationImportMemberRequestModel `json:"members"`
// Determines if the data in this request should overwrite or append to the existing organization data.
OverwriteExisting bool `json:"overwriteExisting"`
}
OrganizationImportRequestModel defines model for OrganizationImportRequestModel.
type OrganizationUserStatusType ¶
type OrganizationUserStatusType int32
OrganizationUserStatusType defines model for OrganizationUserStatusType.
const ( OrganizationUserStatusTypeN0 OrganizationUserStatusType = 0 OrganizationUserStatusTypeN1 OrganizationUserStatusType = 1 OrganizationUserStatusTypeN2 OrganizationUserStatusType = 2 )
Defines values for OrganizationUserStatusType.
type OrganizationUserType ¶
type OrganizationUserType int32
OrganizationUserType defines model for OrganizationUserType.
const ( OrganizationUserTypeN0 OrganizationUserType = 0 OrganizationUserTypeN1 OrganizationUserType = 1 OrganizationUserTypeN2 OrganizationUserType = 2 OrganizationUserTypeN3 OrganizationUserType = 3 OrganizationUserTypeN4 OrganizationUserType = 4 )
Defines values for OrganizationUserType.
type PolicyResponseModel ¶
type PolicyResponseModel struct {
// Data for the policy.
Data *PolicyResponseModel_Data `json:"data"`
// Determines if this policy is enabled and enforced.
Enabled bool `json:"enabled"`
// The policy's unique identifier.
Id string `json:"id"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
Type PolicyType `json:"type"`
}
A policy.
type PolicyResponseModelListResponseModel ¶
type PolicyResponseModelListResponseModel struct {
// A cursor for use in pagination.
ContinuationToken *string `json:"continuationToken"`
// An array containing the actual response elements, paginated by any request parameters.
Data []PolicyResponseModel `json:"data"`
// String representing the object's type. Objects of the same type share the same properties.
Object string `json:"object"`
}
PolicyResponseModelListResponseModel defines model for PolicyResponseModelListResponseModel.
type PolicyResponseModel_Data ¶
type PolicyResponseModel_Data struct {
AdditionalProperties map[string]map[string]interface{} `json:"-"`
}
Data for the policy.
func (PolicyResponseModel_Data) Get ¶
func (a PolicyResponseModel_Data) Get(fieldName string) (value map[string]interface{}, found bool)
Getter for additional properties for PolicyResponseModel_Data. Returns the specified element and whether it was found
func (PolicyResponseModel_Data) MarshalJSON ¶
func (a PolicyResponseModel_Data) MarshalJSON() ([]byte, error)
Override default JSON handling for PolicyResponseModel_Data to handle AdditionalProperties
func (*PolicyResponseModel_Data) Set ¶
func (a *PolicyResponseModel_Data) Set(fieldName string, value map[string]interface{})
Setter for additional properties for PolicyResponseModel_Data
func (*PolicyResponseModel_Data) UnmarshalJSON ¶
func (a *PolicyResponseModel_Data) UnmarshalJSON(b []byte) error
Override default JSON handling for PolicyResponseModel_Data to handle AdditionalProperties
type PolicyType ¶
type PolicyType int32
PolicyType defines model for PolicyType.
const ( PolicyTypeN0 PolicyType = 0 PolicyTypeN1 PolicyType = 1 PolicyTypeN10 PolicyType = 10 PolicyTypeN2 PolicyType = 2 PolicyTypeN3 PolicyType = 3 PolicyTypeN4 PolicyType = 4 PolicyTypeN5 PolicyType = 5 PolicyTypeN6 PolicyType = 6 PolicyTypeN7 PolicyType = 7 PolicyTypeN8 PolicyType = 8 PolicyTypeN9 PolicyType = 9 )
Defines values for PolicyType.
type PolicyUpdateRequestModel ¶
type PolicyUpdateRequestModel struct {
// Data for the policy.
Data *PolicyUpdateRequestModel_Data `json:"data"`
// Determines if this policy is enabled and enforced.
Enabled bool `json:"enabled"`
}
PolicyUpdateRequestModel defines model for PolicyUpdateRequestModel.
type PolicyUpdateRequestModel_Data ¶
type PolicyUpdateRequestModel_Data struct {
AdditionalProperties map[string]map[string]interface{} `json:"-"`
}
Data for the policy.
func (PolicyUpdateRequestModel_Data) Get ¶
func (a PolicyUpdateRequestModel_Data) Get(fieldName string) (value map[string]interface{}, found bool)
Getter for additional properties for PolicyUpdateRequestModel_Data. Returns the specified element and whether it was found
func (PolicyUpdateRequestModel_Data) MarshalJSON ¶
func (a PolicyUpdateRequestModel_Data) MarshalJSON() ([]byte, error)
Override default JSON handling for PolicyUpdateRequestModel_Data to handle AdditionalProperties
func (*PolicyUpdateRequestModel_Data) Set ¶
func (a *PolicyUpdateRequestModel_Data) Set(fieldName string, value map[string]interface{})
Setter for additional properties for PolicyUpdateRequestModel_Data
func (*PolicyUpdateRequestModel_Data) UnmarshalJSON ¶
func (a *PolicyUpdateRequestModel_Data) UnmarshalJSON(b []byte) error
Override default JSON handling for PolicyUpdateRequestModel_Data to handle AdditionalProperties
type PostPublicGroupsJSONBody ¶
type PostPublicGroupsJSONBody GroupCreateUpdateRequestModel
PostPublicGroupsJSONBody defines parameters for PostPublicGroups.
type PostPublicGroupsJSONRequestBody ¶
type PostPublicGroupsJSONRequestBody PostPublicGroupsJSONBody
PostPublicGroupsJSONRequestBody defines body for PostPublicGroups for application/json ContentType.
type PostPublicGroupsResponse ¶
type PostPublicGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponseModel
JSON400 *ErrorResponseModel
}
func ParsePostPublicGroupsResponse ¶
func ParsePostPublicGroupsResponse(rsp *http.Response) (*PostPublicGroupsResponse, error)
ParsePostPublicGroupsResponse parses an HTTP response from a PostPublicGroupsWithResponse call
func (PostPublicGroupsResponse) Status ¶
func (r PostPublicGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (PostPublicGroupsResponse) StatusCode ¶
func (r PostPublicGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostPublicMembersIdReinviteResponse ¶
type PostPublicMembersIdReinviteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponseModel
}
func ParsePostPublicMembersIdReinviteResponse ¶
func ParsePostPublicMembersIdReinviteResponse(rsp *http.Response) (*PostPublicMembersIdReinviteResponse, error)
ParsePostPublicMembersIdReinviteResponse parses an HTTP response from a PostPublicMembersIdReinviteWithResponse call
func (PostPublicMembersIdReinviteResponse) Status ¶
func (r PostPublicMembersIdReinviteResponse) Status() string
Status returns HTTPResponse.Status
func (PostPublicMembersIdReinviteResponse) StatusCode ¶
func (r PostPublicMembersIdReinviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostPublicMembersJSONBody ¶
type PostPublicMembersJSONBody MemberCreateRequestModel
PostPublicMembersJSONBody defines parameters for PostPublicMembers.
type PostPublicMembersJSONRequestBody ¶
type PostPublicMembersJSONRequestBody PostPublicMembersJSONBody
PostPublicMembersJSONRequestBody defines body for PostPublicMembers for application/json ContentType.
type PostPublicMembersResponse ¶
type PostPublicMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberResponseModel
JSON400 *ErrorResponseModel
}
func ParsePostPublicMembersResponse ¶
func ParsePostPublicMembersResponse(rsp *http.Response) (*PostPublicMembersResponse, error)
ParsePostPublicMembersResponse parses an HTTP response from a PostPublicMembersWithResponse call
func (PostPublicMembersResponse) Status ¶
func (r PostPublicMembersResponse) Status() string
Status returns HTTPResponse.Status
func (PostPublicMembersResponse) StatusCode ¶
func (r PostPublicMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostPublicOrganizationImportJSONBody ¶
type PostPublicOrganizationImportJSONBody OrganizationImportRequestModel
PostPublicOrganizationImportJSONBody defines parameters for PostPublicOrganizationImport.
type PostPublicOrganizationImportJSONRequestBody ¶
type PostPublicOrganizationImportJSONRequestBody PostPublicOrganizationImportJSONBody
PostPublicOrganizationImportJSONRequestBody defines body for PostPublicOrganizationImport for application/json ContentType.
type PostPublicOrganizationImportResponse ¶
type PostPublicOrganizationImportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberResponseModel
JSON400 *ErrorResponseModel
}
func ParsePostPublicOrganizationImportResponse ¶
func ParsePostPublicOrganizationImportResponse(rsp *http.Response) (*PostPublicOrganizationImportResponse, error)
ParsePostPublicOrganizationImportResponse parses an HTTP response from a PostPublicOrganizationImportWithResponse call
func (PostPublicOrganizationImportResponse) Status ¶
func (r PostPublicOrganizationImportResponse) Status() string
Status returns HTTPResponse.Status
func (PostPublicOrganizationImportResponse) StatusCode ¶
func (r PostPublicOrganizationImportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicCollectionsIdJSONBody ¶
type PutPublicCollectionsIdJSONBody CollectionUpdateRequestModel
PutPublicCollectionsIdJSONBody defines parameters for PutPublicCollectionsId.
type PutPublicCollectionsIdJSONRequestBody ¶
type PutPublicCollectionsIdJSONRequestBody PutPublicCollectionsIdJSONBody
PutPublicCollectionsIdJSONRequestBody defines body for PutPublicCollectionsId for application/json ContentType.
type PutPublicCollectionsIdResponse ¶
type PutPublicCollectionsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CollectionResponseModel
JSON400 *ErrorResponseModel
}
func ParsePutPublicCollectionsIdResponse ¶
func ParsePutPublicCollectionsIdResponse(rsp *http.Response) (*PutPublicCollectionsIdResponse, error)
ParsePutPublicCollectionsIdResponse parses an HTTP response from a PutPublicCollectionsIdWithResponse call
func (PutPublicCollectionsIdResponse) Status ¶
func (r PutPublicCollectionsIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicCollectionsIdResponse) StatusCode ¶
func (r PutPublicCollectionsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicGroupsIdJSONBody ¶
type PutPublicGroupsIdJSONBody GroupCreateUpdateRequestModel
PutPublicGroupsIdJSONBody defines parameters for PutPublicGroupsId.
type PutPublicGroupsIdJSONRequestBody ¶
type PutPublicGroupsIdJSONRequestBody PutPublicGroupsIdJSONBody
PutPublicGroupsIdJSONRequestBody defines body for PutPublicGroupsId for application/json ContentType.
type PutPublicGroupsIdMemberIdsJSONBody ¶
type PutPublicGroupsIdMemberIdsJSONBody UpdateMemberIdsRequestModel
PutPublicGroupsIdMemberIdsJSONBody defines parameters for PutPublicGroupsIdMemberIds.
type PutPublicGroupsIdMemberIdsJSONRequestBody ¶
type PutPublicGroupsIdMemberIdsJSONRequestBody PutPublicGroupsIdMemberIdsJSONBody
PutPublicGroupsIdMemberIdsJSONRequestBody defines body for PutPublicGroupsIdMemberIds for application/json ContentType.
type PutPublicGroupsIdMemberIdsResponse ¶
type PutPublicGroupsIdMemberIdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponseModel
}
func ParsePutPublicGroupsIdMemberIdsResponse ¶
func ParsePutPublicGroupsIdMemberIdsResponse(rsp *http.Response) (*PutPublicGroupsIdMemberIdsResponse, error)
ParsePutPublicGroupsIdMemberIdsResponse parses an HTTP response from a PutPublicGroupsIdMemberIdsWithResponse call
func (PutPublicGroupsIdMemberIdsResponse) Status ¶
func (r PutPublicGroupsIdMemberIdsResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicGroupsIdMemberIdsResponse) StatusCode ¶
func (r PutPublicGroupsIdMemberIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicGroupsIdResponse ¶
type PutPublicGroupsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponseModel
JSON400 *ErrorResponseModel
}
func ParsePutPublicGroupsIdResponse ¶
func ParsePutPublicGroupsIdResponse(rsp *http.Response) (*PutPublicGroupsIdResponse, error)
ParsePutPublicGroupsIdResponse parses an HTTP response from a PutPublicGroupsIdWithResponse call
func (PutPublicGroupsIdResponse) Status ¶
func (r PutPublicGroupsIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicGroupsIdResponse) StatusCode ¶
func (r PutPublicGroupsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicMembersIdGroupIdsJSONBody ¶
type PutPublicMembersIdGroupIdsJSONBody UpdateGroupIdsRequestModel
PutPublicMembersIdGroupIdsJSONBody defines parameters for PutPublicMembersIdGroupIds.
type PutPublicMembersIdGroupIdsJSONRequestBody ¶
type PutPublicMembersIdGroupIdsJSONRequestBody PutPublicMembersIdGroupIdsJSONBody
PutPublicMembersIdGroupIdsJSONRequestBody defines body for PutPublicMembersIdGroupIds for application/json ContentType.
type PutPublicMembersIdGroupIdsResponse ¶
type PutPublicMembersIdGroupIdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponseModel
}
func ParsePutPublicMembersIdGroupIdsResponse ¶
func ParsePutPublicMembersIdGroupIdsResponse(rsp *http.Response) (*PutPublicMembersIdGroupIdsResponse, error)
ParsePutPublicMembersIdGroupIdsResponse parses an HTTP response from a PutPublicMembersIdGroupIdsWithResponse call
func (PutPublicMembersIdGroupIdsResponse) Status ¶
func (r PutPublicMembersIdGroupIdsResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicMembersIdGroupIdsResponse) StatusCode ¶
func (r PutPublicMembersIdGroupIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicMembersIdJSONBody ¶
type PutPublicMembersIdJSONBody MemberUpdateRequestModel
PutPublicMembersIdJSONBody defines parameters for PutPublicMembersId.
type PutPublicMembersIdJSONRequestBody ¶
type PutPublicMembersIdJSONRequestBody PutPublicMembersIdJSONBody
PutPublicMembersIdJSONRequestBody defines body for PutPublicMembersId for application/json ContentType.
type PutPublicMembersIdResponse ¶
type PutPublicMembersIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberResponseModel
JSON400 *ErrorResponseModel
}
func ParsePutPublicMembersIdResponse ¶
func ParsePutPublicMembersIdResponse(rsp *http.Response) (*PutPublicMembersIdResponse, error)
ParsePutPublicMembersIdResponse parses an HTTP response from a PutPublicMembersIdWithResponse call
func (PutPublicMembersIdResponse) Status ¶
func (r PutPublicMembersIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicMembersIdResponse) StatusCode ¶
func (r PutPublicMembersIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutPublicPoliciesIdJSONBody ¶
type PutPublicPoliciesIdJSONBody PolicyUpdateRequestModel
PutPublicPoliciesIdJSONBody defines parameters for PutPublicPoliciesId.
type PutPublicPoliciesIdJSONRequestBody ¶
type PutPublicPoliciesIdJSONRequestBody PutPublicPoliciesIdJSONBody
PutPublicPoliciesIdJSONRequestBody defines body for PutPublicPoliciesId for application/json ContentType.
type PutPublicPoliciesIdParams ¶
type PutPublicPoliciesIdParams struct {
// The type of policy to be updated.
Type *PolicyType `json:"type,omitempty"`
}
PutPublicPoliciesIdParams defines parameters for PutPublicPoliciesId.
type PutPublicPoliciesIdResponse ¶
type PutPublicPoliciesIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyResponseModel
JSON400 *ErrorResponseModel
}
func ParsePutPublicPoliciesIdResponse ¶
func ParsePutPublicPoliciesIdResponse(rsp *http.Response) (*PutPublicPoliciesIdResponse, error)
ParsePutPublicPoliciesIdResponse parses an HTTP response from a PutPublicPoliciesIdWithResponse call
func (PutPublicPoliciesIdResponse) Status ¶
func (r PutPublicPoliciesIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutPublicPoliciesIdResponse) StatusCode ¶
func (r PutPublicPoliciesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
Source Files
¶
- openapi.go