struct Facebook::Proto::AdRuleHistoryResultAction
- Facebook::Proto::AdRuleHistoryResultAction
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdRuleHistoryResultAction.pb.crConstant Summary
-
FIELDS =
{1 => {name: :action, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :field, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :new_value, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :old_value, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(action : String | Nil = nil, field : String | Nil = nil, new_value : String | Nil = nil, old_value : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #action : String | Nil
- #action=(action : String | Nil)
- #field : String | Nil
- #field=(field : String | Nil)
- #new_value : String | Nil
- #new_value=(new_value : String | Nil)
- #old_value : String | Nil
- #old_value=(old_value : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(action : String | Nil = nil, field : String | Nil = nil, new_value : String | Nil = nil, old_value : String | Nil = nil)
#