Class: Azure::ARM::Web::Models::PushSettings

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/push_settings.rb

Overview

Push settings for the App.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dynamic_tags_jsonString

dynamic tags that will be evaluated from user claims in the push registration endpoint.

Returns:

  • (String)

    Gets or sets a JSON string containing a list of



35
36
37
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 35

def dynamic_tags_json
  @dynamic_tags_json
end

#is_push_enabledBoolean

endpoint is enabled.

Returns:

  • (Boolean)

    Gets or sets a flag indicating whether the Push



18
19
20
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 18

def is_push_enabled
  @is_push_enabled
end

#tag_whitelist_jsonString

that are whitelisted for use by the push registration endpoint.

Returns:

  • (String)

    Gets or sets a JSON string containing a list of tags



22
23
24
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 22

def tag_whitelist_json
  @tag_whitelist_json
end

#tags_requiring_authString

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.

Returns:

  • (String)

    Gets or sets a JSON string containing a list of tags



30
31
32
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 30

def tags_requiring_auth
  @tags_requiring_auth
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 42

def self.mapper()
  {
    required: false,
    serialized_name: 'PushSettings',
    type: {
      name: 'Composite',
      class_name: 'PushSettings',
      model_properties: {
        is_push_enabled: {
          required: true,
          serialized_name: 'isPushEnabled',
          type: {
            name: 'Boolean'
          }
        },
        tag_whitelist_json: {
          required: false,
          serialized_name: 'tagWhitelistJson',
          type: {
            name: 'String'
          }
        },
        tags_requiring_auth: {
          required: false,
          serialized_name: 'tagsRequiringAuth',
          type: {
            name: 'String'
          }
        },
        dynamic_tags_json: {
          required: false,
          serialized_name: 'dynamicTagsJson',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end