Class: Azure::ARM::Web::Models::PushSettings
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::PushSettings
- 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
-
#dynamic_tags_json ⇒ String
dynamic tags that will be evaluated from user claims in the push registration endpoint.
-
#is_push_enabled ⇒ Boolean
endpoint is enabled.
-
#tag_whitelist_json ⇒ String
that are whitelisted for use by the push registration endpoint.
-
#tags_requiring_auth ⇒ String
that require user authentication to be used in the push registration endpoint.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PushSettings class as Ruby Hash.
Instance Attribute Details
#dynamic_tags_json ⇒ String
dynamic tags that will be evaluated from user claims in the push registration endpoint.
35 36 37 |
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 35 def @dynamic_tags_json end |
#is_push_enabled ⇒ Boolean
endpoint is enabled.
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_json ⇒ String
that are whitelisted for use by the push registration endpoint.
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_auth ⇒ String
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.
30 31 32 |
# File 'lib/generated/azure_mgmt_web/models/push_settings.rb', line 30 def @tags_requiring_auth end |
Class Method Details
.mapper ⇒ Object
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 |