Class: MicrosoftGraph::DeviceAppManagement::ManagedEBooks::Item::DeviceStates::Count::CountRequestBuilder::CountRequestBuilderGetQueryParameters
- Inherits:
-
Object
- Object
- MicrosoftGraph::DeviceAppManagement::ManagedEBooks::Item::DeviceStates::Count::CountRequestBuilder::CountRequestBuilderGetQueryParameters
- Defined in:
- lib/device_app_management/managed_e_books/item/device_states/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
68 69 70 |
# File 'lib/device_app_management/managed_e_books/item/device_states/count/count_request_builder.rb', line 68 def filter @filter end |
#search ⇒ Object
Search items by search phrases
71 72 73 |
# File 'lib/device_app_management/managed_e_books/item/device_states/count/count_request_builder.rb', line 71 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.
77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/device_app_management/managed_e_books/item/device_states/count/count_request_builder.rb', line 77 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 |