lib/stackone/models/shared/connectsessiontoken.rb in stackone_client-0.0.2 vs lib/stackone/models/shared/connectsessiontoken.rb in stackone_client-0.0.3
- old
+ new
@@ -36,36 +36,36 @@
field :origin_owner_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_owner_name') } }
field :project_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('project_id') } }
- field :provider, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
-
field :token, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('token') } }
field :account_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('account_id') } }
field :categories, T.nilable(T::Array[Shared::ConnectSessionTokenCategories]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
field :label, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
field :origin_username, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } }
+ field :provider, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
- sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, provider: String, token: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::ConnectSessionTokenCategories]), label: T.nilable(String), origin_username: T.nilable(String)).void }
- def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, provider: nil, token: nil, account_id: nil, categories: nil, label: nil, origin_username: nil)
+
+ sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, token: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::ConnectSessionTokenCategories]), label: T.nilable(String), origin_username: T.nilable(String), provider: T.nilable(String)).void }
+ def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, token: nil, account_id: nil, categories: nil, label: nil, origin_username: nil, provider: nil)
@created_at = created_at
@id = id
@organization_id = organization_id
@origin_owner_id = origin_owner_id
@origin_owner_name = origin_owner_name
@project_id = project_id
- @provider = provider
@token = token
@account_id = account_id
@categories = categories
@label = label
@origin_username = origin_username
+ @provider = provider
end
end
end
end