Version 0.0.0-0

GitHubReleaseAsset Reference

File
GitHubUpdates/GitHubReleaseAsset.h
Copyright
© (c) 2017, Jean-David Gadina - www.xs-labs.com
Date
Sunday, June 18, 2017
Includes
  • <Foundation/Foundation.h>

Class GitHubReleaseAsset

Attributes

Superclass
NSObject

- initWithDictionary: Top

Initializes an instance with properties from a dictionary.

- ( nullable instancetype )initWithDictionary: ( NSDictionary * )dict;

Parameters
  • dict
    The dictionary containing the asset's properties
Return value

The initialized instance, or nil

contentType Top

The asset's content type.

@property( atomic, readonly, strong, nullable ) NSString * contentType;

created Top

The asset's creation date.

@property( atomic, readonly, strong, nullable ) NSDate * created;

downloadURL Top

The asset's download URL.

@property( atomic, readonly, strong, nullable ) NSURL * downloadURL;

name Top

The asset's name.

@property( atomic, readonly, strong, nullable ) NSString * name;

size Top

The asset's size.

@property( atomic, readonly ) NSUInteger size;

updated Top

The asset's update date, if any.

@property( atomic, readonly, strong, nullable ) NSDate * updated;

url Top

The asset's URL.

@property( atomic, readonly, strong, nullable ) NSURL * url;

Discussion

This URL corresponds to the asset API feed URL.

See also