Class: Azure::Web::Mgmt::V2018_02_01::Models::PushSettings

Inherits:
ProxyOnlyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb

Overview

Push settings for the App.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

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



34
35
36
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb', line 34

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



17
18
19
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb', line 17

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



21
22
23
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb', line 21

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



29
30
31
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb', line 29

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.



41
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/2018-02-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'
          }
        },
        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