BitmovinApiSdk\Models\Policy

Synopsis

class Policy extends Enum {
  • // methods
  • public static Policy create()
  • public static Policy ALLOW()
  • public static Policy DENY()
}

Hierarchy

Methods

public

  • ALLOW() — Allows access to given permissions.
  • DENY() — Denies access to given permissions.
  • create()

Inherited from BitmovinApiSdk\Common\Enum

public

  • __callStatic() — Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant
  • __toString()
  • equals() — Determines if Enum should be considered equal with the variable passed as a parameter.
  • getKey() — Returns the enum key (i.e. the constant name).
  • getValue()
  • isValidKey() — Check if is valid enum key
  • jsonSerialize() — Specify data which should be serialized to JSON. This method returns data that can be serialized by json_encode() natively.
  • keys() — Returns the names (keys) of all constants in the Enum class
  • toArray() — Returns all possible values as an array
  • values() — Returns instances of the Enum class of all Enum constants