Class: Increase::Models::OAuthApplication
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::OAuthApplication
- Defined in:
- lib/increase/models/oauth_application.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#client_id ⇒ String
The OAuth Application’s client_id.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Application was created.
-
#deleted_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Application was deleted.
-
#id ⇒ String
The OAuth Application’s identifier.
-
#name ⇒ String?
The name you chose for this OAuth Application.
-
#status ⇒ Symbol, Increase::Models::OAuthApplication::Status
Whether the application is active.
-
#type ⇒ Symbol, Increase::Models::OAuthApplication::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , client_id: , created_at: , deleted_at: , name: , status: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see OAuthApplication 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: , client_id: , created_at: , deleted_at: , name: , status: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::OAuthApplication for more details.
An OAuth Application lets you build an application for others to use with their Increase data. You can create an OAuth Application via the Dashboard and read information about it with the API. Learn more about OAuth [here](increase.com/documentation/oauth).
|
|
# File 'lib/increase/models/oauth_application.rb', line 53
|
Instance Attribute Details
#client_id ⇒ String
The OAuth Application’s client_id. Use this to authenticate with the OAuth Application.
18 |
# File 'lib/increase/models/oauth_application.rb', line 18 required :client_id, String |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Application was created.
25 |
# File 'lib/increase/models/oauth_application.rb', line 25 required :created_at, Time |
#deleted_at ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth Application was deleted.
32 |
# File 'lib/increase/models/oauth_application.rb', line 32 required :deleted_at, Time, nil?: true |
#id ⇒ String
The OAuth Application’s identifier.
11 |
# File 'lib/increase/models/oauth_application.rb', line 11 required :id, String |
#name ⇒ String?
The name you chose for this OAuth Application.
38 |
# File 'lib/increase/models/oauth_application.rb', line 38 required :name, String, nil?: true |
#status ⇒ Symbol, Increase::Models::OAuthApplication::Status
Whether the application is active.
44 |
# File 'lib/increase/models/oauth_application.rb', line 44 required :status, enum: -> { Increase::OAuthApplication::Status } |
#type ⇒ Symbol, Increase::Models::OAuthApplication::Type
A constant representing the object’s type. For this resource it will always be ‘oauth_application`.
51 |
# File 'lib/increase/models/oauth_application.rb', line 51 required :type, enum: -> { Increase::OAuthApplication::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/oauth_application.rb', line 88
|