Class ModelPermissionUpdateParams.Body
-
- All Implemented Interfaces:
public final class ModelPermissionUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelPermissionUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final ModelPermissionUpdateParams.Modemode()The model permissions mode to apply. final List<String>modelIds()The model IDs included in this permissions policy. final JsonField<ModelPermissionUpdateParams.Mode>_mode()Returns the raw JSON value of mode. final JsonField<List<String>>_modelIds()Returns the raw JSON value of modelIds. final Map<String, JsonValue>_additionalProperties()final ModelPermissionUpdateParams.Body.BuildertoBuilder()final ModelPermissionUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelPermissionUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
mode
final ModelPermissionUpdateParams.Mode mode()
The model permissions mode to apply.
-
_mode
final JsonField<ModelPermissionUpdateParams.Mode> _mode()
Returns the raw JSON value of mode.
Unlike mode, this method doesn't throw if the JSON field has an unexpected type.
-
_modelIds
final JsonField<List<String>> _modelIds()
Returns the raw JSON value of modelIds.
Unlike modelIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ModelPermissionUpdateParams.Body.Builder toBuilder()
-
validate
final ModelPermissionUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ModelPermissionUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.mode() .modelIds()
-
-
-
-