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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.