Class: UntitledApi::ApiV1ConstTpAppsErrorTypeDescResponse
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::ApiV1ConstTpAppsErrorTypeDescResponse
- Defined in:
- lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb
Overview
Response data
Instance Attribute Summary collapse
-
#access_denied ⇒ String
TODO: Write general description for this method.
-
#account_not_found ⇒ String
TODO: Write general description for this method.
-
#api_daily_rate_limit_reached ⇒ String
TODO: Write general description for this method.
-
#invalid_request ⇒ String
TODO: Write general description for this method.
-
#invalid_request_uri ⇒ String
TODO: Write general description for this method.
-
#invalid_scope ⇒ String
TODO: Write general description for this method.
-
#oauth_code_not_found ⇒ String
TODO: Write general description for this method.
-
#oauth_code_verification_failed ⇒ String
TODO: Write general description for this method.
-
#oauth_details_save_failed ⇒ String
TODO: Write general description for this method.
-
#oauth_token_refresh_failed ⇒ String
TODO: Write general description for this method.
-
#org_not_found ⇒ String
TODO: Write general description for this method.
-
#org_permission_required ⇒ String
TODO: Write general description for this method.
-
#server_error ⇒ String
TODO: Write general description for this method.
-
#teams_call_record_subscription_failed ⇒ String
TODO: Write general description for this method.
-
#temporarily_unavailable ⇒ String
TODO: Write general description for this method.
-
#unauthorized_client ⇒ String
TODO: Write general description for this method.
-
#unsupported_response_type ⇒ String
TODO: Write general description for this method.
-
#zoom_dashboard_api_access_required ⇒ String
TODO: Write general description for this method.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
-
#initialize(oauth_token_refresh_failed = SKIP, api_daily_rate_limit_reached = SKIP, org_not_found = SKIP, org_permission_required = SKIP, account_not_found = SKIP, teams_call_record_subscription_failed = SKIP, oauth_code_not_found = SKIP, zoom_dashboard_api_access_required = SKIP, oauth_code_verification_failed = SKIP, oauth_details_save_failed = SKIP, invalid_request_uri = SKIP, invalid_request = SKIP, unauthorized_client = SKIP, access_denied = SKIP, unsupported_response_type = SKIP, invalid_scope = SKIP, server_error = SKIP, temporarily_unavailable = SKIP) ⇒ ApiV1ConstTpAppsErrorTypeDescResponse
constructor
A new instance of ApiV1ConstTpAppsErrorTypeDescResponse.
Methods inherited from BaseModel
Constructor Details
#initialize(oauth_token_refresh_failed = SKIP, api_daily_rate_limit_reached = SKIP, org_not_found = SKIP, org_permission_required = SKIP, account_not_found = SKIP, teams_call_record_subscription_failed = SKIP, oauth_code_not_found = SKIP, zoom_dashboard_api_access_required = SKIP, oauth_code_verification_failed = SKIP, oauth_details_save_failed = SKIP, invalid_request_uri = SKIP, invalid_request = SKIP, unauthorized_client = SKIP, access_denied = SKIP, unsupported_response_type = SKIP, invalid_scope = SKIP, server_error = SKIP, temporarily_unavailable = SKIP) ⇒ ApiV1ConstTpAppsErrorTypeDescResponse
Returns a new instance of ApiV1ConstTpAppsErrorTypeDescResponse.
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 140 def initialize(oauth_token_refresh_failed = SKIP, api_daily_rate_limit_reached = SKIP, org_not_found = SKIP, = SKIP, account_not_found = SKIP, teams_call_record_subscription_failed = SKIP, oauth_code_not_found = SKIP, zoom_dashboard_api_access_required = SKIP, oauth_code_verification_failed = SKIP, oauth_details_save_failed = SKIP, invalid_request_uri = SKIP, invalid_request = SKIP, = SKIP, access_denied = SKIP, unsupported_response_type = SKIP, invalid_scope = SKIP, server_error = SKIP, temporarily_unavailable = SKIP) unless oauth_token_refresh_failed == SKIP @oauth_token_refresh_failed = oauth_token_refresh_failed end unless api_daily_rate_limit_reached == SKIP @api_daily_rate_limit_reached = api_daily_rate_limit_reached end @org_not_found = org_not_found unless org_not_found == SKIP @org_permission_required = unless == SKIP @account_not_found = account_not_found unless account_not_found == SKIP unless teams_call_record_subscription_failed == SKIP @teams_call_record_subscription_failed = teams_call_record_subscription_failed end @oauth_code_not_found = oauth_code_not_found unless oauth_code_not_found == SKIP unless zoom_dashboard_api_access_required == SKIP @zoom_dashboard_api_access_required = zoom_dashboard_api_access_required end unless oauth_code_verification_failed == SKIP @oauth_code_verification_failed = oauth_code_verification_failed end unless oauth_details_save_failed == SKIP @oauth_details_save_failed = oauth_details_save_failed end @invalid_request_uri = invalid_request_uri unless invalid_request_uri == SKIP @invalid_request = invalid_request unless invalid_request == SKIP @unauthorized_client = unless == SKIP @access_denied = access_denied unless access_denied == SKIP unless unsupported_response_type == SKIP @unsupported_response_type = unsupported_response_type end @invalid_scope = invalid_scope unless invalid_scope == SKIP @server_error = server_error unless server_error == SKIP @temporarily_unavailable = temporarily_unavailable unless temporarily_unavailable == SKIP end |
Instance Attribute Details
#access_denied ⇒ String
TODO: Write general description for this method
66 67 68 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 66 def access_denied @access_denied end |
#account_not_found ⇒ String
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 30 def account_not_found @account_not_found end |
#api_daily_rate_limit_reached ⇒ String
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 18 def api_daily_rate_limit_reached @api_daily_rate_limit_reached end |
#invalid_request ⇒ String
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 58 def invalid_request @invalid_request end |
#invalid_request_uri ⇒ String
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 54 def invalid_request_uri @invalid_request_uri end |
#invalid_scope ⇒ String
TODO: Write general description for this method
74 75 76 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 74 def invalid_scope @invalid_scope end |
#oauth_code_not_found ⇒ String
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 38 def oauth_code_not_found @oauth_code_not_found end |
#oauth_code_verification_failed ⇒ String
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 46 def oauth_code_verification_failed @oauth_code_verification_failed end |
#oauth_details_save_failed ⇒ String
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 50 def oauth_details_save_failed @oauth_details_save_failed end |
#oauth_token_refresh_failed ⇒ String
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 14 def oauth_token_refresh_failed @oauth_token_refresh_failed end |
#org_not_found ⇒ String
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 22 def org_not_found @org_not_found end |
#org_permission_required ⇒ String
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 26 def @org_permission_required end |
#server_error ⇒ String
TODO: Write general description for this method
78 79 80 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 78 def server_error @server_error end |
#teams_call_record_subscription_failed ⇒ String
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 34 def teams_call_record_subscription_failed @teams_call_record_subscription_failed end |
#temporarily_unavailable ⇒ String
TODO: Write general description for this method
82 83 84 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 82 def temporarily_unavailable @temporarily_unavailable end |
#unauthorized_client ⇒ String
TODO: Write general description for this method
62 63 64 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 62 def @unauthorized_client end |
#unsupported_response_type ⇒ String
TODO: Write general description for this method
70 71 72 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 70 def unsupported_response_type @unsupported_response_type end |
#zoom_dashboard_api_access_required ⇒ String
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 42 def zoom_dashboard_api_access_required @zoom_dashboard_api_access_required end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 200 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. oauth_token_refresh_failed = hash.key?('OAUTH_TOKEN_REFRESH_FAILED') ? hash['OAUTH_TOKEN_REFRESH_FAILED'] : SKIP api_daily_rate_limit_reached = hash.key?('API_DAILY_RATE_LIMIT_REACHED') ? hash['API_DAILY_RATE_LIMIT_REACHED'] : SKIP org_not_found = hash.key?('ORG_NOT_FOUND') ? hash['ORG_NOT_FOUND'] : SKIP = hash.key?('ORG_PERMISSION_REQUIRED') ? hash['ORG_PERMISSION_REQUIRED'] : SKIP account_not_found = hash.key?('ACCOUNT_NOT_FOUND') ? hash['ACCOUNT_NOT_FOUND'] : SKIP teams_call_record_subscription_failed = hash.key?('TEAMS_CALL_RECORD_SUBSCRIPTION_FAILED') ? hash['TEAMS_CALL_RECORD_SUBSCRIPTION_FAILED'] : SKIP oauth_code_not_found = hash.key?('OAUTH_CODE_NOT_FOUND') ? hash['OAUTH_CODE_NOT_FOUND'] : SKIP zoom_dashboard_api_access_required = hash.key?('ZOOM_DASHBOARD_API_ACCESS_REQUIRED') ? hash['ZOOM_DASHBOARD_API_ACCESS_REQUIRED'] : SKIP oauth_code_verification_failed = hash.key?('OAUTH_CODE_VERIFICATION_FAILED') ? hash['OAUTH_CODE_VERIFICATION_FAILED'] : SKIP oauth_details_save_failed = hash.key?('OAUTH_DETAILS_SAVE_FAILED') ? hash['OAUTH_DETAILS_SAVE_FAILED'] : SKIP invalid_request_uri = hash.key?('INVALID_REQUEST_URI') ? hash['INVALID_REQUEST_URI'] : SKIP invalid_request = hash.key?('INVALID_REQUEST') ? hash['INVALID_REQUEST'] : SKIP = hash.key?('UNAUTHORIZED_CLIENT') ? hash['UNAUTHORIZED_CLIENT'] : SKIP access_denied = hash.key?('ACCESS_DENIED') ? hash['ACCESS_DENIED'] : SKIP unsupported_response_type = hash.key?('UNSUPPORTED_RESPONSE_TYPE') ? hash['UNSUPPORTED_RESPONSE_TYPE'] : SKIP invalid_scope = hash.key?('INVALID_SCOPE') ? hash['INVALID_SCOPE'] : SKIP server_error = hash.key?('SERVER_ERROR') ? hash['SERVER_ERROR'] : SKIP temporarily_unavailable = hash.key?('TEMPORARILY_UNAVAILABLE') ? hash['TEMPORARILY_UNAVAILABLE'] : SKIP # Create object from extracted values. ApiV1ConstTpAppsErrorTypeDescResponse.new(oauth_token_refresh_failed, api_daily_rate_limit_reached, org_not_found, , account_not_found, teams_call_record_subscription_failed, oauth_code_not_found, zoom_dashboard_api_access_required, oauth_code_verification_failed, oauth_details_save_failed, invalid_request_uri, invalid_request, , access_denied, unsupported_response_type, invalid_scope, server_error, temporarily_unavailable) end |
.names ⇒ Object
A mapping from model property names to API property names.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 85 def self.names @_hash = {} if @_hash.nil? @_hash['oauth_token_refresh_failed'] = 'OAUTH_TOKEN_REFRESH_FAILED' @_hash['api_daily_rate_limit_reached'] = 'API_DAILY_RATE_LIMIT_REACHED' @_hash['org_not_found'] = 'ORG_NOT_FOUND' @_hash['org_permission_required'] = 'ORG_PERMISSION_REQUIRED' @_hash['account_not_found'] = 'ACCOUNT_NOT_FOUND' @_hash['teams_call_record_subscription_failed'] = 'TEAMS_CALL_RECORD_SUBSCRIPTION_FAILED' @_hash['oauth_code_not_found'] = 'OAUTH_CODE_NOT_FOUND' @_hash['zoom_dashboard_api_access_required'] = 'ZOOM_DASHBOARD_API_ACCESS_REQUIRED' @_hash['oauth_code_verification_failed'] = 'OAUTH_CODE_VERIFICATION_FAILED' @_hash['oauth_details_save_failed'] = 'OAUTH_DETAILS_SAVE_FAILED' @_hash['invalid_request_uri'] = 'INVALID_REQUEST_URI' @_hash['invalid_request'] = 'INVALID_REQUEST' @_hash['unauthorized_client'] = 'UNAUTHORIZED_CLIENT' @_hash['access_denied'] = 'ACCESS_DENIED' @_hash['unsupported_response_type'] = 'UNSUPPORTED_RESPONSE_TYPE' @_hash['invalid_scope'] = 'INVALID_SCOPE' @_hash['server_error'] = 'SERVER_ERROR' @_hash['temporarily_unavailable'] = 'TEMPORARILY_UNAVAILABLE' @_hash end |
.nullables ⇒ Object
An array for nullable fields
136 137 138 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 136 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/untitled_api/models/api_v1_const_tp_apps_error_type_desc_response.rb', line 112 def self.optionals %w[ oauth_token_refresh_failed api_daily_rate_limit_reached org_not_found org_permission_required account_not_found teams_call_record_subscription_failed oauth_code_not_found zoom_dashboard_api_access_required oauth_code_verification_failed oauth_details_save_failed invalid_request_uri invalid_request unauthorized_client access_denied unsupported_response_type invalid_scope server_error temporarily_unavailable ] end |