class
Hamilton::Types::SuggestedPostInfo
- Hamilton::Types::SuggestedPostInfo
- Reference
- Object
Overview
Contains information about a suggested post.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/suggested_post_info.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#price : Hamilton::Types::SuggestedPostPrice | Nil
Proposed price of the post.
-
#price=(price : Hamilton::Types::SuggestedPostPrice | Nil)
Proposed price of the post.
-
#send_date : Int32 | Nil
Proposed send date of the post.
-
#send_date=(send_date : Int32 | Nil)
Proposed send date of the post.
-
#state : String
State of the suggested post.
-
#state=(state : String)
State of the suggested post.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Proposed price of the post. If the field is omitted, then the post is unpaid.
Proposed price of the post. If the field is omitted, then the post is unpaid.
Proposed send date of the post. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user or administrator who approves it.
Proposed send date of the post. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user or administrator who approves it.
State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.
State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.