Class: Increase::Models::OAuthConnection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::OAuthConnection
- Defined in:
- lib/increase/models/oauth_connection.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Connection was created.
-
#deleted_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Connection was deleted.
-
#group_id ⇒ String
The identifier of the Group that has authorized your OAuth application.
-
#id ⇒ String
The OAuth Connection’s identifier.
-
#oauth_application_id ⇒ String
The identifier of the OAuth application this connection is for.
-
#status ⇒ Symbol, Increase::Models::OAuthConnection::Status
Whether the connection is active.
-
#type ⇒ Symbol, Increase::Models::OAuthConnection::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , created_at: , deleted_at: , group_id: , oauth_application_id: , status: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see OAuthConnection for more details.
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(id: , created_at: , deleted_at: , group_id: , oauth_application_id: , status: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::OAuthConnection for more details.
When a user authorizes your OAuth application, an OAuth Connection object is created. Learn more about OAuth [here](increase.com/documentation/oauth).
|
|
# File 'lib/increase/models/oauth_connection.rb', line 52
|
Instance Attribute Details
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Connection was created.
18 |
# File 'lib/increase/models/oauth_connection.rb', line 18 required :created_at, Time |
#deleted_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Connection was deleted.
25 |
# File 'lib/increase/models/oauth_connection.rb', line 25 required :deleted_at, Time, nil?: true |
#group_id ⇒ String
The identifier of the Group that has authorized your OAuth application.
31 |
# File 'lib/increase/models/oauth_connection.rb', line 31 required :group_id, String |
#id ⇒ String
The OAuth Connection’s identifier.
11 |
# File 'lib/increase/models/oauth_connection.rb', line 11 required :id, String |
#oauth_application_id ⇒ String
The identifier of the OAuth application this connection is for.
37 |
# File 'lib/increase/models/oauth_connection.rb', line 37 required :oauth_application_id, String |
#status ⇒ Symbol, Increase::Models::OAuthConnection::Status
Whether the connection is active.
43 |
# File 'lib/increase/models/oauth_connection.rb', line 43 required :status, enum: -> { Increase::OAuthConnection::Status } |
#type ⇒ Symbol, Increase::Models::OAuthConnection::Type
A constant representing the object’s type. For this resource it will always be ‘oauth_connection`.
50 |
# File 'lib/increase/models/oauth_connection.rb', line 50 required :type, enum: -> { Increase::OAuthConnection::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/oauth_connection.rb', line 86
|