Class RoleMapping

All Implemented Interfaces:

public class RoleMapping
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RoleMapping of​(java.util.function.Function<RoleMapping.Builder,​ObjectBuilder<RoleMapping>> fn)
    • enabled

      public final boolean enabled()
      Required - API name: enabled
    • metadata

      public final java.util.Map<java.lang.String,​JsonData> metadata()
      Required - API name: metadata
    • roles

      public final java.util.List<java.lang.String> roles()
      Required - API name: roles
    • rules

      public final RoleMappingRule rules()
      Required - API name: rules
    • roleTemplates

      public final java.util.List<RoleTemplate> roleTemplates()
      API name: role_templates
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupRoleMappingDeserializer

      protected static void setupRoleMappingDeserializer​(ObjectDeserializer<RoleMapping.Builder> op)