Class: Azure::Profiles::Latest::Face::FaceDataClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::Face::FaceDataClass
- Defined in:
- lib/latest/modules/face_profile_module.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#face ⇒ Object
readonly
Returns the value of attribute face.
-
#face_list_operations ⇒ Object
readonly
Returns the value of attribute face_list_operations.
-
#large_face_list_operations ⇒ Object
readonly
Returns the value of attribute large_face_list_operations.
-
#large_person_group_operations ⇒ Object
readonly
Returns the value of attribute large_person_group_operations.
-
#large_person_group_person ⇒ Object
readonly
Returns the value of attribute large_person_group_person.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#person_group_operations ⇒ Object
readonly
Returns the value of attribute person_group_operations.
-
#person_group_person ⇒ Object
readonly
Returns the value of attribute person_group_person.
-
#snapshot_operations ⇒ Object
readonly
Returns the value of attribute snapshot_operations.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ FaceDataClass
constructor
A new instance of FaceDataClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ FaceDataClass
Returns a new instance of FaceDataClass.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/latest/modules/face_profile_module.rb', line 83 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::CognitiveServices::Face::V1_0::FaceClient.new(configurable.credentials, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @face = @client_0.face @person_group_person = @client_0.person_group_person @person_group_operations = @client_0.person_group_operations @face_list_operations = @client_0.face_list_operations @large_person_group_person = @client_0.large_person_group_person @large_person_group_operations = @client_0.large_person_group_operations @large_face_list_operations = @client_0.large_face_list_operations @snapshot_operations = @client_0.snapshot_operations @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
108 109 110 111 112 113 114 |
# File 'lib/latest/modules/face_profile_module.rb', line 108 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def configurable @configurable end |
#face ⇒ Object (readonly)
Returns the value of attribute face.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def face @face end |
#face_list_operations ⇒ Object (readonly)
Returns the value of attribute face_list_operations.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def face_list_operations @face_list_operations end |
#large_face_list_operations ⇒ Object (readonly)
Returns the value of attribute large_face_list_operations.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def large_face_list_operations @large_face_list_operations end |
#large_person_group_operations ⇒ Object (readonly)
Returns the value of attribute large_person_group_operations.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def large_person_group_operations @large_person_group_operations end |
#large_person_group_person ⇒ Object (readonly)
Returns the value of attribute large_person_group_person.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def large_person_group_person @large_person_group_person end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def @options end |
#person_group_operations ⇒ Object (readonly)
Returns the value of attribute person_group_operations.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def person_group_operations @person_group_operations end |
#person_group_person ⇒ Object (readonly)
Returns the value of attribute person_group_person.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def person_group_person @person_group_person end |
#snapshot_operations ⇒ Object (readonly)
Returns the value of attribute snapshot_operations.
81 82 83 |
# File 'lib/latest/modules/face_profile_module.rb', line 81 def snapshot_operations @snapshot_operations end |