Class: MicrosoftGraph::Reports::Security::GetAttackSimulationRepeatOffenders::GetAttackSimulationRepeatOffendersRequestBuilder::GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters
- Inherits:
-
Object
- Object
- MicrosoftGraph::Reports::Security::GetAttackSimulationRepeatOffenders::GetAttackSimulationRepeatOffendersRequestBuilder::GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters
- Defined in:
- lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb
Overview
Invoke function getAttackSimulationRepeatOffenders
Instance Attribute Summary collapse
-
#count ⇒ Object
Include count of items.
-
#filter ⇒ Object
Filter items by property values.
-
#search ⇒ Object
Search items by search phrases.
-
#skip ⇒ Object
Skip the first n items.
-
#top ⇒ Object
Show only the first n items.
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
#count ⇒ Object
Include count of items
64 65 66 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 64 def count @count end |
#filter ⇒ Object
Filter items by property values
67 68 69 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 67 def filter @filter end |
#search ⇒ Object
Search items by search phrases
70 71 72 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 70 def search @search end |
#skip ⇒ Object
Skip the first n items
73 74 75 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 73 def skip @skip end |
#top ⇒ Object
Show only the first n items
76 77 78 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 76 def top @top end |
Instance Method Details
#get_query_parameter(original_name) ⇒ Object
Maps the query parameters names to their encoded names for the URI template parsing.
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.rb', line 82 def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name when "count" return "%24count" when "filter" return "%24filter" when "search" return "%24search" when "skip" return "%24skip" when "top" return "%24top" else return original_name end end |