Class: MicrosoftGraph::Me::OwnedObjects::GraphApplication::Count::CountRequestBuilder::CountRequestBuilderGetQueryParameters
- Inherits:
-
Object
- Object
- MicrosoftGraph::Me::OwnedObjects::GraphApplication::Count::CountRequestBuilder::CountRequestBuilderGetQueryParameters
- Defined in:
- lib/me/owned_objects/graph_application/count/count_request_builder.rb
Overview
Get the number of the resource
Instance Attribute Summary collapse
-
#filter ⇒ Object
Filter items by property values.
-
#search ⇒ Object
Search items by search phrases.
Instance Method Summary collapse
-
#get_query_parameter(original_name) ⇒ Object
Maps the query parameters names to their encoded names for the URI template parsing.
Instance Attribute Details
#filter ⇒ Object
Filter items by property values
66 67 68 |
# File 'lib/me/owned_objects/graph_application/count/count_request_builder.rb', line 66 def filter @filter end |
#search ⇒ Object
Search items by search phrases
69 70 71 |
# File 'lib/me/owned_objects/graph_application/count/count_request_builder.rb', line 69 def search @search end |
Instance Method Details
#get_query_parameter(original_name) ⇒ Object
Maps the query parameters names to their encoded names for the URI template parsing.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/me/owned_objects/graph_application/count/count_request_builder.rb', line 75 def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name when "filter" return "%24filter" when "search" return "%24search" else return original_name end end |