Class: LockstepSdk::ApplicationModel
- Inherits:
-
Object
- Object
- LockstepSdk::ApplicationModel
- Defined in:
- lib/lockstep_sdk/models/application_model.rb
Overview
An Application represents a feature available to customers within the Lockstep Platform. You can create Applications by working with your Lockstep business development manager and publish them on the platform so that customers can browse and find your Application on the Lockstep Platform Marketplace. When a customer adds an Application to their account, they obtain an AppEnrollment which represents that customer's instance of this Application. The customer-specific AppEnrollment contains a customer's configuration data for the Application, which is not customer-specific.
See [Applications and Enrollments](developer.lockstep.io/docs/applications-and-enrollments) for more information. –swaggerCategory:Platform
Instance Attribute Summary collapse
-
#app_id ⇒ Uuid
A unique code identifying this application.
-
#app_type ⇒ String
Tag for what type of app this is.
-
#attachments ⇒ AttachmentModel
All attachments attached to this app.
-
#created ⇒ Date-time
The date this application was created.
-
#created_user_id ⇒ Uuid
The ID of the user who created this application.
-
#custom_field_definitions ⇒ CustomFieldDefinitionModel
All definitions attached to the application.
-
#custom_field_values ⇒ CustomFieldValueModel
All values attached to the application.
-
#description ⇒ String
Brief summary of this application shown as a subtitle.
-
#group_key ⇒ Uuid
The GroupKey uniquely identifies a single Lockstep Platform account.
-
#icon_url ⇒ Uri
The URL for the icon for this application.
-
#is_active ⇒ Boolean
Flag indicating if the application is active.
-
#modified ⇒ Date-time
The date this application was last modified.
-
#modified_user_id ⇒ Uuid
The ID of the user who last modified this application.
-
#name ⇒ String
The name of this application.
-
#notes ⇒ NoteModel
All notes attached to this app.
-
#owner_id ⇒ Uuid
The ID of the owner.
-
#price_terms ⇒ String
The description of the price for this application.
-
#project_url ⇒ Uri
The URL to visit for more information about this application.
-
#wiki_url ⇒ Uri
URL to the Wiki for the Application.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ApplicationModel
constructor
Initialize the ApplicationModel using the provided prototype.
Constructor Details
#initialize(params = {}) ⇒ ApplicationModel
Initialize the ApplicationModel using the provided prototype
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 32 def initialize(params = {}) @app_id = params.dig(:app_id) @name = params.dig(:name) @description = params.dig(:description) @app_type = params.dig(:app_type) @owner_id = params.dig(:owner_id) @project_url = params.dig(:project_url) @icon_url = params.dig(:icon_url) @price_terms = params.dig(:price_terms) @created_user_id = params.dig(:created_user_id) @modified_user_id = params.dig(:modified_user_id) @created = params.dig(:created) @modified = params.dig(:modified) @is_active = params.dig(:is_active) @wiki_url = params.dig(:wiki_url) @group_key = params.dig(:group_key) @notes = params.dig(:notes) @attachments = params.dig(:attachments) @custom_field_definitions = params.dig(:custom_field_definitions) @custom_field_values = params.dig(:custom_field_values) end |
Instance Attribute Details
#app_id ⇒ Uuid
Returns A unique code identifying this application.
55 56 57 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 55 def app_id @app_id end |
#app_type ⇒ String
Returns Tag for what type of app this is.
61 62 63 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 61 def app_type @app_type end |
#attachments ⇒ AttachmentModel
Returns All attachments attached to this app. To retrieve this collection, specify `Attachments` in the “Include” parameter for your query.
87 88 89 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 87 def @attachments end |
#created ⇒ Date-time
Returns The date this application was created.
75 76 77 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 75 def created @created end |
#created_user_id ⇒ Uuid
Returns The ID of the user who created this application.
71 72 73 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 71 def created_user_id @created_user_id end |
#custom_field_definitions ⇒ CustomFieldDefinitionModel
Returns All definitions attached to the application. To retrieve this collection, specify `CustomFieldValues` in the “Include” parameter for your query.
89 90 91 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 89 def custom_field_definitions @custom_field_definitions end |
#custom_field_values ⇒ CustomFieldValueModel
Returns All values attached to the application. To retrieve this collection, specify `CustomFieldValues` in the “Include” parameter for your query.
91 92 93 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 91 def custom_field_values @custom_field_values end |
#description ⇒ String
Returns Brief summary of this application shown as a subtitle.
59 60 61 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 59 def description @description end |
#group_key ⇒ Uuid
Returns The GroupKey uniquely identifies a single Lockstep Platform account. All records for this account will share the same GroupKey value. GroupKey values cannot be changed once created. For more information, see [Accounts and GroupKeys](developer.lockstep.io/docs/accounts-and-groupkeys).
83 84 85 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 83 def group_key @group_key end |
#icon_url ⇒ Uri
Returns The URL for the icon for this application.
67 68 69 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 67 def icon_url @icon_url end |
#is_active ⇒ Boolean
Returns Flag indicating if the application is active.
79 80 81 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 79 def is_active @is_active end |
#modified ⇒ Date-time
Returns The date this application was last modified.
77 78 79 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 77 def modified @modified end |
#modified_user_id ⇒ Uuid
Returns The ID of the user who last modified this application.
73 74 75 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 73 def modified_user_id @modified_user_id end |
#name ⇒ String
Returns The name of this application.
57 58 59 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 57 def name @name end |
#notes ⇒ NoteModel
Returns All notes attached to this app. To retrieve this collection, specify `Notes` in the “Include” parameter for your query.
85 86 87 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 85 def notes @notes end |
#owner_id ⇒ Uuid
Returns The ID of the owner.
63 64 65 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 63 def owner_id @owner_id end |
#price_terms ⇒ String
Returns The description of the price for this application.
69 70 71 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 69 def price_terms @price_terms end |
#project_url ⇒ Uri
Returns The URL to visit for more information about this application.
65 66 67 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 65 def project_url @project_url end |
#wiki_url ⇒ Uri
Returns URL to the Wiki for the Application.
81 82 83 |
# File 'lib/lockstep_sdk/models/application_model.rb', line 81 def wiki_url @wiki_url end |