class Azure::Web::Mgmt::V2020_09_01::Models::PushSettings

Push settings for the App.

Attributes

dynamic_tags_json[RW]

@return [String] Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

is_push_enabled[RW]

@return [Boolean] Gets or sets a flag indicating whether the Push endpoint is enabled.

tag_whitelist_json[RW]

@return [String] Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

tags_requiring_auth[RW]

@return [String] Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

Private Class Methods

mapper() click to toggle source

Mapper for PushSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_web/models/push_settings.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PushSettings',
    type: {
      name: 'Composite',
      class_name: 'PushSettings',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        },
        is_push_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isPushEnabled',
          type: {
            name: 'Boolean'
          }
        },
        tag_whitelist_json: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tagWhitelistJson',
          type: {
            name: 'String'
          }
        },
        tags_requiring_auth: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tagsRequiringAuth',
          type: {
            name: 'String'
          }
        },
        dynamic_tags_json: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dynamicTagsJson',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end