Class: Knockapi::Models::Providers::MsTeamListTeamsParams::QueryOptions

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/providers/ms_team_list_teams_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(filter: nil, select_: nil, skiptoken: nil, top: nil) ⇒ Object

Some parameter documentations has been truncated, see Knockapi::Models::Providers::MsTeamListTeamsParams::QueryOptions for more details.

Parameters:



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/knockapi/models/providers/ms_team_list_teams_params.rb', line 29

class QueryOptions < Knockapi::Internal::Type::BaseModel
  # @!attribute filter
  #   [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed
  #   to the Microsoft Graph API to filter teams.
  #
  #   @return [String, nil]
  optional :filter, String, api_name: :$filter

  # @!attribute select_
  #   [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed
  #   to the Microsoft Graph API to select fields on a team.
  #
  #   @return [String, nil]
  optional :select_, String, api_name: :$select

  # @!attribute skiptoken
  #   [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed
  #   to the Microsoft Graph API to retrieve the next page of results.
  #
  #   @return [String, nil]
  optional :skiptoken, String, api_name: :$skiptoken

  # @!attribute top
  #   [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed
  #   to the Microsoft Graph API to limit the number of teams returned.
  #
  #   @return [Integer, nil]
  optional :top, Integer, api_name: :$top

  # @!method initialize(filter: nil, select_: nil, skiptoken: nil, top: nil)
  #   Some parameter documentations has been truncated, see
  #   {Knockapi::Models::Providers::MsTeamListTeamsParams::QueryOptions} for more
  #   details.
  #
  #   @param filter [String] [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed t
  #
  #   @param select_ [String] [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed t
  #
  #   @param skiptoken [String] [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed t
  #
  #   @param top [Integer] [OData param](https://learn.microsoft.com/en-us/graph/query-parameters) passed t
end

Instance Attribute Details

#filterString?

[OData param](learn.microsoft.com/en-us/graph/query-parameters) passed to the Microsoft Graph API to filter teams.

Returns:

  • (String, nil)


35
# File 'lib/knockapi/models/providers/ms_team_list_teams_params.rb', line 35

optional :filter, String, api_name: :$filter

#select_String?

[OData param](learn.microsoft.com/en-us/graph/query-parameters) passed to the Microsoft Graph API to select fields on a team.

Returns:

  • (String, nil)


42
# File 'lib/knockapi/models/providers/ms_team_list_teams_params.rb', line 42

optional :select_, String, api_name: :$select

#skiptokenString?

[OData param](learn.microsoft.com/en-us/graph/query-parameters) passed to the Microsoft Graph API to retrieve the next page of results.

Returns:

  • (String, nil)


49
# File 'lib/knockapi/models/providers/ms_team_list_teams_params.rb', line 49

optional :skiptoken, String, api_name: :$skiptoken

#topInteger?

[OData param](learn.microsoft.com/en-us/graph/query-parameters) passed to the Microsoft Graph API to limit the number of teams returned.

Returns:

  • (Integer, nil)


56
# File 'lib/knockapi/models/providers/ms_team_list_teams_params.rb', line 56

optional :top, Integer, api_name: :$top