Class PostArtworksParams
Necessary parameters to create accompanying data for artwork
Implements
Inherited Members
Namespace: Pixiv.VroidSdk.Api.Params
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class PostArtworksParams : HttpParam, IHttpParam
Constructors
PostArtworksParams(String, EnumAgeLimit, List<String>, Boolean)
Constructor
Declaration
public PostArtworksParams(string caption, EnumAgeLimit age_limit, List<string> medium_ids, bool is_archived)
Parameters
Type | Name | Description |
---|---|---|
String | caption | Artwork description |
EnumAgeLimit | age_limit | Age restriction |
List<String> | medium_ids | Media IDs |
Boolean | is_archived | Is artwork private or not |
Fields
age_limit
Age restriction
Declaration
public EnumAgeLimit? age_limit
Field Value
Type | Description |
---|---|
Nullable<EnumAgeLimit> |
caption
Artwork description
Declaration
public string caption
Field Value
Type | Description |
---|---|
String |
capture_application_id
ID of application used for taking photo
Declaration
public string capture_application_id
Field Value
Type | Description |
---|---|
String |
contest_slug
Contest
Declaration
public string contest_slug
Field Value
Type | Description |
---|---|
String |
is_archived
Artwork is private or not
Declaration
public bool is_archived
Field Value
Type | Description |
---|---|
Boolean |
medium_ids
Attached media ID list
Declaration
public List<string> medium_ids
Field Value
Type | Description |
---|---|
List<String> |
Methods
GetBinaryFields()
Return binary value item from HTTP parameter
Declaration
public override IList<KeyValuePair<string, byte[]>> GetBinaryFields()
Returns
Type | Description |
---|---|
IList<KeyValuePair<String, Byte[]>> | HTTP parameter list |
Overrides
GetTextFields()
Return text value item from HTTP parameter
Declaration
public override IList<KeyValuePair<string, string>> GetTextFields()
Returns
Type | Description |
---|---|
IList<KeyValuePair<String, String>> | HTTP parameter list |