You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**use_cases**|**Array<String>**|The use case associated with the member. Valid values are `PFM` and/or `MONEY_MOVEMENT`. Only set this if you've met with MX and have opted in to using this field.|[optional]|
25
29
|**user_guid**|**String**||[optional]|
26
30
|**user_id**|**String**||[optional]|
27
31
@@ -31,24 +35,28 @@
31
35
require'mx-platform-ruby'
32
36
33
37
instance =MxPlatformRuby::MemberResponse.new(
34
-
actionable_error: {\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"ThisMember has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"},
35
38
aggregated_at:2016-10-13T18:07:57.000Z,
36
39
background_aggregation_is_disabled:false,
37
40
connection_status:CONNECTED,
41
+
connection_status_message:Connected to MXBank,
42
+
error: {\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"ThisMember has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"},
Copy file name to clipboardExpand all lines: lib/mx-platform-ruby/models/member_response.rb
+75-14Lines changed: 75 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,24 @@
15
15
16
16
moduleMxPlatformRuby
17
17
classMemberResponse
18
-
attr_accessor:actionable_error
19
-
20
18
attr_accessor:aggregated_at
21
19
22
20
attr_accessor:background_aggregation_is_disabled
23
21
24
22
attr_accessor:connection_status
25
23
24
+
attr_accessor:connection_status_message
25
+
26
+
attr_accessor:error
27
+
26
28
attr_accessor:guid
27
29
28
30
attr_accessor:id
29
31
30
32
attr_accessor:institution_code
31
33
34
+
attr_accessor:institution_guid
35
+
32
36
attr_accessor:is_being_aggregated
33
37
34
38
attr_accessor:is_managed_by_user
@@ -43,36 +47,67 @@ class MemberResponse
43
47
44
48
attr_accessor:most_recent_job_detail_text
45
49
50
+
attr_accessor:most_recent_job_guid
51
+
46
52
attr_accessor:name
47
53
54
+
attr_accessor:needs_updated_credentials
55
+
48
56
attr_accessor:oauth_window_uri
49
57
50
58
attr_accessor:successfully_aggregated_at
51
59
60
+
# The use case associated with the member. Valid values are `PFM` and/or `MONEY_MOVEMENT`. Only set this if you've met with MX and have opted in to using this field.
52
61
attr_accessor:use_cases
53
62
54
63
attr_accessor:user_guid
55
64
56
65
attr_accessor:user_id
57
66
67
+
classEnumAttributeValidator
68
+
attr_reader:datatype
69
+
attr_reader:allowable_values
70
+
71
+
definitialize(datatype,allowable_values)
72
+
@allowable_values=allowable_values.mapdo |value|
73
+
casedatatype.to_s
74
+
when/Integer/i
75
+
value.to_i
76
+
when/Float/i
77
+
value.to_f
78
+
else
79
+
value
80
+
end
81
+
end
82
+
end
83
+
84
+
defvalid?(value)
85
+
!value || allowable_values.include?(value)
86
+
end
87
+
end
88
+
58
89
# Attribute mapping from ruby-style variable name to JSON key.
0 commit comments