struct Slack::Models::ViewsOpen::Error

Defined in:

slack/models/api_responses/views_open/error.cr

Constant Summary

ASSIGNED_TYPES = [error : String, ok : Bool, response_metadata : JSON::Any | ::Nil] of TypeDeclaration

Constructors

Instance Method Summary

Constructor methods inherited from struct Slack::Models::ViewsOpenResponse

new(pull : JSON::PullParser) new

Class methods inherited from struct Slack::Models::ViewsOpenResponse

from_json(json : String | IO) from_json

Constructor methods inherited from struct Slack::Model

new(pull : JSON::PullParser) new

Class methods inherited from struct Slack::Model

keyed_json_object(json : String | IO, find_key : String, &)
keyed_json_object(json : String | IO, find_key : String)
keyed_json_object

Constructor Detail

def self.new(error : String, ok : Bool, response_metadata : JSON::Any | Nil = nil) #

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def error : String #

def error=(error : String) #

def ok : Bool #

def ok=(ok : Bool) #

def response_metadata : JSON::Any | Nil #

def response_metadata=(response_metadata : JSON::Any | Nil) #