Class: Gpdb::REST::RecordingRequest::Model

Inherits:
Model
  • Object
show all
Defined in:
lib/gpdb/rest/recording_request/model.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#created_at, #id, #updated_at

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Model

Returns a new instance of Model.



10
11
12
13
14
15
16
17
# File 'lib/gpdb/rest/recording_request/model.rb', line 10

def initialize(attributes = {})
  self.id                   = attributes[:recording_request_id]
  self.target               = attributes[:target]
  self.target_type_sig      = attributes[:target_owner_context]
  self.user_context         = attributes[:user_context]
  self.application_context  = attributes[:application_context]
  self.target_owner_context = attributes[:target_owner_context]
end

Instance Attribute Details

#application_contextObject

Returns the value of attribute application_context.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def application_context
  @application_context
end

#recording_request_idObject

Returns the value of attribute recording_request_id.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def recording_request_id
  @recording_request_id
end

#targetObject

Returns the value of attribute target.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def target
  @target
end

#target_owner_contextObject

Returns the value of attribute target_owner_context.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def target_owner_context
  @target_owner_context
end

#target_type_sigObject

Returns the value of attribute target_type_sig.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def target_type_sig
  @target_type_sig
end

#user_contextObject

Returns the value of attribute user_context.



7
8
9
# File 'lib/gpdb/rest/recording_request/model.rb', line 7

def user_context
  @user_context
end