Class: MicrosoftGraph::Models::ApplicationTemplate
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/application_template.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#categories ⇒ Object
Gets the categories property value.
-
#categories=(value) ⇒ Object
Sets the categories property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#home_page_url ⇒ Object
Gets the homePageUrl property value.
-
#home_page_url=(value) ⇒ Object
Sets the homePageUrl property value.
-
#initialize ⇒ Object
constructor
Instantiates a new applicationTemplate and sets the default values.
-
#logo_url ⇒ Object
Gets the logoUrl property value.
-
#logo_url=(value) ⇒ Object
Sets the logoUrl property value.
-
#publisher ⇒ Object
Gets the publisher property value.
-
#publisher=(value) ⇒ Object
Sets the publisher property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#supported_provisioning_types ⇒ Object
Gets the supportedProvisioningTypes property value.
-
#supported_provisioning_types=(value) ⇒ Object
Sets the supportedProvisioningTypes property value.
-
#supported_single_sign_on_modes ⇒ Object
Gets the supportedSingleSignOnModes property value.
-
#supported_single_sign_on_modes=(value) ⇒ Object
Sets the supportedSingleSignOnModes property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new applicationTemplate and sets the default values.
52 53 54 |
# File 'lib/models/application_template.rb', line 52 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
60 61 62 63 |
# File 'lib/models/application_template.rb', line 60 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ApplicationTemplate.new end |
Instance Method Details
#categories ⇒ Object
Gets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting.
37 38 39 |
# File 'lib/models/application_template.rb', line 37 def categories return @categories end |
#categories=(value) ⇒ Object
Sets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting.
45 46 47 |
# File 'lib/models/application_template.rb', line 45 def categories=(value) @categories = value end |
#description ⇒ Object
Gets the description property value. A description of the application.
68 69 70 |
# File 'lib/models/application_template.rb', line 68 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. A description of the application.
76 77 78 |
# File 'lib/models/application_template.rb', line 76 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the application.
83 84 85 |
# File 'lib/models/application_template.rb', line 83 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the application.
91 92 93 |
# File 'lib/models/application_template.rb', line 91 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/models/application_template.rb', line 98 def get_field_deserializers() return super.merge({ "categories" => lambda {|n| @categories = n.get_collection_of_primitive_values(String) }, "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "homePageUrl" => lambda {|n| @home_page_url = n.get_string_value() }, "logoUrl" => lambda {|n| @logo_url = n.get_string_value() }, "publisher" => lambda {|n| @publisher = n.get_string_value() }, "supportedProvisioningTypes" => lambda {|n| @supported_provisioning_types = n.get_collection_of_primitive_values(String) }, "supportedSingleSignOnModes" => lambda {|n| @supported_single_sign_on_modes = n.get_collection_of_primitive_values(String) }, }) end |
#home_page_url ⇒ Object
Gets the homePageUrl property value. The home page URL of the application.
114 115 116 |
# File 'lib/models/application_template.rb', line 114 def home_page_url return @home_page_url end |
#home_page_url=(value) ⇒ Object
Sets the homePageUrl property value. The home page URL of the application.
122 123 124 |
# File 'lib/models/application_template.rb', line 122 def home_page_url=(value) @home_page_url = value end |
#logo_url ⇒ Object
Gets the logoUrl property value. The URL to get the logo for this application.
129 130 131 |
# File 'lib/models/application_template.rb', line 129 def logo_url return @logo_url end |
#logo_url=(value) ⇒ Object
Sets the logoUrl property value. The URL to get the logo for this application.
137 138 139 |
# File 'lib/models/application_template.rb', line 137 def logo_url=(value) @logo_url = value end |
#publisher ⇒ Object
Gets the publisher property value. The name of the publisher for this application.
144 145 146 |
# File 'lib/models/application_template.rb', line 144 def publisher return @publisher end |
#publisher=(value) ⇒ Object
Sets the publisher property value. The name of the publisher for this application.
152 153 154 |
# File 'lib/models/application_template.rb', line 152 def publisher=(value) @publisher = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/models/application_template.rb', line 160 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_primitive_values("categories", @categories) writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_string_value("homePageUrl", @home_page_url) writer.write_string_value("logoUrl", @logo_url) writer.write_string_value("publisher", @publisher) writer.write_collection_of_primitive_values("supportedProvisioningTypes", @supported_provisioning_types) writer.write_collection_of_primitive_values("supportedSingleSignOnModes", @supported_single_sign_on_modes) end |
#supported_provisioning_types ⇒ Object
Gets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
176 177 178 |
# File 'lib/models/application_template.rb', line 176 def supported_provisioning_types return @supported_provisioning_types end |
#supported_provisioning_types=(value) ⇒ Object
Sets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
184 185 186 |
# File 'lib/models/application_template.rb', line 184 def supported_provisioning_types=(value) @supported_provisioning_types = value end |
#supported_single_sign_on_modes ⇒ Object
Gets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
191 192 193 |
# File 'lib/models/application_template.rb', line 191 def supported_single_sign_on_modes return @supported_single_sign_on_modes end |
#supported_single_sign_on_modes=(value) ⇒ Object
Sets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
199 200 201 |
# File 'lib/models/application_template.rb', line 199 def supported_single_sign_on_modes=(value) @supported_single_sign_on_modes = value end |