View Source GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue (google_api_android_enterprise v0.26.0)

A typed value for the restriction.

Attributes

  • type (type: String.t, default: nil) - The type of the value being provided.
  • valueBool (type: boolean(), default: nil) - The boolean value - this will only be present if type is bool.
  • valueInteger (type: integer(), default: nil) - The integer value - this will only be present if type is integer.
  • valueMultiselect (type: list(String.t), default: nil) - The list of string values - this will only be present if type is multiselect.
  • valueString (type: String.t, default: nil) - The string value - this will be present for types string, choice and hidden.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue{
    type: String.t() | nil,
    valueBool: boolean() | nil,
    valueInteger: integer() | nil,
    valueMultiselect: [String.t()] | nil,
    valueString: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.