Class: OpenApiSDK::Models::Operations::GetLinksRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/getlinks_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(domain: nil, tag_id: nil, tag_ids: nil, tag_names: nil, folder_id: nil, search: nil, user_id: nil, tenant_id: nil, ending_before: nil, starting_after: nil, page: nil, show_archived: false, with_tags: false, sort_by: Models::Operations::SortBy::CREATED_AT, sort_order: Models::Operations::SortOrder::DESC, sort: Models::Operations::Sort::CREATED_AT, page_size: 100.0) ⇒ GetLinksRequest

Returns a new instance of GetLinksRequest.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/open_api_sdk/models/operations/getlinks_request.rb', line 51

def initialize(domain: nil, tag_id: nil, tag_ids: nil, tag_names: nil, folder_id: nil, search: nil, user_id: nil, tenant_id: nil, ending_before: nil, starting_after: nil, page: nil, show_archived: false, with_tags: false, sort_by: Models::Operations::SortBy::CREATED_AT, sort_order: Models::Operations::SortOrder::DESC, sort: Models::Operations::Sort::CREATED_AT, page_size: 100.0)
  @domain = domain
  @tag_id = tag_id
  @tag_ids = tag_ids
  @tag_names = tag_names
  @folder_id = folder_id
  @search = search
  @user_id = user_id
  @tenant_id = tenant_id
  @ending_before = ending_before
  @starting_after = starting_after
  @page = page
  @show_archived = show_archived
  @with_tags = with_tags
  @sort_by = sort_by
  @sort_order = sort_order
  @sort = sort
  @page_size = page_size
end

Instance Method Details

#==(other) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/open_api_sdk/models/operations/getlinks_request.rb', line 72

def ==(other)
  return false unless other.is_a? self.class
  return false unless @domain == other.domain
  return false unless @tag_id == other.tag_id
  return false unless @tag_ids == other.tag_ids
  return false unless @tag_names == other.tag_names
  return false unless @folder_id == other.folder_id
  return false unless @search == other.search
  return false unless @user_id == other.user_id
  return false unless @tenant_id == other.tenant_id
  return false unless @ending_before == other.ending_before
  return false unless @starting_after == other.starting_after
  return false unless @page == other.page
  return false unless @show_archived == other.show_archived
  return false unless @with_tags == other.with_tags
  return false unless @sort_by == other.sort_by
  return false unless @sort_order == other.sort_order
  return false unless @sort == other.sort
  return false unless @page_size == other.page_size
  true
end