Class: MicrosoftGraph::GroupSettingTemplates::Item::GroupSettingTemplateItemRequestBuilder::GroupSettingTemplateItemRequestBuilderGetQueryParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/group_setting_templates/item/group_setting_template_item_request_builder.rb

Overview

A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expandObject

Expand related entities



159
160
161
# File 'lib/group_setting_templates/item/group_setting_template_item_request_builder.rb', line 159

def expand
  @expand
end

#selectObject

Select properties to be returned



162
163
164
# File 'lib/group_setting_templates/item/group_setting_template_item_request_builder.rb', line 162

def select
  @select
end

Instance Method Details

#get_query_parameter(original_name) ⇒ Object

Maps the query parameters names to their encoded names for the URI template parsing.

Raises:

  • (StandardError)


168
169
170
171
172
173
174
175
176
177
178
# File 'lib/group_setting_templates/item/group_setting_template_item_request_builder.rb', line 168

def get_query_parameter(original_name)
    raise StandardError, 'original_name cannot be null' if original_name.nil?
    case original_name
        when "expand"
            return "%24expand"
        when "select"
            return "%24select"
        else
            return original_name
    end
end