iam

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package iam provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIKeyProductServiceListRequest

func NewAPIKeyProductServiceListRequest(server string) (*http.Request, error)

NewAPIKeyProductServiceListRequest constructs an http.Request for the APIKeyProductServiceList method

func NewAPIKeyServiceDeleteRequest

func NewAPIKeyServiceDeleteRequest(server string, params *APIKeyServiceDeleteParams) (*http.Request, error)

NewAPIKeyServiceDeleteRequest constructs an http.Request for the APIKeyServiceDelete method

func NewAPIKeyServiceGetRequest

func NewAPIKeyServiceGetRequest(server string, id string, params *APIKeyServiceGetParams) (*http.Request, error)

NewAPIKeyServiceGetRequest constructs an http.Request for the APIKeyServiceGet method

func NewAPIKeyServiceReissueRequest

func NewAPIKeyServiceReissueRequest(server string, id string, params *APIKeyServiceReissueParams) (*http.Request, error)

NewAPIKeyServiceReissueRequest constructs an http.Request for the APIKeyServiceReissue method

func NewAPIKeyServiceUpdateRequest

func NewAPIKeyServiceUpdateRequest(server string, body APIKeyServiceUpdateJSONRequestBody) (*http.Request, error)

NewAPIKeyServiceUpdateRequest calls the generic APIKeyServiceUpdate builder with application/json body

func NewAPIKeyServiceUpdateRequestWithBody

func NewAPIKeyServiceUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAPIKeyServiceUpdateRequestWithBody constructs an http.Request for the APIKeyServiceUpdate method, with any body, and a specified content type

func NewAPIKeyServiceV2CreateRequest

func NewAPIKeyServiceV2CreateRequest(server string, serviceAccountId string, body APIKeyServiceV2CreateJSONRequestBody) (*http.Request, error)

NewAPIKeyServiceV2CreateRequest calls the generic APIKeyServiceV2Create builder with application/json body

func NewAPIKeyServiceV2CreateRequestWithBody

func NewAPIKeyServiceV2CreateRequestWithBody(server string, serviceAccountId string, contentType string, body io.Reader) (*http.Request, error)

NewAPIKeyServiceV2CreateRequestWithBody constructs an http.Request for the APIKeyServiceV2Create method, with any body, and a specified content type

func NewAPIKeyServiceV2DeleteRequest

func NewAPIKeyServiceV2DeleteRequest(server string, serviceAccountId string, apiKeyId string) (*http.Request, error)

NewAPIKeyServiceV2DeleteRequest constructs an http.Request for the APIKeyServiceV2Delete method

func NewAPIKeyServiceV2GetRequest

func NewAPIKeyServiceV2GetRequest(server string, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2GetParams) (*http.Request, error)

NewAPIKeyServiceV2GetRequest constructs an http.Request for the APIKeyServiceV2Get method

func NewAPIKeyServiceV2ListRequest

func NewAPIKeyServiceV2ListRequest(server string, serviceAccountId string, params *APIKeyServiceV2ListParams) (*http.Request, error)

NewAPIKeyServiceV2ListRequest constructs an http.Request for the APIKeyServiceV2List method

func NewAPIKeyServiceV2ReissueRequest

func NewAPIKeyServiceV2ReissueRequest(server string, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2ReissueParams) (*http.Request, error)

NewAPIKeyServiceV2ReissueRequest constructs an http.Request for the APIKeyServiceV2Reissue method

func NewAPIKeyServiceV2UpdateRequest

func NewAPIKeyServiceV2UpdateRequest(server string, serviceAccountId string, apiKeyId string, body APIKeyServiceV2UpdateJSONRequestBody) (*http.Request, error)

NewAPIKeyServiceV2UpdateRequest calls the generic APIKeyServiceV2Update builder with application/json body

func NewAPIKeyServiceV2UpdateRequestWithBody

func NewAPIKeyServiceV2UpdateRequestWithBody(server string, serviceAccountId string, apiKeyId string, contentType string, body io.Reader) (*http.Request, error)

NewAPIKeyServiceV2UpdateRequestWithBody constructs an http.Request for the APIKeyServiceV2Update method, with any body, and a specified content type

func NewAccessKeyCredentialsServiceDeleteRequest

func NewAccessKeyCredentialsServiceDeleteRequest(server string, id string) (*http.Request, error)

NewAccessKeyCredentialsServiceDeleteRequest constructs an http.Request for the AccessKeyCredentialsServiceDelete method

func NewAccessKeyCredentialsServiceGetRequest

func NewAccessKeyCredentialsServiceGetRequest(server string, id string) (*http.Request, error)

NewAccessKeyCredentialsServiceGetRequest constructs an http.Request for the AccessKeyCredentialsServiceGet method

func NewAccessKeyCredentialsServiceUpdateRequest

func NewAccessKeyCredentialsServiceUpdateRequest(server string, id string, params *AccessKeyCredentialsServiceUpdateParams) (*http.Request, error)

NewAccessKeyCredentialsServiceUpdateRequest constructs an http.Request for the AccessKeyCredentialsServiceUpdate method

func NewAccessKeyServiceCreateRequest

func NewAccessKeyServiceCreateRequest(server string, serviceAccountId string, body AccessKeyServiceCreateJSONRequestBody) (*http.Request, error)

NewAccessKeyServiceCreateRequest calls the generic AccessKeyServiceCreate builder with application/json body

func NewAccessKeyServiceCreateRequestWithBody

func NewAccessKeyServiceCreateRequestWithBody(server string, serviceAccountId string, contentType string, body io.Reader) (*http.Request, error)

NewAccessKeyServiceCreateRequestWithBody constructs an http.Request for the AccessKeyServiceCreate method, with any body, and a specified content type

func NewAccessKeyServiceDeleteRequest

func NewAccessKeyServiceDeleteRequest(server string, serviceAccountId string, accessKeyId string) (*http.Request, error)

NewAccessKeyServiceDeleteRequest constructs an http.Request for the AccessKeyServiceDelete method

func NewAccessKeyServiceGetRequest

func NewAccessKeyServiceGetRequest(server string, serviceAccountId string, accessKeyId string) (*http.Request, error)

NewAccessKeyServiceGetRequest constructs an http.Request for the AccessKeyServiceGet method

func NewAccessKeyServiceListRequest

func NewAccessKeyServiceListRequest(server string, serviceAccountId string) (*http.Request, error)

NewAccessKeyServiceListRequest constructs an http.Request for the AccessKeyServiceList method

func NewAccessKeyServiceUpdateRequest

func NewAccessKeyServiceUpdateRequest(server string, serviceAccountId string, accessKeyId string, params *AccessKeyServiceUpdateParams) (*http.Request, error)

NewAccessKeyServiceUpdateRequest constructs an http.Request for the AccessKeyServiceUpdate method

func NewActionServiceGetRequest

func NewActionServiceGetRequest(server string, actionName string) (*http.Request, error)

NewActionServiceGetRequest constructs an http.Request for the ActionServiceGet method

func NewActionServiceListRequest

func NewActionServiceListRequest(server string, params *ActionServiceListParams) (*http.Request, error)

NewActionServiceListRequest constructs an http.Request for the ActionServiceList method

func NewAuthServiceGetTokenRequest

func NewAuthServiceGetTokenRequest(server string, body AuthServiceGetTokenJSONRequestBody) (*http.Request, error)

NewAuthServiceGetTokenRequest calls the generic AuthServiceGetToken builder with application/json body

func NewAuthServiceGetTokenRequestWithBody

func NewAuthServiceGetTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAuthServiceGetTokenRequestWithBody constructs an http.Request for the AuthServiceGetToken method, with any body, and a specified content type

func NewAuthServiceV2GetTokenRequest

func NewAuthServiceV2GetTokenRequest(server string, body AuthServiceV2GetTokenJSONRequestBody) (*http.Request, error)

NewAuthServiceV2GetTokenRequest calls the generic AuthServiceV2GetToken builder with application/json body

func NewAuthServiceV2GetTokenRequestWithBody

func NewAuthServiceV2GetTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAuthServiceV2GetTokenRequestWithBody constructs an http.Request for the AuthServiceV2GetToken method, with any body, and a specified content type

func NewAuthServiceV2ImpersonateRequest

func NewAuthServiceV2ImpersonateRequest(server string, body AuthServiceV2ImpersonateJSONRequestBody) (*http.Request, error)

NewAuthServiceV2ImpersonateRequest calls the generic AuthServiceV2Impersonate builder with application/json body

func NewAuthServiceV2ImpersonateRequestWithBody

func NewAuthServiceV2ImpersonateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAuthServiceV2ImpersonateRequestWithBody constructs an http.Request for the AuthServiceV2Impersonate method, with any body, and a specified content type

func NewCustomersServiceFindUserRequest

func NewCustomersServiceFindUserRequest(server string, customerId string, params *CustomersServiceFindUserParams) (*http.Request, error)

NewCustomersServiceFindUserRequest constructs an http.Request for the CustomersServiceFindUser method

func NewCustomersServiceGetUserRequest

func NewCustomersServiceGetUserRequest(server string, customerId string, userId string) (*http.Request, error)

NewCustomersServiceGetUserRequest constructs an http.Request for the CustomersServiceGetUser method

func NewCustomersServiceInviteUserRequest

func NewCustomersServiceInviteUserRequest(server string, customerId string, body CustomersServiceInviteUserJSONRequestBody) (*http.Request, error)

NewCustomersServiceInviteUserRequest calls the generic CustomersServiceInviteUser builder with application/json body

func NewCustomersServiceInviteUserRequestWithBody

func NewCustomersServiceInviteUserRequestWithBody(server string, customerId string, contentType string, body io.Reader) (*http.Request, error)

NewCustomersServiceInviteUserRequestWithBody constructs an http.Request for the CustomersServiceInviteUser method, with any body, and a specified content type

func NewCustomersServiceListUsersRequest

func NewCustomersServiceListUsersRequest(server string, customerId string, params *CustomersServiceListUsersParams) (*http.Request, error)

NewCustomersServiceListUsersRequest constructs an http.Request for the CustomersServiceListUsers method

func NewCustomersServiceReInviteUserRequest

func NewCustomersServiceReInviteUserRequest(server string, customerId string, body CustomersServiceReInviteUserJSONRequestBody) (*http.Request, error)

NewCustomersServiceReInviteUserRequest calls the generic CustomersServiceReInviteUser builder with application/json body

func NewCustomersServiceReInviteUserRequestWithBody

func NewCustomersServiceReInviteUserRequestWithBody(server string, customerId string, contentType string, body io.Reader) (*http.Request, error)

NewCustomersServiceReInviteUserRequestWithBody constructs an http.Request for the CustomersServiceReInviteUser method, with any body, and a specified content type

func NewCustomersServiceUpdateUserRequest

func NewCustomersServiceUpdateUserRequest(server string, customerId string, userId string, body CustomersServiceUpdateUserJSONRequestBody) (*http.Request, error)

NewCustomersServiceUpdateUserRequest calls the generic CustomersServiceUpdateUser builder with application/json body

func NewCustomersServiceUpdateUserRequestWithBody

func NewCustomersServiceUpdateUserRequestWithBody(server string, customerId string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewCustomersServiceUpdateUserRequestWithBody constructs an http.Request for the CustomersServiceUpdateUser method, with any body, and a specified content type

func NewGroupServiceAddUserRequest

func NewGroupServiceAddUserRequest(server string, groupId string, body GroupServiceAddUserJSONRequestBody) (*http.Request, error)

NewGroupServiceAddUserRequest calls the generic GroupServiceAddUser builder with application/json body

func NewGroupServiceAddUserRequestWithBody

func NewGroupServiceAddUserRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)

NewGroupServiceAddUserRequestWithBody constructs an http.Request for the GroupServiceAddUser method, with any body, and a specified content type

func NewGroupServiceCreateRequest

func NewGroupServiceCreateRequest(server string, body GroupServiceCreateJSONRequestBody) (*http.Request, error)

NewGroupServiceCreateRequest calls the generic GroupServiceCreate builder with application/json body

func NewGroupServiceCreateRequestWithBody

func NewGroupServiceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGroupServiceCreateRequestWithBody constructs an http.Request for the GroupServiceCreate method, with any body, and a specified content type

func NewGroupServiceDeleteRequest

func NewGroupServiceDeleteRequest(server string, groupId string) (*http.Request, error)

NewGroupServiceDeleteRequest constructs an http.Request for the GroupServiceDelete method

func NewGroupServiceDeleteUserRequest

func NewGroupServiceDeleteUserRequest(server string, groupId string, body GroupServiceDeleteUserJSONRequestBody) (*http.Request, error)

NewGroupServiceDeleteUserRequest calls the generic GroupServiceDeleteUser builder with application/json body

func NewGroupServiceDeleteUserRequestWithBody

func NewGroupServiceDeleteUserRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)

NewGroupServiceDeleteUserRequestWithBody constructs an http.Request for the GroupServiceDeleteUser method, with any body, and a specified content type

func NewGroupServiceGetRequest

func NewGroupServiceGetRequest(server string, groupId string) (*http.Request, error)

NewGroupServiceGetRequest constructs an http.Request for the GroupServiceGet method

func NewGroupServiceHasUserRequest

func NewGroupServiceHasUserRequest(server string, groupId string, params *GroupServiceHasUserParams) (*http.Request, error)

NewGroupServiceHasUserRequest constructs an http.Request for the GroupServiceHasUser method

func NewGroupServiceListRequest

func NewGroupServiceListRequest(server string, params *GroupServiceListParams) (*http.Request, error)

NewGroupServiceListRequest constructs an http.Request for the GroupServiceList method

func NewGroupServiceListUsersRequest

func NewGroupServiceListUsersRequest(server string, groupId string, params *GroupServiceListUsersParams) (*http.Request, error)

NewGroupServiceListUsersRequest constructs an http.Request for the GroupServiceListUsers method

func NewGroupServiceSetUsersRequest

func NewGroupServiceSetUsersRequest(server string, groupId string, body GroupServiceSetUsersJSONRequestBody) (*http.Request, error)

NewGroupServiceSetUsersRequest calls the generic GroupServiceSetUsers builder with application/json body

func NewGroupServiceSetUsersRequestWithBody

func NewGroupServiceSetUsersRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)

NewGroupServiceSetUsersRequestWithBody constructs an http.Request for the GroupServiceSetUsers method, with any body, and a specified content type

func NewGroupServiceUpdateRequest

func NewGroupServiceUpdateRequest(server string, groupId string, body GroupServiceUpdateJSONRequestBody) (*http.Request, error)

NewGroupServiceUpdateRequest calls the generic GroupServiceUpdate builder with application/json body

func NewGroupServiceUpdateRequestWithBody

func NewGroupServiceUpdateRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)

NewGroupServiceUpdateRequestWithBody constructs an http.Request for the GroupServiceUpdate method, with any body, and a specified content type

func NewGroupsServiceListRequest

func NewGroupsServiceListRequest(server string, params *GroupsServiceListParams) (*http.Request, error)

NewGroupsServiceListRequest constructs an http.Request for the GroupsServiceList method

func NewGroupsServiceListUsersRequest

func NewGroupsServiceListUsersRequest(server string, groupId string, params *GroupsServiceListUsersParams) (*http.Request, error)

NewGroupsServiceListUsersRequest constructs an http.Request for the GroupsServiceListUsers method

func NewGroupsServiceUpdateRequest

func NewGroupsServiceUpdateRequest(server string, id string, body GroupsServiceUpdateJSONRequestBody) (*http.Request, error)

NewGroupsServiceUpdateRequest calls the generic GroupsServiceUpdate builder with application/json body

func NewGroupsServiceUpdateRequestWithBody

func NewGroupsServiceUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewGroupsServiceUpdateRequestWithBody constructs an http.Request for the GroupsServiceUpdate method, with any body, and a specified content type

func NewMeServiceAcceptInviteRequest

func NewMeServiceAcceptInviteRequest(server string, params *MeServiceAcceptInviteParams) (*http.Request, error)

NewMeServiceAcceptInviteRequest constructs an http.Request for the MeServiceAcceptInvite method

func NewMeServiceDeclineInviteRequest

func NewMeServiceDeclineInviteRequest(server string, params *MeServiceDeclineInviteParams) (*http.Request, error)

NewMeServiceDeclineInviteRequest constructs an http.Request for the MeServiceDeclineInvite method

func NewPermissionServiceV3CreateRequest

func NewPermissionServiceV3CreateRequest(server string, body PermissionServiceV3CreateJSONRequestBody) (*http.Request, error)

NewPermissionServiceV3CreateRequest calls the generic PermissionServiceV3Create builder with application/json body

func NewPermissionServiceV3CreateRequestWithBody

func NewPermissionServiceV3CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPermissionServiceV3CreateRequestWithBody constructs an http.Request for the PermissionServiceV3Create method, with any body, and a specified content type

func NewPermissionServiceV3DeleteRequest

func NewPermissionServiceV3DeleteRequest(server string, permissionId string) (*http.Request, error)

NewPermissionServiceV3DeleteRequest constructs an http.Request for the PermissionServiceV3Delete method

func NewPermissionServiceV3GetRequest

func NewPermissionServiceV3GetRequest(server string, permissionId string) (*http.Request, error)

NewPermissionServiceV3GetRequest constructs an http.Request for the PermissionServiceV3Get method

func NewPermissionServiceV3ListRequest

func NewPermissionServiceV3ListRequest(server string, params *PermissionServiceV3ListParams) (*http.Request, error)

NewPermissionServiceV3ListRequest constructs an http.Request for the PermissionServiceV3List method

func NewPermissionServiceV3UpdateRequest

func NewPermissionServiceV3UpdateRequest(server string, permissionId string, body PermissionServiceV3UpdateJSONRequestBody) (*http.Request, error)

NewPermissionServiceV3UpdateRequest calls the generic PermissionServiceV3Update builder with application/json body

func NewPermissionServiceV3UpdateRequestWithBody

func NewPermissionServiceV3UpdateRequestWithBody(server string, permissionId string, contentType string, body io.Reader) (*http.Request, error)

NewPermissionServiceV3UpdateRequestWithBody constructs an http.Request for the PermissionServiceV3Update method, with any body, and a specified content type

func NewPermissionsServiceBulkEvaluateRequest

func NewPermissionsServiceBulkEvaluateRequest(server string, body PermissionsServiceBulkEvaluateJSONRequestBody) (*http.Request, error)

NewPermissionsServiceBulkEvaluateRequest calls the generic PermissionsServiceBulkEvaluate builder with application/json body

func NewPermissionsServiceBulkEvaluateRequestWithBody

func NewPermissionsServiceBulkEvaluateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPermissionsServiceBulkEvaluateRequestWithBody constructs an http.Request for the PermissionsServiceBulkEvaluate method, with any body, and a specified content type

func NewPermissionsServiceEvaluateRequest

func NewPermissionsServiceEvaluateRequest(server string, params *PermissionsServiceEvaluateParams) (*http.Request, error)

NewPermissionsServiceEvaluateRequest constructs an http.Request for the PermissionsServiceEvaluate method

func NewProductServiceGetRequest

func NewProductServiceGetRequest(server string, productCode string) (*http.Request, error)

NewProductServiceGetRequest constructs an http.Request for the ProductServiceGet method

func NewProductServiceListRequest

func NewProductServiceListRequest(server string, params *ProductServiceListParams) (*http.Request, error)

NewProductServiceListRequest constructs an http.Request for the ProductServiceList method

func NewProjectsServiceListUsersRequest

func NewProjectsServiceListUsersRequest(server string, projectId string, params *ProjectsServiceListUsersParams) (*http.Request, error)

NewProjectsServiceListUsersRequest constructs an http.Request for the ProjectsServiceListUsers method

func NewRoleServiceApplySpecRequest

func NewRoleServiceApplySpecRequest(server string, body RoleServiceApplySpecJSONRequestBody) (*http.Request, error)

NewRoleServiceApplySpecRequest calls the generic RoleServiceApplySpec builder with application/json body

func NewRoleServiceApplySpecRequestWithBody

func NewRoleServiceApplySpecRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRoleServiceApplySpecRequestWithBody constructs an http.Request for the RoleServiceApplySpec method, with any body, and a specified content type

func NewRoleServiceCreateRequest

func NewRoleServiceCreateRequest(server string, body RoleServiceCreateJSONRequestBody) (*http.Request, error)

NewRoleServiceCreateRequest calls the generic RoleServiceCreate builder with application/json body

func NewRoleServiceCreateRequestWithBody

func NewRoleServiceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRoleServiceCreateRequestWithBody constructs an http.Request for the RoleServiceCreate method, with any body, and a specified content type

func NewRoleServiceDeleteRequest

func NewRoleServiceDeleteRequest(server string, roleId string, params *RoleServiceDeleteParams) (*http.Request, error)

NewRoleServiceDeleteRequest constructs an http.Request for the RoleServiceDelete method

func NewRoleServiceGetRequest

func NewRoleServiceGetRequest(server string, roleId string) (*http.Request, error)

NewRoleServiceGetRequest constructs an http.Request for the RoleServiceGet method

func NewRoleServiceGetSpecRequest

func NewRoleServiceGetSpecRequest(server string, roleId string, body RoleServiceGetSpecJSONRequestBody) (*http.Request, error)

NewRoleServiceGetSpecRequest calls the generic RoleServiceGetSpec builder with application/json body

func NewRoleServiceGetSpecRequestWithBody

func NewRoleServiceGetSpecRequestWithBody(server string, roleId string, contentType string, body io.Reader) (*http.Request, error)

NewRoleServiceGetSpecRequestWithBody constructs an http.Request for the RoleServiceGetSpec method, with any body, and a specified content type

func NewRoleServiceListRequest

func NewRoleServiceListRequest(server string, params *RoleServiceListParams) (*http.Request, error)

NewRoleServiceListRequest constructs an http.Request for the RoleServiceList method

func NewRoleServiceUpdateRequest

func NewRoleServiceUpdateRequest(server string, roleId string, body RoleServiceUpdateJSONRequestBody) (*http.Request, error)

NewRoleServiceUpdateRequest calls the generic RoleServiceUpdate builder with application/json body

func NewRoleServiceUpdateRequestWithBody

func NewRoleServiceUpdateRequestWithBody(server string, roleId string, contentType string, body io.Reader) (*http.Request, error)

NewRoleServiceUpdateRequestWithBody constructs an http.Request for the RoleServiceUpdate method, with any body, and a specified content type

func NewServiceAccountServiceV2CreateRequest

func NewServiceAccountServiceV2CreateRequest(server string, body ServiceAccountServiceV2CreateJSONRequestBody) (*http.Request, error)

NewServiceAccountServiceV2CreateRequest calls the generic ServiceAccountServiceV2Create builder with application/json body

func NewServiceAccountServiceV2CreateRequestWithBody

func NewServiceAccountServiceV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewServiceAccountServiceV2CreateRequestWithBody constructs an http.Request for the ServiceAccountServiceV2Create method, with any body, and a specified content type

func NewServiceAccountServiceV2DeleteRequest

func NewServiceAccountServiceV2DeleteRequest(server string, serviceAccountId string) (*http.Request, error)

NewServiceAccountServiceV2DeleteRequest constructs an http.Request for the ServiceAccountServiceV2Delete method

func NewServiceAccountServiceV2GetRequest

func NewServiceAccountServiceV2GetRequest(server string, serviceAccountId string) (*http.Request, error)

NewServiceAccountServiceV2GetRequest constructs an http.Request for the ServiceAccountServiceV2Get method

func NewServiceAccountServiceV2ListRequest

func NewServiceAccountServiceV2ListRequest(server string, params *ServiceAccountServiceV2ListParams) (*http.Request, error)

NewServiceAccountServiceV2ListRequest constructs an http.Request for the ServiceAccountServiceV2List method

func NewServiceAccountServiceV2UpdateRequest

func NewServiceAccountServiceV2UpdateRequest(server string, serviceAccountId string, body ServiceAccountServiceV2UpdateJSONRequestBody) (*http.Request, error)

NewServiceAccountServiceV2UpdateRequest calls the generic ServiceAccountServiceV2Update builder with application/json body

func NewServiceAccountServiceV2UpdateRequestWithBody

func NewServiceAccountServiceV2UpdateRequestWithBody(server string, serviceAccountId string, contentType string, body io.Reader) (*http.Request, error)

NewServiceAccountServiceV2UpdateRequestWithBody constructs an http.Request for the ServiceAccountServiceV2Update method, with any body, and a specified content type

func NewUserServiceCreateRequest

func NewUserServiceCreateRequest(server string, body UserServiceCreateJSONRequestBody) (*http.Request, error)

NewUserServiceCreateRequest calls the generic UserServiceCreate builder with application/json body

func NewUserServiceCreateRequestWithBody

func NewUserServiceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUserServiceCreateRequestWithBody constructs an http.Request for the UserServiceCreate method, with any body, and a specified content type

func NewUserServiceDeleteRequest

func NewUserServiceDeleteRequest(server string, userId string, params *UserServiceDeleteParams) (*http.Request, error)

NewUserServiceDeleteRequest constructs an http.Request for the UserServiceDelete method

func NewUserServiceGetRequest

func NewUserServiceGetRequest(server string, userId string) (*http.Request, error)

NewUserServiceGetRequest constructs an http.Request for the UserServiceGet method

func NewUserServiceListGroupsRequest

func NewUserServiceListGroupsRequest(server string, userId string, params *UserServiceListGroupsParams) (*http.Request, error)

NewUserServiceListGroupsRequest constructs an http.Request for the UserServiceListGroups method

func NewUserServiceListRequest

func NewUserServiceListRequest(server string, params *UserServiceListParams) (*http.Request, error)

NewUserServiceListRequest constructs an http.Request for the UserServiceList method

func NewUserServiceUpdateRequest

func NewUserServiceUpdateRequest(server string, userId string, body UserServiceUpdateJSONRequestBody) (*http.Request, error)

NewUserServiceUpdateRequest calls the generic UserServiceUpdate builder with application/json body

func NewUserServiceUpdateRequestWithBody

func NewUserServiceUpdateRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewUserServiceUpdateRequestWithBody constructs an http.Request for the UserServiceUpdate method, with any body, and a specified content type

func NewUserServiceV2CreateRequest

func NewUserServiceV2CreateRequest(server string, body UserServiceV2CreateJSONRequestBody) (*http.Request, error)

NewUserServiceV2CreateRequest calls the generic UserServiceV2Create builder with application/json body

func NewUserServiceV2CreateRequestWithBody

func NewUserServiceV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUserServiceV2CreateRequestWithBody constructs an http.Request for the UserServiceV2Create method, with any body, and a specified content type

func NewUserServiceV2DeleteRequest

func NewUserServiceV2DeleteRequest(server string, userId string, params *UserServiceV2DeleteParams) (*http.Request, error)

NewUserServiceV2DeleteRequest constructs an http.Request for the UserServiceV2Delete method

func NewUserServiceV2GetRequest

func NewUserServiceV2GetRequest(server string, userId string) (*http.Request, error)

NewUserServiceV2GetRequest constructs an http.Request for the UserServiceV2Get method

func NewUserServiceV2ListRequest

func NewUserServiceV2ListRequest(server string, params *UserServiceV2ListParams) (*http.Request, error)

NewUserServiceV2ListRequest constructs an http.Request for the UserServiceV2List method

func NewUserServiceV2UpdateRequest

func NewUserServiceV2UpdateRequest(server string, userId string, body UserServiceV2UpdateJSONRequestBody) (*http.Request, error)

NewUserServiceV2UpdateRequest calls the generic UserServiceV2Update builder with application/json body

func NewUserServiceV2UpdateRequestWithBody

func NewUserServiceV2UpdateRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewUserServiceV2UpdateRequestWithBody constructs an http.Request for the UserServiceV2Update method, with any body, and a specified content type

Types

type APIKeyProductServiceListResponse

type APIKeyProductServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2ListAPIKeysProductsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyProductServiceListResponse

func ParseAPIKeyProductServiceListResponse(rsp *http.Response) (*APIKeyProductServiceListResponse, error)

ParseAPIKeyProductServiceListResponse parses an HTTP response from a APIKeyProductServiceListWithResponse call

func (APIKeyProductServiceListResponse) ContentType

func (r APIKeyProductServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyProductServiceListResponse) GetBody

func (r APIKeyProductServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyProductServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyProductServiceListResponse) GetJSON400

func (r APIKeyProductServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyProductServiceListResponse) GetJSON401

func (r APIKeyProductServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyProductServiceListResponse) GetJSON403

func (r APIKeyProductServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyProductServiceListResponse) GetJSON500

func (r APIKeyProductServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyProductServiceListResponse) Status

Status returns HTTPResponse.Status

func (APIKeyProductServiceListResponse) StatusCode

func (r APIKeyProductServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceDeleteParams

type APIKeyServiceDeleteParams struct {
	// KeyId KeyID — идентификатор ключа
	KeyId *string `form:"keyId,omitempty" json:"keyId,omitempty"`

	// ServiceAccountId ServiceAccountID — идентификатор сервисного аккаунта
	ServiceAccountId *string `form:"serviceAccountId,omitempty" json:"serviceAccountId,omitempty"`
}

APIKeyServiceDeleteParams defines parameters for APIKeyServiceDelete.

type APIKeyServiceDeleteResponse

type APIKeyServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RpcStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceDeleteResponse

func ParseAPIKeyServiceDeleteResponse(rsp *http.Response) (*APIKeyServiceDeleteResponse, error)

ParseAPIKeyServiceDeleteResponse parses an HTTP response from a APIKeyServiceDeleteWithResponse call

func (APIKeyServiceDeleteResponse) ContentType

func (r APIKeyServiceDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceDeleteResponse) GetBody

func (r APIKeyServiceDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceDeleteResponse) GetJSON200

func (r APIKeyServiceDeleteResponse) GetJSON200() *RpcStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceDeleteResponse) GetJSON400

func (r APIKeyServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceDeleteResponse) GetJSON401

func (r APIKeyServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceDeleteResponse) GetJSON403

func (r APIKeyServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceDeleteResponse) GetJSON404

func (r APIKeyServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceDeleteResponse) GetJSON500

func (r APIKeyServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceDeleteResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceDeleteResponse) StatusCode

func (r APIKeyServiceDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceGetParams

type APIKeyServiceGetParams struct {
	// WithSecret WithSecret — флаг, указывающий на необходимость возврата секрета ключа
	WithSecret *bool `form:"withSecret,omitempty" json:"withSecret,omitempty"`
}

APIKeyServiceGetParams defines parameters for APIKeyServiceGet.

type APIKeyServiceGetResponse

type APIKeyServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1serviceAccountsAPIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceGetResponse

func ParseAPIKeyServiceGetResponse(rsp *http.Response) (*APIKeyServiceGetResponse, error)

ParseAPIKeyServiceGetResponse parses an HTTP response from a APIKeyServiceGetWithResponse call

func (APIKeyServiceGetResponse) ContentType

func (r APIKeyServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceGetResponse) GetBody

func (r APIKeyServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceGetResponse) GetJSON400

func (r APIKeyServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceGetResponse) GetJSON401

func (r APIKeyServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceGetResponse) GetJSON403

func (r APIKeyServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceGetResponse) GetJSON404

func (r APIKeyServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceGetResponse) GetJSON500

func (r APIKeyServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceGetResponse) Status

func (r APIKeyServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeyServiceGetResponse) StatusCode

func (r APIKeyServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceReissueParams

type APIKeyServiceReissueParams struct {
	// ExpiresAt ExpiresAt — дата истечения срока действия нового ключа
	ExpiresAt *time.Time `form:"expiresAt,omitempty" json:"expiresAt,omitempty"`
}

APIKeyServiceReissueParams defines parameters for APIKeyServiceReissue.

type APIKeyServiceReissueResponse

type APIKeyServiceReissueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1serviceAccountsAPIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceReissueResponse

func ParseAPIKeyServiceReissueResponse(rsp *http.Response) (*APIKeyServiceReissueResponse, error)

ParseAPIKeyServiceReissueResponse parses an HTTP response from a APIKeyServiceReissueWithResponse call

func (APIKeyServiceReissueResponse) ContentType

func (r APIKeyServiceReissueResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceReissueResponse) GetBody

func (r APIKeyServiceReissueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceReissueResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceReissueResponse) GetJSON400

func (r APIKeyServiceReissueResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceReissueResponse) GetJSON401

func (r APIKeyServiceReissueResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceReissueResponse) GetJSON403

func (r APIKeyServiceReissueResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceReissueResponse) GetJSON404

func (r APIKeyServiceReissueResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceReissueResponse) GetJSON500

func (r APIKeyServiceReissueResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceReissueResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceReissueResponse) StatusCode

func (r APIKeyServiceReissueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceUpdateJSONRequestBody

type APIKeyServiceUpdateJSONRequestBody = V1serviceAccountsUpdateAPIKeyRequest

APIKeyServiceUpdateJSONRequestBody defines body for APIKeyServiceUpdate for application/json ContentType.

type APIKeyServiceUpdateResponse

type APIKeyServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1serviceAccountsAPIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceUpdateResponse

func ParseAPIKeyServiceUpdateResponse(rsp *http.Response) (*APIKeyServiceUpdateResponse, error)

ParseAPIKeyServiceUpdateResponse parses an HTTP response from a APIKeyServiceUpdateWithResponse call

func (APIKeyServiceUpdateResponse) ContentType

func (r APIKeyServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceUpdateResponse) GetBody

func (r APIKeyServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceUpdateResponse) GetJSON400

func (r APIKeyServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceUpdateResponse) GetJSON401

func (r APIKeyServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceUpdateResponse) GetJSON403

func (r APIKeyServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceUpdateResponse) GetJSON404

func (r APIKeyServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceUpdateResponse) GetJSON500

func (r APIKeyServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceUpdateResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceUpdateResponse) StatusCode

func (r APIKeyServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2CreateJSONRequestBody

type APIKeyServiceV2CreateJSONRequestBody = V2APIKeyServiceCreateBody

APIKeyServiceV2CreateJSONRequestBody defines body for APIKeyServiceV2Create for application/json ContentType.

type APIKeyServiceV2CreateResponse

type APIKeyServiceV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2APIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2CreateResponse

func ParseAPIKeyServiceV2CreateResponse(rsp *http.Response) (*APIKeyServiceV2CreateResponse, error)

ParseAPIKeyServiceV2CreateResponse parses an HTTP response from a APIKeyServiceV2CreateWithResponse call

func (APIKeyServiceV2CreateResponse) ContentType

func (r APIKeyServiceV2CreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2CreateResponse) GetBody

func (r APIKeyServiceV2CreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2CreateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2CreateResponse) GetJSON400

func (r APIKeyServiceV2CreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2CreateResponse) GetJSON401

func (r APIKeyServiceV2CreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2CreateResponse) GetJSON403

func (r APIKeyServiceV2CreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2CreateResponse) GetJSON409

func (r APIKeyServiceV2CreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (APIKeyServiceV2CreateResponse) GetJSON500

func (r APIKeyServiceV2CreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2CreateResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2CreateResponse) StatusCode

func (r APIKeyServiceV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2DeleteResponse

type APIKeyServiceV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2DeleteAPIKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2DeleteResponse

func ParseAPIKeyServiceV2DeleteResponse(rsp *http.Response) (*APIKeyServiceV2DeleteResponse, error)

ParseAPIKeyServiceV2DeleteResponse parses an HTTP response from a APIKeyServiceV2DeleteWithResponse call

func (APIKeyServiceV2DeleteResponse) ContentType

func (r APIKeyServiceV2DeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2DeleteResponse) GetBody

func (r APIKeyServiceV2DeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2DeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2DeleteResponse) GetJSON400

func (r APIKeyServiceV2DeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2DeleteResponse) GetJSON401

func (r APIKeyServiceV2DeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2DeleteResponse) GetJSON403

func (r APIKeyServiceV2DeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2DeleteResponse) GetJSON404

func (r APIKeyServiceV2DeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceV2DeleteResponse) GetJSON500

func (r APIKeyServiceV2DeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2DeleteResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2DeleteResponse) StatusCode

func (r APIKeyServiceV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2GetParams

type APIKeyServiceV2GetParams struct {
	// WithSecret WithSecret — флаг, определяющий, будет ли секрет API-ключа включен в ответ
	WithSecret *bool `form:"withSecret,omitempty" json:"withSecret,omitempty"`
}

APIKeyServiceV2GetParams defines parameters for APIKeyServiceV2Get.

type APIKeyServiceV2GetResponse

type APIKeyServiceV2GetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2APIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2GetResponse

func ParseAPIKeyServiceV2GetResponse(rsp *http.Response) (*APIKeyServiceV2GetResponse, error)

ParseAPIKeyServiceV2GetResponse parses an HTTP response from a APIKeyServiceV2GetWithResponse call

func (APIKeyServiceV2GetResponse) ContentType

func (r APIKeyServiceV2GetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2GetResponse) GetBody

func (r APIKeyServiceV2GetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2GetResponse) GetJSON200

func (r APIKeyServiceV2GetResponse) GetJSON200() *Iamv2APIKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2GetResponse) GetJSON400

func (r APIKeyServiceV2GetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2GetResponse) GetJSON401

func (r APIKeyServiceV2GetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2GetResponse) GetJSON403

func (r APIKeyServiceV2GetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2GetResponse) GetJSON404

func (r APIKeyServiceV2GetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceV2GetResponse) GetJSON500

func (r APIKeyServiceV2GetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2GetResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2GetResponse) StatusCode

func (r APIKeyServiceV2GetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2ListParams

type APIKeyServiceV2ListParams struct {
	// Filter Filter — выражение фильтрации (AIP-160)
	// Поддерживаемые свойства:
	//   enabled=true|false — фильтр по статусу активности
	//   name=<string> — фильтр по имени ключа
	//   expires_at_start=<RFC3339> — фильтр по дате истечения (начало диапазона)
	//   expires_at_end=<RFC3339> — фильтр по дате истечения (конец диапазона)
	// Пример: "enabled=true AND name=my-key AND expires_at_end=2026-12-31T23:59:59Z"
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, полученный в предыдущем ответе ListAPIKeysResponse.next_page_token
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

APIKeyServiceV2ListParams defines parameters for APIKeyServiceV2List.

type APIKeyServiceV2ListResponse

type APIKeyServiceV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ListAPIKeysResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2ListResponse

func ParseAPIKeyServiceV2ListResponse(rsp *http.Response) (*APIKeyServiceV2ListResponse, error)

ParseAPIKeyServiceV2ListResponse parses an HTTP response from a APIKeyServiceV2ListWithResponse call

func (APIKeyServiceV2ListResponse) ContentType

func (r APIKeyServiceV2ListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2ListResponse) GetBody

func (r APIKeyServiceV2ListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2ListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2ListResponse) GetJSON400

func (r APIKeyServiceV2ListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2ListResponse) GetJSON401

func (r APIKeyServiceV2ListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2ListResponse) GetJSON403

func (r APIKeyServiceV2ListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2ListResponse) GetJSON500

func (r APIKeyServiceV2ListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2ListResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2ListResponse) StatusCode

func (r APIKeyServiceV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2ReissueParams

type APIKeyServiceV2ReissueParams struct {
	// ExpiresAt ExpiresAt — дата истечения срока действия нового ключа
	ExpiresAt *time.Time `form:"expiresAt,omitempty" json:"expiresAt,omitempty"`
}

APIKeyServiceV2ReissueParams defines parameters for APIKeyServiceV2Reissue.

type APIKeyServiceV2ReissueResponse

type APIKeyServiceV2ReissueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2APIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2ReissueResponse

func ParseAPIKeyServiceV2ReissueResponse(rsp *http.Response) (*APIKeyServiceV2ReissueResponse, error)

ParseAPIKeyServiceV2ReissueResponse parses an HTTP response from a APIKeyServiceV2ReissueWithResponse call

func (APIKeyServiceV2ReissueResponse) ContentType

func (r APIKeyServiceV2ReissueResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2ReissueResponse) GetBody

func (r APIKeyServiceV2ReissueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2ReissueResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2ReissueResponse) GetJSON400

func (r APIKeyServiceV2ReissueResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2ReissueResponse) GetJSON401

func (r APIKeyServiceV2ReissueResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2ReissueResponse) GetJSON403

func (r APIKeyServiceV2ReissueResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2ReissueResponse) GetJSON404

func (r APIKeyServiceV2ReissueResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceV2ReissueResponse) GetJSON500

func (r APIKeyServiceV2ReissueResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2ReissueResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2ReissueResponse) StatusCode

func (r APIKeyServiceV2ReissueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeyServiceV2UpdateJSONRequestBody

type APIKeyServiceV2UpdateJSONRequestBody = Iamv2APIKeyServiceUpdateBody

APIKeyServiceV2UpdateJSONRequestBody defines body for APIKeyServiceV2Update for application/json ContentType.

type APIKeyServiceV2UpdateResponse

type APIKeyServiceV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2APIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAPIKeyServiceV2UpdateResponse

func ParseAPIKeyServiceV2UpdateResponse(rsp *http.Response) (*APIKeyServiceV2UpdateResponse, error)

ParseAPIKeyServiceV2UpdateResponse parses an HTTP response from a APIKeyServiceV2UpdateWithResponse call

func (APIKeyServiceV2UpdateResponse) ContentType

func (r APIKeyServiceV2UpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (APIKeyServiceV2UpdateResponse) GetBody

func (r APIKeyServiceV2UpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (APIKeyServiceV2UpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (APIKeyServiceV2UpdateResponse) GetJSON400

func (r APIKeyServiceV2UpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (APIKeyServiceV2UpdateResponse) GetJSON401

func (r APIKeyServiceV2UpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (APIKeyServiceV2UpdateResponse) GetJSON403

func (r APIKeyServiceV2UpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (APIKeyServiceV2UpdateResponse) GetJSON404

func (r APIKeyServiceV2UpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (APIKeyServiceV2UpdateResponse) GetJSON500

func (r APIKeyServiceV2UpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (APIKeyServiceV2UpdateResponse) Status

Status returns HTTPResponse.Status

func (APIKeyServiceV2UpdateResponse) StatusCode

func (r APIKeyServiceV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessKeyCredentialsServiceDeleteResponse

type AccessKeyCredentialsServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RpcStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyCredentialsServiceDeleteResponse

func ParseAccessKeyCredentialsServiceDeleteResponse(rsp *http.Response) (*AccessKeyCredentialsServiceDeleteResponse, error)

ParseAccessKeyCredentialsServiceDeleteResponse parses an HTTP response from a AccessKeyCredentialsServiceDeleteWithResponse call

func (AccessKeyCredentialsServiceDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyCredentialsServiceDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON400

func (r AccessKeyCredentialsServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON401

func (r AccessKeyCredentialsServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON403

func (r AccessKeyCredentialsServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON404

func (r AccessKeyCredentialsServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) GetJSON500

func (r AccessKeyCredentialsServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyCredentialsServiceDeleteResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyCredentialsServiceDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AccessKeyCredentialsServiceGetResponse

type AccessKeyCredentialsServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ServiceAccountsGetAccessKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyCredentialsServiceGetResponse

func ParseAccessKeyCredentialsServiceGetResponse(rsp *http.Response) (*AccessKeyCredentialsServiceGetResponse, error)

ParseAccessKeyCredentialsServiceGetResponse parses an HTTP response from a AccessKeyCredentialsServiceGetWithResponse call

func (AccessKeyCredentialsServiceGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyCredentialsServiceGetResponse) GetBody

GetBody returns the raw response body bytes

func (AccessKeyCredentialsServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) GetJSON400

func (r AccessKeyCredentialsServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) GetJSON401

func (r AccessKeyCredentialsServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) GetJSON403

func (r AccessKeyCredentialsServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) GetJSON404

func (r AccessKeyCredentialsServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) GetJSON500

func (r AccessKeyCredentialsServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyCredentialsServiceGetResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyCredentialsServiceGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AccessKeyCredentialsServiceUpdateParams

type AccessKeyCredentialsServiceUpdateParams struct {
	// Description Description — описание ключа доступа
	Description *string `form:"description,omitempty" json:"description,omitempty"`
}

AccessKeyCredentialsServiceUpdateParams defines parameters for AccessKeyCredentialsServiceUpdate.

type AccessKeyCredentialsServiceUpdateResponse

type AccessKeyCredentialsServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ServiceAccountsUpdateAccessKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyCredentialsServiceUpdateResponse

func ParseAccessKeyCredentialsServiceUpdateResponse(rsp *http.Response) (*AccessKeyCredentialsServiceUpdateResponse, error)

ParseAccessKeyCredentialsServiceUpdateResponse parses an HTTP response from a AccessKeyCredentialsServiceUpdateWithResponse call

func (AccessKeyCredentialsServiceUpdateResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyCredentialsServiceUpdateResponse) GetBody

GetBody returns the raw response body bytes

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON400

func (r AccessKeyCredentialsServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON401

func (r AccessKeyCredentialsServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON403

func (r AccessKeyCredentialsServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON404

func (r AccessKeyCredentialsServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) GetJSON500

func (r AccessKeyCredentialsServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyCredentialsServiceUpdateResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyCredentialsServiceUpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AccessKeyServiceCreateJSONRequestBody

type AccessKeyServiceCreateJSONRequestBody = V2AccessKeyServiceCreateBody

AccessKeyServiceCreateJSONRequestBody defines body for AccessKeyServiceCreate for application/json ContentType.

type AccessKeyServiceCreateResponse

type AccessKeyServiceCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2AccessKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyServiceCreateResponse

func ParseAccessKeyServiceCreateResponse(rsp *http.Response) (*AccessKeyServiceCreateResponse, error)

ParseAccessKeyServiceCreateResponse parses an HTTP response from a AccessKeyServiceCreateWithResponse call

func (AccessKeyServiceCreateResponse) ContentType

func (r AccessKeyServiceCreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyServiceCreateResponse) GetBody

func (r AccessKeyServiceCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AccessKeyServiceCreateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyServiceCreateResponse) GetJSON400

func (r AccessKeyServiceCreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyServiceCreateResponse) GetJSON401

func (r AccessKeyServiceCreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyServiceCreateResponse) GetJSON403

func (r AccessKeyServiceCreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyServiceCreateResponse) GetJSON404

func (r AccessKeyServiceCreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyServiceCreateResponse) GetJSON500

func (r AccessKeyServiceCreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyServiceCreateResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyServiceCreateResponse) StatusCode

func (r AccessKeyServiceCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessKeyServiceDeleteResponse

type AccessKeyServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2DeleteAccessKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyServiceDeleteResponse

func ParseAccessKeyServiceDeleteResponse(rsp *http.Response) (*AccessKeyServiceDeleteResponse, error)

ParseAccessKeyServiceDeleteResponse parses an HTTP response from a AccessKeyServiceDeleteWithResponse call

func (AccessKeyServiceDeleteResponse) ContentType

func (r AccessKeyServiceDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyServiceDeleteResponse) GetBody

func (r AccessKeyServiceDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AccessKeyServiceDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyServiceDeleteResponse) GetJSON400

func (r AccessKeyServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyServiceDeleteResponse) GetJSON401

func (r AccessKeyServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyServiceDeleteResponse) GetJSON403

func (r AccessKeyServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyServiceDeleteResponse) GetJSON404

func (r AccessKeyServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyServiceDeleteResponse) GetJSON500

func (r AccessKeyServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyServiceDeleteResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyServiceDeleteResponse) StatusCode

func (r AccessKeyServiceDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessKeyServiceGetResponse

type AccessKeyServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2AccessKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyServiceGetResponse

func ParseAccessKeyServiceGetResponse(rsp *http.Response) (*AccessKeyServiceGetResponse, error)

ParseAccessKeyServiceGetResponse parses an HTTP response from a AccessKeyServiceGetWithResponse call

func (AccessKeyServiceGetResponse) ContentType

func (r AccessKeyServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyServiceGetResponse) GetBody

func (r AccessKeyServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AccessKeyServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyServiceGetResponse) GetJSON400

func (r AccessKeyServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyServiceGetResponse) GetJSON401

func (r AccessKeyServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyServiceGetResponse) GetJSON403

func (r AccessKeyServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyServiceGetResponse) GetJSON404

func (r AccessKeyServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyServiceGetResponse) GetJSON500

func (r AccessKeyServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyServiceGetResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyServiceGetResponse) StatusCode

func (r AccessKeyServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessKeyServiceListResponse

type AccessKeyServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2ListAccessKeysResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyServiceListResponse

func ParseAccessKeyServiceListResponse(rsp *http.Response) (*AccessKeyServiceListResponse, error)

ParseAccessKeyServiceListResponse parses an HTTP response from a AccessKeyServiceListWithResponse call

func (AccessKeyServiceListResponse) ContentType

func (r AccessKeyServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyServiceListResponse) GetBody

func (r AccessKeyServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AccessKeyServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyServiceListResponse) GetJSON400

func (r AccessKeyServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyServiceListResponse) GetJSON401

func (r AccessKeyServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyServiceListResponse) GetJSON403

func (r AccessKeyServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyServiceListResponse) GetJSON404

func (r AccessKeyServiceListResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyServiceListResponse) GetJSON500

func (r AccessKeyServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyServiceListResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyServiceListResponse) StatusCode

func (r AccessKeyServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessKeyServiceUpdateParams

type AccessKeyServiceUpdateParams struct {
	// Description Description — описание ключа доступа
	Description *string `form:"description,omitempty" json:"description,omitempty"`
}

AccessKeyServiceUpdateParams defines parameters for AccessKeyServiceUpdate.

type AccessKeyServiceUpdateResponse

type AccessKeyServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2AccessKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAccessKeyServiceUpdateResponse

func ParseAccessKeyServiceUpdateResponse(rsp *http.Response) (*AccessKeyServiceUpdateResponse, error)

ParseAccessKeyServiceUpdateResponse parses an HTTP response from a AccessKeyServiceUpdateWithResponse call

func (AccessKeyServiceUpdateResponse) ContentType

func (r AccessKeyServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AccessKeyServiceUpdateResponse) GetBody

func (r AccessKeyServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AccessKeyServiceUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AccessKeyServiceUpdateResponse) GetJSON400

func (r AccessKeyServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AccessKeyServiceUpdateResponse) GetJSON401

func (r AccessKeyServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AccessKeyServiceUpdateResponse) GetJSON403

func (r AccessKeyServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AccessKeyServiceUpdateResponse) GetJSON404

func (r AccessKeyServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AccessKeyServiceUpdateResponse) GetJSON500

func (r AccessKeyServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AccessKeyServiceUpdateResponse) Status

Status returns HTTPResponse.Status

func (AccessKeyServiceUpdateResponse) StatusCode

func (r AccessKeyServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionServiceGetResponse

type ActionServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamapiv1permissionAction
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseActionServiceGetResponse

func ParseActionServiceGetResponse(rsp *http.Response) (*ActionServiceGetResponse, error)

ParseActionServiceGetResponse parses an HTTP response from a ActionServiceGetWithResponse call

func (ActionServiceGetResponse) ContentType

func (r ActionServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ActionServiceGetResponse) GetBody

func (r ActionServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ActionServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ActionServiceGetResponse) GetJSON400

func (r ActionServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ActionServiceGetResponse) GetJSON401

func (r ActionServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ActionServiceGetResponse) GetJSON403

func (r ActionServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ActionServiceGetResponse) GetJSON404

func (r ActionServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ActionServiceGetResponse) GetJSON500

func (r ActionServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ActionServiceGetResponse) Status

func (r ActionServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (ActionServiceGetResponse) StatusCode

func (r ActionServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionServiceListParams

type ActionServiceListParams struct {
	// Filter Filter — выражение для фильтрации.
	// name=name (поддерживается частичное совпадение: name=*name*) — необязательный фильтр
	// description=description (поддерживается частичное совпадение: description=*description*) — необязательный фильтр
	// product_code=code — необязательный фильтр
	//
	// Объединение фильтров: поддерживается только оператор AND
	// name=name AND product_code=code
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице.
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращнный ранее в ListActionsResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`

	// OrderBy OrderBy — название поля, по которому выполняется сортировка. Пример: поле + направление — "name desc"
	// Поддерживаемые поля: name
	OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
}

ActionServiceListParams defines parameters for ActionServiceList.

type ActionServiceListResponse

type ActionServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionListActionsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseActionServiceListResponse

func ParseActionServiceListResponse(rsp *http.Response) (*ActionServiceListResponse, error)

ParseActionServiceListResponse parses an HTTP response from a ActionServiceListWithResponse call

func (ActionServiceListResponse) ContentType

func (r ActionServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ActionServiceListResponse) GetBody

func (r ActionServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ActionServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ActionServiceListResponse) GetJSON400

func (r ActionServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ActionServiceListResponse) GetJSON401

func (r ActionServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ActionServiceListResponse) GetJSON403

func (r ActionServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ActionServiceListResponse) GetJSON500

func (r ActionServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ActionServiceListResponse) Status

func (r ActionServiceListResponse) Status() string

Status returns HTTPResponse.Status

func (ActionServiceListResponse) StatusCode

func (r ActionServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthServiceGetTokenJSONRequestBody

type AuthServiceGetTokenJSONRequestBody = V1authGetTokenRequest

AuthServiceGetTokenJSONRequestBody defines body for AuthServiceGetToken for application/json ContentType.

type AuthServiceGetTokenResponse

type AuthServiceGetTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1authGetTokenResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAuthServiceGetTokenResponse

func ParseAuthServiceGetTokenResponse(rsp *http.Response) (*AuthServiceGetTokenResponse, error)

ParseAuthServiceGetTokenResponse parses an HTTP response from a AuthServiceGetTokenWithResponse call

func (AuthServiceGetTokenResponse) ContentType

func (r AuthServiceGetTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AuthServiceGetTokenResponse) GetBody

func (r AuthServiceGetTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AuthServiceGetTokenResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AuthServiceGetTokenResponse) GetJSON400

func (r AuthServiceGetTokenResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AuthServiceGetTokenResponse) GetJSON401

func (r AuthServiceGetTokenResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AuthServiceGetTokenResponse) GetJSON403

func (r AuthServiceGetTokenResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AuthServiceGetTokenResponse) GetJSON404

func (r AuthServiceGetTokenResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AuthServiceGetTokenResponse) GetJSON500

func (r AuthServiceGetTokenResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AuthServiceGetTokenResponse) Status

Status returns HTTPResponse.Status

func (AuthServiceGetTokenResponse) StatusCode

func (r AuthServiceGetTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthServiceV2GetTokenJSONRequestBody

type AuthServiceV2GetTokenJSONRequestBody = Iamv2GetTokenRequest

AuthServiceV2GetTokenJSONRequestBody defines body for AuthServiceV2GetToken for application/json ContentType.

type AuthServiceV2GetTokenResponse

type AuthServiceV2GetTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2GetTokenResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAuthServiceV2GetTokenResponse

func ParseAuthServiceV2GetTokenResponse(rsp *http.Response) (*AuthServiceV2GetTokenResponse, error)

ParseAuthServiceV2GetTokenResponse parses an HTTP response from a AuthServiceV2GetTokenWithResponse call

func (AuthServiceV2GetTokenResponse) ContentType

func (r AuthServiceV2GetTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AuthServiceV2GetTokenResponse) GetBody

func (r AuthServiceV2GetTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AuthServiceV2GetTokenResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AuthServiceV2GetTokenResponse) GetJSON400

func (r AuthServiceV2GetTokenResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AuthServiceV2GetTokenResponse) GetJSON401

func (r AuthServiceV2GetTokenResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AuthServiceV2GetTokenResponse) GetJSON403

func (r AuthServiceV2GetTokenResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AuthServiceV2GetTokenResponse) GetJSON404

func (r AuthServiceV2GetTokenResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AuthServiceV2GetTokenResponse) GetJSON500

func (r AuthServiceV2GetTokenResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AuthServiceV2GetTokenResponse) Status

Status returns HTTPResponse.Status

func (AuthServiceV2GetTokenResponse) StatusCode

func (r AuthServiceV2GetTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthServiceV2ImpersonateJSONRequestBody

type AuthServiceV2ImpersonateJSONRequestBody = Iamv2ImpersonateRequest

AuthServiceV2ImpersonateJSONRequestBody defines body for AuthServiceV2Impersonate for application/json ContentType.

type AuthServiceV2ImpersonateResponse

type AuthServiceV2ImpersonateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2GetTokenResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseAuthServiceV2ImpersonateResponse

func ParseAuthServiceV2ImpersonateResponse(rsp *http.Response) (*AuthServiceV2ImpersonateResponse, error)

ParseAuthServiceV2ImpersonateResponse parses an HTTP response from a AuthServiceV2ImpersonateWithResponse call

func (AuthServiceV2ImpersonateResponse) ContentType

func (r AuthServiceV2ImpersonateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AuthServiceV2ImpersonateResponse) GetBody

func (r AuthServiceV2ImpersonateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AuthServiceV2ImpersonateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AuthServiceV2ImpersonateResponse) GetJSON400

func (r AuthServiceV2ImpersonateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AuthServiceV2ImpersonateResponse) GetJSON401

func (r AuthServiceV2ImpersonateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AuthServiceV2ImpersonateResponse) GetJSON403

func (r AuthServiceV2ImpersonateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AuthServiceV2ImpersonateResponse) GetJSON404

func (r AuthServiceV2ImpersonateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AuthServiceV2ImpersonateResponse) GetJSON500

func (r AuthServiceV2ImpersonateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AuthServiceV2ImpersonateResponse) Status

Status returns HTTPResponse.Status

func (AuthServiceV2ImpersonateResponse) StatusCode

func (r AuthServiceV2ImpersonateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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) APIKeyProductServiceList

func (c *Client) APIKeyProductServiceList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyProductServiceList List — возвращает список продуктов, для которых могут быть выпущены API-ключи

Corresponds with GET /api/v2/serviceAccounts/apiKeys/products (the `APIKeyProductServiceList` operationId).

func (*Client) APIKeyServiceDelete

func (c *Client) APIKeyServiceDelete(ctx context.Context, params *APIKeyServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceDelete Delete — удаляет API-ключ

Corresponds with DELETE /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceDelete` operationId).

func (*Client) APIKeyServiceGet

func (c *Client) APIKeyServiceGet(ctx context.Context, id string, params *APIKeyServiceGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceGet Get — возвращает API-ключ

Corresponds with GET /api/v1/service-accounts/credentials/api-keys/{id} (the `APIKeyServiceGet` operationId).

func (*Client) APIKeyServiceReissue

func (c *Client) APIKeyServiceReissue(ctx context.Context, id string, params *APIKeyServiceReissueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceReissue Reissue — перевыпускает API-ключ

Corresponds with POST /api/v1/service-accounts/credentials/api-keys/{id}/reissue (the `APIKeyServiceReissue` operationId).

func (*Client) APIKeyServiceUpdate

func (c *Client) APIKeyServiceUpdate(ctx context.Context, body APIKeyServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceUpdate Update — обновляет API-ключ

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).

func (*Client) APIKeyServiceUpdateWithBody

func (c *Client) APIKeyServiceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceUpdateWithBody Update — обновляет API-ключ

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).

func (*Client) APIKeyServiceV2Create

func (c *Client) APIKeyServiceV2Create(ctx context.Context, serviceAccountId string, body APIKeyServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2Create Create — создание API-ключа сервисного аккаунта

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).

func (*Client) APIKeyServiceV2CreateWithBody

func (c *Client) APIKeyServiceV2CreateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2CreateWithBody Create — создание API-ключа сервисного аккаунта

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).

func (*Client) APIKeyServiceV2Delete

func (c *Client) APIKeyServiceV2Delete(ctx context.Context, serviceAccountId string, apiKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2Delete Delete — удаление API-ключа

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Delete` operationId).

func (*Client) APIKeyServiceV2Get

func (c *Client) APIKeyServiceV2Get(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2GetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2Get Get — получение API-ключа

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Get` operationId).

func (*Client) APIKeyServiceV2List

func (c *Client) APIKeyServiceV2List(ctx context.Context, serviceAccountId string, params *APIKeyServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2List List — получение списка API-ключей сервисного аккаунта

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2List` operationId).

func (*Client) APIKeyServiceV2Reissue

func (c *Client) APIKeyServiceV2Reissue(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2ReissueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2Reissue Reissue — перевыпуск API-ключа

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId}:reissue (the `APIKeyServiceV2Reissue` operationId).

func (*Client) APIKeyServiceV2Update

func (c *Client) APIKeyServiceV2Update(ctx context.Context, serviceAccountId string, apiKeyId string, body APIKeyServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2Update Update — обновление API-ключа

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).

func (*Client) APIKeyServiceV2UpdateWithBody

func (c *Client) APIKeyServiceV2UpdateWithBody(ctx context.Context, serviceAccountId string, apiKeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

APIKeyServiceV2UpdateWithBody Update — обновление API-ключа

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).

func (*Client) AccessKeyCredentialsServiceDelete

func (c *Client) AccessKeyCredentialsServiceDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyCredentialsServiceDelete Delete — удаление ключа доступа по ID ключа для сервисного аккаунта

Corresponds with DELETE /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceDelete` operationId).

func (*Client) AccessKeyCredentialsServiceGet

func (c *Client) AccessKeyCredentialsServiceGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyCredentialsServiceGet Get — получение информации о ключе доступа по ID для сервисного аккаунта

Corresponds with GET /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceGet` operationId).

func (*Client) AccessKeyCredentialsServiceUpdate

func (c *Client) AccessKeyCredentialsServiceUpdate(ctx context.Context, id string, params *AccessKeyCredentialsServiceUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyCredentialsServiceUpdate Update — обновление ключа доступа

Corresponds with PUT /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceUpdate` operationId).

func (*Client) AccessKeyServiceCreate

func (c *Client) AccessKeyServiceCreate(ctx context.Context, serviceAccountId string, body AccessKeyServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceCreate Create — создает новый ключ доступа

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).

func (*Client) AccessKeyServiceCreateWithBody

func (c *Client) AccessKeyServiceCreateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceCreateWithBody Create — создает новый ключ доступа

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).

func (*Client) AccessKeyServiceDelete

func (c *Client) AccessKeyServiceDelete(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceDelete Delete — удаление ключа доступа сервисного аккаунта

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceDelete` operationId).

func (*Client) AccessKeyServiceGet

func (c *Client) AccessKeyServiceGet(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceGet Get — получение ключа доступа

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceGet` operationId).

func (*Client) AccessKeyServiceList

func (c *Client) AccessKeyServiceList(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceList List — получение списка ключей доступа сервисного аккаунта

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceList` operationId).

func (*Client) AccessKeyServiceUpdate

func (c *Client) AccessKeyServiceUpdate(ctx context.Context, serviceAccountId string, accessKeyId string, params *AccessKeyServiceUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AccessKeyServiceUpdate Update — обновление ключа доступа

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceUpdate` operationId).

func (*Client) ActionServiceGet

func (c *Client) ActionServiceGet(ctx context.Context, actionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ActionServiceGet Get — получение действия

Corresponds with GET /api/v1/actions/{actionName} (the `ActionServiceGet` operationId).

func (*Client) ActionServiceList

func (c *Client) ActionServiceList(ctx context.Context, params *ActionServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ActionServiceList List — получение списка действий

Corresponds with GET /api/v1/actions (the `ActionServiceList` operationId).

func (*Client) AuthServiceGetToken

func (c *Client) AuthServiceGetToken(ctx context.Context, body AuthServiceGetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceGetToken GetToken — получение токена по указанным учетным данным

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).

func (*Client) AuthServiceGetTokenWithBody

func (c *Client) AuthServiceGetTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceGetTokenWithBody GetToken — получение токена по указанным учетным данным

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).

func (*Client) AuthServiceV2GetToken

func (c *Client) AuthServiceV2GetToken(ctx context.Context, body AuthServiceV2GetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceV2GetToken GetToken — получение токена по указанным учетным данным

Выпускает токен по ключу доступа. Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).

func (*Client) AuthServiceV2GetTokenWithBody

func (c *Client) AuthServiceV2GetTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceV2GetTokenWithBody GetToken — получение токена по указанным учетным данным

Выпускает токен по ключу доступа. Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).

func (*Client) AuthServiceV2Impersonate

func (c *Client) AuthServiceV2Impersonate(ctx context.Context, body AuthServiceV2ImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceV2Impersonate Impersonate — выпуск токена сервисного аккаунта без его ключей

Выпускает токен доступа сервисного аккаунта без его ключей доступа. Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт. Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).

func (*Client) AuthServiceV2ImpersonateWithBody

func (c *Client) AuthServiceV2ImpersonateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthServiceV2ImpersonateWithBody Impersonate — выпуск токена сервисного аккаунта без его ключей

Выпускает токен доступа сервисного аккаунта без его ключей доступа. Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт. Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).

func (*Client) CustomersServiceFindUser

func (c *Client) CustomersServiceFindUser(ctx context.Context, customerId string, params *CustomersServiceFindUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceFindUser FindUser — поиск пользователя организации по email

Corresponds with GET /api/v1/customers/{customerId}/users/find (the `CustomersServiceFindUser` operationId).

func (*Client) CustomersServiceGetUser

func (c *Client) CustomersServiceGetUser(ctx context.Context, customerId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceGetUser GetUser — получение пользователя организации

Corresponds with GET /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceGetUser` operationId).

func (*Client) CustomersServiceInviteUser

func (c *Client) CustomersServiceInviteUser(ctx context.Context, customerId string, body CustomersServiceInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceInviteUser InviteUser — приглашение пользователя в организацию

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).

func (*Client) CustomersServiceInviteUserWithBody

func (c *Client) CustomersServiceInviteUserWithBody(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceInviteUserWithBody InviteUser — приглашение пользователя в организацию

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).

func (*Client) CustomersServiceListUsers

func (c *Client) CustomersServiceListUsers(ctx context.Context, customerId string, params *CustomersServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceListUsers ListUsers — получение списка пользователей организации

Corresponds with GET /api/v1/customers/{customerId}/users (the `CustomersServiceListUsers` operationId).

func (*Client) CustomersServiceReInviteUser

func (c *Client) CustomersServiceReInviteUser(ctx context.Context, customerId string, body CustomersServiceReInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceReInviteUser ReInviteUser — повторное приглашение пользователя в организацию

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).

func (*Client) CustomersServiceReInviteUserWithBody

func (c *Client) CustomersServiceReInviteUserWithBody(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceReInviteUserWithBody ReInviteUser — повторное приглашение пользователя в организацию

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).

func (*Client) CustomersServiceUpdateUser

func (c *Client) CustomersServiceUpdateUser(ctx context.Context, customerId string, userId string, body CustomersServiceUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceUpdateUser UpdateUser — обновление пользователя организации Обновление поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).

func (*Client) CustomersServiceUpdateUserWithBody

func (c *Client) CustomersServiceUpdateUserWithBody(ctx context.Context, customerId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomersServiceUpdateUserWithBody UpdateUser — обновление пользователя организации Обновление поддерживается только для федеративных пользователей

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).

func (*Client) GroupServiceAddUser

func (c *Client) GroupServiceAddUser(ctx context.Context, groupId string, body GroupServiceAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceAddUser AddUser — добавление пользователя в группу

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).

func (*Client) GroupServiceAddUserWithBody

func (c *Client) GroupServiceAddUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceAddUserWithBody AddUser — добавление пользователя в группу

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).

func (*Client) GroupServiceCreate

func (c *Client) GroupServiceCreate(ctx context.Context, body GroupServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceCreate Create — создание новой группы

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).

func (*Client) GroupServiceCreateWithBody

func (c *Client) GroupServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceCreateWithBody Create — создание новой группы

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).

func (*Client) GroupServiceDelete

func (c *Client) GroupServiceDelete(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceDelete Delete — удаление группы

Corresponds with DELETE /api/v2/groups/{groupId} (the `GroupServiceDelete` operationId).

func (*Client) GroupServiceDeleteUser

func (c *Client) GroupServiceDeleteUser(ctx context.Context, groupId string, body GroupServiceDeleteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceDeleteUser DeleteUser — удаление пользователя из группы

Takes a body of the `application/json` content type.

Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).

func (*Client) GroupServiceDeleteUserWithBody

func (c *Client) GroupServiceDeleteUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceDeleteUserWithBody DeleteUser — удаление пользователя из группы

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).

func (*Client) GroupServiceGet

func (c *Client) GroupServiceGet(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceGet Get — получение группы по идентификатору

Corresponds with GET /api/v2/groups/{groupId} (the `GroupServiceGet` operationId).

func (*Client) GroupServiceHasUser

func (c *Client) GroupServiceHasUser(ctx context.Context, groupId string, params *GroupServiceHasUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceHasUser HasUser — проверка, является ли пользователь участником группы

Corresponds with GET /api/v2/groups/{groupId}:hasUser (the `GroupServiceHasUser` operationId).

func (*Client) GroupServiceList

func (c *Client) GroupServiceList(ctx context.Context, params *GroupServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceList List — получение списка групп

Corresponds with GET /api/v2/groups (the `GroupServiceList` operationId).

func (*Client) GroupServiceListUsers

func (c *Client) GroupServiceListUsers(ctx context.Context, groupId string, params *GroupServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceListUsers ListUsers — получение пользователей, являющихся участниками группы

Corresponds with GET /api/v2/groups/{groupId}:listUsers (the `GroupServiceListUsers` operationId).

func (*Client) GroupServiceSetUsers

func (c *Client) GroupServiceSetUsers(ctx context.Context, groupId string, body GroupServiceSetUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceSetUsers SetUsers — добавление пользователей в группу с удалением всех существующих членств

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).

func (*Client) GroupServiceSetUsersWithBody

func (c *Client) GroupServiceSetUsersWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceSetUsersWithBody SetUsers — добавление пользователей в группу с удалением всех существующих членств

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).

func (*Client) GroupServiceUpdate

func (c *Client) GroupServiceUpdate(ctx context.Context, groupId string, body GroupServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceUpdate Update — обновление группы

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).

func (*Client) GroupServiceUpdateWithBody

func (c *Client) GroupServiceUpdateWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupServiceUpdateWithBody Update — обновление группы

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).

func (*Client) GroupsServiceList

func (c *Client) GroupsServiceList(ctx context.Context, params *GroupsServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupsServiceList List — получение списка групп

Corresponds with GET /api/v1/groups (the `GroupsServiceList` operationId).

func (*Client) GroupsServiceListUsers

func (c *Client) GroupsServiceListUsers(ctx context.Context, groupId string, params *GroupsServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupsServiceListUsers ListUsers — получение пользователей, являющихся участниками группы

Corresponds with GET /api/v1/groups/{groupId}/users (the `GroupsServiceListUsers` operationId).

func (*Client) GroupsServiceUpdate

func (c *Client) GroupsServiceUpdate(ctx context.Context, id string, body GroupsServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupsServiceUpdate Update — обновление группы

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).

func (*Client) GroupsServiceUpdateWithBody

func (c *Client) GroupsServiceUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GroupsServiceUpdateWithBody Update — обновление группы

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).

func (*Client) MeServiceAcceptInvite

func (c *Client) MeServiceAcceptInvite(ctx context.Context, params *MeServiceAcceptInviteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

MeServiceAcceptInvite AcceptInvite — принятие приглашения в организацию

Corresponds with PUT /api/v1/me/accept_invite (the `MeServiceAcceptInvite` operationId).

func (*Client) MeServiceDeclineInvite

func (c *Client) MeServiceDeclineInvite(ctx context.Context, params *MeServiceDeclineInviteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

MeServiceDeclineInvite DeclineInvite — отклонение приглашения в организацию

Corresponds with PUT /api/v1/me/decline_invite (the `MeServiceDeclineInvite` operationId).

func (*Client) PermissionServiceV3Create

func (c *Client) PermissionServiceV3Create(ctx context.Context, body PermissionServiceV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3Create Create — создание разрешения

Takes a body of the `application/json` content type.

Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).

func (*Client) PermissionServiceV3CreateWithBody

func (c *Client) PermissionServiceV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3CreateWithBody Create — создание разрешения

Takes any type of body and a specified content type.

Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).

func (*Client) PermissionServiceV3Delete

func (c *Client) PermissionServiceV3Delete(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3Delete Delete — удаление разрешения

Corresponds with DELETE /api/v3/permissions/{permissionId} (the `PermissionServiceV3Delete` operationId).

func (*Client) PermissionServiceV3Get

func (c *Client) PermissionServiceV3Get(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3Get Get — получение разрешения по идентификатору

Corresponds with GET /api/v3/permissions/{permissionId} (the `PermissionServiceV3Get` operationId).

func (*Client) PermissionServiceV3List

func (c *Client) PermissionServiceV3List(ctx context.Context, params *PermissionServiceV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3List List — получение списка разрешений по фильтру

Corresponds with GET /api/v3/permissions (the `PermissionServiceV3List` operationId).

func (*Client) PermissionServiceV3Update

func (c *Client) PermissionServiceV3Update(ctx context.Context, permissionId string, body PermissionServiceV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3Update Update — обновление разрешения

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).

func (*Client) PermissionServiceV3UpdateWithBody

func (c *Client) PermissionServiceV3UpdateWithBody(ctx context.Context, permissionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionServiceV3UpdateWithBody Update — обновление разрешения

Takes any type of body and a specified content type.

Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).

func (*Client) PermissionsServiceBulkEvaluate

func (c *Client) PermissionsServiceBulkEvaluate(ctx context.Context, body PermissionsServiceBulkEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionsServiceBulkEvaluate BulkEvaluate — выполняет массовую операцию проверки. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает список результатов проверки для списка запросов Порядок результатов в ответе не определен

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).

func (*Client) PermissionsServiceBulkEvaluateWithBody

func (c *Client) PermissionsServiceBulkEvaluateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionsServiceBulkEvaluateWithBody BulkEvaluate — выполняет массовую операцию проверки. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает список результатов проверки для списка запросов Порядок результатов в ответе не определен

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).

func (*Client) PermissionsServiceEvaluate

func (c *Client) PermissionsServiceEvaluate(ctx context.Context, params *PermissionsServiceEvaluateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

PermissionsServiceEvaluate Evaluate — проверка наличия у субъекта разрешений на выполнение действия над объектом. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает код состояния 403, если субъекту не разрешено выполнять действие над объектом или субъекту из токена не разрешено выполнять проверку для переданных данных запроса

Corresponds with GET /api/v1/permissions/evaluate (the `PermissionsServiceEvaluate` operationId).

func (*Client) ProductServiceGet

func (c *Client) ProductServiceGet(ctx context.Context, productCode string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProductServiceGet Get — получение продукта

Corresponds with GET /api/v1/products/{productCode} (the `ProductServiceGet` operationId).

func (*Client) ProductServiceList

func (c *Client) ProductServiceList(ctx context.Context, params *ProductServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProductServiceList List — получение списка продуктов

Corresponds with GET /api/v1/products (the `ProductServiceList` operationId).

func (*Client) ProjectsServiceListUsers

func (c *Client) ProjectsServiceListUsers(ctx context.Context, projectId string, params *ProjectsServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectsServiceListUsers ListUsers — получение списка пользователей, имеющих права в проекте

Corresponds with GET /api/v1/projects/{projectId}/users (the `ProjectsServiceListUsers` operationId).

func (*Client) RoleServiceApplySpec

func (c *Client) RoleServiceApplySpec(ctx context.Context, body RoleServiceApplySpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceApplySpec ApplySpec — применение спецификации роли в формате yaml

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).

func (*Client) RoleServiceApplySpecWithBody

func (c *Client) RoleServiceApplySpecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceApplySpecWithBody ApplySpec — применение спецификации роли в формате yaml

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).

func (*Client) RoleServiceCreate

func (c *Client) RoleServiceCreate(ctx context.Context, body RoleServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceCreate Create — создание роли

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).

func (*Client) RoleServiceCreateWithBody

func (c *Client) RoleServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceCreateWithBody Create — создание роли

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).

func (*Client) RoleServiceDelete

func (c *Client) RoleServiceDelete(ctx context.Context, roleId string, params *RoleServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceDelete Delete — удаление роли

Corresponds with DELETE /api/v1/roles/{roleId} (the `RoleServiceDelete` operationId).

func (*Client) RoleServiceGet

func (c *Client) RoleServiceGet(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceGet Get — получение роли

Corresponds with GET /api/v1/roles/{roleId} (the `RoleServiceGet` operationId).

func (*Client) RoleServiceGetSpec

func (c *Client) RoleServiceGetSpec(ctx context.Context, roleId string, body RoleServiceGetSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceGetSpec GetSpec — получение спецификации роли в формате yaml

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).

func (*Client) RoleServiceGetSpecWithBody

func (c *Client) RoleServiceGetSpecWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceGetSpecWithBody GetSpec — получение спецификации роли в формате yaml

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).

func (*Client) RoleServiceList

func (c *Client) RoleServiceList(ctx context.Context, params *RoleServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceList List — получение списка ролей

Corresponds with GET /api/v1/roles (the `RoleServiceList` operationId).

func (*Client) RoleServiceUpdate

func (c *Client) RoleServiceUpdate(ctx context.Context, roleId string, body RoleServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceUpdate Update — обновление роли

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).

func (*Client) RoleServiceUpdateWithBody

func (c *Client) RoleServiceUpdateWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RoleServiceUpdateWithBody Update — обновление роли

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).

func (*Client) ServiceAccountServiceV2Create

func (c *Client) ServiceAccountServiceV2Create(ctx context.Context, body ServiceAccountServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2Create Create — создание нового сервисного аккаунта

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).

func (*Client) ServiceAccountServiceV2CreateWithBody

func (c *Client) ServiceAccountServiceV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2CreateWithBody Create — создание нового сервисного аккаунта

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).

func (*Client) ServiceAccountServiceV2Delete

func (c *Client) ServiceAccountServiceV2Delete(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2Delete Delete — удаление сервисного аккаунта

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Delete` operationId).

func (*Client) ServiceAccountServiceV2Get

func (c *Client) ServiceAccountServiceV2Get(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2Get Get - получение сервисного аккаунта

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Get` operationId).

func (*Client) ServiceAccountServiceV2List

func (c *Client) ServiceAccountServiceV2List(ctx context.Context, params *ServiceAccountServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2List List — получение списка сервисных аккаунтов

Corresponds with GET /api/v2/serviceAccounts (the `ServiceAccountServiceV2List` operationId).

func (*Client) ServiceAccountServiceV2Update

func (c *Client) ServiceAccountServiceV2Update(ctx context.Context, serviceAccountId string, body ServiceAccountServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2Update Update — обновление сущности сервисного аккаунта

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).

func (*Client) ServiceAccountServiceV2UpdateWithBody

func (c *Client) ServiceAccountServiceV2UpdateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ServiceAccountServiceV2UpdateWithBody Update — обновление сущности сервисного аккаунта

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).

func (*Client) UserServiceCreate

func (c *Client) UserServiceCreate(ctx context.Context, body UserServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceCreate Create — создание пользователя Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).

func (*Client) UserServiceCreateWithBody

func (c *Client) UserServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceCreateWithBody Create — создание пользователя Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).

func (*Client) UserServiceDelete

func (c *Client) UserServiceDelete(ctx context.Context, userId string, params *UserServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceDelete Delete — удаление пользователя Локальный пользователь только удаляется из организации, но остается в системе Федеративный пользователь удаляется полностью

Corresponds with DELETE /api/v1/users/{userId} (the `UserServiceDelete` operationId).

func (*Client) UserServiceGet

func (c *Client) UserServiceGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceGet Get — получение пользователя

Corresponds with GET /api/v1/users/{userId} (the `UserServiceGet` operationId).

func (*Client) UserServiceList

func (c *Client) UserServiceList(ctx context.Context, params *UserServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceList List — получение списка пользователей

Corresponds with GET /api/v1/users (the `UserServiceList` operationId).

func (*Client) UserServiceListGroups

func (c *Client) UserServiceListGroups(ctx context.Context, userId string, params *UserServiceListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceListGroups ListGroups — получение списка групп пользователя

Corresponds with GET /api/v1/users/{userId}:listGroups (the `UserServiceListGroups` operationId).

func (*Client) UserServiceUpdate

func (c *Client) UserServiceUpdate(ctx context.Context, userId string, body UserServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceUpdate Update — обновление пользователя. Обновление поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).

func (*Client) UserServiceUpdateWithBody

func (c *Client) UserServiceUpdateWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceUpdateWithBody Update — обновление пользователя. Обновление поддерживается только для федеративных пользователей

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).

func (*Client) UserServiceV2Create

func (c *Client) UserServiceV2Create(ctx context.Context, body UserServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2Create Create — создание пользователя. Создает пользователя, если он не существует, и добавляет его в организацию

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).

func (*Client) UserServiceV2CreateWithBody

func (c *Client) UserServiceV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2CreateWithBody Create — создание пользователя. Создает пользователя, если он не существует, и добавляет его в организацию

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).

func (*Client) UserServiceV2Delete

func (c *Client) UserServiceV2Delete(ctx context.Context, userId string, params *UserServiceV2DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2Delete Delete — удаление пользователя из организации. Локальный пользователь останется в системе. Федеративный пользователь будет удален полностью

Corresponds with DELETE /api/v2/users/{userId} (the `UserServiceV2Delete` operationId).

func (*Client) UserServiceV2Get

func (c *Client) UserServiceV2Get(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2Get Get — получение пользователя

Corresponds with GET /api/v2/users/{userId} (the `UserServiceV2Get` operationId).

func (*Client) UserServiceV2List

func (c *Client) UserServiceV2List(ctx context.Context, params *UserServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2List List — получение списка пользователей

Corresponds with GET /api/v2/users (the `UserServiceV2List` operationId).

func (*Client) UserServiceV2Update

func (c *Client) UserServiceV2Update(ctx context.Context, userId string, body UserServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2Update Update — частичное обновление пользователя. Поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).

func (*Client) UserServiceV2UpdateWithBody

func (c *Client) UserServiceV2UpdateWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceV2UpdateWithBody Update — частичное обновление пользователя. Поддерживается только для федеративных пользователей

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).

type ClientInterface

type ClientInterface interface {

	// ActionServiceList List — получение списка действий
	//
	// Corresponds with GET /api/v1/actions (the `ActionServiceList` operationId).
	ActionServiceList(ctx context.Context, params *ActionServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionServiceGet Get — получение действия
	//
	// Corresponds with GET /api/v1/actions/{actionName} (the `ActionServiceGet` operationId).
	ActionServiceGet(ctx context.Context, actionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceGetTokenWithBody GetToken — получение токена по указанным учетным данным
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).
	AuthServiceGetTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceGetToken GetToken — получение токена по указанным учетным данным
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).
	AuthServiceGetToken(ctx context.Context, body AuthServiceGetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceListUsers ListUsers — получение списка пользователей организации
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users (the `CustomersServiceListUsers` operationId).
	CustomersServiceListUsers(ctx context.Context, customerId string, params *CustomersServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceInviteUserWithBody InviteUser — приглашение пользователя в организацию
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).
	CustomersServiceInviteUserWithBody(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceInviteUser InviteUser — приглашение пользователя в организацию
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).
	CustomersServiceInviteUser(ctx context.Context, customerId string, body CustomersServiceInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceFindUser FindUser — поиск пользователя организации по email
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users/find (the `CustomersServiceFindUser` operationId).
	CustomersServiceFindUser(ctx context.Context, customerId string, params *CustomersServiceFindUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceReInviteUserWithBody ReInviteUser — повторное приглашение пользователя в организацию
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).
	CustomersServiceReInviteUserWithBody(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceReInviteUser ReInviteUser — повторное приглашение пользователя в организацию
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).
	CustomersServiceReInviteUser(ctx context.Context, customerId string, body CustomersServiceReInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceGetUser GetUser — получение пользователя организации
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceGetUser` operationId).
	CustomersServiceGetUser(ctx context.Context, customerId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceUpdateUserWithBody UpdateUser — обновление пользователя организации
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).
	CustomersServiceUpdateUserWithBody(ctx context.Context, customerId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomersServiceUpdateUser UpdateUser — обновление пользователя организации
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).
	CustomersServiceUpdateUser(ctx context.Context, customerId string, userId string, body CustomersServiceUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupsServiceList List — получение списка групп
	//
	// Corresponds with GET /api/v1/groups (the `GroupsServiceList` operationId).
	GroupsServiceList(ctx context.Context, params *GroupsServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupsServiceListUsers ListUsers — получение пользователей, являющихся участниками группы
	//
	// Corresponds with GET /api/v1/groups/{groupId}/users (the `GroupsServiceListUsers` operationId).
	GroupsServiceListUsers(ctx context.Context, groupId string, params *GroupsServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupsServiceUpdateWithBody Update — обновление группы
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).
	GroupsServiceUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupsServiceUpdate Update — обновление группы
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).
	GroupsServiceUpdate(ctx context.Context, id string, body GroupsServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MeServiceAcceptInvite AcceptInvite — принятие приглашения в организацию
	//
	// Corresponds with PUT /api/v1/me/accept_invite (the `MeServiceAcceptInvite` operationId).
	MeServiceAcceptInvite(ctx context.Context, params *MeServiceAcceptInviteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MeServiceDeclineInvite DeclineInvite — отклонение приглашения в организацию
	//
	// Corresponds with PUT /api/v1/me/decline_invite (the `MeServiceDeclineInvite` operationId).
	MeServiceDeclineInvite(ctx context.Context, params *MeServiceDeclineInviteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionsServiceBulkEvaluateWithBody BulkEvaluate — выполняет массовую операцию проверки.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает список результатов проверки для списка запросов
	// Порядок результатов в ответе не определен
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).
	PermissionsServiceBulkEvaluateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionsServiceBulkEvaluate BulkEvaluate — выполняет массовую операцию проверки.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает список результатов проверки для списка запросов
	// Порядок результатов в ответе не определен
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).
	PermissionsServiceBulkEvaluate(ctx context.Context, body PermissionsServiceBulkEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionsServiceEvaluate Evaluate — проверка наличия у субъекта разрешений на выполнение действия над объектом.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает код состояния 403, если субъекту не разрешено выполнять действие над объектом
	// или субъекту из токена не разрешено выполнять проверку для переданных данных запроса
	//
	// Corresponds with GET /api/v1/permissions/evaluate (the `PermissionsServiceEvaluate` operationId).
	PermissionsServiceEvaluate(ctx context.Context, params *PermissionsServiceEvaluateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProductServiceList List — получение списка продуктов
	//
	// Corresponds with GET /api/v1/products (the `ProductServiceList` operationId).
	ProductServiceList(ctx context.Context, params *ProductServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProductServiceGet Get — получение продукта
	//
	// Corresponds with GET /api/v1/products/{productCode} (the `ProductServiceGet` operationId).
	ProductServiceGet(ctx context.Context, productCode string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsServiceListUsers ListUsers — получение списка пользователей, имеющих права в проекте
	//
	// Corresponds with GET /api/v1/projects/{projectId}/users (the `ProjectsServiceListUsers` operationId).
	ProjectsServiceListUsers(ctx context.Context, projectId string, params *ProjectsServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceList List — получение списка ролей
	//
	// Corresponds with GET /api/v1/roles (the `RoleServiceList` operationId).
	RoleServiceList(ctx context.Context, params *RoleServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceCreateWithBody Create — создание роли
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).
	RoleServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceCreate Create — создание роли
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).
	RoleServiceCreate(ctx context.Context, body RoleServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceDelete Delete — удаление роли
	//
	// Corresponds with DELETE /api/v1/roles/{roleId} (the `RoleServiceDelete` operationId).
	RoleServiceDelete(ctx context.Context, roleId string, params *RoleServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceGet Get — получение роли
	//
	// Corresponds with GET /api/v1/roles/{roleId} (the `RoleServiceGet` operationId).
	RoleServiceGet(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceUpdateWithBody Update — обновление роли
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).
	RoleServiceUpdateWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceUpdate Update — обновление роли
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).
	RoleServiceUpdate(ctx context.Context, roleId string, body RoleServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceGetSpecWithBody GetSpec — получение спецификации роли в формате yaml
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).
	RoleServiceGetSpecWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceGetSpec GetSpec — получение спецификации роли в формате yaml
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).
	RoleServiceGetSpec(ctx context.Context, roleId string, body RoleServiceGetSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceApplySpecWithBody ApplySpec — применение спецификации роли в формате yaml
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).
	RoleServiceApplySpecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoleServiceApplySpec ApplySpec — применение спецификации роли в формате yaml
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).
	RoleServiceApplySpec(ctx context.Context, body RoleServiceApplySpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyCredentialsServiceDelete Delete — удаление ключа доступа по ID ключа для сервисного аккаунта
	//
	// Corresponds with DELETE /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceDelete` operationId).
	AccessKeyCredentialsServiceDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyCredentialsServiceGet Get — получение информации о ключе доступа по ID для сервисного аккаунта
	//
	// Corresponds with GET /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceGet` operationId).
	AccessKeyCredentialsServiceGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyCredentialsServiceUpdate Update — обновление ключа доступа
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceUpdate` operationId).
	AccessKeyCredentialsServiceUpdate(ctx context.Context, id string, params *AccessKeyCredentialsServiceUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceDelete Delete — удаляет API-ключ
	//
	// Corresponds with DELETE /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceDelete` operationId).
	APIKeyServiceDelete(ctx context.Context, params *APIKeyServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceUpdateWithBody Update — обновляет API-ключ
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).
	APIKeyServiceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceUpdate Update — обновляет API-ключ
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).
	APIKeyServiceUpdate(ctx context.Context, body APIKeyServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceGet Get — возвращает API-ключ
	//
	// Corresponds with GET /api/v1/service-accounts/credentials/api-keys/{id} (the `APIKeyServiceGet` operationId).
	APIKeyServiceGet(ctx context.Context, id string, params *APIKeyServiceGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceReissue Reissue — перевыпускает API-ключ
	//
	// Corresponds with POST /api/v1/service-accounts/credentials/api-keys/{id}/reissue (the `APIKeyServiceReissue` operationId).
	APIKeyServiceReissue(ctx context.Context, id string, params *APIKeyServiceReissueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceList List — получение списка пользователей
	//
	// Corresponds with GET /api/v1/users (the `UserServiceList` operationId).
	UserServiceList(ctx context.Context, params *UserServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceCreateWithBody Create — создание пользователя
	// Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации
	// Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).
	UserServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceCreate Create — создание пользователя
	// Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации
	// Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).
	UserServiceCreate(ctx context.Context, body UserServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceDelete Delete — удаление пользователя
	// Локальный пользователь только удаляется из организации, но остается в системе
	// Федеративный пользователь удаляется полностью
	//
	// Corresponds with DELETE /api/v1/users/{userId} (the `UserServiceDelete` operationId).
	UserServiceDelete(ctx context.Context, userId string, params *UserServiceDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceGet Get — получение пользователя
	//
	// Corresponds with GET /api/v1/users/{userId} (the `UserServiceGet` operationId).
	UserServiceGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceUpdateWithBody Update — обновление пользователя.
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).
	UserServiceUpdateWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceUpdate Update — обновление пользователя.
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).
	UserServiceUpdate(ctx context.Context, userId string, body UserServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceListGroups ListGroups — получение списка групп пользователя
	//
	// Corresponds with GET /api/v1/users/{userId}:listGroups (the `UserServiceListGroups` operationId).
	UserServiceListGroups(ctx context.Context, userId string, params *UserServiceListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceV2ImpersonateWithBody Impersonate — выпуск токена сервисного аккаунта без его ключей
	//
	// Выпускает токен доступа сервисного аккаунта без его ключей доступа.
	// Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт.
	// Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).
	AuthServiceV2ImpersonateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceV2Impersonate Impersonate — выпуск токена сервисного аккаунта без его ключей
	//
	// Выпускает токен доступа сервисного аккаунта без его ключей доступа.
	// Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт.
	// Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).
	AuthServiceV2Impersonate(ctx context.Context, body AuthServiceV2ImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceV2GetTokenWithBody GetToken — получение токена по указанным учетным данным
	//
	// Выпускает токен по ключу доступа.
	// Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).
	AuthServiceV2GetTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthServiceV2GetToken GetToken — получение токена по указанным учетным данным
	//
	// Выпускает токен по ключу доступа.
	// Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).
	AuthServiceV2GetToken(ctx context.Context, body AuthServiceV2GetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceList List — получение списка групп
	//
	// Corresponds with GET /api/v2/groups (the `GroupServiceList` operationId).
	GroupServiceList(ctx context.Context, params *GroupServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceCreateWithBody Create — создание новой группы
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).
	GroupServiceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceCreate Create — создание новой группы
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).
	GroupServiceCreate(ctx context.Context, body GroupServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceDelete Delete — удаление группы
	//
	// Corresponds with DELETE /api/v2/groups/{groupId} (the `GroupServiceDelete` operationId).
	GroupServiceDelete(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceGet Get — получение группы по идентификатору
	//
	// Corresponds with GET /api/v2/groups/{groupId} (the `GroupServiceGet` operationId).
	GroupServiceGet(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceUpdateWithBody Update — обновление группы
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).
	GroupServiceUpdateWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceUpdate Update — обновление группы
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).
	GroupServiceUpdate(ctx context.Context, groupId string, body GroupServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceAddUserWithBody AddUser — добавление пользователя в группу
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).
	GroupServiceAddUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceAddUser AddUser — добавление пользователя в группу
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).
	GroupServiceAddUser(ctx context.Context, groupId string, body GroupServiceAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceDeleteUserWithBody DeleteUser — удаление пользователя из группы
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).
	GroupServiceDeleteUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceDeleteUser DeleteUser — удаление пользователя из группы
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).
	GroupServiceDeleteUser(ctx context.Context, groupId string, body GroupServiceDeleteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceHasUser HasUser — проверка, является ли пользователь участником группы
	//
	// Corresponds with GET /api/v2/groups/{groupId}:hasUser (the `GroupServiceHasUser` operationId).
	GroupServiceHasUser(ctx context.Context, groupId string, params *GroupServiceHasUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceListUsers ListUsers — получение пользователей, являющихся участниками группы
	//
	// Corresponds with GET /api/v2/groups/{groupId}:listUsers (the `GroupServiceListUsers` operationId).
	GroupServiceListUsers(ctx context.Context, groupId string, params *GroupServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceSetUsersWithBody SetUsers — добавление пользователей в группу с удалением всех существующих членств
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).
	GroupServiceSetUsersWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GroupServiceSetUsers SetUsers — добавление пользователей в группу с удалением всех существующих членств
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).
	GroupServiceSetUsers(ctx context.Context, groupId string, body GroupServiceSetUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2List List — получение списка сервисных аккаунтов
	//
	// Corresponds with GET /api/v2/serviceAccounts (the `ServiceAccountServiceV2List` operationId).
	ServiceAccountServiceV2List(ctx context.Context, params *ServiceAccountServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2CreateWithBody Create — создание нового сервисного аккаунта
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).
	ServiceAccountServiceV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2Create Create — создание нового сервисного аккаунта
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).
	ServiceAccountServiceV2Create(ctx context.Context, body ServiceAccountServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyProductServiceList List — возвращает список продуктов, для которых могут быть выпущены API-ключи
	//
	// Corresponds with GET /api/v2/serviceAccounts/apiKeys/products (the `APIKeyProductServiceList` operationId).
	APIKeyProductServiceList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2Delete Delete — удаление сервисного аккаунта
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Delete` operationId).
	ServiceAccountServiceV2Delete(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2Get Get - получение сервисного аккаунта
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Get` operationId).
	ServiceAccountServiceV2Get(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2UpdateWithBody Update — обновление сущности сервисного аккаунта
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).
	ServiceAccountServiceV2UpdateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServiceAccountServiceV2Update Update — обновление сущности сервисного аккаунта
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).
	ServiceAccountServiceV2Update(ctx context.Context, serviceAccountId string, body ServiceAccountServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceList List — получение списка ключей доступа сервисного аккаунта
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceList` operationId).
	AccessKeyServiceList(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceCreateWithBody Create — создает новый ключ доступа
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).
	AccessKeyServiceCreateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceCreate Create — создает новый ключ доступа
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).
	AccessKeyServiceCreate(ctx context.Context, serviceAccountId string, body AccessKeyServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceDelete Delete — удаление ключа доступа сервисного аккаунта
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceDelete` operationId).
	AccessKeyServiceDelete(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceGet Get — получение ключа доступа
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceGet` operationId).
	AccessKeyServiceGet(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AccessKeyServiceUpdate Update — обновление ключа доступа
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceUpdate` operationId).
	AccessKeyServiceUpdate(ctx context.Context, serviceAccountId string, accessKeyId string, params *AccessKeyServiceUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2List List — получение списка API-ключей сервисного аккаунта
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2List` operationId).
	APIKeyServiceV2List(ctx context.Context, serviceAccountId string, params *APIKeyServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2CreateWithBody Create — создание API-ключа сервисного аккаунта
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).
	APIKeyServiceV2CreateWithBody(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2Create Create — создание API-ключа сервисного аккаунта
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).
	APIKeyServiceV2Create(ctx context.Context, serviceAccountId string, body APIKeyServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2Delete Delete — удаление API-ключа
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Delete` operationId).
	APIKeyServiceV2Delete(ctx context.Context, serviceAccountId string, apiKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2Get Get — получение API-ключа
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Get` operationId).
	APIKeyServiceV2Get(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2GetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2UpdateWithBody Update — обновление API-ключа
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).
	APIKeyServiceV2UpdateWithBody(ctx context.Context, serviceAccountId string, apiKeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2Update Update — обновление API-ключа
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).
	APIKeyServiceV2Update(ctx context.Context, serviceAccountId string, apiKeyId string, body APIKeyServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeyServiceV2Reissue Reissue — перевыпуск API-ключа
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId}:reissue (the `APIKeyServiceV2Reissue` operationId).
	APIKeyServiceV2Reissue(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2ReissueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2List List — получение списка пользователей
	//
	// Corresponds with GET /api/v2/users (the `UserServiceV2List` operationId).
	UserServiceV2List(ctx context.Context, params *UserServiceV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2CreateWithBody Create — создание пользователя.
	// Создает пользователя, если он не существует,
	// и добавляет его в организацию
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).
	UserServiceV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2Create Create — создание пользователя.
	// Создает пользователя, если он не существует,
	// и добавляет его в организацию
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).
	UserServiceV2Create(ctx context.Context, body UserServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2Delete Delete — удаление пользователя из организации.
	// Локальный пользователь останется в системе.
	// Федеративный пользователь будет удален полностью
	//
	// Corresponds with DELETE /api/v2/users/{userId} (the `UserServiceV2Delete` operationId).
	UserServiceV2Delete(ctx context.Context, userId string, params *UserServiceV2DeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2Get Get — получение пользователя
	//
	// Corresponds with GET /api/v2/users/{userId} (the `UserServiceV2Get` operationId).
	UserServiceV2Get(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2UpdateWithBody Update — частичное обновление пользователя.
	// Поддерживается только для федеративных
	// пользователей
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).
	UserServiceV2UpdateWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceV2Update Update — частичное обновление пользователя.
	// Поддерживается только для федеративных
	// пользователей
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).
	UserServiceV2Update(ctx context.Context, userId string, body UserServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3List List — получение списка разрешений по фильтру
	//
	// Corresponds with GET /api/v3/permissions (the `PermissionServiceV3List` operationId).
	PermissionServiceV3List(ctx context.Context, params *PermissionServiceV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3CreateWithBody Create — создание разрешения
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).
	PermissionServiceV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3Create Create — создание разрешения
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).
	PermissionServiceV3Create(ctx context.Context, body PermissionServiceV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3Delete Delete — удаление разрешения
	//
	// Corresponds with DELETE /api/v3/permissions/{permissionId} (the `PermissionServiceV3Delete` operationId).
	PermissionServiceV3Delete(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3Get Get — получение разрешения по идентификатору
	//
	// Corresponds with GET /api/v3/permissions/{permissionId} (the `PermissionServiceV3Get` operationId).
	PermissionServiceV3Get(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3UpdateWithBody Update — обновление разрешения
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).
	PermissionServiceV3UpdateWithBody(ctx context.Context, permissionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionServiceV3Update Update — обновление разрешения
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).
	PermissionServiceV3Update(ctx context.Context, permissionId string, body PermissionServiceV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) APIKeyProductServiceListWithResponse

func (c *ClientWithResponses) APIKeyProductServiceListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIKeyProductServiceListResponse, error)

APIKeyProductServiceListWithResponse List — возвращает список продуктов, для которых могут быть выпущены API-ключи

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/apiKeys/products (the `APIKeyProductServiceList` operationId).

func (*ClientWithResponses) APIKeyServiceDeleteWithResponse

func (c *ClientWithResponses) APIKeyServiceDeleteWithResponse(ctx context.Context, params *APIKeyServiceDeleteParams, reqEditors ...RequestEditorFn) (*APIKeyServiceDeleteResponse, error)

APIKeyServiceDeleteWithResponse Delete — удаляет API-ключ

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceDelete` operationId).

func (*ClientWithResponses) APIKeyServiceGetWithResponse

func (c *ClientWithResponses) APIKeyServiceGetWithResponse(ctx context.Context, id string, params *APIKeyServiceGetParams, reqEditors ...RequestEditorFn) (*APIKeyServiceGetResponse, error)

APIKeyServiceGetWithResponse Get — возвращает API-ключ

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/service-accounts/credentials/api-keys/{id} (the `APIKeyServiceGet` operationId).

func (*ClientWithResponses) APIKeyServiceReissueWithResponse

func (c *ClientWithResponses) APIKeyServiceReissueWithResponse(ctx context.Context, id string, params *APIKeyServiceReissueParams, reqEditors ...RequestEditorFn) (*APIKeyServiceReissueResponse, error)

APIKeyServiceReissueWithResponse Reissue — перевыпускает API-ключ

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/service-accounts/credentials/api-keys/{id}/reissue (the `APIKeyServiceReissue` operationId).

func (*ClientWithResponses) APIKeyServiceUpdateWithBodyWithResponse

func (c *ClientWithResponses) APIKeyServiceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceUpdateResponse, error)

APIKeyServiceUpdateWithBodyWithResponse Update — обновляет API-ключ

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).

func (*ClientWithResponses) APIKeyServiceUpdateWithResponse

func (c *ClientWithResponses) APIKeyServiceUpdateWithResponse(ctx context.Context, body APIKeyServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceUpdateResponse, error)

APIKeyServiceUpdateWithResponse Update — обновляет API-ключ

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).

func (*ClientWithResponses) APIKeyServiceV2CreateWithBodyWithResponse

func (c *ClientWithResponses) APIKeyServiceV2CreateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceV2CreateResponse, error)

APIKeyServiceV2CreateWithBodyWithResponse Create — создание API-ключа сервисного аккаунта

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).

func (*ClientWithResponses) APIKeyServiceV2CreateWithResponse

func (c *ClientWithResponses) APIKeyServiceV2CreateWithResponse(ctx context.Context, serviceAccountId string, body APIKeyServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceV2CreateResponse, error)

APIKeyServiceV2CreateWithResponse Create — создание API-ключа сервисного аккаунта

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).

func (*ClientWithResponses) APIKeyServiceV2DeleteWithResponse

func (c *ClientWithResponses) APIKeyServiceV2DeleteWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, reqEditors ...RequestEditorFn) (*APIKeyServiceV2DeleteResponse, error)

APIKeyServiceV2DeleteWithResponse Delete — удаление API-ключа

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Delete` operationId).

func (*ClientWithResponses) APIKeyServiceV2GetWithResponse

func (c *ClientWithResponses) APIKeyServiceV2GetWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2GetParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2GetResponse, error)

APIKeyServiceV2GetWithResponse Get — получение API-ключа

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Get` operationId).

func (*ClientWithResponses) APIKeyServiceV2ListWithResponse

func (c *ClientWithResponses) APIKeyServiceV2ListWithResponse(ctx context.Context, serviceAccountId string, params *APIKeyServiceV2ListParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2ListResponse, error)

APIKeyServiceV2ListWithResponse List — получение списка API-ключей сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2List` operationId).

func (*ClientWithResponses) APIKeyServiceV2ReissueWithResponse

func (c *ClientWithResponses) APIKeyServiceV2ReissueWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2ReissueParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2ReissueResponse, error)

APIKeyServiceV2ReissueWithResponse Reissue — перевыпуск API-ключа

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId}:reissue (the `APIKeyServiceV2Reissue` operationId).

func (*ClientWithResponses) APIKeyServiceV2UpdateWithBodyWithResponse

func (c *ClientWithResponses) APIKeyServiceV2UpdateWithBodyWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceV2UpdateResponse, error)

APIKeyServiceV2UpdateWithBodyWithResponse Update — обновление API-ключа

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).

func (*ClientWithResponses) APIKeyServiceV2UpdateWithResponse

func (c *ClientWithResponses) APIKeyServiceV2UpdateWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, body APIKeyServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceV2UpdateResponse, error)

APIKeyServiceV2UpdateWithResponse Update — обновление API-ключа

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).

func (*ClientWithResponses) AccessKeyCredentialsServiceDeleteWithResponse

func (c *ClientWithResponses) AccessKeyCredentialsServiceDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceDeleteResponse, error)

AccessKeyCredentialsServiceDeleteWithResponse Delete — удаление ключа доступа по ID ключа для сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceDelete` operationId).

func (*ClientWithResponses) AccessKeyCredentialsServiceGetWithResponse

func (c *ClientWithResponses) AccessKeyCredentialsServiceGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceGetResponse, error)

AccessKeyCredentialsServiceGetWithResponse Get — получение информации о ключе доступа по ID для сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceGet` operationId).

func (*ClientWithResponses) AccessKeyCredentialsServiceUpdateWithResponse

func (c *ClientWithResponses) AccessKeyCredentialsServiceUpdateWithResponse(ctx context.Context, id string, params *AccessKeyCredentialsServiceUpdateParams, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceUpdateResponse, error)

AccessKeyCredentialsServiceUpdateWithResponse Update — обновление ключа доступа

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceUpdate` operationId).

func (*ClientWithResponses) AccessKeyServiceCreateWithBodyWithResponse

func (c *ClientWithResponses) AccessKeyServiceCreateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccessKeyServiceCreateResponse, error)

AccessKeyServiceCreateWithBodyWithResponse Create — создает новый ключ доступа

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).

func (*ClientWithResponses) AccessKeyServiceCreateWithResponse

func (c *ClientWithResponses) AccessKeyServiceCreateWithResponse(ctx context.Context, serviceAccountId string, body AccessKeyServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AccessKeyServiceCreateResponse, error)

AccessKeyServiceCreateWithResponse Create — создает новый ключ доступа

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).

func (*ClientWithResponses) AccessKeyServiceDeleteWithResponse

func (c *ClientWithResponses) AccessKeyServiceDeleteWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceDeleteResponse, error)

AccessKeyServiceDeleteWithResponse Delete — удаление ключа доступа сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceDelete` operationId).

func (*ClientWithResponses) AccessKeyServiceGetWithResponse

func (c *ClientWithResponses) AccessKeyServiceGetWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceGetResponse, error)

AccessKeyServiceGetWithResponse Get — получение ключа доступа

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceGet` operationId).

func (*ClientWithResponses) AccessKeyServiceListWithResponse

func (c *ClientWithResponses) AccessKeyServiceListWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceListResponse, error)

AccessKeyServiceListWithResponse List — получение списка ключей доступа сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceList` operationId).

func (*ClientWithResponses) AccessKeyServiceUpdateWithResponse

func (c *ClientWithResponses) AccessKeyServiceUpdateWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, params *AccessKeyServiceUpdateParams, reqEditors ...RequestEditorFn) (*AccessKeyServiceUpdateResponse, error)

AccessKeyServiceUpdateWithResponse Update — обновление ключа доступа

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceUpdate` operationId).

func (*ClientWithResponses) ActionServiceGetWithResponse

func (c *ClientWithResponses) ActionServiceGetWithResponse(ctx context.Context, actionName string, reqEditors ...RequestEditorFn) (*ActionServiceGetResponse, error)

ActionServiceGetWithResponse Get — получение действия

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/actions/{actionName} (the `ActionServiceGet` operationId).

func (*ClientWithResponses) ActionServiceListWithResponse

func (c *ClientWithResponses) ActionServiceListWithResponse(ctx context.Context, params *ActionServiceListParams, reqEditors ...RequestEditorFn) (*ActionServiceListResponse, error)

ActionServiceListWithResponse List — получение списка действий

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/actions (the `ActionServiceList` operationId).

func (*ClientWithResponses) AuthServiceGetTokenWithBodyWithResponse

func (c *ClientWithResponses) AuthServiceGetTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceGetTokenResponse, error)

AuthServiceGetTokenWithBodyWithResponse GetToken — получение токена по указанным учетным данным

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).

func (*ClientWithResponses) AuthServiceGetTokenWithResponse

func (c *ClientWithResponses) AuthServiceGetTokenWithResponse(ctx context.Context, body AuthServiceGetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceGetTokenResponse, error)

AuthServiceGetTokenWithResponse GetToken — получение токена по указанным учетным данным

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).

func (*ClientWithResponses) AuthServiceV2GetTokenWithBodyWithResponse

func (c *ClientWithResponses) AuthServiceV2GetTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceV2GetTokenResponse, error)

AuthServiceV2GetTokenWithBodyWithResponse GetToken — получение токена по указанным учетным данным

Выпускает токен по ключу доступа. Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).

func (*ClientWithResponses) AuthServiceV2GetTokenWithResponse

func (c *ClientWithResponses) AuthServiceV2GetTokenWithResponse(ctx context.Context, body AuthServiceV2GetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceV2GetTokenResponse, error)

AuthServiceV2GetTokenWithResponse GetToken — получение токена по указанным учетным данным

Выпускает токен по ключу доступа. Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).

func (*ClientWithResponses) AuthServiceV2ImpersonateWithBodyWithResponse

func (c *ClientWithResponses) AuthServiceV2ImpersonateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceV2ImpersonateResponse, error)

AuthServiceV2ImpersonateWithBodyWithResponse Impersonate — выпуск токена сервисного аккаунта без его ключей

Выпускает токен доступа сервисного аккаунта без его ключей доступа. Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт. Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).

func (*ClientWithResponses) AuthServiceV2ImpersonateWithResponse

func (c *ClientWithResponses) AuthServiceV2ImpersonateWithResponse(ctx context.Context, body AuthServiceV2ImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceV2ImpersonateResponse, error)

AuthServiceV2ImpersonateWithResponse Impersonate — выпуск токена сервисного аккаунта без его ключей

Выпускает токен доступа сервисного аккаунта без его ключей доступа. Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт. Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).

func (*ClientWithResponses) CustomersServiceFindUserWithResponse

func (c *ClientWithResponses) CustomersServiceFindUserWithResponse(ctx context.Context, customerId string, params *CustomersServiceFindUserParams, reqEditors ...RequestEditorFn) (*CustomersServiceFindUserResponse, error)

CustomersServiceFindUserWithResponse FindUser — поиск пользователя организации по email

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/customers/{customerId}/users/find (the `CustomersServiceFindUser` operationId).

func (*ClientWithResponses) CustomersServiceGetUserWithResponse

func (c *ClientWithResponses) CustomersServiceGetUserWithResponse(ctx context.Context, customerId string, userId string, reqEditors ...RequestEditorFn) (*CustomersServiceGetUserResponse, error)

CustomersServiceGetUserWithResponse GetUser — получение пользователя организации

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceGetUser` operationId).

func (*ClientWithResponses) CustomersServiceInviteUserWithBodyWithResponse

func (c *ClientWithResponses) CustomersServiceInviteUserWithBodyWithResponse(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceInviteUserResponse, error)

CustomersServiceInviteUserWithBodyWithResponse InviteUser — приглашение пользователя в организацию

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).

func (*ClientWithResponses) CustomersServiceInviteUserWithResponse

func (c *ClientWithResponses) CustomersServiceInviteUserWithResponse(ctx context.Context, customerId string, body CustomersServiceInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceInviteUserResponse, error)

CustomersServiceInviteUserWithResponse InviteUser — приглашение пользователя в организацию

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).

func (*ClientWithResponses) CustomersServiceListUsersWithResponse

func (c *ClientWithResponses) CustomersServiceListUsersWithResponse(ctx context.Context, customerId string, params *CustomersServiceListUsersParams, reqEditors ...RequestEditorFn) (*CustomersServiceListUsersResponse, error)

CustomersServiceListUsersWithResponse ListUsers — получение списка пользователей организации

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/customers/{customerId}/users (the `CustomersServiceListUsers` operationId).

func (*ClientWithResponses) CustomersServiceReInviteUserWithBodyWithResponse

func (c *ClientWithResponses) CustomersServiceReInviteUserWithBodyWithResponse(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceReInviteUserResponse, error)

CustomersServiceReInviteUserWithBodyWithResponse ReInviteUser — повторное приглашение пользователя в организацию

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).

func (*ClientWithResponses) CustomersServiceReInviteUserWithResponse

func (c *ClientWithResponses) CustomersServiceReInviteUserWithResponse(ctx context.Context, customerId string, body CustomersServiceReInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceReInviteUserResponse, error)

CustomersServiceReInviteUserWithResponse ReInviteUser — повторное приглашение пользователя в организацию

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).

func (*ClientWithResponses) CustomersServiceUpdateUserWithBodyWithResponse

func (c *ClientWithResponses) CustomersServiceUpdateUserWithBodyWithResponse(ctx context.Context, customerId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceUpdateUserResponse, error)

CustomersServiceUpdateUserWithBodyWithResponse UpdateUser — обновление пользователя организации Обновление поддерживается только для федеративных пользователей

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).

func (*ClientWithResponses) CustomersServiceUpdateUserWithResponse

func (c *ClientWithResponses) CustomersServiceUpdateUserWithResponse(ctx context.Context, customerId string, userId string, body CustomersServiceUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceUpdateUserResponse, error)

CustomersServiceUpdateUserWithResponse UpdateUser — обновление пользователя организации Обновление поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).

func (*ClientWithResponses) GroupServiceAddUserWithBodyWithResponse

func (c *ClientWithResponses) GroupServiceAddUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceAddUserResponse, error)

GroupServiceAddUserWithBodyWithResponse AddUser — добавление пользователя в группу

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).

func (*ClientWithResponses) GroupServiceAddUserWithResponse

func (c *ClientWithResponses) GroupServiceAddUserWithResponse(ctx context.Context, groupId string, body GroupServiceAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceAddUserResponse, error)

GroupServiceAddUserWithResponse AddUser — добавление пользователя в группу

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).

func (*ClientWithResponses) GroupServiceCreateWithBodyWithResponse

func (c *ClientWithResponses) GroupServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceCreateResponse, error)

GroupServiceCreateWithBodyWithResponse Create — создание новой группы

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).

func (*ClientWithResponses) GroupServiceCreateWithResponse

func (c *ClientWithResponses) GroupServiceCreateWithResponse(ctx context.Context, body GroupServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceCreateResponse, error)

GroupServiceCreateWithResponse Create — создание новой группы

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).

func (*ClientWithResponses) GroupServiceDeleteUserWithBodyWithResponse

func (c *ClientWithResponses) GroupServiceDeleteUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceDeleteUserResponse, error)

GroupServiceDeleteUserWithBodyWithResponse DeleteUser — удаление пользователя из группы

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).

func (*ClientWithResponses) GroupServiceDeleteUserWithResponse

func (c *ClientWithResponses) GroupServiceDeleteUserWithResponse(ctx context.Context, groupId string, body GroupServiceDeleteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceDeleteUserResponse, error)

GroupServiceDeleteUserWithResponse DeleteUser — удаление пользователя из группы

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).

func (*ClientWithResponses) GroupServiceDeleteWithResponse

func (c *ClientWithResponses) GroupServiceDeleteWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GroupServiceDeleteResponse, error)

GroupServiceDeleteWithResponse Delete — удаление группы

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/groups/{groupId} (the `GroupServiceDelete` operationId).

func (*ClientWithResponses) GroupServiceGetWithResponse

func (c *ClientWithResponses) GroupServiceGetWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GroupServiceGetResponse, error)

GroupServiceGetWithResponse Get — получение группы по идентификатору

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups/{groupId} (the `GroupServiceGet` operationId).

func (*ClientWithResponses) GroupServiceHasUserWithResponse

func (c *ClientWithResponses) GroupServiceHasUserWithResponse(ctx context.Context, groupId string, params *GroupServiceHasUserParams, reqEditors ...RequestEditorFn) (*GroupServiceHasUserResponse, error)

GroupServiceHasUserWithResponse HasUser — проверка, является ли пользователь участником группы

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups/{groupId}:hasUser (the `GroupServiceHasUser` operationId).

func (*ClientWithResponses) GroupServiceListUsersWithResponse

func (c *ClientWithResponses) GroupServiceListUsersWithResponse(ctx context.Context, groupId string, params *GroupServiceListUsersParams, reqEditors ...RequestEditorFn) (*GroupServiceListUsersResponse, error)

GroupServiceListUsersWithResponse ListUsers — получение пользователей, являющихся участниками группы

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups/{groupId}:listUsers (the `GroupServiceListUsers` operationId).

func (*ClientWithResponses) GroupServiceListWithResponse

func (c *ClientWithResponses) GroupServiceListWithResponse(ctx context.Context, params *GroupServiceListParams, reqEditors ...RequestEditorFn) (*GroupServiceListResponse, error)

GroupServiceListWithResponse List — получение списка групп

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups (the `GroupServiceList` operationId).

func (*ClientWithResponses) GroupServiceSetUsersWithBodyWithResponse

func (c *ClientWithResponses) GroupServiceSetUsersWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceSetUsersResponse, error)

GroupServiceSetUsersWithBodyWithResponse SetUsers — добавление пользователей в группу с удалением всех существующих членств

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).

func (*ClientWithResponses) GroupServiceSetUsersWithResponse

func (c *ClientWithResponses) GroupServiceSetUsersWithResponse(ctx context.Context, groupId string, body GroupServiceSetUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceSetUsersResponse, error)

GroupServiceSetUsersWithResponse SetUsers — добавление пользователей в группу с удалением всех существующих членств

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).

func (*ClientWithResponses) GroupServiceUpdateWithBodyWithResponse

func (c *ClientWithResponses) GroupServiceUpdateWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceUpdateResponse, error)

GroupServiceUpdateWithBodyWithResponse Update — обновление группы

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).

func (*ClientWithResponses) GroupServiceUpdateWithResponse

func (c *ClientWithResponses) GroupServiceUpdateWithResponse(ctx context.Context, groupId string, body GroupServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceUpdateResponse, error)

GroupServiceUpdateWithResponse Update — обновление группы

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).

func (*ClientWithResponses) GroupsServiceListUsersWithResponse

func (c *ClientWithResponses) GroupsServiceListUsersWithResponse(ctx context.Context, groupId string, params *GroupsServiceListUsersParams, reqEditors ...RequestEditorFn) (*GroupsServiceListUsersResponse, error)

GroupsServiceListUsersWithResponse ListUsers — получение пользователей, являющихся участниками группы

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/groups/{groupId}/users (the `GroupsServiceListUsers` operationId).

func (*ClientWithResponses) GroupsServiceListWithResponse

func (c *ClientWithResponses) GroupsServiceListWithResponse(ctx context.Context, params *GroupsServiceListParams, reqEditors ...RequestEditorFn) (*GroupsServiceListResponse, error)

GroupsServiceListWithResponse List — получение списка групп

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/groups (the `GroupsServiceList` operationId).

func (*ClientWithResponses) GroupsServiceUpdateWithBodyWithResponse

func (c *ClientWithResponses) GroupsServiceUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupsServiceUpdateResponse, error)

GroupsServiceUpdateWithBodyWithResponse Update — обновление группы

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).

func (*ClientWithResponses) GroupsServiceUpdateWithResponse

func (c *ClientWithResponses) GroupsServiceUpdateWithResponse(ctx context.Context, id string, body GroupsServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupsServiceUpdateResponse, error)

GroupsServiceUpdateWithResponse Update — обновление группы

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).

func (*ClientWithResponses) MeServiceAcceptInviteWithResponse

func (c *ClientWithResponses) MeServiceAcceptInviteWithResponse(ctx context.Context, params *MeServiceAcceptInviteParams, reqEditors ...RequestEditorFn) (*MeServiceAcceptInviteResponse, error)

MeServiceAcceptInviteWithResponse AcceptInvite — принятие приглашения в организацию

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/me/accept_invite (the `MeServiceAcceptInvite` operationId).

func (*ClientWithResponses) MeServiceDeclineInviteWithResponse

func (c *ClientWithResponses) MeServiceDeclineInviteWithResponse(ctx context.Context, params *MeServiceDeclineInviteParams, reqEditors ...RequestEditorFn) (*MeServiceDeclineInviteResponse, error)

MeServiceDeclineInviteWithResponse DeclineInvite — отклонение приглашения в организацию

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/me/decline_invite (the `MeServiceDeclineInvite` operationId).

func (*ClientWithResponses) PermissionServiceV3CreateWithBodyWithResponse

func (c *ClientWithResponses) PermissionServiceV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionServiceV3CreateResponse, error)

PermissionServiceV3CreateWithBodyWithResponse Create — создание разрешения

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).

func (*ClientWithResponses) PermissionServiceV3CreateWithResponse

func (c *ClientWithResponses) PermissionServiceV3CreateWithResponse(ctx context.Context, body PermissionServiceV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionServiceV3CreateResponse, error)

PermissionServiceV3CreateWithResponse Create — создание разрешения

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).

func (*ClientWithResponses) PermissionServiceV3DeleteWithResponse

func (c *ClientWithResponses) PermissionServiceV3DeleteWithResponse(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*PermissionServiceV3DeleteResponse, error)

PermissionServiceV3DeleteWithResponse Delete — удаление разрешения

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v3/permissions/{permissionId} (the `PermissionServiceV3Delete` operationId).

func (*ClientWithResponses) PermissionServiceV3GetWithResponse

func (c *ClientWithResponses) PermissionServiceV3GetWithResponse(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*PermissionServiceV3GetResponse, error)

PermissionServiceV3GetWithResponse Get — получение разрешения по идентификатору

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v3/permissions/{permissionId} (the `PermissionServiceV3Get` operationId).

func (*ClientWithResponses) PermissionServiceV3ListWithResponse

func (c *ClientWithResponses) PermissionServiceV3ListWithResponse(ctx context.Context, params *PermissionServiceV3ListParams, reqEditors ...RequestEditorFn) (*PermissionServiceV3ListResponse, error)

PermissionServiceV3ListWithResponse List — получение списка разрешений по фильтру

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v3/permissions (the `PermissionServiceV3List` operationId).

func (*ClientWithResponses) PermissionServiceV3UpdateWithBodyWithResponse

func (c *ClientWithResponses) PermissionServiceV3UpdateWithBodyWithResponse(ctx context.Context, permissionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionServiceV3UpdateResponse, error)

PermissionServiceV3UpdateWithBodyWithResponse Update — обновление разрешения

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).

func (*ClientWithResponses) PermissionServiceV3UpdateWithResponse

func (c *ClientWithResponses) PermissionServiceV3UpdateWithResponse(ctx context.Context, permissionId string, body PermissionServiceV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionServiceV3UpdateResponse, error)

PermissionServiceV3UpdateWithResponse Update — обновление разрешения

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).

func (*ClientWithResponses) PermissionsServiceBulkEvaluateWithBodyWithResponse

func (c *ClientWithResponses) PermissionsServiceBulkEvaluateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionsServiceBulkEvaluateResponse, error)

PermissionsServiceBulkEvaluateWithBodyWithResponse BulkEvaluate — выполняет массовую операцию проверки. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает список результатов проверки для списка запросов Порядок результатов в ответе не определен

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).

func (*ClientWithResponses) PermissionsServiceBulkEvaluateWithResponse

func (c *ClientWithResponses) PermissionsServiceBulkEvaluateWithResponse(ctx context.Context, body PermissionsServiceBulkEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionsServiceBulkEvaluateResponse, error)

PermissionsServiceBulkEvaluateWithResponse BulkEvaluate — выполняет массовую операцию проверки. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает список результатов проверки для списка запросов Порядок результатов в ответе не определен

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).

func (*ClientWithResponses) PermissionsServiceEvaluateWithResponse

func (c *ClientWithResponses) PermissionsServiceEvaluateWithResponse(ctx context.Context, params *PermissionsServiceEvaluateParams, reqEditors ...RequestEditorFn) (*PermissionsServiceEvaluateResponse, error)

PermissionsServiceEvaluateWithResponse Evaluate — проверка наличия у субъекта разрешений на выполнение действия над объектом. Запрос может быть выполнен от имени пользователя или сервисного аккаунта. Для запросов от пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя) Возвращает код состояния 403, если субъекту не разрешено выполнять действие над объектом или субъекту из токена не разрешено выполнять проверку для переданных данных запроса

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/permissions/evaluate (the `PermissionsServiceEvaluate` operationId).

func (*ClientWithResponses) ProductServiceGetWithResponse

func (c *ClientWithResponses) ProductServiceGetWithResponse(ctx context.Context, productCode string, reqEditors ...RequestEditorFn) (*ProductServiceGetResponse, error)

ProductServiceGetWithResponse Get — получение продукта

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/products/{productCode} (the `ProductServiceGet` operationId).

func (*ClientWithResponses) ProductServiceListWithResponse

func (c *ClientWithResponses) ProductServiceListWithResponse(ctx context.Context, params *ProductServiceListParams, reqEditors ...RequestEditorFn) (*ProductServiceListResponse, error)

ProductServiceListWithResponse List — получение списка продуктов

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/products (the `ProductServiceList` operationId).

func (*ClientWithResponses) ProjectsServiceListUsersWithResponse

func (c *ClientWithResponses) ProjectsServiceListUsersWithResponse(ctx context.Context, projectId string, params *ProjectsServiceListUsersParams, reqEditors ...RequestEditorFn) (*ProjectsServiceListUsersResponse, error)

ProjectsServiceListUsersWithResponse ListUsers — получение списка пользователей, имеющих права в проекте

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectId}/users (the `ProjectsServiceListUsers` operationId).

func (*ClientWithResponses) RoleServiceApplySpecWithBodyWithResponse

func (c *ClientWithResponses) RoleServiceApplySpecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceApplySpecResponse, error)

RoleServiceApplySpecWithBodyWithResponse ApplySpec — применение спецификации роли в формате yaml

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).

func (*ClientWithResponses) RoleServiceApplySpecWithResponse

func (c *ClientWithResponses) RoleServiceApplySpecWithResponse(ctx context.Context, body RoleServiceApplySpecJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceApplySpecResponse, error)

RoleServiceApplySpecWithResponse ApplySpec — применение спецификации роли в формате yaml

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).

func (*ClientWithResponses) RoleServiceCreateWithBodyWithResponse

func (c *ClientWithResponses) RoleServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceCreateResponse, error)

RoleServiceCreateWithBodyWithResponse Create — создание роли

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).

func (*ClientWithResponses) RoleServiceCreateWithResponse

func (c *ClientWithResponses) RoleServiceCreateWithResponse(ctx context.Context, body RoleServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceCreateResponse, error)

RoleServiceCreateWithResponse Create — создание роли

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).

func (*ClientWithResponses) RoleServiceDeleteWithResponse

func (c *ClientWithResponses) RoleServiceDeleteWithResponse(ctx context.Context, roleId string, params *RoleServiceDeleteParams, reqEditors ...RequestEditorFn) (*RoleServiceDeleteResponse, error)

RoleServiceDeleteWithResponse Delete — удаление роли

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/roles/{roleId} (the `RoleServiceDelete` operationId).

func (*ClientWithResponses) RoleServiceGetSpecWithBodyWithResponse

func (c *ClientWithResponses) RoleServiceGetSpecWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceGetSpecResponse, error)

RoleServiceGetSpecWithBodyWithResponse GetSpec — получение спецификации роли в формате yaml

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).

func (*ClientWithResponses) RoleServiceGetSpecWithResponse

func (c *ClientWithResponses) RoleServiceGetSpecWithResponse(ctx context.Context, roleId string, body RoleServiceGetSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceGetSpecResponse, error)

RoleServiceGetSpecWithResponse GetSpec — получение спецификации роли в формате yaml

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).

func (*ClientWithResponses) RoleServiceGetWithResponse

func (c *ClientWithResponses) RoleServiceGetWithResponse(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*RoleServiceGetResponse, error)

RoleServiceGetWithResponse Get — получение роли

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/roles/{roleId} (the `RoleServiceGet` operationId).

func (*ClientWithResponses) RoleServiceListWithResponse

func (c *ClientWithResponses) RoleServiceListWithResponse(ctx context.Context, params *RoleServiceListParams, reqEditors ...RequestEditorFn) (*RoleServiceListResponse, error)

RoleServiceListWithResponse List — получение списка ролей

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/roles (the `RoleServiceList` operationId).

func (*ClientWithResponses) RoleServiceUpdateWithBodyWithResponse

func (c *ClientWithResponses) RoleServiceUpdateWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceUpdateResponse, error)

RoleServiceUpdateWithBodyWithResponse Update — обновление роли

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).

func (*ClientWithResponses) RoleServiceUpdateWithResponse

func (c *ClientWithResponses) RoleServiceUpdateWithResponse(ctx context.Context, roleId string, body RoleServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceUpdateResponse, error)

RoleServiceUpdateWithResponse Update — обновление роли

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2CreateWithBodyWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2CreateResponse, error)

ServiceAccountServiceV2CreateWithBodyWithResponse Create — создание нового сервисного аккаунта

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2CreateWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2CreateWithResponse(ctx context.Context, body ServiceAccountServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2CreateResponse, error)

ServiceAccountServiceV2CreateWithResponse Create — создание нового сервисного аккаунта

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2DeleteWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2DeleteWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2DeleteResponse, error)

ServiceAccountServiceV2DeleteWithResponse Delete — удаление сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Delete` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2GetWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2GetWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2GetResponse, error)

ServiceAccountServiceV2GetWithResponse Get - получение сервисного аккаунта

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Get` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2ListWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2ListWithResponse(ctx context.Context, params *ServiceAccountServiceV2ListParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2ListResponse, error)

ServiceAccountServiceV2ListWithResponse List — получение списка сервисных аккаунтов

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/serviceAccounts (the `ServiceAccountServiceV2List` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2UpdateWithBodyWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2UpdateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2UpdateResponse, error)

ServiceAccountServiceV2UpdateWithBodyWithResponse Update — обновление сущности сервисного аккаунта

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).

func (*ClientWithResponses) ServiceAccountServiceV2UpdateWithResponse

func (c *ClientWithResponses) ServiceAccountServiceV2UpdateWithResponse(ctx context.Context, serviceAccountId string, body ServiceAccountServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2UpdateResponse, error)

ServiceAccountServiceV2UpdateWithResponse Update — обновление сущности сервисного аккаунта

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).

func (*ClientWithResponses) UserServiceCreateWithBodyWithResponse

func (c *ClientWithResponses) UserServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceCreateResponse, error)

UserServiceCreateWithBodyWithResponse Create — создание пользователя Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).

func (*ClientWithResponses) UserServiceCreateWithResponse

func (c *ClientWithResponses) UserServiceCreateWithResponse(ctx context.Context, body UserServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceCreateResponse, error)

UserServiceCreateWithResponse Create — создание пользователя Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).

func (*ClientWithResponses) UserServiceDeleteWithResponse

func (c *ClientWithResponses) UserServiceDeleteWithResponse(ctx context.Context, userId string, params *UserServiceDeleteParams, reqEditors ...RequestEditorFn) (*UserServiceDeleteResponse, error)

UserServiceDeleteWithResponse Delete — удаление пользователя Локальный пользователь только удаляется из организации, но остается в системе Федеративный пользователь удаляется полностью

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/users/{userId} (the `UserServiceDelete` operationId).

func (*ClientWithResponses) UserServiceGetWithResponse

func (c *ClientWithResponses) UserServiceGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetResponse, error)

UserServiceGetWithResponse Get — получение пользователя

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/users/{userId} (the `UserServiceGet` operationId).

func (*ClientWithResponses) UserServiceListGroupsWithResponse

func (c *ClientWithResponses) UserServiceListGroupsWithResponse(ctx context.Context, userId string, params *UserServiceListGroupsParams, reqEditors ...RequestEditorFn) (*UserServiceListGroupsResponse, error)

UserServiceListGroupsWithResponse ListGroups — получение списка групп пользователя

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/users/{userId}:listGroups (the `UserServiceListGroups` operationId).

func (*ClientWithResponses) UserServiceListWithResponse

func (c *ClientWithResponses) UserServiceListWithResponse(ctx context.Context, params *UserServiceListParams, reqEditors ...RequestEditorFn) (*UserServiceListResponse, error)

UserServiceListWithResponse List — получение списка пользователей

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/users (the `UserServiceList` operationId).

func (*ClientWithResponses) UserServiceUpdateWithBodyWithResponse

func (c *ClientWithResponses) UserServiceUpdateWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceUpdateResponse, error)

UserServiceUpdateWithBodyWithResponse Update — обновление пользователя. Обновление поддерживается только для федеративных пользователей

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).

func (*ClientWithResponses) UserServiceUpdateWithResponse

func (c *ClientWithResponses) UserServiceUpdateWithResponse(ctx context.Context, userId string, body UserServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceUpdateResponse, error)

UserServiceUpdateWithResponse Update — обновление пользователя. Обновление поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).

func (*ClientWithResponses) UserServiceV2CreateWithBodyWithResponse

func (c *ClientWithResponses) UserServiceV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceV2CreateResponse, error)

UserServiceV2CreateWithBodyWithResponse Create — создание пользователя. Создает пользователя, если он не существует, и добавляет его в организацию

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).

func (*ClientWithResponses) UserServiceV2CreateWithResponse

func (c *ClientWithResponses) UserServiceV2CreateWithResponse(ctx context.Context, body UserServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceV2CreateResponse, error)

UserServiceV2CreateWithResponse Create — создание пользователя. Создает пользователя, если он не существует, и добавляет его в организацию

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).

func (*ClientWithResponses) UserServiceV2DeleteWithResponse

func (c *ClientWithResponses) UserServiceV2DeleteWithResponse(ctx context.Context, userId string, params *UserServiceV2DeleteParams, reqEditors ...RequestEditorFn) (*UserServiceV2DeleteResponse, error)

UserServiceV2DeleteWithResponse Delete — удаление пользователя из организации. Локальный пользователь останется в системе. Федеративный пользователь будет удален полностью

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/users/{userId} (the `UserServiceV2Delete` operationId).

func (*ClientWithResponses) UserServiceV2GetWithResponse

func (c *ClientWithResponses) UserServiceV2GetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceV2GetResponse, error)

UserServiceV2GetWithResponse Get — получение пользователя

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/users/{userId} (the `UserServiceV2Get` operationId).

func (*ClientWithResponses) UserServiceV2ListWithResponse

func (c *ClientWithResponses) UserServiceV2ListWithResponse(ctx context.Context, params *UserServiceV2ListParams, reqEditors ...RequestEditorFn) (*UserServiceV2ListResponse, error)

UserServiceV2ListWithResponse List — получение списка пользователей

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/users (the `UserServiceV2List` operationId).

func (*ClientWithResponses) UserServiceV2UpdateWithBodyWithResponse

func (c *ClientWithResponses) UserServiceV2UpdateWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceV2UpdateResponse, error)

UserServiceV2UpdateWithBodyWithResponse Update — частичное обновление пользователя. Поддерживается только для федеративных пользователей

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).

func (*ClientWithResponses) UserServiceV2UpdateWithResponse

func (c *ClientWithResponses) UserServiceV2UpdateWithResponse(ctx context.Context, userId string, body UserServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceV2UpdateResponse, error)

UserServiceV2UpdateWithResponse Update — частичное обновление пользователя. Поддерживается только для федеративных пользователей

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ActionServiceListWithResponse List — получение списка действий
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/actions (the `ActionServiceList` operationId).
	ActionServiceListWithResponse(ctx context.Context, params *ActionServiceListParams, reqEditors ...RequestEditorFn) (*ActionServiceListResponse, error)

	// ActionServiceGetWithResponse Get — получение действия
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/actions/{actionName} (the `ActionServiceGet` operationId).
	ActionServiceGetWithResponse(ctx context.Context, actionName string, reqEditors ...RequestEditorFn) (*ActionServiceGetResponse, error)

	// AuthServiceGetTokenWithBodyWithResponse GetToken — получение токена по указанным учетным данным
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).
	AuthServiceGetTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceGetTokenResponse, error)

	// AuthServiceGetTokenWithResponse GetToken — получение токена по указанным учетным данным
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/auth/token (the `AuthServiceGetToken` operationId).
	AuthServiceGetTokenWithResponse(ctx context.Context, body AuthServiceGetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceGetTokenResponse, error)

	// CustomersServiceListUsersWithResponse ListUsers — получение списка пользователей организации
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users (the `CustomersServiceListUsers` operationId).
	CustomersServiceListUsersWithResponse(ctx context.Context, customerId string, params *CustomersServiceListUsersParams, reqEditors ...RequestEditorFn) (*CustomersServiceListUsersResponse, error)

	// CustomersServiceInviteUserWithBodyWithResponse InviteUser — приглашение пользователя в организацию
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).
	CustomersServiceInviteUserWithBodyWithResponse(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceInviteUserResponse, error)

	// CustomersServiceInviteUserWithResponse InviteUser — приглашение пользователя в организацию
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users (the `CustomersServiceInviteUser` operationId).
	CustomersServiceInviteUserWithResponse(ctx context.Context, customerId string, body CustomersServiceInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceInviteUserResponse, error)

	// CustomersServiceFindUserWithResponse FindUser — поиск пользователя организации по email
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users/find (the `CustomersServiceFindUser` operationId).
	CustomersServiceFindUserWithResponse(ctx context.Context, customerId string, params *CustomersServiceFindUserParams, reqEditors ...RequestEditorFn) (*CustomersServiceFindUserResponse, error)

	// CustomersServiceReInviteUserWithBodyWithResponse ReInviteUser — повторное приглашение пользователя в организацию
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).
	CustomersServiceReInviteUserWithBodyWithResponse(ctx context.Context, customerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceReInviteUserResponse, error)

	// CustomersServiceReInviteUserWithResponse ReInviteUser — повторное приглашение пользователя в организацию
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/customers/{customerId}/users/reinvite (the `CustomersServiceReInviteUser` operationId).
	CustomersServiceReInviteUserWithResponse(ctx context.Context, customerId string, body CustomersServiceReInviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceReInviteUserResponse, error)

	// CustomersServiceGetUserWithResponse GetUser — получение пользователя организации
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceGetUser` operationId).
	CustomersServiceGetUserWithResponse(ctx context.Context, customerId string, userId string, reqEditors ...RequestEditorFn) (*CustomersServiceGetUserResponse, error)

	// CustomersServiceUpdateUserWithBodyWithResponse UpdateUser — обновление пользователя организации
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).
	CustomersServiceUpdateUserWithBodyWithResponse(ctx context.Context, customerId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomersServiceUpdateUserResponse, error)

	// CustomersServiceUpdateUserWithResponse UpdateUser — обновление пользователя организации
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/customers/{customerId}/users/{userId} (the `CustomersServiceUpdateUser` operationId).
	CustomersServiceUpdateUserWithResponse(ctx context.Context, customerId string, userId string, body CustomersServiceUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomersServiceUpdateUserResponse, error)

	// GroupsServiceListWithResponse List — получение списка групп
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/groups (the `GroupsServiceList` operationId).
	GroupsServiceListWithResponse(ctx context.Context, params *GroupsServiceListParams, reqEditors ...RequestEditorFn) (*GroupsServiceListResponse, error)

	// GroupsServiceListUsersWithResponse ListUsers — получение пользователей, являющихся участниками группы
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/groups/{groupId}/users (the `GroupsServiceListUsers` operationId).
	GroupsServiceListUsersWithResponse(ctx context.Context, groupId string, params *GroupsServiceListUsersParams, reqEditors ...RequestEditorFn) (*GroupsServiceListUsersResponse, error)

	// GroupsServiceUpdateWithBodyWithResponse Update — обновление группы
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).
	GroupsServiceUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupsServiceUpdateResponse, error)

	// GroupsServiceUpdateWithResponse Update — обновление группы
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/groups/{id} (the `GroupsServiceUpdate` operationId).
	GroupsServiceUpdateWithResponse(ctx context.Context, id string, body GroupsServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupsServiceUpdateResponse, error)

	// MeServiceAcceptInviteWithResponse AcceptInvite — принятие приглашения в организацию
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/me/accept_invite (the `MeServiceAcceptInvite` operationId).
	MeServiceAcceptInviteWithResponse(ctx context.Context, params *MeServiceAcceptInviteParams, reqEditors ...RequestEditorFn) (*MeServiceAcceptInviteResponse, error)

	// MeServiceDeclineInviteWithResponse DeclineInvite — отклонение приглашения в организацию
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/me/decline_invite (the `MeServiceDeclineInvite` operationId).
	MeServiceDeclineInviteWithResponse(ctx context.Context, params *MeServiceDeclineInviteParams, reqEditors ...RequestEditorFn) (*MeServiceDeclineInviteResponse, error)

	// PermissionsServiceBulkEvaluateWithBodyWithResponse BulkEvaluate — выполняет массовую операцию проверки.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает список результатов проверки для списка запросов
	// Порядок результатов в ответе не определен
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).
	PermissionsServiceBulkEvaluateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionsServiceBulkEvaluateResponse, error)

	// PermissionsServiceBulkEvaluateWithResponse BulkEvaluate — выполняет массовую операцию проверки.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от имени пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает список результатов проверки для списка запросов
	// Порядок результатов в ответе не определен
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/permissions/bulk-evaluate (the `PermissionsServiceBulkEvaluate` operationId).
	PermissionsServiceBulkEvaluateWithResponse(ctx context.Context, body PermissionsServiceBulkEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionsServiceBulkEvaluateResponse, error)

	// PermissionsServiceEvaluateWithResponse Evaluate — проверка наличия у субъекта разрешений на выполнение действия над объектом.
	// Запрос может быть выполнен от имени пользователя или сервисного аккаунта.
	// Для запросов от пользователя субъект берется из токена доступа (пользователь может выполнять проверку только для себя)
	// Возвращает код состояния 403, если субъекту не разрешено выполнять действие над объектом
	// или субъекту из токена не разрешено выполнять проверку для переданных данных запроса
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/permissions/evaluate (the `PermissionsServiceEvaluate` operationId).
	PermissionsServiceEvaluateWithResponse(ctx context.Context, params *PermissionsServiceEvaluateParams, reqEditors ...RequestEditorFn) (*PermissionsServiceEvaluateResponse, error)

	// ProductServiceListWithResponse List — получение списка продуктов
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/products (the `ProductServiceList` operationId).
	ProductServiceListWithResponse(ctx context.Context, params *ProductServiceListParams, reqEditors ...RequestEditorFn) (*ProductServiceListResponse, error)

	// ProductServiceGetWithResponse Get — получение продукта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/products/{productCode} (the `ProductServiceGet` operationId).
	ProductServiceGetWithResponse(ctx context.Context, productCode string, reqEditors ...RequestEditorFn) (*ProductServiceGetResponse, error)

	// ProjectsServiceListUsersWithResponse ListUsers — получение списка пользователей, имеющих права в проекте
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectId}/users (the `ProjectsServiceListUsers` operationId).
	ProjectsServiceListUsersWithResponse(ctx context.Context, projectId string, params *ProjectsServiceListUsersParams, reqEditors ...RequestEditorFn) (*ProjectsServiceListUsersResponse, error)

	// RoleServiceListWithResponse List — получение списка ролей
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/roles (the `RoleServiceList` operationId).
	RoleServiceListWithResponse(ctx context.Context, params *RoleServiceListParams, reqEditors ...RequestEditorFn) (*RoleServiceListResponse, error)

	// RoleServiceCreateWithBodyWithResponse Create — создание роли
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).
	RoleServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceCreateResponse, error)

	// RoleServiceCreateWithResponse Create — создание роли
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles (the `RoleServiceCreate` operationId).
	RoleServiceCreateWithResponse(ctx context.Context, body RoleServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceCreateResponse, error)

	// RoleServiceDeleteWithResponse Delete — удаление роли
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/roles/{roleId} (the `RoleServiceDelete` operationId).
	RoleServiceDeleteWithResponse(ctx context.Context, roleId string, params *RoleServiceDeleteParams, reqEditors ...RequestEditorFn) (*RoleServiceDeleteResponse, error)

	// RoleServiceGetWithResponse Get — получение роли
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/roles/{roleId} (the `RoleServiceGet` operationId).
	RoleServiceGetWithResponse(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*RoleServiceGetResponse, error)

	// RoleServiceUpdateWithBodyWithResponse Update — обновление роли
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).
	RoleServiceUpdateWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceUpdateResponse, error)

	// RoleServiceUpdateWithResponse Update — обновление роли
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/roles/{roleId} (the `RoleServiceUpdate` operationId).
	RoleServiceUpdateWithResponse(ctx context.Context, roleId string, body RoleServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceUpdateResponse, error)

	// RoleServiceGetSpecWithBodyWithResponse GetSpec — получение спецификации роли в формате yaml
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).
	RoleServiceGetSpecWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceGetSpecResponse, error)

	// RoleServiceGetSpecWithResponse GetSpec — получение спецификации роли в формате yaml
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles/{roleId}:getSpec (the `RoleServiceGetSpec` operationId).
	RoleServiceGetSpecWithResponse(ctx context.Context, roleId string, body RoleServiceGetSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceGetSpecResponse, error)

	// RoleServiceApplySpecWithBodyWithResponse ApplySpec — применение спецификации роли в формате yaml
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).
	RoleServiceApplySpecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RoleServiceApplySpecResponse, error)

	// RoleServiceApplySpecWithResponse ApplySpec — применение спецификации роли в формате yaml
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles:applySpec (the `RoleServiceApplySpec` operationId).
	RoleServiceApplySpecWithResponse(ctx context.Context, body RoleServiceApplySpecJSONRequestBody, reqEditors ...RequestEditorFn) (*RoleServiceApplySpecResponse, error)

	// AccessKeyCredentialsServiceDeleteWithResponse Delete — удаление ключа доступа по ID ключа для сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceDelete` operationId).
	AccessKeyCredentialsServiceDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceDeleteResponse, error)

	// AccessKeyCredentialsServiceGetWithResponse Get — получение информации о ключе доступа по ID для сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceGet` operationId).
	AccessKeyCredentialsServiceGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceGetResponse, error)

	// AccessKeyCredentialsServiceUpdateWithResponse Update — обновление ключа доступа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/access-keys/{id} (the `AccessKeyCredentialsServiceUpdate` operationId).
	AccessKeyCredentialsServiceUpdateWithResponse(ctx context.Context, id string, params *AccessKeyCredentialsServiceUpdateParams, reqEditors ...RequestEditorFn) (*AccessKeyCredentialsServiceUpdateResponse, error)

	// APIKeyServiceDeleteWithResponse Delete — удаляет API-ключ
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceDelete` operationId).
	APIKeyServiceDeleteWithResponse(ctx context.Context, params *APIKeyServiceDeleteParams, reqEditors ...RequestEditorFn) (*APIKeyServiceDeleteResponse, error)

	// APIKeyServiceUpdateWithBodyWithResponse Update — обновляет API-ключ
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).
	APIKeyServiceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceUpdateResponse, error)

	// APIKeyServiceUpdateWithResponse Update — обновляет API-ключ
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/service-accounts/credentials/api-keys (the `APIKeyServiceUpdate` operationId).
	APIKeyServiceUpdateWithResponse(ctx context.Context, body APIKeyServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceUpdateResponse, error)

	// APIKeyServiceGetWithResponse Get — возвращает API-ключ
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/service-accounts/credentials/api-keys/{id} (the `APIKeyServiceGet` operationId).
	APIKeyServiceGetWithResponse(ctx context.Context, id string, params *APIKeyServiceGetParams, reqEditors ...RequestEditorFn) (*APIKeyServiceGetResponse, error)

	// APIKeyServiceReissueWithResponse Reissue — перевыпускает API-ключ
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/service-accounts/credentials/api-keys/{id}/reissue (the `APIKeyServiceReissue` operationId).
	APIKeyServiceReissueWithResponse(ctx context.Context, id string, params *APIKeyServiceReissueParams, reqEditors ...RequestEditorFn) (*APIKeyServiceReissueResponse, error)

	// UserServiceListWithResponse List — получение списка пользователей
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/users (the `UserServiceList` operationId).
	UserServiceListWithResponse(ctx context.Context, params *UserServiceListParams, reqEditors ...RequestEditorFn) (*UserServiceListResponse, error)

	// UserServiceCreateWithBodyWithResponse Create — создание пользователя
	// Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации
	// Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).
	UserServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceCreateResponse, error)

	// UserServiceCreateWithResponse Create — создание пользователя
	// Создает пользователя, если он не существует, и приглашает пользователя присоединиться к организации
	// Если тип учетной записи пользователя `federated`, пользователь автоматически добавляется в организацию
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/users (the `UserServiceCreate` operationId).
	UserServiceCreateWithResponse(ctx context.Context, body UserServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceCreateResponse, error)

	// UserServiceDeleteWithResponse Delete — удаление пользователя
	// Локальный пользователь только удаляется из организации, но остается в системе
	// Федеративный пользователь удаляется полностью
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/users/{userId} (the `UserServiceDelete` operationId).
	UserServiceDeleteWithResponse(ctx context.Context, userId string, params *UserServiceDeleteParams, reqEditors ...RequestEditorFn) (*UserServiceDeleteResponse, error)

	// UserServiceGetWithResponse Get — получение пользователя
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/users/{userId} (the `UserServiceGet` operationId).
	UserServiceGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetResponse, error)

	// UserServiceUpdateWithBodyWithResponse Update — обновление пользователя.
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).
	UserServiceUpdateWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceUpdateResponse, error)

	// UserServiceUpdateWithResponse Update — обновление пользователя.
	// Обновление поддерживается только для федеративных пользователей
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/users/{userId} (the `UserServiceUpdate` operationId).
	UserServiceUpdateWithResponse(ctx context.Context, userId string, body UserServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceUpdateResponse, error)

	// UserServiceListGroupsWithResponse ListGroups — получение списка групп пользователя
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/users/{userId}:listGroups (the `UserServiceListGroups` operationId).
	UserServiceListGroupsWithResponse(ctx context.Context, userId string, params *UserServiceListGroupsParams, reqEditors ...RequestEditorFn) (*UserServiceListGroupsResponse, error)

	// AuthServiceV2ImpersonateWithBodyWithResponse Impersonate — выпуск токена сервисного аккаунта без его ключей
	//
	// Выпускает токен доступа сервисного аккаунта без его ключей доступа.
	// Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт.
	// Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).
	AuthServiceV2ImpersonateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceV2ImpersonateResponse, error)

	// AuthServiceV2ImpersonateWithResponse Impersonate — выпуск токена сервисного аккаунта без его ключей
	//
	// Выпускает токен доступа сервисного аккаунта без его ключей доступа.
	// Запрос выполняется с токеном доступа пользователя или сервисного аккаунта, у которого есть право “iam.serviceaccount.impersonate“ на указанный сервисный аккаунт.
	// Токеном, полученным этим методом, нельзя выпустить токен другого сервисного аккаунта.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/auth/impersonate (the `AuthServiceV2Impersonate` operationId).
	AuthServiceV2ImpersonateWithResponse(ctx context.Context, body AuthServiceV2ImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceV2ImpersonateResponse, error)

	// AuthServiceV2GetTokenWithBodyWithResponse GetToken — получение токена по указанным учетным данным
	//
	// Выпускает токен по ключу доступа.
	// Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).
	AuthServiceV2GetTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthServiceV2GetTokenResponse, error)

	// AuthServiceV2GetTokenWithResponse GetToken — получение токена по указанным учетным данным
	//
	// Выпускает токен по ключу доступа.
	// Если передано поле serviceAccountId, выпускается токен указанного сервисного аккаунта без его ключей: владельцу ключа доступа требуется право “iam.serviceaccount.impersonate“ на этот сервисный аккаунт.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/auth/token (the `AuthServiceV2GetToken` operationId).
	AuthServiceV2GetTokenWithResponse(ctx context.Context, body AuthServiceV2GetTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthServiceV2GetTokenResponse, error)

	// GroupServiceListWithResponse List — получение списка групп
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups (the `GroupServiceList` operationId).
	GroupServiceListWithResponse(ctx context.Context, params *GroupServiceListParams, reqEditors ...RequestEditorFn) (*GroupServiceListResponse, error)

	// GroupServiceCreateWithBodyWithResponse Create — создание новой группы
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).
	GroupServiceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceCreateResponse, error)

	// GroupServiceCreateWithResponse Create — создание новой группы
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups (the `GroupServiceCreate` operationId).
	GroupServiceCreateWithResponse(ctx context.Context, body GroupServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceCreateResponse, error)

	// GroupServiceDeleteWithResponse Delete — удаление группы
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/groups/{groupId} (the `GroupServiceDelete` operationId).
	GroupServiceDeleteWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GroupServiceDeleteResponse, error)

	// GroupServiceGetWithResponse Get — получение группы по идентификатору
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups/{groupId} (the `GroupServiceGet` operationId).
	GroupServiceGetWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GroupServiceGetResponse, error)

	// GroupServiceUpdateWithBodyWithResponse Update — обновление группы
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).
	GroupServiceUpdateWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceUpdateResponse, error)

	// GroupServiceUpdateWithResponse Update — обновление группы
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/groups/{groupId} (the `GroupServiceUpdate` operationId).
	GroupServiceUpdateWithResponse(ctx context.Context, groupId string, body GroupServiceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceUpdateResponse, error)

	// GroupServiceAddUserWithBodyWithResponse AddUser — добавление пользователя в группу
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).
	GroupServiceAddUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceAddUserResponse, error)

	// GroupServiceAddUserWithResponse AddUser — добавление пользователя в группу
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups/{groupId}:addUser (the `GroupServiceAddUser` operationId).
	GroupServiceAddUserWithResponse(ctx context.Context, groupId string, body GroupServiceAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceAddUserResponse, error)

	// GroupServiceDeleteUserWithBodyWithResponse DeleteUser — удаление пользователя из группы
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).
	GroupServiceDeleteUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceDeleteUserResponse, error)

	// GroupServiceDeleteUserWithResponse DeleteUser — удаление пользователя из группы
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/groups/{groupId}:deleteUser (the `GroupServiceDeleteUser` operationId).
	GroupServiceDeleteUserWithResponse(ctx context.Context, groupId string, body GroupServiceDeleteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceDeleteUserResponse, error)

	// GroupServiceHasUserWithResponse HasUser — проверка, является ли пользователь участником группы
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups/{groupId}:hasUser (the `GroupServiceHasUser` operationId).
	GroupServiceHasUserWithResponse(ctx context.Context, groupId string, params *GroupServiceHasUserParams, reqEditors ...RequestEditorFn) (*GroupServiceHasUserResponse, error)

	// GroupServiceListUsersWithResponse ListUsers — получение пользователей, являющихся участниками группы
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups/{groupId}:listUsers (the `GroupServiceListUsers` operationId).
	GroupServiceListUsersWithResponse(ctx context.Context, groupId string, params *GroupServiceListUsersParams, reqEditors ...RequestEditorFn) (*GroupServiceListUsersResponse, error)

	// GroupServiceSetUsersWithBodyWithResponse SetUsers — добавление пользователей в группу с удалением всех существующих членств
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).
	GroupServiceSetUsersWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupServiceSetUsersResponse, error)

	// GroupServiceSetUsersWithResponse SetUsers — добавление пользователей в группу с удалением всех существующих членств
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups/{groupId}:setUsers (the `GroupServiceSetUsers` operationId).
	GroupServiceSetUsersWithResponse(ctx context.Context, groupId string, body GroupServiceSetUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupServiceSetUsersResponse, error)

	// ServiceAccountServiceV2ListWithResponse List — получение списка сервисных аккаунтов
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts (the `ServiceAccountServiceV2List` operationId).
	ServiceAccountServiceV2ListWithResponse(ctx context.Context, params *ServiceAccountServiceV2ListParams, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2ListResponse, error)

	// ServiceAccountServiceV2CreateWithBodyWithResponse Create — создание нового сервисного аккаунта
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).
	ServiceAccountServiceV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2CreateResponse, error)

	// ServiceAccountServiceV2CreateWithResponse Create — создание нового сервисного аккаунта
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts (the `ServiceAccountServiceV2Create` operationId).
	ServiceAccountServiceV2CreateWithResponse(ctx context.Context, body ServiceAccountServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2CreateResponse, error)

	// APIKeyProductServiceListWithResponse List — возвращает список продуктов, для которых могут быть выпущены API-ключи
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/apiKeys/products (the `APIKeyProductServiceList` operationId).
	APIKeyProductServiceListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*APIKeyProductServiceListResponse, error)

	// ServiceAccountServiceV2DeleteWithResponse Delete — удаление сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Delete` operationId).
	ServiceAccountServiceV2DeleteWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2DeleteResponse, error)

	// ServiceAccountServiceV2GetWithResponse Get - получение сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Get` operationId).
	ServiceAccountServiceV2GetWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2GetResponse, error)

	// ServiceAccountServiceV2UpdateWithBodyWithResponse Update — обновление сущности сервисного аккаунта
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).
	ServiceAccountServiceV2UpdateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2UpdateResponse, error)

	// ServiceAccountServiceV2UpdateWithResponse Update — обновление сущности сервисного аккаунта
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId} (the `ServiceAccountServiceV2Update` operationId).
	ServiceAccountServiceV2UpdateWithResponse(ctx context.Context, serviceAccountId string, body ServiceAccountServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServiceAccountServiceV2UpdateResponse, error)

	// AccessKeyServiceListWithResponse List — получение списка ключей доступа сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceList` operationId).
	AccessKeyServiceListWithResponse(ctx context.Context, serviceAccountId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceListResponse, error)

	// AccessKeyServiceCreateWithBodyWithResponse Create — создает новый ключ доступа
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).
	AccessKeyServiceCreateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccessKeyServiceCreateResponse, error)

	// AccessKeyServiceCreateWithResponse Create — создает новый ключ доступа
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/accessKeys (the `AccessKeyServiceCreate` operationId).
	AccessKeyServiceCreateWithResponse(ctx context.Context, serviceAccountId string, body AccessKeyServiceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AccessKeyServiceCreateResponse, error)

	// AccessKeyServiceDeleteWithResponse Delete — удаление ключа доступа сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceDelete` operationId).
	AccessKeyServiceDeleteWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceDeleteResponse, error)

	// AccessKeyServiceGetWithResponse Get — получение ключа доступа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceGet` operationId).
	AccessKeyServiceGetWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, reqEditors ...RequestEditorFn) (*AccessKeyServiceGetResponse, error)

	// AccessKeyServiceUpdateWithResponse Update — обновление ключа доступа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/accessKeys/{accessKeyId} (the `AccessKeyServiceUpdate` operationId).
	AccessKeyServiceUpdateWithResponse(ctx context.Context, serviceAccountId string, accessKeyId string, params *AccessKeyServiceUpdateParams, reqEditors ...RequestEditorFn) (*AccessKeyServiceUpdateResponse, error)

	// APIKeyServiceV2ListWithResponse List — получение списка API-ключей сервисного аккаунта
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2List` operationId).
	APIKeyServiceV2ListWithResponse(ctx context.Context, serviceAccountId string, params *APIKeyServiceV2ListParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2ListResponse, error)

	// APIKeyServiceV2CreateWithBodyWithResponse Create — создание API-ключа сервисного аккаунта
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).
	APIKeyServiceV2CreateWithBodyWithResponse(ctx context.Context, serviceAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceV2CreateResponse, error)

	// APIKeyServiceV2CreateWithResponse Create — создание API-ключа сервисного аккаунта
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys (the `APIKeyServiceV2Create` operationId).
	APIKeyServiceV2CreateWithResponse(ctx context.Context, serviceAccountId string, body APIKeyServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceV2CreateResponse, error)

	// APIKeyServiceV2DeleteWithResponse Delete — удаление API-ключа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Delete` operationId).
	APIKeyServiceV2DeleteWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, reqEditors ...RequestEditorFn) (*APIKeyServiceV2DeleteResponse, error)

	// APIKeyServiceV2GetWithResponse Get — получение API-ключа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Get` operationId).
	APIKeyServiceV2GetWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2GetParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2GetResponse, error)

	// APIKeyServiceV2UpdateWithBodyWithResponse Update — обновление API-ключа
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).
	APIKeyServiceV2UpdateWithBodyWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeyServiceV2UpdateResponse, error)

	// APIKeyServiceV2UpdateWithResponse Update — обновление API-ключа
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId} (the `APIKeyServiceV2Update` operationId).
	APIKeyServiceV2UpdateWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, body APIKeyServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeyServiceV2UpdateResponse, error)

	// APIKeyServiceV2ReissueWithResponse Reissue — перевыпуск API-ключа
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/serviceAccounts/{serviceAccountId}/apiKeys/{apiKeyId}:reissue (the `APIKeyServiceV2Reissue` operationId).
	APIKeyServiceV2ReissueWithResponse(ctx context.Context, serviceAccountId string, apiKeyId string, params *APIKeyServiceV2ReissueParams, reqEditors ...RequestEditorFn) (*APIKeyServiceV2ReissueResponse, error)

	// UserServiceV2ListWithResponse List — получение списка пользователей
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/users (the `UserServiceV2List` operationId).
	UserServiceV2ListWithResponse(ctx context.Context, params *UserServiceV2ListParams, reqEditors ...RequestEditorFn) (*UserServiceV2ListResponse, error)

	// UserServiceV2CreateWithBodyWithResponse Create — создание пользователя.
	// Создает пользователя, если он не существует,
	// и добавляет его в организацию
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).
	UserServiceV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceV2CreateResponse, error)

	// UserServiceV2CreateWithResponse Create — создание пользователя.
	// Создает пользователя, если он не существует,
	// и добавляет его в организацию
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users (the `UserServiceV2Create` operationId).
	UserServiceV2CreateWithResponse(ctx context.Context, body UserServiceV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceV2CreateResponse, error)

	// UserServiceV2DeleteWithResponse Delete — удаление пользователя из организации.
	// Локальный пользователь останется в системе.
	// Федеративный пользователь будет удален полностью
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/users/{userId} (the `UserServiceV2Delete` operationId).
	UserServiceV2DeleteWithResponse(ctx context.Context, userId string, params *UserServiceV2DeleteParams, reqEditors ...RequestEditorFn) (*UserServiceV2DeleteResponse, error)

	// UserServiceV2GetWithResponse Get — получение пользователя
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/users/{userId} (the `UserServiceV2Get` operationId).
	UserServiceV2GetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceV2GetResponse, error)

	// UserServiceV2UpdateWithBodyWithResponse Update — частичное обновление пользователя.
	// Поддерживается только для федеративных
	// пользователей
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).
	UserServiceV2UpdateWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserServiceV2UpdateResponse, error)

	// UserServiceV2UpdateWithResponse Update — частичное обновление пользователя.
	// Поддерживается только для федеративных
	// пользователей
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{userId} (the `UserServiceV2Update` operationId).
	UserServiceV2UpdateWithResponse(ctx context.Context, userId string, body UserServiceV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserServiceV2UpdateResponse, error)

	// PermissionServiceV3ListWithResponse List — получение списка разрешений по фильтру
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v3/permissions (the `PermissionServiceV3List` operationId).
	PermissionServiceV3ListWithResponse(ctx context.Context, params *PermissionServiceV3ListParams, reqEditors ...RequestEditorFn) (*PermissionServiceV3ListResponse, error)

	// PermissionServiceV3CreateWithBodyWithResponse Create — создание разрешения
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).
	PermissionServiceV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionServiceV3CreateResponse, error)

	// PermissionServiceV3CreateWithResponse Create — создание разрешения
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v3/permissions (the `PermissionServiceV3Create` operationId).
	PermissionServiceV3CreateWithResponse(ctx context.Context, body PermissionServiceV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionServiceV3CreateResponse, error)

	// PermissionServiceV3DeleteWithResponse Delete — удаление разрешения
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v3/permissions/{permissionId} (the `PermissionServiceV3Delete` operationId).
	PermissionServiceV3DeleteWithResponse(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*PermissionServiceV3DeleteResponse, error)

	// PermissionServiceV3GetWithResponse Get — получение разрешения по идентификатору
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v3/permissions/{permissionId} (the `PermissionServiceV3Get` operationId).
	PermissionServiceV3GetWithResponse(ctx context.Context, permissionId string, reqEditors ...RequestEditorFn) (*PermissionServiceV3GetResponse, error)

	// PermissionServiceV3UpdateWithBodyWithResponse Update — обновление разрешения
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).
	PermissionServiceV3UpdateWithBodyWithResponse(ctx context.Context, permissionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionServiceV3UpdateResponse, error)

	// PermissionServiceV3UpdateWithResponse Update — обновление разрешения
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v3/permissions/{permissionId} (the `PermissionServiceV3Update` operationId).
	PermissionServiceV3UpdateWithResponse(ctx context.Context, permissionId string, body PermissionServiceV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionServiceV3UpdateResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CustomersFindUserResponse

type CustomersFindUserResponse struct {
	User *V1customersUser `json:"user,omitempty"`
}

CustomersFindUserResponse defines model for customersFindUserResponse.

type CustomersGetUserResponse

type CustomersGetUserResponse struct {
	User *V1customersUser `json:"user,omitempty"`
}

CustomersGetUserResponse defines model for customersGetUserResponse.

type CustomersInviteUserResponse

type CustomersInviteUserResponse struct {
	UserId *string `json:"userId,omitempty"`
}

CustomersInviteUserResponse defines model for customersInviteUserResponse.

type CustomersServiceFindUserParams

type CustomersServiceFindUserParams struct {
	// Email Email — email пользователя
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// Type Type — тип учетной записи пользователя
	Type *CustomersServiceFindUserParamsType `form:"type,omitempty" json:"type,omitempty"`
}

CustomersServiceFindUserParams defines parameters for CustomersServiceFindUser.

type CustomersServiceFindUserParamsType

type CustomersServiceFindUserParamsType string

CustomersServiceFindUserParamsType defines parameters for CustomersServiceFindUser.

const (
	CustomersServiceFindUserParamsTypeUSERACCOUNTTYPEFEDERATED CustomersServiceFindUserParamsType = "USER_ACCOUNT_TYPE_FEDERATED"
	CustomersServiceFindUserParamsTypeUSERACCOUNTTYPELOCAL     CustomersServiceFindUserParamsType = "USER_ACCOUNT_TYPE_LOCAL"
	CustomersServiceFindUserParamsTypeUSERACCOUNTTYPEUNDEFINED CustomersServiceFindUserParamsType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for CustomersServiceFindUserParamsType.

func (CustomersServiceFindUserParamsType) Valid

Valid indicates whether the value is a known member of the CustomersServiceFindUserParamsType enum.

type CustomersServiceFindUserResponse

type CustomersServiceFindUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CustomersFindUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceFindUserResponse

func ParseCustomersServiceFindUserResponse(rsp *http.Response) (*CustomersServiceFindUserResponse, error)

ParseCustomersServiceFindUserResponse parses an HTTP response from a CustomersServiceFindUserWithResponse call

func (CustomersServiceFindUserResponse) ContentType

func (r CustomersServiceFindUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceFindUserResponse) GetBody

func (r CustomersServiceFindUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CustomersServiceFindUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceFindUserResponse) GetJSON400

func (r CustomersServiceFindUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceFindUserResponse) GetJSON401

func (r CustomersServiceFindUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceFindUserResponse) GetJSON403

func (r CustomersServiceFindUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceFindUserResponse) GetJSON404

func (r CustomersServiceFindUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CustomersServiceFindUserResponse) GetJSON500

func (r CustomersServiceFindUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceFindUserResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceFindUserResponse) StatusCode

func (r CustomersServiceFindUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomersServiceGetUserResponse

type CustomersServiceGetUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CustomersGetUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceGetUserResponse

func ParseCustomersServiceGetUserResponse(rsp *http.Response) (*CustomersServiceGetUserResponse, error)

ParseCustomersServiceGetUserResponse parses an HTTP response from a CustomersServiceGetUserWithResponse call

func (CustomersServiceGetUserResponse) ContentType

func (r CustomersServiceGetUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceGetUserResponse) GetBody

func (r CustomersServiceGetUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CustomersServiceGetUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceGetUserResponse) GetJSON400

func (r CustomersServiceGetUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceGetUserResponse) GetJSON401

func (r CustomersServiceGetUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceGetUserResponse) GetJSON403

func (r CustomersServiceGetUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceGetUserResponse) GetJSON404

func (r CustomersServiceGetUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CustomersServiceGetUserResponse) GetJSON500

func (r CustomersServiceGetUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceGetUserResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceGetUserResponse) StatusCode

func (r CustomersServiceGetUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomersServiceInviteUserBody

type CustomersServiceInviteUserBody struct {
	AccountType *V1customersUserAccountType `json:"accountType,omitempty"`
	Email       *string                     `json:"email,omitempty"`
	Federative  *bool                       `json:"federative,omitempty"`
	FirstName   *string                     `json:"firstName,omitempty"`
	IdpId       *string                     `json:"idpId,omitempty"`
	LastName    *string                     `json:"lastName,omitempty"`
	MiddleName  *string                     `json:"middleName,omitempty"`
	UserName    *string                     `json:"userName,omitempty"`
}

CustomersServiceInviteUserBody defines model for CustomersServiceInviteUserBody.

type CustomersServiceInviteUserJSONRequestBody

type CustomersServiceInviteUserJSONRequestBody = CustomersServiceInviteUserBody

CustomersServiceInviteUserJSONRequestBody defines body for CustomersServiceInviteUser for application/json ContentType.

type CustomersServiceInviteUserResponse

type CustomersServiceInviteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CustomersInviteUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceInviteUserResponse

func ParseCustomersServiceInviteUserResponse(rsp *http.Response) (*CustomersServiceInviteUserResponse, error)

ParseCustomersServiceInviteUserResponse parses an HTTP response from a CustomersServiceInviteUserWithResponse call

func (CustomersServiceInviteUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceInviteUserResponse) GetBody

GetBody returns the raw response body bytes

func (CustomersServiceInviteUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON400

func (r CustomersServiceInviteUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON401

func (r CustomersServiceInviteUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON403

func (r CustomersServiceInviteUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON404

func (r CustomersServiceInviteUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON409

func (r CustomersServiceInviteUserResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CustomersServiceInviteUserResponse) GetJSON500

func (r CustomersServiceInviteUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceInviteUserResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceInviteUserResponse) StatusCode

func (r CustomersServiceInviteUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomersServiceListUsersParams

type CustomersServiceListUsersParams struct {
	// Email Email — email пользователя. Поиск пользователей по частичному совпадению
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// UserName UserName — имя пользователя. Поиск пользователей по частичному совпадению
	UserName *string `form:"userName,omitempty" json:"userName,omitempty"`

	// IsFederative IsFederative — флаг для фильтрации только федеративных/локальных пользователей
	// Deprecated: используйте AccountType
	IsFederative *bool `form:"isFederative,omitempty" json:"isFederative,omitempty"`

	// Limit Limit — количество элементов на странице
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// Before Before — курсор для предыдущей страницы
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After After — курсор для следующей страницы
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// AccountType AccountType — тип учетной записи пользователя: федеративный или локальный
	AccountType *CustomersServiceListUsersParamsAccountType `form:"accountType,omitempty" json:"accountType,omitempty"`
}

CustomersServiceListUsersParams defines parameters for CustomersServiceListUsers.

type CustomersServiceListUsersParamsAccountType

type CustomersServiceListUsersParamsAccountType string

CustomersServiceListUsersParamsAccountType defines parameters for CustomersServiceListUsers.

const (
	CustomersServiceListUsersParamsAccountTypeUSERACCOUNTTYPEFEDERATED CustomersServiceListUsersParamsAccountType = "USER_ACCOUNT_TYPE_FEDERATED"
	CustomersServiceListUsersParamsAccountTypeUSERACCOUNTTYPELOCAL     CustomersServiceListUsersParamsAccountType = "USER_ACCOUNT_TYPE_LOCAL"
	CustomersServiceListUsersParamsAccountTypeUSERACCOUNTTYPEUNDEFINED CustomersServiceListUsersParamsAccountType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for CustomersServiceListUsersParamsAccountType.

func (CustomersServiceListUsersParamsAccountType) Valid

Valid indicates whether the value is a known member of the CustomersServiceListUsersParamsAccountType enum.

type CustomersServiceListUsersResponse

type CustomersServiceListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1customersListUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceListUsersResponse

func ParseCustomersServiceListUsersResponse(rsp *http.Response) (*CustomersServiceListUsersResponse, error)

ParseCustomersServiceListUsersResponse parses an HTTP response from a CustomersServiceListUsersWithResponse call

func (CustomersServiceListUsersResponse) ContentType

func (r CustomersServiceListUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceListUsersResponse) GetBody

GetBody returns the raw response body bytes

func (CustomersServiceListUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceListUsersResponse) GetJSON400

func (r CustomersServiceListUsersResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceListUsersResponse) GetJSON401

func (r CustomersServiceListUsersResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceListUsersResponse) GetJSON403

func (r CustomersServiceListUsersResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceListUsersResponse) GetJSON500

func (r CustomersServiceListUsersResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceListUsersResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceListUsersResponse) StatusCode

func (r CustomersServiceListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomersServiceReInviteUserBody

type CustomersServiceReInviteUserBody struct {
	UserId *string `json:"userId,omitempty"`
}

CustomersServiceReInviteUserBody defines model for CustomersServiceReInviteUserBody.

type CustomersServiceReInviteUserJSONRequestBody

type CustomersServiceReInviteUserJSONRequestBody = CustomersServiceReInviteUserBody

CustomersServiceReInviteUserJSONRequestBody defines body for CustomersServiceReInviteUser for application/json ContentType.

type CustomersServiceReInviteUserResponse

type CustomersServiceReInviteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RpcStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceReInviteUserResponse

func ParseCustomersServiceReInviteUserResponse(rsp *http.Response) (*CustomersServiceReInviteUserResponse, error)

ParseCustomersServiceReInviteUserResponse parses an HTTP response from a CustomersServiceReInviteUserWithResponse call

func (CustomersServiceReInviteUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceReInviteUserResponse) GetBody

GetBody returns the raw response body bytes

func (CustomersServiceReInviteUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceReInviteUserResponse) GetJSON400

func (r CustomersServiceReInviteUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceReInviteUserResponse) GetJSON401

func (r CustomersServiceReInviteUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceReInviteUserResponse) GetJSON403

func (r CustomersServiceReInviteUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceReInviteUserResponse) GetJSON404

func (r CustomersServiceReInviteUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CustomersServiceReInviteUserResponse) GetJSON500

func (r CustomersServiceReInviteUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceReInviteUserResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceReInviteUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CustomersServiceUpdateUserBody

type CustomersServiceUpdateUserBody struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	FirstName  *string `json:"firstName,omitempty"`
	LastName   *string `json:"lastName,omitempty"`
	MiddleName *string `json:"middleName,omitempty"`
}

CustomersServiceUpdateUserBody defines model for CustomersServiceUpdateUserBody.

type CustomersServiceUpdateUserJSONRequestBody

type CustomersServiceUpdateUserJSONRequestBody = CustomersServiceUpdateUserBody

CustomersServiceUpdateUserJSONRequestBody defines body for CustomersServiceUpdateUser for application/json ContentType.

type CustomersServiceUpdateUserResponse

type CustomersServiceUpdateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CustomersUpdateUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseCustomersServiceUpdateUserResponse

func ParseCustomersServiceUpdateUserResponse(rsp *http.Response) (*CustomersServiceUpdateUserResponse, error)

ParseCustomersServiceUpdateUserResponse parses an HTTP response from a CustomersServiceUpdateUserWithResponse call

func (CustomersServiceUpdateUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CustomersServiceUpdateUserResponse) GetBody

GetBody returns the raw response body bytes

func (CustomersServiceUpdateUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CustomersServiceUpdateUserResponse) GetJSON400

func (r CustomersServiceUpdateUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CustomersServiceUpdateUserResponse) GetJSON401

func (r CustomersServiceUpdateUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CustomersServiceUpdateUserResponse) GetJSON403

func (r CustomersServiceUpdateUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CustomersServiceUpdateUserResponse) GetJSON404

func (r CustomersServiceUpdateUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CustomersServiceUpdateUserResponse) GetJSON500

func (r CustomersServiceUpdateUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CustomersServiceUpdateUserResponse) Status

Status returns HTTPResponse.Status

func (CustomersServiceUpdateUserResponse) StatusCode

func (r CustomersServiceUpdateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomersUpdateUserResponse

type CustomersUpdateUserResponse struct {
	User *V1customersUser `json:"user,omitempty"`
}

CustomersUpdateUserResponse defines model for customersUpdateUserResponse.

type GroupServiceAddUserJSONRequestBody

type GroupServiceAddUserJSONRequestBody = V2GroupServiceAddUserBody

GroupServiceAddUserJSONRequestBody defines body for GroupServiceAddUser for application/json ContentType.

type GroupServiceAddUserResponse

type GroupServiceAddUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2AddUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceAddUserResponse

func ParseGroupServiceAddUserResponse(rsp *http.Response) (*GroupServiceAddUserResponse, error)

ParseGroupServiceAddUserResponse parses an HTTP response from a GroupServiceAddUserWithResponse call

func (GroupServiceAddUserResponse) ContentType

func (r GroupServiceAddUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceAddUserResponse) GetBody

func (r GroupServiceAddUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceAddUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceAddUserResponse) GetJSON400

func (r GroupServiceAddUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceAddUserResponse) GetJSON401

func (r GroupServiceAddUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceAddUserResponse) GetJSON403

func (r GroupServiceAddUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceAddUserResponse) GetJSON404

func (r GroupServiceAddUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceAddUserResponse) GetJSON409

func (r GroupServiceAddUserResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GroupServiceAddUserResponse) GetJSON500

func (r GroupServiceAddUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceAddUserResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceAddUserResponse) StatusCode

func (r GroupServiceAddUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceCreateJSONRequestBody

type GroupServiceCreateJSONRequestBody = V2CreateGroupRequest

GroupServiceCreateJSONRequestBody defines body for GroupServiceCreate for application/json ContentType.

type GroupServiceCreateResponse

type GroupServiceCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2Group
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceCreateResponse

func ParseGroupServiceCreateResponse(rsp *http.Response) (*GroupServiceCreateResponse, error)

ParseGroupServiceCreateResponse parses an HTTP response from a GroupServiceCreateWithResponse call

func (GroupServiceCreateResponse) ContentType

func (r GroupServiceCreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceCreateResponse) GetBody

func (r GroupServiceCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceCreateResponse) GetJSON200

func (r GroupServiceCreateResponse) GetJSON200() *Iamv2Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceCreateResponse) GetJSON400

func (r GroupServiceCreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceCreateResponse) GetJSON401

func (r GroupServiceCreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceCreateResponse) GetJSON403

func (r GroupServiceCreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceCreateResponse) GetJSON409

func (r GroupServiceCreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GroupServiceCreateResponse) GetJSON500

func (r GroupServiceCreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceCreateResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceCreateResponse) StatusCode

func (r GroupServiceCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceDeleteResponse

type GroupServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2DeleteGroupResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceDeleteResponse

func ParseGroupServiceDeleteResponse(rsp *http.Response) (*GroupServiceDeleteResponse, error)

ParseGroupServiceDeleteResponse parses an HTTP response from a GroupServiceDeleteWithResponse call

func (GroupServiceDeleteResponse) ContentType

func (r GroupServiceDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceDeleteResponse) GetBody

func (r GroupServiceDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceDeleteResponse) GetJSON400

func (r GroupServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceDeleteResponse) GetJSON401

func (r GroupServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceDeleteResponse) GetJSON403

func (r GroupServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceDeleteResponse) GetJSON404

func (r GroupServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceDeleteResponse) GetJSON500

func (r GroupServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceDeleteResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceDeleteResponse) StatusCode

func (r GroupServiceDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceDeleteUserJSONRequestBody

type GroupServiceDeleteUserJSONRequestBody = V2GroupServiceDeleteUserBody

GroupServiceDeleteUserJSONRequestBody defines body for GroupServiceDeleteUser for application/json ContentType.

type GroupServiceDeleteUserResponse

type GroupServiceDeleteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2DeleteGroupUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceDeleteUserResponse

func ParseGroupServiceDeleteUserResponse(rsp *http.Response) (*GroupServiceDeleteUserResponse, error)

ParseGroupServiceDeleteUserResponse parses an HTTP response from a GroupServiceDeleteUserWithResponse call

func (GroupServiceDeleteUserResponse) ContentType

func (r GroupServiceDeleteUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceDeleteUserResponse) GetBody

func (r GroupServiceDeleteUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceDeleteUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceDeleteUserResponse) GetJSON400

func (r GroupServiceDeleteUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceDeleteUserResponse) GetJSON401

func (r GroupServiceDeleteUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceDeleteUserResponse) GetJSON403

func (r GroupServiceDeleteUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceDeleteUserResponse) GetJSON404

func (r GroupServiceDeleteUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceDeleteUserResponse) GetJSON500

func (r GroupServiceDeleteUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceDeleteUserResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceDeleteUserResponse) StatusCode

func (r GroupServiceDeleteUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceGetResponse

type GroupServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2Group
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceGetResponse

func ParseGroupServiceGetResponse(rsp *http.Response) (*GroupServiceGetResponse, error)

ParseGroupServiceGetResponse parses an HTTP response from a GroupServiceGetWithResponse call

func (GroupServiceGetResponse) ContentType

func (r GroupServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceGetResponse) GetBody

func (r GroupServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceGetResponse) GetJSON200

func (r GroupServiceGetResponse) GetJSON200() *Iamv2Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceGetResponse) GetJSON400

func (r GroupServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceGetResponse) GetJSON401

func (r GroupServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceGetResponse) GetJSON403

func (r GroupServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceGetResponse) GetJSON404

func (r GroupServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceGetResponse) GetJSON500

func (r GroupServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceGetResponse) Status

func (r GroupServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (GroupServiceGetResponse) StatusCode

func (r GroupServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceHasUserParams

type GroupServiceHasUserParams struct {
	// UserId UserID — идентификатор пользователя
	UserId string `form:"userId" json:"userId"`
}

GroupServiceHasUserParams defines parameters for GroupServiceHasUser.

type GroupServiceHasUserResponse

type GroupServiceHasUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2HasUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceHasUserResponse

func ParseGroupServiceHasUserResponse(rsp *http.Response) (*GroupServiceHasUserResponse, error)

ParseGroupServiceHasUserResponse parses an HTTP response from a GroupServiceHasUserWithResponse call

func (GroupServiceHasUserResponse) ContentType

func (r GroupServiceHasUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceHasUserResponse) GetBody

func (r GroupServiceHasUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceHasUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceHasUserResponse) GetJSON400

func (r GroupServiceHasUserResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceHasUserResponse) GetJSON401

func (r GroupServiceHasUserResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceHasUserResponse) GetJSON403

func (r GroupServiceHasUserResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceHasUserResponse) GetJSON404

func (r GroupServiceHasUserResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceHasUserResponse) GetJSON500

func (r GroupServiceHasUserResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceHasUserResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceHasUserResponse) StatusCode

func (r GroupServiceHasUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceListParams

type GroupServiceListParams struct {
	// TargetCustomerId CustomerID — идентификатор организации
	TargetCustomerId *string `form:"target.customerId,omitempty" json:"target.customerId,omitempty"`

	// TargetProjectId ProjectID — идентификатор проекта
	TargetProjectId *string `form:"target.projectId,omitempty" json:"target.projectId,omitempty"`

	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListGroupsResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

GroupServiceListParams defines parameters for GroupServiceList.

type GroupServiceListResponse

type GroupServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ListGroupsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceListResponse

func ParseGroupServiceListResponse(rsp *http.Response) (*GroupServiceListResponse, error)

ParseGroupServiceListResponse parses an HTTP response from a GroupServiceListWithResponse call

func (GroupServiceListResponse) ContentType

func (r GroupServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceListResponse) GetBody

func (r GroupServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceListResponse) GetJSON400

func (r GroupServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceListResponse) GetJSON401

func (r GroupServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceListResponse) GetJSON403

func (r GroupServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceListResponse) GetJSON500

func (r GroupServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceListResponse) Status

func (r GroupServiceListResponse) Status() string

Status returns HTTPResponse.Status

func (GroupServiceListResponse) StatusCode

func (r GroupServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceListUsersParams

type GroupServiceListUsersParams struct {
	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListUsersResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

GroupServiceListUsersParams defines parameters for GroupServiceListUsers.

type GroupServiceListUsersResponse

type GroupServiceListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2ListGroupUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceListUsersResponse

func ParseGroupServiceListUsersResponse(rsp *http.Response) (*GroupServiceListUsersResponse, error)

ParseGroupServiceListUsersResponse parses an HTTP response from a GroupServiceListUsersWithResponse call

func (GroupServiceListUsersResponse) ContentType

func (r GroupServiceListUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceListUsersResponse) GetBody

func (r GroupServiceListUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceListUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceListUsersResponse) GetJSON400

func (r GroupServiceListUsersResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceListUsersResponse) GetJSON401

func (r GroupServiceListUsersResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceListUsersResponse) GetJSON403

func (r GroupServiceListUsersResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceListUsersResponse) GetJSON404

func (r GroupServiceListUsersResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceListUsersResponse) GetJSON500

func (r GroupServiceListUsersResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceListUsersResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceListUsersResponse) StatusCode

func (r GroupServiceListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceSetUsersJSONRequestBody

type GroupServiceSetUsersJSONRequestBody = V2GroupServiceSetUsersBody

GroupServiceSetUsersJSONRequestBody defines body for GroupServiceSetUsers for application/json ContentType.

type GroupServiceSetUsersResponse

type GroupServiceSetUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2SetUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceSetUsersResponse

func ParseGroupServiceSetUsersResponse(rsp *http.Response) (*GroupServiceSetUsersResponse, error)

ParseGroupServiceSetUsersResponse parses an HTTP response from a GroupServiceSetUsersWithResponse call

func (GroupServiceSetUsersResponse) ContentType

func (r GroupServiceSetUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceSetUsersResponse) GetBody

func (r GroupServiceSetUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceSetUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceSetUsersResponse) GetJSON400

func (r GroupServiceSetUsersResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceSetUsersResponse) GetJSON401

func (r GroupServiceSetUsersResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceSetUsersResponse) GetJSON403

func (r GroupServiceSetUsersResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceSetUsersResponse) GetJSON404

func (r GroupServiceSetUsersResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceSetUsersResponse) GetJSON500

func (r GroupServiceSetUsersResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceSetUsersResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceSetUsersResponse) StatusCode

func (r GroupServiceSetUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupServiceUpdateJSONRequestBody

type GroupServiceUpdateJSONRequestBody = V2GroupServiceUpdateBody

GroupServiceUpdateJSONRequestBody defines body for GroupServiceUpdate for application/json ContentType.

type GroupServiceUpdateResponse

type GroupServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2Group
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupServiceUpdateResponse

func ParseGroupServiceUpdateResponse(rsp *http.Response) (*GroupServiceUpdateResponse, error)

ParseGroupServiceUpdateResponse parses an HTTP response from a GroupServiceUpdateWithResponse call

func (GroupServiceUpdateResponse) ContentType

func (r GroupServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupServiceUpdateResponse) GetBody

func (r GroupServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupServiceUpdateResponse) GetJSON200

func (r GroupServiceUpdateResponse) GetJSON200() *Iamv2Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupServiceUpdateResponse) GetJSON400

func (r GroupServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupServiceUpdateResponse) GetJSON401

func (r GroupServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupServiceUpdateResponse) GetJSON403

func (r GroupServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupServiceUpdateResponse) GetJSON404

func (r GroupServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupServiceUpdateResponse) GetJSON500

func (r GroupServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupServiceUpdateResponse) Status

Status returns HTTPResponse.Status

func (GroupServiceUpdateResponse) StatusCode

func (r GroupServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupsGroupsServiceUpdateBody

type GroupsGroupsServiceUpdateBody struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

GroupsGroupsServiceUpdateBody defines model for groupsGroupsServiceUpdateBody.

type GroupsServiceListParams

type GroupsServiceListParams struct {
	// TargetCustomerId CustomerID — идентификатор организации
	TargetCustomerId *string `form:"target.customerId,omitempty" json:"target.customerId,omitempty"`

	// TargetProjectId ProjectID — идентификатор проекта
	TargetProjectId *string `form:"target.projectId,omitempty" json:"target.projectId,omitempty"`

	// Limit Limit — количество элементов на странице
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// CursorBefore Before — курсор для предыдущей страницы
	CursorBefore *string `form:"cursor.before,omitempty" json:"cursor.before,omitempty"`

	// CursorAfter After — курсор для следующей страницы
	CursorAfter *string `form:"cursor.after,omitempty" json:"cursor.after,omitempty"`
}

GroupsServiceListParams defines parameters for GroupsServiceList.

type GroupsServiceListResponse

type GroupsServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1groupsListGroupsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupsServiceListResponse

func ParseGroupsServiceListResponse(rsp *http.Response) (*GroupsServiceListResponse, error)

ParseGroupsServiceListResponse parses an HTTP response from a GroupsServiceListWithResponse call

func (GroupsServiceListResponse) ContentType

func (r GroupsServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupsServiceListResponse) GetBody

func (r GroupsServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupsServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupsServiceListResponse) GetJSON400

func (r GroupsServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupsServiceListResponse) GetJSON401

func (r GroupsServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupsServiceListResponse) GetJSON403

func (r GroupsServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupsServiceListResponse) GetJSON500

func (r GroupsServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupsServiceListResponse) Status

func (r GroupsServiceListResponse) Status() string

Status returns HTTPResponse.Status

func (GroupsServiceListResponse) StatusCode

func (r GroupsServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupsServiceListUsersParams

type GroupsServiceListUsersParams struct {
	// Limit Limit — количество элементов на странице
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// CursorBefore Before — курсор для предыдущей страницы
	CursorBefore *string `form:"cursor.before,omitempty" json:"cursor.before,omitempty"`

	// CursorAfter After — курсор для следующей страницы
	CursorAfter *string `form:"cursor.after,omitempty" json:"cursor.after,omitempty"`
}

GroupsServiceListUsersParams defines parameters for GroupsServiceListUsers.

type GroupsServiceListUsersResponse

type GroupsServiceListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1groupsListUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupsServiceListUsersResponse

func ParseGroupsServiceListUsersResponse(rsp *http.Response) (*GroupsServiceListUsersResponse, error)

ParseGroupsServiceListUsersResponse parses an HTTP response from a GroupsServiceListUsersWithResponse call

func (GroupsServiceListUsersResponse) ContentType

func (r GroupsServiceListUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupsServiceListUsersResponse) GetBody

func (r GroupsServiceListUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupsServiceListUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupsServiceListUsersResponse) GetJSON400

func (r GroupsServiceListUsersResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupsServiceListUsersResponse) GetJSON401

func (r GroupsServiceListUsersResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupsServiceListUsersResponse) GetJSON403

func (r GroupsServiceListUsersResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupsServiceListUsersResponse) GetJSON404

func (r GroupsServiceListUsersResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupsServiceListUsersResponse) GetJSON500

func (r GroupsServiceListUsersResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupsServiceListUsersResponse) Status

Status returns HTTPResponse.Status

func (GroupsServiceListUsersResponse) StatusCode

func (r GroupsServiceListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupsServiceUpdateJSONRequestBody

type GroupsServiceUpdateJSONRequestBody = GroupsGroupsServiceUpdateBody

GroupsServiceUpdateJSONRequestBody defines body for GroupsServiceUpdate for application/json ContentType.

type GroupsServiceUpdateResponse

type GroupsServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupsUpdateGroupResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseGroupsServiceUpdateResponse

func ParseGroupsServiceUpdateResponse(rsp *http.Response) (*GroupsServiceUpdateResponse, error)

ParseGroupsServiceUpdateResponse parses an HTTP response from a GroupsServiceUpdateWithResponse call

func (GroupsServiceUpdateResponse) ContentType

func (r GroupsServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GroupsServiceUpdateResponse) GetBody

func (r GroupsServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GroupsServiceUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GroupsServiceUpdateResponse) GetJSON400

func (r GroupsServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GroupsServiceUpdateResponse) GetJSON401

func (r GroupsServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GroupsServiceUpdateResponse) GetJSON403

func (r GroupsServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GroupsServiceUpdateResponse) GetJSON404

func (r GroupsServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GroupsServiceUpdateResponse) GetJSON500

func (r GroupsServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GroupsServiceUpdateResponse) Status

Status returns HTTPResponse.Status

func (GroupsServiceUpdateResponse) StatusCode

func (r GroupsServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupsUpdateGroupResponse

type GroupsUpdateGroupResponse struct {
	Group *V1groupsGroup `json:"group,omitempty"`
}

GroupsUpdateGroupResponse defines model for groupsUpdateGroupResponse.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Iamapiv1permissionAction

type Iamapiv1permissionAction struct {
	// CreatedAt CreatedAt — время создания действия.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Description Description — описание действия.
	Description *string `json:"description,omitempty"`

	// Groups Groups — группы действий.
	Groups *[]string `json:"groups,omitempty"`

	// Name Name — название действия.
	Name *string `json:"name,omitempty"`

	// ProductCode ProductCode — код продукта.
	ProductCode *string `json:"productCode,omitempty"`

	// UpdatedAt UpdatedAt — время обновления действия.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Iamapiv1permissionAction Action — данные действия.

type Iamapiv1permissionProduct

type Iamapiv1permissionProduct struct {
	// Code Code — код продукта.
	Code *string `json:"code,omitempty"`

	// Name Name — название продукта.
	Name *string `json:"name,omitempty"`
}

Iamapiv1permissionProduct Product — данные продукта.

type Iamapiv1permissionRole

type Iamapiv1permissionRole struct {
	// Actions Actions — список действий, связанных с ролью.
	Actions *[]string `json:"actions,omitempty"`

	// CreatedAt CreatedAt — время создания роли.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// CustomerId CustomerId — идентификатор организации, которой принадлежит эта роль.
	CustomerId  *string `json:"customerId,omitempty"`
	Description *string `json:"description,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled Enabled — активность роли.
	Enabled *bool `json:"enabled,omitempty"`

	// Id ID — идентификатор роли.
	Id *string `json:"id,omitempty"`

	// Name Name — название роли.
	Name *string `json:"name,omitempty"`

	// Type RoleType — тип роли.
	//
	//  - ROLE_TYPE_PRODUCT: ROLE_TYPE_PRODUCT — продуктовая роль.
	//  - ROLE_TYPE_CUSTOM: ROLE_TYPE_CUSTOM — пользовательская роль.
	Type *Iamapiv1permissionRoleType `json:"type,omitempty"`

	// UpdatedAt UpdatedAt — время обновления роли.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Iamapiv1permissionRole Role — данные роли.

type Iamapiv1permissionRoleType

type Iamapiv1permissionRoleType string

Iamapiv1permissionRoleType RoleType — тип роли.

  • ROLE_TYPE_PRODUCT: ROLE_TYPE_PRODUCT — продуктовая роль.
  • ROLE_TYPE_CUSTOM: ROLE_TYPE_CUSTOM — пользовательская роль.
const (
	Iamapiv1permissionRoleTypeROLETYPECUSTOM  Iamapiv1permissionRoleType = "ROLE_TYPE_CUSTOM"
	Iamapiv1permissionRoleTypeROLETYPEPRODUCT Iamapiv1permissionRoleType = "ROLE_TYPE_PRODUCT"
)

Defines values for Iamapiv1permissionRoleType.

func (Iamapiv1permissionRoleType) Valid

func (e Iamapiv1permissionRoleType) Valid() bool

Valid indicates whether the value is a known member of the Iamapiv1permissionRoleType enum.

type Iamv1CreateUserRequest

type Iamv1CreateUserRequest struct {
	// AccountType - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестное значение
	//  - USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — тип учетной записи для пользователей с аутентификацией через провайдер идентификации
	//  - USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — тип учетной записи для локальных пользователей
	AccountType Iamv1UserAccountType `json:"accountType"`
	CustomerId  string               `json:"customerId"`
	Email       string               `json:"email"`
	Enabled     *bool                `json:"enabled,omitempty"`
	FirstName   *string              `json:"firstName,omitempty"`
	IdpId       *string              `json:"idpId,omitempty"`
	LastName    *string              `json:"lastName,omitempty"`
	MiddleName  *string              `json:"middleName,omitempty"`
}

Iamv1CreateUserRequest defines model for iamv1CreateUserRequest.

type Iamv1DeleteUserResponse

type Iamv1DeleteUserResponse = map[string]interface{}

Iamv1DeleteUserResponse defines model for iamv1DeleteUserResponse.

type Iamv1Group

type Iamv1Group struct {
	CreatedAt      *time.Time                `json:"createdAt,omitempty"`
	Description    *string                   `json:"description,omitempty"`
	Id             *string                   `json:"id,omitempty"`
	LdapAttributes *Iamv1GroupLDAPAttributes `json:"ldapAttributes,omitempty"`
	Name           *string                   `json:"name,omitempty"`
	Target         *V1GroupTarget            `json:"target,omitempty"`
	UpdatedAt      *time.Time                `json:"updatedAt,omitempty"`
}

Iamv1Group defines model for iamv1Group.

type Iamv1GroupLDAPAttributes

type Iamv1GroupLDAPAttributes struct {
	DistinguishedName *string `json:"distinguishedName,omitempty"`
	ProviderId        *string `json:"providerId,omitempty"`
}

Iamv1GroupLDAPAttributes defines model for iamv1GroupLDAPAttributes.

type Iamv1ListUsersResponse

type Iamv1ListUsersResponse struct {
	NextPageToken *string      `json:"nextPageToken,omitempty"`
	Users         *[]Iamv1User `json:"users,omitempty"`
}

Iamv1ListUsersResponse defines model for iamv1ListUsersResponse.

type Iamv1User

type Iamv1User struct {
	// AccountType - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестное значение
	//  - USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — тип учетной записи для пользователей с аутентификацией через провайдер идентификации
	//  - USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — тип учетной записи для локальных пользователей
	AccountType Iamv1UserAccountType `json:"accountType"`
	CreatedAt   *time.Time           `json:"createdAt,omitempty"`
	Email       string               `json:"email"`
	Enabled     *bool                `json:"enabled,omitempty"`
	FirstName   *string              `json:"firstName,omitempty"`
	Id          *string              `json:"id,omitempty"`
	LastName    *string              `json:"lastName,omitempty"`
	MiddleName  *string              `json:"middleName,omitempty"`
	UpdatedAt   *time.Time           `json:"updatedAt,omitempty"`
}

Iamv1User defines model for iamv1User.

type Iamv1UserAccountType

type Iamv1UserAccountType string

Iamv1UserAccountType - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестное значение

  • USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — тип учетной записи для пользователей с аутентификацией через провайдер идентификации
  • USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — тип учетной записи для локальных пользователей
const (
	Iamv1UserAccountTypeUSERACCOUNTTYPEFEDERATED Iamv1UserAccountType = "USER_ACCOUNT_TYPE_FEDERATED"
	Iamv1UserAccountTypeUSERACCOUNTTYPELOCAL     Iamv1UserAccountType = "USER_ACCOUNT_TYPE_LOCAL"
	Iamv1UserAccountTypeUSERACCOUNTTYPEUNDEFINED Iamv1UserAccountType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for Iamv1UserAccountType.

func (Iamv1UserAccountType) Valid

func (e Iamv1UserAccountType) Valid() bool

Valid indicates whether the value is a known member of the Iamv1UserAccountType enum.

type Iamv1UserServiceUpdateBody

type Iamv1UserServiceUpdateBody struct {
	Enabled    bool   `json:"enabled"`
	FirstName  string `json:"firstName"`
	LastName   string `json:"lastName"`
	MiddleName string `json:"middleName"`
}

Iamv1UserServiceUpdateBody defines model for iamv1UserServiceUpdateBody.

type Iamv2APIKey

type Iamv2APIKey struct {
	CreatedAt        *time.Time         `json:"createdAt,omitempty"`
	Description      *string            `json:"description,omitempty"`
	Enabled          bool               `json:"enabled"`
	ExpiresAt        *time.Time         `json:"expiresAt,omitempty"`
	Id               *string            `json:"id,omitempty"`
	Name             string             `json:"name"`
	ProductCodes     []string           `json:"productCodes"`
	Restrictions     *Iamv2Restrictions `json:"restrictions,omitempty"`
	Secret           *string            `json:"secret,omitempty"`
	ServiceAccountId string             `json:"serviceAccountId"`
	UpdatedAt        *time.Time         `json:"updatedAt,omitempty"`
}

Iamv2APIKey defines model for iamv2APIKey.

type Iamv2APIKeyServiceUpdateBody

type Iamv2APIKeyServiceUpdateBody struct {
	Description  *string           `json:"description,omitempty"`
	Enabled      bool              `json:"enabled"`
	Name         string            `json:"name"`
	ProductCodes []string          `json:"productCodes"`
	Restrictions Iamv2Restrictions `json:"restrictions"`
}

Iamv2APIKeyServiceUpdateBody defines model for iamv2APIKeyServiceUpdateBody.

type Iamv2AccessKey

type Iamv2AccessKey struct {
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	Description *string    `json:"description,omitempty"`

	// ExpiredAt ExpiredAt — дата истечения срока действия ключа доступа.
	ExpiredAt        *time.Time `json:"expiredAt,omitempty"`
	Id               *string    `json:"id,omitempty"`
	KeyId            *string    `json:"keyId,omitempty"`
	Secret           *string    `json:"secret,omitempty"`
	ServiceAccountId string     `json:"serviceAccountId"`
	UpdatedAt        *time.Time `json:"updatedAt,omitempty"`
}

Iamv2AccessKey defines model for iamv2AccessKey.

type Iamv2CreateUserRequest

type Iamv2CreateUserRequest struct {
	// AccountType UserAccountType — тип учетной записи пользователя.
	//
	//  - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестный тип учетной записи.
	//  - USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — федеративная учетная запись.
	//  - USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — локальная учетная запись.
	AccountType Iamv2UserAccountType `json:"accountType"`

	// CustomerId CustomerID — идентификатор организации,
	// в которую будет добавлен пользователь.
	CustomerId string `json:"customerId"`

	// Email Email — электронная почта пользователя.
	Email string `json:"email"`

	// Enabled Enabled — флаг активности пользователя.
	// Отключение (false) поддерживается только для
	// федеративных пользователей: создание локального
	// пользователя с enabled=false вернет ошибку.
	Enabled *bool `json:"enabled,omitempty"`

	// FirstName FirstName — имя пользователя.
	FirstName *string `json:"firstName,omitempty"`

	// IdpId IDPID — идентификатор провайдера идентификации.
	// Поддерживается только для федеративных
	// пользователей.
	IdpId *string `json:"idpId,omitempty"`

	// LastName LastName — фамилия пользователя.
	LastName *string `json:"lastName,omitempty"`

	// MiddleName MiddleName — отчество пользователя.
	MiddleName *string `json:"middleName,omitempty"`
}

Iamv2CreateUserRequest CreateUserRequest — запрос на создание пользователя.

type Iamv2DeleteUserResponse

type Iamv2DeleteUserResponse = map[string]interface{}

Iamv2DeleteUserResponse DeleteUserResponse — ответ на удаление пользователя.

type Iamv2GetTokenRequest

type Iamv2GetTokenRequest struct {
	KeyId  string `json:"keyId"`
	Secret string `json:"secret"`

	// ServiceAccountId ServiceAccountID — идентификатор сервисного аккаунта, чей токен нужно выпустить.
	// Если поле не передано, выпускается токен владельца ключа доступа.
	ServiceAccountId *string `json:"serviceAccountId,omitempty"`
}

Iamv2GetTokenRequest GetTokenRequest — запрос учетных данных для получения токена.

type Iamv2GetTokenResponse

type Iamv2GetTokenResponse struct {
	// AccessToken AccessToken — токен, используемый для доступа к ресурсам.
	AccessToken *string `json:"accessToken,omitempty"`

	// ExpiresIn ExpiresIn — время в секундах, через которое истечет срок действия AccessToken.
	ExpiresIn *int32 `json:"expiresIn,omitempty"`

	// IdToken IDToken — токен, используемый для идентификации пользователя.
	IdToken *string `json:"idToken,omitempty"`

	// NotBefore NotBefore — время в секундах, когда токен может быть использован.
	NotBefore *int32 `json:"notBefore,omitempty"`

	// RefreshExpiresIn RefreshExpiresIn — время в секундах, через которое истечет срок действия RefreshToken.
	RefreshExpiresIn *int32 `json:"refreshExpiresIn,omitempty"`

	// RefreshToken RefreshToken — токен, используемый для обновления AccessToken.
	RefreshToken *string `json:"refreshToken,omitempty"`

	// Scopes Scopes — список областей действия, к которым имеет доступ токен.
	Scopes *[]string `json:"scopes,omitempty"`

	// TokenType TokenType — тип токена.
	// Будет "Bearer".
	TokenType *string `json:"tokenType,omitempty"`
}

Iamv2GetTokenResponse GetTokenResponse — ответ на запрос GetToken.

type Iamv2Group

type Iamv2Group struct {
	CreatedAt      *time.Time                `json:"createdAt,omitempty"`
	Description    *string                   `json:"description,omitempty"`
	Id             *string                   `json:"id,omitempty"`
	LdapAttributes *Iamv2GroupLDAPAttributes `json:"ldapAttributes,omitempty"`
	Name           *string                   `json:"name,omitempty"`
	Target         *Iamv2Target              `json:"target,omitempty"`
	UpdatedAt      *time.Time                `json:"updatedAt,omitempty"`
}

Iamv2Group defines model for iamv2Group.

type Iamv2GroupLDAPAttributes

type Iamv2GroupLDAPAttributes struct {
	DistinguishedName *string `json:"distinguishedName,omitempty"`

	// ProviderId ProviderID — идентификатор LDAP-провайдера.
	ProviderId *string `json:"providerId,omitempty"`
}

Iamv2GroupLDAPAttributes defines model for iamv2GroupLDAPAttributes.

type Iamv2HasUserResponse

type Iamv2HasUserResponse struct {
	IsMember *bool `json:"isMember,omitempty"`
}

Iamv2HasUserResponse defines model for iamv2HasUserResponse.

type Iamv2ImpersonateRequest

type Iamv2ImpersonateRequest struct {
	// ServiceAccountId ServiceAccountID — идентификатор сервисного аккаунта, чей токен нужно выпустить.
	ServiceAccountId string `json:"serviceAccountId"`
}

Iamv2ImpersonateRequest ImpersonateRequest — запрос на выпуск токена сервисного аккаунта без его ключей доступа.

type Iamv2ListAPIKeysResponse

type Iamv2ListAPIKeysResponse struct {
	Keys          *[]Iamv2APIKey `json:"keys,omitempty"`
	NextPageToken *string        `json:"nextPageToken,omitempty"`
}

Iamv2ListAPIKeysResponse ListAPIKeysResponse — список API-ключей сервисного аккаунта.

type Iamv2ListGroupsResponse

type Iamv2ListGroupsResponse struct {
	Groups        *[]Iamv2Group `json:"groups,omitempty"`
	NextPageToken *string       `json:"nextPageToken,omitempty"`
}

Iamv2ListGroupsResponse defines model for iamv2ListGroupsResponse.

type Iamv2ListUsersResponse

type Iamv2ListUsersResponse struct {
	// NextPageToken NextPageToken — токен следующей страницы.
	NextPageToken *string `json:"nextPageToken,omitempty"`

	// Users Users — список пользователей.
	Users *[]Iamv2User `json:"users,omitempty"`
}

Iamv2ListUsersResponse ListUsersResponse — ответ со списком пользователей.

type Iamv2Restrictions

type Iamv2Restrictions struct {
	IpAddresses *[]string       `json:"ipAddresses,omitempty"`
	TimeRange   *Iamv2TimeRange `json:"timeRange,omitempty"`
}

Iamv2Restrictions defines model for iamv2Restrictions.

type Iamv2ServiceAccount

type Iamv2ServiceAccount struct {
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	Description *string    `json:"description,omitempty"`

	// Email Email — email сервисного аккаунта.
	// Только для чтения, виртуальный.
	Email   *string                `json:"email,omitempty"`
	Enabled *bool                  `json:"enabled,omitempty"`
	Id      *string                `json:"id,omitempty"`
	Name    string                 `json:"name"`
	Target  V2ServiceAccountTarget `json:"target"`

	// Type - SERVICE_ACCOUNT_TYPE_UNSPECIFIED: SERVICE_ACCOUNT_TYPE_UNSPECIFIED — тип не указан
	//  - SERVICE_ACCOUNT_TYPE_REGULAR: SERVICE_ACCOUNT_TYPE_REGULAR — обычный сервисный аккаунт, созданный пользователями
	//  - SERVICE_ACCOUNT_TYPE_TECHNICAL: SERVICE_ACCOUNT_TYPE_TECHNICAL — технический сервисный аккаунт, создаваемый автоматически
	// для ресурсов
	Type      *V2ServiceAccountType `json:"type,omitempty"`
	UpdatedAt *time.Time            `json:"updatedAt,omitempty"`
}

Iamv2ServiceAccount defines model for iamv2ServiceAccount.

type Iamv2Target

type Iamv2Target struct {
	CustomerId *string `json:"customerId,omitempty"`
	ProjectId  *string `json:"projectId,omitempty"`
}

Iamv2Target defines model for iamv2Target.

type Iamv2TimeRange

type Iamv2TimeRange struct {
	TimeSlots *[]Iamv2TimeSlot `json:"timeSlots,omitempty"`
	Timezone  *int32           `json:"timezone,omitempty"`
}

Iamv2TimeRange defines model for iamv2TimeRange.

type Iamv2TimeSlot

type Iamv2TimeSlot struct {
	End   *int32 `json:"end,omitempty"`
	Start *int32 `json:"start,omitempty"`
}

Iamv2TimeSlot defines model for iamv2TimeSlot.

type Iamv2User

type Iamv2User struct {
	// AccountType UserAccountType — тип учетной записи пользователя.
	//
	//  - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестный тип учетной записи.
	//  - USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — федеративная учетная запись.
	//  - USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — локальная учетная запись.
	AccountType Iamv2UserAccountType `json:"accountType"`

	// CreatedAt CreatedAt — время создания пользователя.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Email Email — электронная почта пользователя.
	Email string `json:"email"`

	// Enabled Enabled — флаг активности пользователя.
	Enabled *bool `json:"enabled,omitempty"`

	// FirstName FirstName — имя пользователя.
	FirstName *string `json:"firstName,omitempty"`

	// Id ID — идентификатор пользователя.
	Id *string `json:"id,omitempty"`

	// LastName LastName — фамилия пользователя.
	LastName *string `json:"lastName,omitempty"`

	// MiddleName MiddleName — отчество пользователя.
	MiddleName *string `json:"middleName,omitempty"`

	// UpdatedAt UpdatedAt — время последнего обновления пользователя.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Iamv2User User — данные пользователя.

type Iamv2UserAccountType

type Iamv2UserAccountType string

Iamv2UserAccountType UserAccountType — тип учетной записи пользователя.

  • USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестный тип учетной записи.
  • USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — федеративная учетная запись.
  • USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — локальная учетная запись.
const (
	Iamv2UserAccountTypeUSERACCOUNTTYPEFEDERATED Iamv2UserAccountType = "USER_ACCOUNT_TYPE_FEDERATED"
	Iamv2UserAccountTypeUSERACCOUNTTYPELOCAL     Iamv2UserAccountType = "USER_ACCOUNT_TYPE_LOCAL"
	Iamv2UserAccountTypeUSERACCOUNTTYPEUNDEFINED Iamv2UserAccountType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for Iamv2UserAccountType.

func (Iamv2UserAccountType) Valid

func (e Iamv2UserAccountType) Valid() bool

Valid indicates whether the value is a known member of the Iamv2UserAccountType enum.

type Iamv2UserServiceUpdateBody

type Iamv2UserServiceUpdateBody struct {
	// Enabled Enabled — флаг активности пользователя.
	// Если поле не передано, значение не изменяется.
	Enabled *bool `json:"enabled,omitempty"`

	// FirstName FirstName — имя пользователя.
	// Если поле не передано, значение не изменяется.
	FirstName *string `json:"firstName,omitempty"`

	// LastName LastName — фамилия пользователя.
	// Если поле не передано, значение не изменяется.
	LastName *string `json:"lastName,omitempty"`

	// MiddleName MiddleName — отчество пользователя.
	// Если поле не передано, значение не изменяется.
	MiddleName *string `json:"middleName,omitempty"`
}

Iamv2UserServiceUpdateBody UpdateUserRequest — запрос на обновление пользователя. Обновляются только поля, переданные в запросе (presence). Поля со значением null не изменяются.

type Iamv3CreatePermissionRequest

type Iamv3CreatePermissionRequest struct {
	// ExpiresAt ExpiresAt — дата истечения срока действия разрешения.
	// Разрешение автоматически отзывается после указанной даты.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// ResourceId ResourceID — идентификатор ресурса, на который выдается доступ.
	// Может быть идентификатором организации, проекта или любого ресурса в проекте.
	ResourceId string `json:"resourceId"`

	// Role Role — роль для назначения.
	// Deprecated: используйте role_name или role_id вместо этого поля.
	// Обязательно должно быть указано одно из полей: role (deprecated), role_name или role_id.
	Role *string `json:"role,omitempty"`

	// RoleIdentifier RoleIdentifier — роль для назначения.
	// Обязательно должно быть указано одно из полей: role_name или role_id.
	// НЕЛЬЗЯ указывать несколько полей одновременно.
	RoleIdentifier *V3RoleIdentifier `json:"roleIdentifier,omitempty"`

	// SubjectId SubjectID — идентификатор субъекта, кому выдается доступ.
	// Может быть идентификатором пользователя, сервисного аккаунта или группы пользователей.
	SubjectId string `json:"subjectId"`
}

Iamv3CreatePermissionRequest CreatePermissionRequest — запрос на создание разрешения.

ВАЖНО: Укажите ТОЛЬКО ОДНО поле для идентификации роли: - role (deprecated) — поддерживает UUID и имя роли - role_name — только имя роли - role_id — только UUID роли

Указание нескольких полей одновременно приведет к ошибке.

type Iamv3DeletePermissionResponse

type Iamv3DeletePermissionResponse = map[string]interface{}

Iamv3DeletePermissionResponse DeletePermissionResponse — ответ на запрос удаления разрешения.

type Iamv3ListPermissionsResponse

type Iamv3ListPermissionsResponse struct {
	// NextPageToken NextPageToken — токен для получения следующей страницы списка.
	NextPageToken *string `json:"nextPageToken,omitempty"`

	// Permissions Permissions — список разрешений.
	Permissions *[]Iamv3Permission `json:"permissions,omitempty"`
}

Iamv3ListPermissionsResponse ListPermissionsResponse — ответ на запрос получения списка разрешений.

type Iamv3Permission

type Iamv3Permission struct {
	// CreatedAt CreatedAt — дата создания разрешения.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Enabled Enabled — флаг активности разрешения.
	Enabled *bool `json:"enabled,omitempty"`

	// ExpiresAt ExpiresAt — дата истечения срока действия разрешения.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// Id ID — идентификатор разрешения.
	Id *string `json:"id,omitempty"`

	// PrimaryRoleId PrimaryRoleId — идентификатор роли (uuid).
	PrimaryRoleId *string `json:"primaryRoleId,omitempty"`

	// ResourceId ResourceID — идентификатор ресурса.
	ResourceId string `json:"resourceId"`

	// RoleId RoleID — идентификатор роли.
	// Deprecated: используйте role_name/primary_role_id.
	RoleId string `json:"roleId"`

	// RoleName RoleName — название роли.
	RoleName *string `json:"roleName,omitempty"`

	// RoleType RoleType — тип роли.
	//
	//  - ROLE_TYPE_UNSPECIFIED: ROLE_TYPE_UNSPECIFIED — неопределенный тип роли.
	//  - ROLE_TYPE_PRODUCT: ROLE_TYPE_PRODUCT — продуктовая роль.
	//  - ROLE_TYPE_CUSTOM: ROLE_TYPE_CUSTOM — пользовательская роль.
	RoleType *Iamv3RoleType `json:"roleType,omitempty"`

	// SubjectId SubjectID — идентификатор субъекта.
	SubjectId string `json:"subjectId"`

	// SubjectType SubjectType — тип субъекта.
	// Возможные значения:
	//   "user" — пользователь.
	//   "user_group" — группа пользователей.
	//   "service_account" — сервисный аккаунт.
	SubjectType *string `json:"subjectType,omitempty"`

	// UpdatedAt UpdatedAt — дата обновления разрешения.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Iamv3Permission Permission — разрешение на доступ к ресурсу.

type Iamv3PermissionServiceUpdateBody

type Iamv3PermissionServiceUpdateBody struct {
	// ExpiresAt ExpiresAt — дата истечения срока действия разрешения.
	ExpiresAt time.Time `json:"expiresAt"`
}

Iamv3PermissionServiceUpdateBody UpdatePermissionRequest — запрос на обновление разрешения.

type Iamv3RoleType

type Iamv3RoleType string

Iamv3RoleType RoleType — тип роли.

  • ROLE_TYPE_UNSPECIFIED: ROLE_TYPE_UNSPECIFIED — неопределенный тип роли.
  • ROLE_TYPE_PRODUCT: ROLE_TYPE_PRODUCT — продуктовая роль.
  • ROLE_TYPE_CUSTOM: ROLE_TYPE_CUSTOM — пользовательская роль.
const (
	Iamv3RoleTypeROLETYPECUSTOM      Iamv3RoleType = "ROLE_TYPE_CUSTOM"
	Iamv3RoleTypeROLETYPEPRODUCT     Iamv3RoleType = "ROLE_TYPE_PRODUCT"
	Iamv3RoleTypeROLETYPEUNSPECIFIED Iamv3RoleType = "ROLE_TYPE_UNSPECIFIED"
)

Defines values for Iamv3RoleType.

func (Iamv3RoleType) Valid

func (e Iamv3RoleType) Valid() bool

Valid indicates whether the value is a known member of the Iamv3RoleType enum.

type MeServiceAcceptInviteParams

type MeServiceAcceptInviteParams struct {
	// CustomerId CustomerId — идентификатор организации.
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`
}

MeServiceAcceptInviteParams defines parameters for MeServiceAcceptInvite.

type MeServiceAcceptInviteResponse

type MeServiceAcceptInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RpcStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseMeServiceAcceptInviteResponse

func ParseMeServiceAcceptInviteResponse(rsp *http.Response) (*MeServiceAcceptInviteResponse, error)

ParseMeServiceAcceptInviteResponse parses an HTTP response from a MeServiceAcceptInviteWithResponse call

func (MeServiceAcceptInviteResponse) ContentType

func (r MeServiceAcceptInviteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MeServiceAcceptInviteResponse) GetBody

func (r MeServiceAcceptInviteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MeServiceAcceptInviteResponse) GetJSON200

func (r MeServiceAcceptInviteResponse) GetJSON200() *RpcStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (MeServiceAcceptInviteResponse) GetJSON400

func (r MeServiceAcceptInviteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MeServiceAcceptInviteResponse) GetJSON401

func (r MeServiceAcceptInviteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (MeServiceAcceptInviteResponse) GetJSON403

func (r MeServiceAcceptInviteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (MeServiceAcceptInviteResponse) GetJSON404

func (r MeServiceAcceptInviteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MeServiceAcceptInviteResponse) GetJSON500

func (r MeServiceAcceptInviteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (MeServiceAcceptInviteResponse) Status

Status returns HTTPResponse.Status

func (MeServiceAcceptInviteResponse) StatusCode

func (r MeServiceAcceptInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MeServiceDeclineInviteParams

type MeServiceDeclineInviteParams struct {
	// CustomerId CustomerId — идентификатор организации.
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`
}

MeServiceDeclineInviteParams defines parameters for MeServiceDeclineInvite.

type MeServiceDeclineInviteResponse

type MeServiceDeclineInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RpcStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseMeServiceDeclineInviteResponse

func ParseMeServiceDeclineInviteResponse(rsp *http.Response) (*MeServiceDeclineInviteResponse, error)

ParseMeServiceDeclineInviteResponse parses an HTTP response from a MeServiceDeclineInviteWithResponse call

func (MeServiceDeclineInviteResponse) ContentType

func (r MeServiceDeclineInviteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MeServiceDeclineInviteResponse) GetBody

func (r MeServiceDeclineInviteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MeServiceDeclineInviteResponse) GetJSON200

func (r MeServiceDeclineInviteResponse) GetJSON200() *RpcStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (MeServiceDeclineInviteResponse) GetJSON400

func (r MeServiceDeclineInviteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MeServiceDeclineInviteResponse) GetJSON401

func (r MeServiceDeclineInviteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (MeServiceDeclineInviteResponse) GetJSON403

func (r MeServiceDeclineInviteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (MeServiceDeclineInviteResponse) GetJSON404

func (r MeServiceDeclineInviteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MeServiceDeclineInviteResponse) GetJSON500

func (r MeServiceDeclineInviteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (MeServiceDeclineInviteResponse) Status

Status returns HTTPResponse.Status

func (MeServiceDeclineInviteResponse) StatusCode

func (r MeServiceDeclineInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionApplySpecRequest

type PermissionApplySpecRequest struct {
	// Content Content — двоичные данные yaml-файла.
	Content []byte `json:"content"`

	// CustomerId CustomerId — идентификатор организации, которой принадлежит эта роль.
	CustomerId string `json:"customerId"`
}

PermissionApplySpecRequest ApplySpecRequest — запрос на применение спецификации роли.

type PermissionApplySpecResponse

type PermissionApplySpecResponse struct {
	// RoleIds RoleIDs — примененные идентификаторы ролей.
	RoleIds *[]string `json:"roleIds,omitempty"`
}

PermissionApplySpecResponse ApplySpecResponse — ответ на применение спецификации роли.

type PermissionCreateRoleRequest

type PermissionCreateRoleRequest struct {
	// Actions Actions — список действий, связанных с ролью.
	Actions []string `json:"actions"`

	// CustomerId CustomerId — идентификатор организации, которой принадлежит эта роль.
	CustomerId  string  `json:"customerId"`
	Description *string `json:"description,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled Enabled — активность роли.
	Enabled *bool `json:"enabled,omitempty"`

	// Name Name — название роли.
	Name string `json:"name"`
}

PermissionCreateRoleRequest CreateRoleRequest — запрос на создание роли.

type PermissionDeleteRoleResponse

type PermissionDeleteRoleResponse = map[string]interface{}

PermissionDeleteRoleResponse defines model for permissionDeleteRoleResponse.

type PermissionGetSpecResponse

type PermissionGetSpecResponse struct {
	// Content Content — двоичные данные yaml-файла.
	Content *[]byte `json:"content,omitempty"`
}

PermissionGetSpecResponse GetSpecResponse — ответ на получение спецификации роли.

type PermissionListActionsResponse

type PermissionListActionsResponse struct {
	// Actions Actions — список действий.
	Actions *[]Iamapiv1permissionAction `json:"actions,omitempty"`

	// NextPageToken NextPageToken — токен страницы для получения результата следующей страницы.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

PermissionListActionsResponse ListActionsResponse — ответ со списком действий.

type PermissionListRolesResponse

type PermissionListRolesResponse struct {
	// NextPageToken NextPageToken — токен страницы для получения результата следующей страницы.
	NextPageToken *string `json:"nextPageToken,omitempty"`

	// Roles Roles — список ролей.
	Roles *[]Iamapiv1permissionRole `json:"roles,omitempty"`
}

PermissionListRolesResponse ListRolesResponse — ответ на получение списка ролей.

type PermissionRoleAPIVersion

type PermissionRoleAPIVersion string

PermissionRoleAPIVersion RoleAPIVersion — версия API спецификации роли.

  • ROLE_API_VERSION_V1: ROLE_API_VERSION_V1 — стабильная версия.
  • ROLE_API_VERSION_V1EXTENDED: ROLE_API_VERSION_V1EXTENDED — расширенная стабильная версия.
const (
	ROLEAPIVERSIONV1         PermissionRoleAPIVersion = "ROLE_API_VERSION_V1"
	ROLEAPIVERSIONV1EXTENDED PermissionRoleAPIVersion = "ROLE_API_VERSION_V1EXTENDED"
)

Defines values for PermissionRoleAPIVersion.

func (PermissionRoleAPIVersion) Valid

func (e PermissionRoleAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the PermissionRoleAPIVersion enum.

type PermissionRoleServiceUpdateBody

type PermissionRoleServiceUpdateBody struct {
	// Actions Actions — список действий, связанных с ролью.
	Actions     []string `json:"actions"`
	Description string   `json:"description"`
	DisplayName string   `json:"displayName"`

	// Enabled Enabled — активность роли.
	Enabled bool `json:"enabled"`

	// Name Name — название роли.
	Name string `json:"name"`
}

PermissionRoleServiceUpdateBody UpdateRoleRequest — запрос на обновление роли.

type PermissionServiceV3CreateJSONRequestBody

type PermissionServiceV3CreateJSONRequestBody = Iamv3CreatePermissionRequest

PermissionServiceV3CreateJSONRequestBody defines body for PermissionServiceV3Create for application/json ContentType.

type PermissionServiceV3CreateResponse

type PermissionServiceV3CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv3Permission
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionServiceV3CreateResponse

func ParsePermissionServiceV3CreateResponse(rsp *http.Response) (*PermissionServiceV3CreateResponse, error)

ParsePermissionServiceV3CreateResponse parses an HTTP response from a PermissionServiceV3CreateWithResponse call

func (PermissionServiceV3CreateResponse) ContentType

func (r PermissionServiceV3CreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionServiceV3CreateResponse) GetBody

GetBody returns the raw response body bytes

func (PermissionServiceV3CreateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionServiceV3CreateResponse) GetJSON400

func (r PermissionServiceV3CreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionServiceV3CreateResponse) GetJSON401

func (r PermissionServiceV3CreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionServiceV3CreateResponse) GetJSON403

func (r PermissionServiceV3CreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionServiceV3CreateResponse) GetJSON404

func (r PermissionServiceV3CreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PermissionServiceV3CreateResponse) GetJSON500

func (r PermissionServiceV3CreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionServiceV3CreateResponse) Status

Status returns HTTPResponse.Status

func (PermissionServiceV3CreateResponse) StatusCode

func (r PermissionServiceV3CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionServiceV3DeleteResponse

type PermissionServiceV3DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv3DeletePermissionResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionServiceV3DeleteResponse

func ParsePermissionServiceV3DeleteResponse(rsp *http.Response) (*PermissionServiceV3DeleteResponse, error)

ParsePermissionServiceV3DeleteResponse parses an HTTP response from a PermissionServiceV3DeleteWithResponse call

func (PermissionServiceV3DeleteResponse) ContentType

func (r PermissionServiceV3DeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionServiceV3DeleteResponse) GetBody

GetBody returns the raw response body bytes

func (PermissionServiceV3DeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionServiceV3DeleteResponse) GetJSON400

func (r PermissionServiceV3DeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionServiceV3DeleteResponse) GetJSON401

func (r PermissionServiceV3DeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionServiceV3DeleteResponse) GetJSON403

func (r PermissionServiceV3DeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionServiceV3DeleteResponse) GetJSON404

func (r PermissionServiceV3DeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PermissionServiceV3DeleteResponse) GetJSON500

func (r PermissionServiceV3DeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionServiceV3DeleteResponse) Status

Status returns HTTPResponse.Status

func (PermissionServiceV3DeleteResponse) StatusCode

func (r PermissionServiceV3DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionServiceV3GetResponse

type PermissionServiceV3GetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv3Permission
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionServiceV3GetResponse

func ParsePermissionServiceV3GetResponse(rsp *http.Response) (*PermissionServiceV3GetResponse, error)

ParsePermissionServiceV3GetResponse parses an HTTP response from a PermissionServiceV3GetWithResponse call

func (PermissionServiceV3GetResponse) ContentType

func (r PermissionServiceV3GetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionServiceV3GetResponse) GetBody

func (r PermissionServiceV3GetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PermissionServiceV3GetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionServiceV3GetResponse) GetJSON400

func (r PermissionServiceV3GetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionServiceV3GetResponse) GetJSON401

func (r PermissionServiceV3GetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionServiceV3GetResponse) GetJSON403

func (r PermissionServiceV3GetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionServiceV3GetResponse) GetJSON404

func (r PermissionServiceV3GetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PermissionServiceV3GetResponse) GetJSON500

func (r PermissionServiceV3GetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionServiceV3GetResponse) Status

Status returns HTTPResponse.Status

func (PermissionServiceV3GetResponse) StatusCode

func (r PermissionServiceV3GetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionServiceV3ListParams

type PermissionServiceV3ListParams struct {
	// Filter Filter — фильтрующее выражение.
	// resource_id=7233e6a4-cac8-409d-ae0c-1eece3022a7f — обязательный фильтр.
	// role_id=platform.project.admin — опциональный фильтр по названию роли (исторический идентификатор).
	// primary_role_id=3c6f726e-fc24-4b23-a770-168b71cb373d — опциональный фильтр по UUID роли.
	// role_name=platform.project.admin — опциональный фильтр по названию роли.
	// role_type=ROLE_TYPE_PRODUCT — опциональный фильтр по типу роли (возможные значения: ROLE_TYPE_UNSPECIFIED, ROLE_TYPE_PRODUCT, ROLE_TYPE_CUSTOM).
	// subject_id=fcfaa582-e9c8-457b-b5bc-909b560a7e97 — опциональный фильтр по идентификатору субъекта.
	// subject_type=user — опциональный фильтр по типу субъекта (возможные значения: user|service_account|user_group).
	//
	// Объединение фильтров: поддерживается только оператор AND.
	// Пример: resource_id=7233e6a4-cac8-409d-ae0c-1eece3022a7f AND role_id=platform.project.admin.
	Filter string `form:"filter" json:"filter"`

	// PageSize PageSize — количество элементов на странице.
	// Максимальное значение: 1000. Значение по умолчанию: 100.
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен для получения следующей страницы списка.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

PermissionServiceV3ListParams defines parameters for PermissionServiceV3List.

type PermissionServiceV3ListResponse

type PermissionServiceV3ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv3ListPermissionsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionServiceV3ListResponse

func ParsePermissionServiceV3ListResponse(rsp *http.Response) (*PermissionServiceV3ListResponse, error)

ParsePermissionServiceV3ListResponse parses an HTTP response from a PermissionServiceV3ListWithResponse call

func (PermissionServiceV3ListResponse) ContentType

func (r PermissionServiceV3ListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionServiceV3ListResponse) GetBody

func (r PermissionServiceV3ListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PermissionServiceV3ListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionServiceV3ListResponse) GetJSON400

func (r PermissionServiceV3ListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionServiceV3ListResponse) GetJSON401

func (r PermissionServiceV3ListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionServiceV3ListResponse) GetJSON403

func (r PermissionServiceV3ListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionServiceV3ListResponse) GetJSON500

func (r PermissionServiceV3ListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionServiceV3ListResponse) Status

Status returns HTTPResponse.Status

func (PermissionServiceV3ListResponse) StatusCode

func (r PermissionServiceV3ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionServiceV3UpdateJSONRequestBody

type PermissionServiceV3UpdateJSONRequestBody = Iamv3PermissionServiceUpdateBody

PermissionServiceV3UpdateJSONRequestBody defines body for PermissionServiceV3Update for application/json ContentType.

type PermissionServiceV3UpdateResponse

type PermissionServiceV3UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv3Permission
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionServiceV3UpdateResponse

func ParsePermissionServiceV3UpdateResponse(rsp *http.Response) (*PermissionServiceV3UpdateResponse, error)

ParsePermissionServiceV3UpdateResponse parses an HTTP response from a PermissionServiceV3UpdateWithResponse call

func (PermissionServiceV3UpdateResponse) ContentType

func (r PermissionServiceV3UpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionServiceV3UpdateResponse) GetBody

GetBody returns the raw response body bytes

func (PermissionServiceV3UpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionServiceV3UpdateResponse) GetJSON400

func (r PermissionServiceV3UpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionServiceV3UpdateResponse) GetJSON401

func (r PermissionServiceV3UpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionServiceV3UpdateResponse) GetJSON403

func (r PermissionServiceV3UpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionServiceV3UpdateResponse) GetJSON404

func (r PermissionServiceV3UpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PermissionServiceV3UpdateResponse) GetJSON500

func (r PermissionServiceV3UpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionServiceV3UpdateResponse) Status

Status returns HTTPResponse.Status

func (PermissionServiceV3UpdateResponse) StatusCode

func (r PermissionServiceV3UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionsBulkEvaluateRequest

type PermissionsBulkEvaluateRequest struct {
	Requests *[]PermissionsEvaluateRequest `json:"requests,omitempty"`
}

PermissionsBulkEvaluateRequest defines model for permissionsBulkEvaluateRequest.

type PermissionsBulkEvaluateResponse

type PermissionsBulkEvaluateResponse struct {
	Results *[]PermissionsEvaluateResult `json:"results,omitempty"`
}

PermissionsBulkEvaluateResponse defines model for permissionsBulkEvaluateResponse.

type PermissionsEvaluateRequest

type PermissionsEvaluateRequest struct {
	Action           *string `json:"action,omitempty"`
	CustomerId       *string `json:"customerId,omitempty"`
	ResourceId       *string `json:"resourceId,omitempty"`
	ServiceAccountId *string `json:"serviceAccountId,omitempty"`
	UserId           *string `json:"userId,omitempty"`
}

PermissionsEvaluateRequest defines model for permissionsEvaluateRequest.

type PermissionsEvaluateResponse

type PermissionsEvaluateResponse struct {
	AccessGranted *bool `json:"accessGranted,omitempty"`
}

PermissionsEvaluateResponse defines model for permissionsEvaluateResponse.

type PermissionsEvaluateResult

type PermissionsEvaluateResult struct {
	AccessGranted *bool                       `json:"accessGranted,omitempty"`
	Request       *PermissionsEvaluateRequest `json:"request,omitempty"`
}

PermissionsEvaluateResult defines model for permissionsEvaluateResult.

type PermissionsServiceBulkEvaluateJSONRequestBody

type PermissionsServiceBulkEvaluateJSONRequestBody = PermissionsBulkEvaluateRequest

PermissionsServiceBulkEvaluateJSONRequestBody defines body for PermissionsServiceBulkEvaluate for application/json ContentType.

type PermissionsServiceBulkEvaluateResponse

type PermissionsServiceBulkEvaluateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionsBulkEvaluateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionsServiceBulkEvaluateResponse

func ParsePermissionsServiceBulkEvaluateResponse(rsp *http.Response) (*PermissionsServiceBulkEvaluateResponse, error)

ParsePermissionsServiceBulkEvaluateResponse parses an HTTP response from a PermissionsServiceBulkEvaluateWithResponse call

func (PermissionsServiceBulkEvaluateResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionsServiceBulkEvaluateResponse) GetBody

GetBody returns the raw response body bytes

func (PermissionsServiceBulkEvaluateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionsServiceBulkEvaluateResponse) GetJSON400

func (r PermissionsServiceBulkEvaluateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionsServiceBulkEvaluateResponse) GetJSON401

func (r PermissionsServiceBulkEvaluateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionsServiceBulkEvaluateResponse) GetJSON403

func (r PermissionsServiceBulkEvaluateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionsServiceBulkEvaluateResponse) GetJSON500

func (r PermissionsServiceBulkEvaluateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionsServiceBulkEvaluateResponse) Status

Status returns HTTPResponse.Status

func (PermissionsServiceBulkEvaluateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PermissionsServiceEvaluateParams

type PermissionsServiceEvaluateParams struct {
	// Action Action — проверяемое действие
	Action *string `form:"action,omitempty" json:"action,omitempty"`

	// ResourceId ResourceId — идентификатор объекта ресурса, для которого должна выполняться проверка
	ResourceId *string `form:"resourceId,omitempty" json:"resourceId,omitempty"`

	// CustomerId CustomerID — идентификатор объекта организации, для которого должна быть выполнена проверка
	// Необязательное. Поддерживается только если запрос выполняется от имени учетной записи пользователя
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`

	// UserId UserID — идентификатор субъекта-пользователя, для которого должна быть выполнена проверка
	// Необязательное. Поддерживается только если запрос выполнен от имени сервисного аккаунта
	UserId *string `form:"userId,omitempty" json:"userId,omitempty"`

	// ServiceAccountId ServiceAccountID — идентификатор субъекта сервисного аккаунта, для которого должна быть выполнена проверка
	// Необязательное. Поддерживается, только если запрос выполняется от имени сервисного аккаунта
	ServiceAccountId *string `form:"serviceAccountId,omitempty" json:"serviceAccountId,omitempty"`
}

PermissionsServiceEvaluateParams defines parameters for PermissionsServiceEvaluate.

type PermissionsServiceEvaluateResponse

type PermissionsServiceEvaluateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionsEvaluateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParsePermissionsServiceEvaluateResponse

func ParsePermissionsServiceEvaluateResponse(rsp *http.Response) (*PermissionsServiceEvaluateResponse, error)

ParsePermissionsServiceEvaluateResponse parses an HTTP response from a PermissionsServiceEvaluateWithResponse call

func (PermissionsServiceEvaluateResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PermissionsServiceEvaluateResponse) GetBody

GetBody returns the raw response body bytes

func (PermissionsServiceEvaluateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PermissionsServiceEvaluateResponse) GetJSON400

func (r PermissionsServiceEvaluateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PermissionsServiceEvaluateResponse) GetJSON401

func (r PermissionsServiceEvaluateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PermissionsServiceEvaluateResponse) GetJSON403

func (r PermissionsServiceEvaluateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PermissionsServiceEvaluateResponse) GetJSON500

func (r PermissionsServiceEvaluateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PermissionsServiceEvaluateResponse) Status

Status returns HTTPResponse.Status

func (PermissionsServiceEvaluateResponse) StatusCode

func (r PermissionsServiceEvaluateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProductServiceGetResponse

type ProductServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamapiv1permissionProduct
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseProductServiceGetResponse

func ParseProductServiceGetResponse(rsp *http.Response) (*ProductServiceGetResponse, error)

ParseProductServiceGetResponse parses an HTTP response from a ProductServiceGetWithResponse call

func (ProductServiceGetResponse) ContentType

func (r ProductServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProductServiceGetResponse) GetBody

func (r ProductServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProductServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProductServiceGetResponse) GetJSON400

func (r ProductServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ProductServiceGetResponse) GetJSON401

func (r ProductServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ProductServiceGetResponse) GetJSON403

func (r ProductServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ProductServiceGetResponse) GetJSON404

func (r ProductServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ProductServiceGetResponse) GetJSON500

func (r ProductServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ProductServiceGetResponse) Status

func (r ProductServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (ProductServiceGetResponse) StatusCode

func (r ProductServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProductServiceListParams

type ProductServiceListParams struct {
	// Filter Filter — выражение для фильтрации.
	// code=code (поддерживается частичное совпадение: code=*code*) — необязательный фильтр
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице.
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListProductsResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

ProductServiceListParams defines parameters for ProductServiceList.

type ProductServiceListResponse

type ProductServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1permissionListProductsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseProductServiceListResponse

func ParseProductServiceListResponse(rsp *http.Response) (*ProductServiceListResponse, error)

ParseProductServiceListResponse parses an HTTP response from a ProductServiceListWithResponse call

func (ProductServiceListResponse) ContentType

func (r ProductServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProductServiceListResponse) GetBody

func (r ProductServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProductServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProductServiceListResponse) GetJSON400

func (r ProductServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ProductServiceListResponse) GetJSON401

func (r ProductServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ProductServiceListResponse) GetJSON403

func (r ProductServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ProductServiceListResponse) GetJSON500

func (r ProductServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ProductServiceListResponse) Status

Status returns HTTPResponse.Status

func (ProductServiceListResponse) StatusCode

func (r ProductServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectsListProjectUsersResponse

type ProjectsListProjectUsersResponse struct {
	Cursor *V1projectsCursor `json:"cursor,omitempty"`

	// Limit Limit — количество элементов на странице.
	Limit *int64            `json:"limit,omitempty"`
	Users *[]V1projectsUser `json:"users,omitempty"`
}

ProjectsListProjectUsersResponse defines model for projectsListProjectUsersResponse.

type ProjectsServiceListUsersParams

type ProjectsServiceListUsersParams struct {
	// Email Email — email пользователя. Поиск пользователей по частичному совпадению
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// UserName UserName — имя пользователя. Поиск пользователей по частичному совпадению
	UserName *string `form:"userName,omitempty" json:"userName,omitempty"`

	// Limit Limit — количество элементов на странице.
	// При указании значения 0 будут возвращены все
	// пользователи, удовлетворяющие запросу.
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// Before Before — курсор для получения предыдущей страницы
	// пользователей.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After After — курсор для получения следующей страницы
	// пользователей.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

ProjectsServiceListUsersParams defines parameters for ProjectsServiceListUsers.

type ProjectsServiceListUsersResponse

type ProjectsServiceListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectsListProjectUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseProjectsServiceListUsersResponse

func ParseProjectsServiceListUsersResponse(rsp *http.Response) (*ProjectsServiceListUsersResponse, error)

ParseProjectsServiceListUsersResponse parses an HTTP response from a ProjectsServiceListUsersWithResponse call

func (ProjectsServiceListUsersResponse) ContentType

func (r ProjectsServiceListUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectsServiceListUsersResponse) GetBody

func (r ProjectsServiceListUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectsServiceListUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectsServiceListUsersResponse) GetJSON400

func (r ProjectsServiceListUsersResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ProjectsServiceListUsersResponse) GetJSON401

func (r ProjectsServiceListUsersResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ProjectsServiceListUsersResponse) GetJSON403

func (r ProjectsServiceListUsersResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ProjectsServiceListUsersResponse) GetJSON500

func (r ProjectsServiceListUsersResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ProjectsServiceListUsersResponse) Status

Status returns HTTPResponse.Status

func (ProjectsServiceListUsersResponse) StatusCode

func (r ProjectsServiceListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProtobufAny

type ProtobufAny struct {
	Type                 *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ProtobufAny defines model for protobufAny.

func (ProtobufAny) Get

func (a ProtobufAny) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ProtobufAny. Returns the specified element and whether it was found

func (ProtobufAny) MarshalJSON

func (a ProtobufAny) MarshalJSON() ([]byte, error)

Override default JSON handling for ProtobufAny to handle AdditionalProperties

func (*ProtobufAny) Set

func (a *ProtobufAny) Set(fieldName string, value interface{})

Setter for additional properties for ProtobufAny

func (*ProtobufAny) UnmarshalJSON

func (a *ProtobufAny) UnmarshalJSON(b []byte) error

Override default JSON handling for ProtobufAny to handle AdditionalProperties

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RoleServiceApplySpecJSONRequestBody

type RoleServiceApplySpecJSONRequestBody = PermissionApplySpecRequest

RoleServiceApplySpecJSONRequestBody defines body for RoleServiceApplySpec for application/json ContentType.

type RoleServiceApplySpecResponse

type RoleServiceApplySpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionApplySpecResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceApplySpecResponse

func ParseRoleServiceApplySpecResponse(rsp *http.Response) (*RoleServiceApplySpecResponse, error)

ParseRoleServiceApplySpecResponse parses an HTTP response from a RoleServiceApplySpecWithResponse call

func (RoleServiceApplySpecResponse) ContentType

func (r RoleServiceApplySpecResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceApplySpecResponse) GetBody

func (r RoleServiceApplySpecResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceApplySpecResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceApplySpecResponse) GetJSON400

func (r RoleServiceApplySpecResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceApplySpecResponse) GetJSON401

func (r RoleServiceApplySpecResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceApplySpecResponse) GetJSON403

func (r RoleServiceApplySpecResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceApplySpecResponse) GetJSON500

func (r RoleServiceApplySpecResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceApplySpecResponse) Status

Status returns HTTPResponse.Status

func (RoleServiceApplySpecResponse) StatusCode

func (r RoleServiceApplySpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceCreateJSONRequestBody

type RoleServiceCreateJSONRequestBody = PermissionCreateRoleRequest

RoleServiceCreateJSONRequestBody defines body for RoleServiceCreate for application/json ContentType.

type RoleServiceCreateResponse

type RoleServiceCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamapiv1permissionRole
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceCreateResponse

func ParseRoleServiceCreateResponse(rsp *http.Response) (*RoleServiceCreateResponse, error)

ParseRoleServiceCreateResponse parses an HTTP response from a RoleServiceCreateWithResponse call

func (RoleServiceCreateResponse) ContentType

func (r RoleServiceCreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceCreateResponse) GetBody

func (r RoleServiceCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceCreateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceCreateResponse) GetJSON400

func (r RoleServiceCreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceCreateResponse) GetJSON401

func (r RoleServiceCreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceCreateResponse) GetJSON403

func (r RoleServiceCreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceCreateResponse) GetJSON404

func (r RoleServiceCreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RoleServiceCreateResponse) GetJSON409

func (r RoleServiceCreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RoleServiceCreateResponse) GetJSON500

func (r RoleServiceCreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceCreateResponse) Status

func (r RoleServiceCreateResponse) Status() string

Status returns HTTPResponse.Status

func (RoleServiceCreateResponse) StatusCode

func (r RoleServiceCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceDeleteParams

type RoleServiceDeleteParams struct {
	// Force Force — удаление роли и всех связанных разрешений.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

RoleServiceDeleteParams defines parameters for RoleServiceDelete.

type RoleServiceDeleteResponse

type RoleServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionDeleteRoleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceDeleteResponse

func ParseRoleServiceDeleteResponse(rsp *http.Response) (*RoleServiceDeleteResponse, error)

ParseRoleServiceDeleteResponse parses an HTTP response from a RoleServiceDeleteWithResponse call

func (RoleServiceDeleteResponse) ContentType

func (r RoleServiceDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceDeleteResponse) GetBody

func (r RoleServiceDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceDeleteResponse) GetJSON400

func (r RoleServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceDeleteResponse) GetJSON401

func (r RoleServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceDeleteResponse) GetJSON403

func (r RoleServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceDeleteResponse) GetJSON404

func (r RoleServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RoleServiceDeleteResponse) GetJSON500

func (r RoleServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceDeleteResponse) Status

func (r RoleServiceDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (RoleServiceDeleteResponse) StatusCode

func (r RoleServiceDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceGetResponse

type RoleServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamapiv1permissionRole
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceGetResponse

func ParseRoleServiceGetResponse(rsp *http.Response) (*RoleServiceGetResponse, error)

ParseRoleServiceGetResponse parses an HTTP response from a RoleServiceGetWithResponse call

func (RoleServiceGetResponse) ContentType

func (r RoleServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceGetResponse) GetBody

func (r RoleServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceGetResponse) GetJSON400

func (r RoleServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceGetResponse) GetJSON401

func (r RoleServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceGetResponse) GetJSON403

func (r RoleServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceGetResponse) GetJSON404

func (r RoleServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RoleServiceGetResponse) GetJSON500

func (r RoleServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceGetResponse) Status

func (r RoleServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (RoleServiceGetResponse) StatusCode

func (r RoleServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceGetSpecBody

type RoleServiceGetSpecBody struct {
	// Version RoleAPIVersion — версия API спецификации роли.
	//
	//  - ROLE_API_VERSION_V1: ROLE_API_VERSION_V1 — стабильная версия.
	//  - ROLE_API_VERSION_V1EXTENDED: ROLE_API_VERSION_V1EXTENDED — расширенная стабильная версия.
	Version *PermissionRoleAPIVersion `json:"version,omitempty"`
}

RoleServiceGetSpecBody GetSpecRequest — запрос на получение спецификации роли.

type RoleServiceGetSpecJSONRequestBody

type RoleServiceGetSpecJSONRequestBody = RoleServiceGetSpecBody

RoleServiceGetSpecJSONRequestBody defines body for RoleServiceGetSpec for application/json ContentType.

type RoleServiceGetSpecResponse

type RoleServiceGetSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionGetSpecResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceGetSpecResponse

func ParseRoleServiceGetSpecResponse(rsp *http.Response) (*RoleServiceGetSpecResponse, error)

ParseRoleServiceGetSpecResponse parses an HTTP response from a RoleServiceGetSpecWithResponse call

func (RoleServiceGetSpecResponse) ContentType

func (r RoleServiceGetSpecResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceGetSpecResponse) GetBody

func (r RoleServiceGetSpecResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceGetSpecResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceGetSpecResponse) GetJSON400

func (r RoleServiceGetSpecResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceGetSpecResponse) GetJSON401

func (r RoleServiceGetSpecResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceGetSpecResponse) GetJSON403

func (r RoleServiceGetSpecResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceGetSpecResponse) GetJSON404

func (r RoleServiceGetSpecResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RoleServiceGetSpecResponse) GetJSON500

func (r RoleServiceGetSpecResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceGetSpecResponse) Status

Status returns HTTPResponse.Status

func (RoleServiceGetSpecResponse) StatusCode

func (r RoleServiceGetSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceListParams

type RoleServiceListParams struct {
	// CustomerId CustomerId — идентификатор организации, которой принадлежит эта роль.
	CustomerId string `form:"customerId" json:"customerId"`

	// Filter Filter — выражение для фильтрации.
	// type=ROLE_TYPE_PRODUCT или ROLE_TYPE_CUSTOM — необязательный фильтр.
	// если тип фильтра не указан, в результирующем списке возвращаются только активные пользовательские роли
	// enabled=true или false — необязательный фильтр
	// name=name (поддерживается частичное совпадение: name=*name*) — необязательный фильтр
	// display_name=display_name (поддерживается частичное совпадение: display_name=*display_name*) — необязательный фильтр
	// product_code=code — необязательный фильтр
	// action_name=name — необязательный фильтр
	//
	// Объединение фильтров: поддерживается только оператор AND
	// Пример: enabled=true AND role_type=ROLE_TYPE_CUSTOM
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице.
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListRolesResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`

	// OrderBy OrderBy — название поля, по которому выполняется сортировка. Пример: поле + направление — "name desc"
	// Поддерживаемые поля: name, description, enabled, display_name, created_at
	OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
}

RoleServiceListParams defines parameters for RoleServiceList.

type RoleServiceListResponse

type RoleServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionListRolesResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceListResponse

func ParseRoleServiceListResponse(rsp *http.Response) (*RoleServiceListResponse, error)

ParseRoleServiceListResponse parses an HTTP response from a RoleServiceListWithResponse call

func (RoleServiceListResponse) ContentType

func (r RoleServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceListResponse) GetBody

func (r RoleServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceListResponse) GetJSON400

func (r RoleServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceListResponse) GetJSON401

func (r RoleServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceListResponse) GetJSON403

func (r RoleServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceListResponse) GetJSON500

func (r RoleServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceListResponse) Status

func (r RoleServiceListResponse) Status() string

Status returns HTTPResponse.Status

func (RoleServiceListResponse) StatusCode

func (r RoleServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleServiceUpdateJSONRequestBody

type RoleServiceUpdateJSONRequestBody = PermissionRoleServiceUpdateBody

RoleServiceUpdateJSONRequestBody defines body for RoleServiceUpdate for application/json ContentType.

type RoleServiceUpdateResponse

type RoleServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamapiv1permissionRole
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseRoleServiceUpdateResponse

func ParseRoleServiceUpdateResponse(rsp *http.Response) (*RoleServiceUpdateResponse, error)

ParseRoleServiceUpdateResponse parses an HTTP response from a RoleServiceUpdateWithResponse call

func (RoleServiceUpdateResponse) ContentType

func (r RoleServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RoleServiceUpdateResponse) GetBody

func (r RoleServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RoleServiceUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RoleServiceUpdateResponse) GetJSON400

func (r RoleServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RoleServiceUpdateResponse) GetJSON401

func (r RoleServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RoleServiceUpdateResponse) GetJSON403

func (r RoleServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RoleServiceUpdateResponse) GetJSON404

func (r RoleServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RoleServiceUpdateResponse) GetJSON500

func (r RoleServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RoleServiceUpdateResponse) Status

func (r RoleServiceUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (RoleServiceUpdateResponse) StatusCode

func (r RoleServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RpcStatus

type RpcStatus struct {
	Code    *int32         `json:"code,omitempty"`
	Details *[]ProtobufAny `json:"details,omitempty"`
	Message *string        `json:"message,omitempty"`
}

RpcStatus defines model for rpcStatus.

type ServiceAccountServiceV2CreateJSONRequestBody

type ServiceAccountServiceV2CreateJSONRequestBody = V2CreateServiceAccountRequest

ServiceAccountServiceV2CreateJSONRequestBody defines body for ServiceAccountServiceV2Create for application/json ContentType.

type ServiceAccountServiceV2CreateResponse

type ServiceAccountServiceV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ServiceAccount
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseServiceAccountServiceV2CreateResponse

func ParseServiceAccountServiceV2CreateResponse(rsp *http.Response) (*ServiceAccountServiceV2CreateResponse, error)

ParseServiceAccountServiceV2CreateResponse parses an HTTP response from a ServiceAccountServiceV2CreateWithResponse call

func (ServiceAccountServiceV2CreateResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServiceAccountServiceV2CreateResponse) GetBody

GetBody returns the raw response body bytes

func (ServiceAccountServiceV2CreateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON400

func (r ServiceAccountServiceV2CreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON401

func (r ServiceAccountServiceV2CreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON403

func (r ServiceAccountServiceV2CreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON404

func (r ServiceAccountServiceV2CreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON409

func (r ServiceAccountServiceV2CreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ServiceAccountServiceV2CreateResponse) GetJSON500

func (r ServiceAccountServiceV2CreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ServiceAccountServiceV2CreateResponse) Status

Status returns HTTPResponse.Status

func (ServiceAccountServiceV2CreateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ServiceAccountServiceV2DeleteResponse

type ServiceAccountServiceV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2DeleteServiceAccountResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseServiceAccountServiceV2DeleteResponse

func ParseServiceAccountServiceV2DeleteResponse(rsp *http.Response) (*ServiceAccountServiceV2DeleteResponse, error)

ParseServiceAccountServiceV2DeleteResponse parses an HTTP response from a ServiceAccountServiceV2DeleteWithResponse call

func (ServiceAccountServiceV2DeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServiceAccountServiceV2DeleteResponse) GetBody

GetBody returns the raw response body bytes

func (ServiceAccountServiceV2DeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) GetJSON400

func (r ServiceAccountServiceV2DeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) GetJSON401

func (r ServiceAccountServiceV2DeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) GetJSON403

func (r ServiceAccountServiceV2DeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) GetJSON404

func (r ServiceAccountServiceV2DeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) GetJSON500

func (r ServiceAccountServiceV2DeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ServiceAccountServiceV2DeleteResponse) Status

Status returns HTTPResponse.Status

func (ServiceAccountServiceV2DeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ServiceAccountServiceV2GetResponse

type ServiceAccountServiceV2GetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ServiceAccount
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseServiceAccountServiceV2GetResponse

func ParseServiceAccountServiceV2GetResponse(rsp *http.Response) (*ServiceAccountServiceV2GetResponse, error)

ParseServiceAccountServiceV2GetResponse parses an HTTP response from a ServiceAccountServiceV2GetWithResponse call

func (ServiceAccountServiceV2GetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServiceAccountServiceV2GetResponse) GetBody

GetBody returns the raw response body bytes

func (ServiceAccountServiceV2GetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServiceAccountServiceV2GetResponse) GetJSON400

func (r ServiceAccountServiceV2GetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ServiceAccountServiceV2GetResponse) GetJSON401

func (r ServiceAccountServiceV2GetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ServiceAccountServiceV2GetResponse) GetJSON403

func (r ServiceAccountServiceV2GetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ServiceAccountServiceV2GetResponse) GetJSON404

func (r ServiceAccountServiceV2GetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ServiceAccountServiceV2GetResponse) GetJSON500

func (r ServiceAccountServiceV2GetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ServiceAccountServiceV2GetResponse) Status

Status returns HTTPResponse.Status

func (ServiceAccountServiceV2GetResponse) StatusCode

func (r ServiceAccountServiceV2GetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServiceAccountServiceV2ListParams

type ServiceAccountServiceV2ListParams struct {
	// TargetCustomerId CustomerID — идентификатор организации
	TargetCustomerId *string `form:"target.customerId,omitempty" json:"target.customerId,omitempty"`

	// TargetProjectId ProjectID — идентификатор проекта
	TargetProjectId *string `form:"target.projectId,omitempty" json:"target.projectId,omitempty"`

	// Filter Filter — выражение для фильтрации
	// name=my_sa_name — необязательный фильтр
	// enabled=true — необязательный фильтр
	// type=regular — необязательный фильтр, допустимые значения: regular, technical
	//
	// Объединение фильтров: поддерживается только оператор AND
	// name=my_sa_name AND enabled=false AND type=regular
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListServiceAccountsResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

ServiceAccountServiceV2ListParams defines parameters for ServiceAccountServiceV2List.

type ServiceAccountServiceV2ListResponse

type ServiceAccountServiceV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V2ListServiceAccountsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseServiceAccountServiceV2ListResponse

func ParseServiceAccountServiceV2ListResponse(rsp *http.Response) (*ServiceAccountServiceV2ListResponse, error)

ParseServiceAccountServiceV2ListResponse parses an HTTP response from a ServiceAccountServiceV2ListWithResponse call

func (ServiceAccountServiceV2ListResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServiceAccountServiceV2ListResponse) GetBody

GetBody returns the raw response body bytes

func (ServiceAccountServiceV2ListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServiceAccountServiceV2ListResponse) GetJSON400

func (r ServiceAccountServiceV2ListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ServiceAccountServiceV2ListResponse) GetJSON401

func (r ServiceAccountServiceV2ListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ServiceAccountServiceV2ListResponse) GetJSON403

func (r ServiceAccountServiceV2ListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ServiceAccountServiceV2ListResponse) GetJSON500

func (r ServiceAccountServiceV2ListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ServiceAccountServiceV2ListResponse) Status

Status returns HTTPResponse.Status

func (ServiceAccountServiceV2ListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ServiceAccountServiceV2UpdateJSONRequestBody

type ServiceAccountServiceV2UpdateJSONRequestBody = V2ServiceAccountServiceUpdateBody

ServiceAccountServiceV2UpdateJSONRequestBody defines body for ServiceAccountServiceV2Update for application/json ContentType.

type ServiceAccountServiceV2UpdateResponse

type ServiceAccountServiceV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ServiceAccount
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseServiceAccountServiceV2UpdateResponse

func ParseServiceAccountServiceV2UpdateResponse(rsp *http.Response) (*ServiceAccountServiceV2UpdateResponse, error)

ParseServiceAccountServiceV2UpdateResponse parses an HTTP response from a ServiceAccountServiceV2UpdateWithResponse call

func (ServiceAccountServiceV2UpdateResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServiceAccountServiceV2UpdateResponse) GetBody

GetBody returns the raw response body bytes

func (ServiceAccountServiceV2UpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) GetJSON400

func (r ServiceAccountServiceV2UpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) GetJSON401

func (r ServiceAccountServiceV2UpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) GetJSON403

func (r ServiceAccountServiceV2UpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) GetJSON404

func (r ServiceAccountServiceV2UpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) GetJSON500

func (r ServiceAccountServiceV2UpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ServiceAccountServiceV2UpdateResponse) Status

Status returns HTTPResponse.Status

func (ServiceAccountServiceV2UpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ServiceAccountsGetAccessKeyResponse

type ServiceAccountsGetAccessKeyResponse struct {
	Key *V1serviceAccountsAccessKey `json:"key,omitempty"`
}

ServiceAccountsGetAccessKeyResponse defines model for service_accountsGetAccessKeyResponse.

type ServiceAccountsIPAddresses

type ServiceAccountsIPAddresses struct {
	IpAddresses *[]string `json:"ipAddresses,omitempty"`
}

ServiceAccountsIPAddresses defines model for service_accountsIPAddresses.

type ServiceAccountsTimeRangeTimeSlot

type ServiceAccountsTimeRangeTimeSlot struct {
	End   *int32 `json:"end,omitempty"`
	Start *int32 `json:"start,omitempty"`
}

ServiceAccountsTimeRangeTimeSlot defines model for service_accountsTimeRangeTimeSlot.

type ServiceAccountsUpdateAPIKeyEntity

type ServiceAccountsUpdateAPIKeyEntity struct {
	Description  *string                        `json:"description,omitempty"`
	Enabled      *bool                          `json:"enabled,omitempty"`
	Id           *string                        `json:"id,omitempty"`
	Name         *string                        `json:"name,omitempty"`
	Products     *[]string                      `json:"products,omitempty"`
	Restrictions *V1serviceAccountsRestrictions `json:"restrictions,omitempty"`
}

ServiceAccountsUpdateAPIKeyEntity UpdateAPIKeyEntity — модель для обновления API-ключа.

type ServiceAccountsUpdateAccessKeyResponse

type ServiceAccountsUpdateAccessKeyResponse struct {
	AccessKey *V1serviceAccountsAccessKey `json:"accessKey,omitempty"`
}

ServiceAccountsUpdateAccessKeyResponse defines model for service_accountsUpdateAccessKeyResponse.

type UserServiceCreateJSONRequestBody

type UserServiceCreateJSONRequestBody = Iamv1CreateUserRequest

UserServiceCreateJSONRequestBody defines body for UserServiceCreate for application/json ContentType.

type UserServiceCreateResponse

type UserServiceCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv1User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceCreateResponse

func ParseUserServiceCreateResponse(rsp *http.Response) (*UserServiceCreateResponse, error)

ParseUserServiceCreateResponse parses an HTTP response from a UserServiceCreateWithResponse call

func (UserServiceCreateResponse) ContentType

func (r UserServiceCreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceCreateResponse) GetBody

func (r UserServiceCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceCreateResponse) GetJSON200

func (r UserServiceCreateResponse) GetJSON200() *Iamv1User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceCreateResponse) GetJSON400

func (r UserServiceCreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceCreateResponse) GetJSON401

func (r UserServiceCreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceCreateResponse) GetJSON403

func (r UserServiceCreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceCreateResponse) GetJSON404

func (r UserServiceCreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceCreateResponse) GetJSON409

func (r UserServiceCreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UserServiceCreateResponse) GetJSON500

func (r UserServiceCreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceCreateResponse) Status

func (r UserServiceCreateResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceCreateResponse) StatusCode

func (r UserServiceCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceDeleteParams

type UserServiceDeleteParams struct {
	// CustomerId CustomerId — идентификатор организации, из которой удаляется пользователь
	CustomerId string `form:"customerId" json:"customerId"`
}

UserServiceDeleteParams defines parameters for UserServiceDelete.

type UserServiceDeleteResponse

type UserServiceDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv1DeleteUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceDeleteResponse

func ParseUserServiceDeleteResponse(rsp *http.Response) (*UserServiceDeleteResponse, error)

ParseUserServiceDeleteResponse parses an HTTP response from a UserServiceDeleteWithResponse call

func (UserServiceDeleteResponse) ContentType

func (r UserServiceDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceDeleteResponse) GetBody

func (r UserServiceDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceDeleteResponse) GetJSON400

func (r UserServiceDeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceDeleteResponse) GetJSON401

func (r UserServiceDeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceDeleteResponse) GetJSON403

func (r UserServiceDeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceDeleteResponse) GetJSON404

func (r UserServiceDeleteResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceDeleteResponse) GetJSON500

func (r UserServiceDeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceDeleteResponse) Status

func (r UserServiceDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceDeleteResponse) StatusCode

func (r UserServiceDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceGetResponse

type UserServiceGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv1User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceGetResponse

func ParseUserServiceGetResponse(rsp *http.Response) (*UserServiceGetResponse, error)

ParseUserServiceGetResponse parses an HTTP response from a UserServiceGetWithResponse call

func (UserServiceGetResponse) ContentType

func (r UserServiceGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceGetResponse) GetBody

func (r UserServiceGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceGetResponse) GetJSON200

func (r UserServiceGetResponse) GetJSON200() *Iamv1User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceGetResponse) GetJSON400

func (r UserServiceGetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceGetResponse) GetJSON401

func (r UserServiceGetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceGetResponse) GetJSON403

func (r UserServiceGetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceGetResponse) GetJSON404

func (r UserServiceGetResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceGetResponse) GetJSON500

func (r UserServiceGetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceGetResponse) Status

func (r UserServiceGetResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceGetResponse) StatusCode

func (r UserServiceGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceListGroupsParams

type UserServiceListGroupsParams struct {
	// TargetCustomerId CustomerID — идентификатор организации
	TargetCustomerId *string `form:"target.customerId,omitempty" json:"target.customerId,omitempty"`

	// TargetProjectId ProjectID — идентификатор проекта
	TargetProjectId *string `form:"target.projectId,omitempty" json:"target.projectId,omitempty"`

	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, полученный из предыдущего ответа ListUserGroupsResponse.next_page_token
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

UserServiceListGroupsParams defines parameters for UserServiceListGroups.

type UserServiceListGroupsResponse

type UserServiceListGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *V1ListUserGroupsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceListGroupsResponse

func ParseUserServiceListGroupsResponse(rsp *http.Response) (*UserServiceListGroupsResponse, error)

ParseUserServiceListGroupsResponse parses an HTTP response from a UserServiceListGroupsWithResponse call

func (UserServiceListGroupsResponse) ContentType

func (r UserServiceListGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceListGroupsResponse) GetBody

func (r UserServiceListGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceListGroupsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceListGroupsResponse) GetJSON400

func (r UserServiceListGroupsResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceListGroupsResponse) GetJSON401

func (r UserServiceListGroupsResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceListGroupsResponse) GetJSON403

func (r UserServiceListGroupsResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceListGroupsResponse) GetJSON404

func (r UserServiceListGroupsResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceListGroupsResponse) GetJSON500

func (r UserServiceListGroupsResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceListGroupsResponse) Status

Status returns HTTPResponse.Status

func (UserServiceListGroupsResponse) StatusCode

func (r UserServiceListGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceListParams

type UserServiceListParams struct {
	// CustomerId CustomerID — идентификатор организации
	CustomerId string `form:"customerId" json:"customerId"`

	// Filter Filter — выражение для фильтрации
	// email=user_email@test.com — необязательный фильтр (поддерживается частичное совпадение: email=*ail@test*)
	// account_type=USER_ACCOUNT_TYPE_LOCAL — необязательный фильтр
	//
	// Объединение фильтров: поддерживается только оператор AND
	// email=user_email@test.com AND account_type=USER_ACCOUNT_TYPE_FEDERATED
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен страницы, возвращенный ранее в ListUsersResponse.next_page_token.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

UserServiceListParams defines parameters for UserServiceList.

type UserServiceListResponse

type UserServiceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv1ListUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceListResponse

func ParseUserServiceListResponse(rsp *http.Response) (*UserServiceListResponse, error)

ParseUserServiceListResponse parses an HTTP response from a UserServiceListWithResponse call

func (UserServiceListResponse) ContentType

func (r UserServiceListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceListResponse) GetBody

func (r UserServiceListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceListResponse) GetJSON400

func (r UserServiceListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceListResponse) GetJSON401

func (r UserServiceListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceListResponse) GetJSON403

func (r UserServiceListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceListResponse) GetJSON500

func (r UserServiceListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceListResponse) Status

func (r UserServiceListResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceListResponse) StatusCode

func (r UserServiceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceUpdateJSONRequestBody

type UserServiceUpdateJSONRequestBody = Iamv1UserServiceUpdateBody

UserServiceUpdateJSONRequestBody defines body for UserServiceUpdate for application/json ContentType.

type UserServiceUpdateResponse

type UserServiceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv1User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceUpdateResponse

func ParseUserServiceUpdateResponse(rsp *http.Response) (*UserServiceUpdateResponse, error)

ParseUserServiceUpdateResponse parses an HTTP response from a UserServiceUpdateWithResponse call

func (UserServiceUpdateResponse) ContentType

func (r UserServiceUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceUpdateResponse) GetBody

func (r UserServiceUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceUpdateResponse) GetJSON200

func (r UserServiceUpdateResponse) GetJSON200() *Iamv1User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceUpdateResponse) GetJSON400

func (r UserServiceUpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceUpdateResponse) GetJSON401

func (r UserServiceUpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceUpdateResponse) GetJSON403

func (r UserServiceUpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceUpdateResponse) GetJSON404

func (r UserServiceUpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceUpdateResponse) GetJSON500

func (r UserServiceUpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceUpdateResponse) Status

func (r UserServiceUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceUpdateResponse) StatusCode

func (r UserServiceUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceV2CreateJSONRequestBody

type UserServiceV2CreateJSONRequestBody = Iamv2CreateUserRequest

UserServiceV2CreateJSONRequestBody defines body for UserServiceV2Create for application/json ContentType.

type UserServiceV2CreateResponse

type UserServiceV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceV2CreateResponse

func ParseUserServiceV2CreateResponse(rsp *http.Response) (*UserServiceV2CreateResponse, error)

ParseUserServiceV2CreateResponse parses an HTTP response from a UserServiceV2CreateWithResponse call

func (UserServiceV2CreateResponse) ContentType

func (r UserServiceV2CreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceV2CreateResponse) GetBody

func (r UserServiceV2CreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceV2CreateResponse) GetJSON200

func (r UserServiceV2CreateResponse) GetJSON200() *Iamv2User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceV2CreateResponse) GetJSON400

func (r UserServiceV2CreateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceV2CreateResponse) GetJSON401

func (r UserServiceV2CreateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceV2CreateResponse) GetJSON403

func (r UserServiceV2CreateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceV2CreateResponse) GetJSON404

func (r UserServiceV2CreateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceV2CreateResponse) GetJSON409

func (r UserServiceV2CreateResponse) GetJSON409() *interface{}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UserServiceV2CreateResponse) GetJSON500

func (r UserServiceV2CreateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceV2CreateResponse) Status

Status returns HTTPResponse.Status

func (UserServiceV2CreateResponse) StatusCode

func (r UserServiceV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceV2DeleteParams

type UserServiceV2DeleteParams struct {
	// CustomerId CustomerID — идентификатор организации.
	CustomerId string `form:"customerId" json:"customerId"`
}

UserServiceV2DeleteParams defines parameters for UserServiceV2Delete.

type UserServiceV2DeleteResponse

type UserServiceV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2DeleteUserResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceV2DeleteResponse

func ParseUserServiceV2DeleteResponse(rsp *http.Response) (*UserServiceV2DeleteResponse, error)

ParseUserServiceV2DeleteResponse parses an HTTP response from a UserServiceV2DeleteWithResponse call

func (UserServiceV2DeleteResponse) ContentType

func (r UserServiceV2DeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceV2DeleteResponse) GetBody

func (r UserServiceV2DeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceV2DeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceV2DeleteResponse) GetJSON400

func (r UserServiceV2DeleteResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceV2DeleteResponse) GetJSON401

func (r UserServiceV2DeleteResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceV2DeleteResponse) GetJSON403

func (r UserServiceV2DeleteResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceV2DeleteResponse) GetJSON500

func (r UserServiceV2DeleteResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceV2DeleteResponse) Status

Status returns HTTPResponse.Status

func (UserServiceV2DeleteResponse) StatusCode

func (r UserServiceV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceV2GetResponse

type UserServiceV2GetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceV2GetResponse

func ParseUserServiceV2GetResponse(rsp *http.Response) (*UserServiceV2GetResponse, error)

ParseUserServiceV2GetResponse parses an HTTP response from a UserServiceV2GetWithResponse call

func (UserServiceV2GetResponse) ContentType

func (r UserServiceV2GetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceV2GetResponse) GetBody

func (r UserServiceV2GetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceV2GetResponse) GetJSON200

func (r UserServiceV2GetResponse) GetJSON200() *Iamv2User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceV2GetResponse) GetJSON400

func (r UserServiceV2GetResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceV2GetResponse) GetJSON401

func (r UserServiceV2GetResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceV2GetResponse) GetJSON403

func (r UserServiceV2GetResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceV2GetResponse) GetJSON500

func (r UserServiceV2GetResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceV2GetResponse) Status

func (r UserServiceV2GetResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceV2GetResponse) StatusCode

func (r UserServiceV2GetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceV2ListParams

type UserServiceV2ListParams struct {
	// CustomerId CustomerID — идентификатор организации.
	CustomerId string `form:"customerId" json:"customerId"`

	// Filter Filter — фильтрующее выражение.
	// email=user_email@test.com — фильтр по email
	// (поддерживается частичный поиск).
	// account_type=USER_ACCOUNT_TYPE_LOCAL — фильтр по типу учетной записи.
	// Объединение фильтров: поддерживается только
	// оператор AND.
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// PageSize PageSize — количество элементов на странице.
	PageSize *string `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken PageToken — токен следующей страницы.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

UserServiceV2ListParams defines parameters for UserServiceV2List.

type UserServiceV2ListResponse

type UserServiceV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2ListUsersResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceV2ListResponse

func ParseUserServiceV2ListResponse(rsp *http.Response) (*UserServiceV2ListResponse, error)

ParseUserServiceV2ListResponse parses an HTTP response from a UserServiceV2ListWithResponse call

func (UserServiceV2ListResponse) ContentType

func (r UserServiceV2ListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceV2ListResponse) GetBody

func (r UserServiceV2ListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceV2ListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceV2ListResponse) GetJSON400

func (r UserServiceV2ListResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceV2ListResponse) GetJSON401

func (r UserServiceV2ListResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceV2ListResponse) GetJSON403

func (r UserServiceV2ListResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceV2ListResponse) GetJSON500

func (r UserServiceV2ListResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceV2ListResponse) Status

func (r UserServiceV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (UserServiceV2ListResponse) StatusCode

func (r UserServiceV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceV2UpdateJSONRequestBody

type UserServiceV2UpdateJSONRequestBody = Iamv2UserServiceUpdateBody

UserServiceV2UpdateJSONRequestBody defines body for UserServiceV2Update for application/json ContentType.

type UserServiceV2UpdateResponse

type UserServiceV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Iamv2User
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *interface{}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *interface{}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *interface{}
}

func ParseUserServiceV2UpdateResponse

func ParseUserServiceV2UpdateResponse(rsp *http.Response) (*UserServiceV2UpdateResponse, error)

ParseUserServiceV2UpdateResponse parses an HTTP response from a UserServiceV2UpdateWithResponse call

func (UserServiceV2UpdateResponse) ContentType

func (r UserServiceV2UpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserServiceV2UpdateResponse) GetBody

func (r UserServiceV2UpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceV2UpdateResponse) GetJSON200

func (r UserServiceV2UpdateResponse) GetJSON200() *Iamv2User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceV2UpdateResponse) GetJSON400

func (r UserServiceV2UpdateResponse) GetJSON400() *interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UserServiceV2UpdateResponse) GetJSON401

func (r UserServiceV2UpdateResponse) GetJSON401() *interface{}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UserServiceV2UpdateResponse) GetJSON403

func (r UserServiceV2UpdateResponse) GetJSON403() *interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UserServiceV2UpdateResponse) GetJSON404

func (r UserServiceV2UpdateResponse) GetJSON404() *interface{}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UserServiceV2UpdateResponse) GetJSON500

func (r UserServiceV2UpdateResponse) GetJSON500() *interface{}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UserServiceV2UpdateResponse) Status

Status returns HTTPResponse.Status

func (UserServiceV2UpdateResponse) StatusCode

func (r UserServiceV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GroupTarget

type V1GroupTarget struct {
	CustomerId *string `json:"customerId,omitempty"`
	ProjectId  *string `json:"projectId,omitempty"`
}

V1GroupTarget defines model for v1GroupTarget.

type V1ListUserGroupsResponse

type V1ListUserGroupsResponse struct {
	Groups        *[]Iamv1Group `json:"groups,omitempty"`
	NextPageToken *string       `json:"nextPageToken,omitempty"`
}

V1ListUserGroupsResponse defines model for v1ListUserGroupsResponse.

type V1authGetTokenRequest

type V1authGetTokenRequest struct {
	KeyId  string `json:"keyId"`
	Secret string `json:"secret"`
}

V1authGetTokenRequest GetTokenRequest — запрос учетных данных для получения токена.

type V1authGetTokenResponse

type V1authGetTokenResponse struct {
	// AccessToken AccessToken — токен, используемый для доступа к ресурсам.
	AccessToken *string `json:"accessToken,omitempty"`

	// ExpiresIn ExpiresIn — время в секундах, через которое истечет срок действия AccessToken.
	ExpiresIn *int32 `json:"expiresIn,omitempty"`

	// IdToken IDToken — токен, используемый для идентификации пользователя.
	IdToken *string `json:"idToken,omitempty"`

	// NotBefore NotBefore — время в секундах, когда токен может быть использован.
	NotBefore *int32 `json:"notBefore,omitempty"`

	// RefreshExpiresIn RefreshExpiresIn — время в секундах, через которое истечет срок действия RefreshToken.
	RefreshExpiresIn *int32 `json:"refreshExpiresIn,omitempty"`

	// RefreshToken RefreshToken — токен, используемый для обновления AccessToken.
	RefreshToken *string `json:"refreshToken,omitempty"`

	// Scopes Scopes — список областей действия, к которым имеет доступ токен.
	Scopes *[]string `json:"scopes,omitempty"`

	// TokenType TokenType — тип токена.
	// Будет "Bearer".
	TokenType *string `json:"tokenType,omitempty"`
}

V1authGetTokenResponse GetTokenResponse — ответ на запрос GetToken.

type V1customersCursor

type V1customersCursor struct {
	After  *string `json:"after,omitempty"`
	Before *string `json:"before,omitempty"`
}

V1customersCursor defines model for v1customersCursor.

type V1customersListUsersResponse

type V1customersListUsersResponse struct {
	Cursor *V1customersCursor `json:"cursor,omitempty"`
	Limit  *int64             `json:"limit,omitempty"`
	Users  *[]V1customersUser `json:"users,omitempty"`
}

V1customersListUsersResponse defines model for v1customersListUsersResponse.

type V1customersUser

type V1customersUser struct {
	AccountType *V1customersUserAccountType `json:"accountType,omitempty"`
	CreatedAt   *time.Time                  `json:"createdAt,omitempty"`
	Email       *string                     `json:"email,omitempty"`
	Enabled     *bool                       `json:"enabled,omitempty"`
	FirstName   *string                     `json:"firstName,omitempty"`
	LastName    *string                     `json:"lastName,omitempty"`
	MiddleName  *string                     `json:"middleName,omitempty"`
	UpdatedAt   *time.Time                  `json:"updatedAt,omitempty"`
	UserId      *string                     `json:"userId,omitempty"`
	Username    *string                     `json:"username,omitempty"`
}

V1customersUser defines model for v1customersUser.

type V1customersUserAccountType

type V1customersUserAccountType string

V1customersUserAccountType defines model for v1customersUserAccountType.

const (
	V1customersUserAccountTypeUSERACCOUNTTYPEFEDERATED V1customersUserAccountType = "USER_ACCOUNT_TYPE_FEDERATED"
	V1customersUserAccountTypeUSERACCOUNTTYPELOCAL     V1customersUserAccountType = "USER_ACCOUNT_TYPE_LOCAL"
	V1customersUserAccountTypeUSERACCOUNTTYPEUNDEFINED V1customersUserAccountType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for V1customersUserAccountType.

func (V1customersUserAccountType) Valid

func (e V1customersUserAccountType) Valid() bool

Valid indicates whether the value is a known member of the V1customersUserAccountType enum.

type V1groupsCursor

type V1groupsCursor struct {
	After  *string `json:"after,omitempty"`
	Before *string `json:"before,omitempty"`
}

V1groupsCursor defines model for v1groupsCursor.

type V1groupsGroup

type V1groupsGroup struct {
	CreatedAt   *time.Time      `json:"createdAt,omitempty"`
	Description *string         `json:"description,omitempty"`
	Id          *string         `json:"id,omitempty"`
	Name        *string         `json:"name,omitempty"`
	Target      *V1groupsTarget `json:"target,omitempty"`
	UpdatedAt   *time.Time      `json:"updatedAt,omitempty"`
}

V1groupsGroup defines model for v1groupsGroup.

type V1groupsListGroupsResponse

type V1groupsListGroupsResponse struct {
	Cursor *V1groupsCursor  `json:"cursor,omitempty"`
	Groups *[]V1groupsGroup `json:"groups,omitempty"`
	Limit  *int64           `json:"limit,omitempty"`
}

V1groupsListGroupsResponse defines model for v1groupsListGroupsResponse.

type V1groupsListUsersResponse

type V1groupsListUsersResponse struct {
	Cursor *V1groupsCursor `json:"cursor,omitempty"`
	Limit  *int64          `json:"limit,omitempty"`
	Users  *[]V1groupsUser `json:"users,omitempty"`
}

V1groupsListUsersResponse defines model for v1groupsListUsersResponse.

type V1groupsTarget

type V1groupsTarget struct {
	CustomerId *string `json:"customerId,omitempty"`
	ProjectId  *string `json:"projectId,omitempty"`
}

V1groupsTarget defines model for v1groupsTarget.

type V1groupsUser

type V1groupsUser struct {
	AccountType *V1groupsUserAccountType `json:"accountType,omitempty"`
	CreatedAt   *time.Time               `json:"createdAt,omitempty"`
	Email       *string                  `json:"email,omitempty"`
	Enabled     *bool                    `json:"enabled,omitempty"`
	FirstName   *string                  `json:"firstName,omitempty"`
	LastName    *string                  `json:"lastName,omitempty"`
	MiddleName  *string                  `json:"middleName,omitempty"`
	UpdatedAt   *time.Time               `json:"updatedAt,omitempty"`
	UserId      *string                  `json:"userId,omitempty"`
	Username    *string                  `json:"username,omitempty"`
}

V1groupsUser defines model for v1groupsUser.

type V1groupsUserAccountType

type V1groupsUserAccountType string

V1groupsUserAccountType defines model for v1groupsUserAccountType.

const (
	V1groupsUserAccountTypeUSERACCOUNTTYPEFEDERATED V1groupsUserAccountType = "USER_ACCOUNT_TYPE_FEDERATED"
	V1groupsUserAccountTypeUSERACCOUNTTYPELOCAL     V1groupsUserAccountType = "USER_ACCOUNT_TYPE_LOCAL"
	V1groupsUserAccountTypeUSERACCOUNTTYPEUNDEFINED V1groupsUserAccountType = "USER_ACCOUNT_TYPE_UNDEFINED"
)

Defines values for V1groupsUserAccountType.

func (V1groupsUserAccountType) Valid

func (e V1groupsUserAccountType) Valid() bool

Valid indicates whether the value is a known member of the V1groupsUserAccountType enum.

type V1permissionListProductsResponse

type V1permissionListProductsResponse struct {
	// NextPageToken NextPageToken — токен страницы для получения результата следующей страницы.
	NextPageToken *string `json:"nextPageToken,omitempty"`

	// Products Products — список продуктов.
	Products *[]Iamapiv1permissionProduct `json:"products,omitempty"`
}

V1permissionListProductsResponse ListProductsResponse — ответ на получение списка продуктов.

type V1projectsCursor

type V1projectsCursor struct {
	After  *string `json:"after,omitempty"`
	Before *string `json:"before,omitempty"`
}

V1projectsCursor defines model for v1projectsCursor.

type V1projectsUser

type V1projectsUser struct {
	Email    *string `json:"email,omitempty"`
	Id       *string `json:"id,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

V1projectsUser defines model for v1projectsUser.

type V1serviceAccountsAPIKey

type V1serviceAccountsAPIKey struct {
	CreatedAt    *time.Time                     `json:"createdAt,omitempty"`
	Description  *string                        `json:"description,omitempty"`
	Enabled      *bool                          `json:"enabled,omitempty"`
	ExpiresAt    *time.Time                     `json:"expiresAt,omitempty"`
	Id           *string                        `json:"id,omitempty"`
	Name         *string                        `json:"name,omitempty"`
	Products     *[]string                      `json:"products,omitempty"`
	Restrictions *V1serviceAccountsRestrictions `json:"restrictions,omitempty"`

	// Secret @gotags: secret:"true"
	Secret           *string    `json:"secret,omitempty"`
	ServiceAccountId *string    `json:"serviceAccountId,omitempty"`
	UpdatedAt        *time.Time `json:"updatedAt,omitempty"`
}

V1serviceAccountsAPIKey defines model for v1service_accountsAPIKey.

type V1serviceAccountsAccessKey

type V1serviceAccountsAccessKey struct {
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	Description *string    `json:"description,omitempty"`
	ExpiredAt   *time.Time `json:"expiredAt,omitempty"`
	ExpiresAt   *time.Time `json:"expiresAt,omitempty"`
	Id          *string    `json:"id,omitempty"`

	// KeyId @gotags: secret:"true"
	KeyId            *string    `json:"keyId,omitempty"`
	ServiceAccountId *string    `json:"serviceAccountId,omitempty"`
	UpdatedAt        *time.Time `json:"updatedAt,omitempty"`
}

V1serviceAccountsAccessKey defines model for v1service_accountsAccessKey.

type V1serviceAccountsRestrictions

type V1serviceAccountsRestrictions struct {
	IpAddresses *ServiceAccountsIPAddresses `json:"ipAddresses,omitempty"`
	TimeRange   *V1serviceAccountsTimeRange `json:"timeRange,omitempty"`
}

V1serviceAccountsRestrictions defines model for v1service_accountsRestrictions.

type V1serviceAccountsTimeRange

type V1serviceAccountsTimeRange struct {
	TimeSlots *[]ServiceAccountsTimeRangeTimeSlot `json:"timeSlots,omitempty"`
	Timezone  *int32                              `json:"timezone,omitempty"`
}

V1serviceAccountsTimeRange defines model for v1service_accountsTimeRange.

type V1serviceAccountsUpdateAPIKeyRequest

type V1serviceAccountsUpdateAPIKeyRequest struct {
	// Key UpdateAPIKeyEntity — модель для обновления API-ключа.
	Key   *ServiceAccountsUpdateAPIKeyEntity `json:"key,omitempty"`
	Paths *string                            `json:"paths,omitempty"`
}

V1serviceAccountsUpdateAPIKeyRequest UpdateAPIKeyRequest — запрос на обновление API-ключа.

type V2APIKeyProduct

type V2APIKeyProduct struct {
	Code        *string `json:"code,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
}

V2APIKeyProduct defines model for v2APIKeyProduct.

type V2APIKeyServiceCreateBody

type V2APIKeyServiceCreateBody struct {
	Description  *string            `json:"description,omitempty"`
	Enabled      *bool              `json:"enabled,omitempty"`
	ExpiresAt    *time.Time         `json:"expiresAt,omitempty"`
	Name         string             `json:"name"`
	ProductCodes []string           `json:"productCodes"`
	Restrictions *Iamv2Restrictions `json:"restrictions,omitempty"`
}

V2APIKeyServiceCreateBody defines model for v2APIKeyServiceCreateBody.

type V2AccessKeyServiceCreateBody

type V2AccessKeyServiceCreateBody struct {
	Description *string `json:"description,omitempty"`
	Ttl         *string `json:"ttl,omitempty"`
}

V2AccessKeyServiceCreateBody defines model for v2AccessKeyServiceCreateBody.

type V2AddUserResponse

type V2AddUserResponse = map[string]interface{}

V2AddUserResponse defines model for v2AddUserResponse.

type V2CreateGroupRequest

type V2CreateGroupRequest struct {
	Description    *string                   `json:"description,omitempty"`
	LdapAttributes *Iamv2GroupLDAPAttributes `json:"ldapAttributes,omitempty"`
	Name           string                    `json:"name"`
	Target         Iamv2Target               `json:"target"`
}

V2CreateGroupRequest defines model for v2CreateGroupRequest.

type V2CreateServiceAccountRequest

type V2CreateServiceAccountRequest struct {
	Description *string                `json:"description,omitempty"`
	Name        string                 `json:"name"`
	Target      V2ServiceAccountTarget `json:"target"`
}

V2CreateServiceAccountRequest defines model for v2CreateServiceAccountRequest.

type V2DeleteAPIKeyResponse

type V2DeleteAPIKeyResponse = map[string]interface{}

V2DeleteAPIKeyResponse defines model for v2DeleteAPIKeyResponse.

type V2DeleteAccessKeyResponse

type V2DeleteAccessKeyResponse = map[string]interface{}

V2DeleteAccessKeyResponse defines model for v2DeleteAccessKeyResponse.

type V2DeleteGroupResponse

type V2DeleteGroupResponse = map[string]interface{}

V2DeleteGroupResponse defines model for v2DeleteGroupResponse.

type V2DeleteGroupUserResponse

type V2DeleteGroupUserResponse = map[string]interface{}

V2DeleteGroupUserResponse defines model for v2DeleteGroupUserResponse.

type V2DeleteServiceAccountResponse

type V2DeleteServiceAccountResponse = map[string]interface{}

V2DeleteServiceAccountResponse defines model for v2DeleteServiceAccountResponse.

type V2GroupServiceAddUserBody

type V2GroupServiceAddUserBody struct {
	UserId string `json:"userId"`
}

V2GroupServiceAddUserBody defines model for v2GroupServiceAddUserBody.

type V2GroupServiceDeleteUserBody

type V2GroupServiceDeleteUserBody struct {
	UserId string `json:"userId"`
}

V2GroupServiceDeleteUserBody defines model for v2GroupServiceDeleteUserBody.

type V2GroupServiceSetUsersBody

type V2GroupServiceSetUsersBody struct {
	UserIds []string `json:"userIds"`
}

V2GroupServiceSetUsersBody defines model for v2GroupServiceSetUsersBody.

type V2GroupServiceUpdateBody

type V2GroupServiceUpdateBody struct {
	Description    string                    `json:"description"`
	LdapAttributes *Iamv2GroupLDAPAttributes `json:"ldapAttributes,omitempty"`
	Name           string                    `json:"name"`
}

V2GroupServiceUpdateBody defines model for v2GroupServiceUpdateBody.

type V2GroupUser

type V2GroupUser struct {
	// AccountType UserAccountType — тип учетной записи пользователя.
	//
	//  - USER_ACCOUNT_TYPE_UNDEFINED: USER_ACCOUNT_TYPE_UNDEFINED — неизвестный тип учетной записи.
	//  - USER_ACCOUNT_TYPE_FEDERATED: USER_ACCOUNT_TYPE_FEDERATED — федеративная учетная запись.
	//  - USER_ACCOUNT_TYPE_LOCAL: USER_ACCOUNT_TYPE_LOCAL — локальная учетная запись.
	AccountType *Iamv2UserAccountType `json:"accountType,omitempty"`
	CreatedAt   *time.Time            `json:"createdAt,omitempty"`
	Email       *string               `json:"email,omitempty"`
	Enabled     *bool                 `json:"enabled,omitempty"`
	FirstName   *string               `json:"firstName,omitempty"`
	LastName    *string               `json:"lastName,omitempty"`
	MiddleName  *string               `json:"middleName,omitempty"`
	UpdatedAt   *time.Time            `json:"updatedAt,omitempty"`
	UserId      *string               `json:"userId,omitempty"`
	Username    *string               `json:"username,omitempty"`
}

V2GroupUser defines model for v2GroupUser.

type V2ListAPIKeysProductsResponse

type V2ListAPIKeysProductsResponse struct {
	Products *[]V2APIKeyProduct `json:"products,omitempty"`
}

V2ListAPIKeysProductsResponse defines model for v2ListAPIKeysProductsResponse.

type V2ListAccessKeysResponse

type V2ListAccessKeysResponse struct {
	AccessKeys *[]Iamv2AccessKey `json:"accessKeys,omitempty"`
}

V2ListAccessKeysResponse defines model for v2ListAccessKeysResponse.

type V2ListGroupUsersResponse

type V2ListGroupUsersResponse struct {
	NextPageToken *string        `json:"nextPageToken,omitempty"`
	Users         *[]V2GroupUser `json:"users,omitempty"`
}

V2ListGroupUsersResponse defines model for v2ListGroupUsersResponse.

type V2ListServiceAccountsResponse

type V2ListServiceAccountsResponse struct {
	NextPageToken   *string                `json:"nextPageToken,omitempty"`
	ServiceAccounts *[]Iamv2ServiceAccount `json:"serviceAccounts,omitempty"`
}

V2ListServiceAccountsResponse defines model for v2ListServiceAccountsResponse.

type V2ServiceAccountServiceUpdateBody

type V2ServiceAccountServiceUpdateBody struct {
	Description *string `json:"description,omitempty"`
	Enabled     bool    `json:"enabled"`
	Name        string  `json:"name"`
}

V2ServiceAccountServiceUpdateBody defines model for v2ServiceAccountServiceUpdateBody.

type V2ServiceAccountTarget

type V2ServiceAccountTarget struct {
	CustomerId *string `json:"customerId,omitempty"`
	ProjectId  *string `json:"projectId,omitempty"`
}

V2ServiceAccountTarget defines model for v2ServiceAccountTarget.

type V2ServiceAccountType

type V2ServiceAccountType string

V2ServiceAccountType - SERVICE_ACCOUNT_TYPE_UNSPECIFIED: SERVICE_ACCOUNT_TYPE_UNSPECIFIED — тип не указан

  • SERVICE_ACCOUNT_TYPE_REGULAR: SERVICE_ACCOUNT_TYPE_REGULAR — обычный сервисный аккаунт, созданный пользователями
  • SERVICE_ACCOUNT_TYPE_TECHNICAL: SERVICE_ACCOUNT_TYPE_TECHNICAL — технический сервисный аккаунт, создаваемый автоматически

для ресурсов

const (
	SERVICEACCOUNTTYPEREGULAR     V2ServiceAccountType = "SERVICE_ACCOUNT_TYPE_REGULAR"
	SERVICEACCOUNTTYPETECHNICAL   V2ServiceAccountType = "SERVICE_ACCOUNT_TYPE_TECHNICAL"
	SERVICEACCOUNTTYPEUNSPECIFIED V2ServiceAccountType = "SERVICE_ACCOUNT_TYPE_UNSPECIFIED"
)

Defines values for V2ServiceAccountType.

func (V2ServiceAccountType) Valid

func (e V2ServiceAccountType) Valid() bool

Valid indicates whether the value is a known member of the V2ServiceAccountType enum.

type V2SetUsersResponse

type V2SetUsersResponse = map[string]interface{}

V2SetUsersResponse defines model for v2SetUsersResponse.

type V3RoleIdentifier

type V3RoleIdentifier struct {
	// RoleId RoleID — идентификатор роли для назначения (UUID).
	// Может использоваться для любой роли (продуктовой или пользовательской).
	RoleId *string `json:"roleId,omitempty"`

	// RoleName RoleName — название роли для назначения.
	// Может использоваться для продуктовых ролей.
	// В случае коллизии продуктовой и пользовательской роли по имени
	// вернется ошибка, передавайте идентификатор роли (role_id).
	RoleName *string `json:"roleName,omitempty"`
}

V3RoleIdentifier RoleIdentifier — роль для назначения. Обязательно должно быть указано одно из полей: role_name или role_id. НЕЛЬЗЯ указывать несколько полей одновременно.

Jump to

Keyboard shortcuts

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