Class: MicrosoftGraph::Groups::Item::Team::TeamRequestBuilder::TeamRequestBuilderGetQueryParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/groups/item/team/team_request_builder.rb

Overview

The team associated with this group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expandObject

Expand related entities



239
240
241
# File 'lib/groups/item/team/team_request_builder.rb', line 239

def expand
  @expand
end

#selectObject

Select properties to be returned



242
243
244
# File 'lib/groups/item/team/team_request_builder.rb', line 242

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)


248
249
250
251
252
253
254
255
256
257
258
# File 'lib/groups/item/team/team_request_builder.rb', line 248

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