Class OrganizationMemberUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class OrganizationMemberUpdateParams implements Params
Modify organization membership
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationMemberUpdateParams.BuilderA builder for OrganizationMemberUpdateParams.
public final classOrganizationMemberUpdateParams.Bodypublic final classOrganizationMemberUpdateParams.InviteUsersUsers to invite to the organization
public final classOrganizationMemberUpdateParams.RemoveUsersUsers to remove from the organization
-
Method Summary
Modifier and Type Method Description final Optional<OrganizationMemberUpdateParams.InviteUsers>inviteUsers()Users to invite to the organization final Optional<String>orgId()For nearly all users, this parameter should be unnecessary. final Optional<String>orgName()For nearly all users, this parameter should be unnecessary. final Optional<OrganizationMemberUpdateParams.RemoveUsers>removeUsers()Users to remove from the organization final JsonField<OrganizationMemberUpdateParams.InviteUsers>_inviteUsers()Returns the raw JSON value of inviteUsers. final JsonField<String>_orgId()Returns the raw JSON value of orgId. final JsonField<String>_orgName()Returns the raw JSON value of orgName. final JsonField<OrganizationMemberUpdateParams.RemoveUsers>_removeUsers()Returns the raw JSON value of removeUsers. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final OrganizationMemberUpdateParams.BuildertoBuilder()final OrganizationMemberUpdateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationMemberUpdateParamsnone()final static OrganizationMemberUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationMemberUpdateParams. -
-
Method Detail
-
inviteUsers
final Optional<OrganizationMemberUpdateParams.InviteUsers> inviteUsers()
Users to invite to the organization
-
orgId
final Optional<String> orgId()
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, or in case you want to explicitly assert the organization you are modifying, you may specify the id of the organization.
-
orgName
final Optional<String> orgName()
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, or in case you want to explicitly assert the organization you are modifying, you may specify the name of the organization.
-
removeUsers
final Optional<OrganizationMemberUpdateParams.RemoveUsers> removeUsers()
Users to remove from the organization
-
_inviteUsers
final JsonField<OrganizationMemberUpdateParams.InviteUsers> _inviteUsers()
Returns the raw JSON value of inviteUsers.
Unlike inviteUsers, this method doesn't throw if the JSON field has an unexpected type.
-
_orgId
final JsonField<String> _orgId()
Returns the raw JSON value of orgId.
Unlike orgId, this method doesn't throw if the JSON field has an unexpected type.
-
_orgName
final JsonField<String> _orgName()
Returns the raw JSON value of orgName.
Unlike orgName, this method doesn't throw if the JSON field has an unexpected type.
-
_removeUsers
final JsonField<OrganizationMemberUpdateParams.RemoveUsers> _removeUsers()
Returns the raw JSON value of removeUsers.
Unlike removeUsers, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final OrganizationMemberUpdateParams.Builder toBuilder()
-
_body
final OrganizationMemberUpdateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static OrganizationMemberUpdateParams none()
-
builder
final static OrganizationMemberUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationMemberUpdateParams.
-
-
-
-