-
-
-

UsergridFileMetaData

-
-
-
public class UsergridFileMetaData : NSObject,NSCoding
- -
-
-

UsergridFileMetaData is a helper class for dealing with reading UsergridEntity file meta data.

- -
-
-
- -
    -
  • -
    - - - - eTag - -
    -
    -
    -
    -
    -
    -

    The eTag.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let eTag: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - checkSum - -
    -
    -
    -
    -
    -
    -

    The check sum.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let checkSum: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentType - -
    -
    -
    -
    -
    -
    -

    The content type associated with the file data.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let contentType: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentLength - -
    -
    -
    -
    -
    -
    -

    The content length of the file data.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let contentLength: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - lastModifiedTimeStamp - -
    -
    -
    -
    -
    -
    -

    The last modified time stamp.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let lastModifiedTimeStamp: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - lastModifiedDate - -
    -
    -
    -
    -
    -
    -

    The NSDate object corresponding to the last modified time stamp.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let lastModifiedDate: NSDate?
    - -
    -
    -
    -
    -
  • -
-
-
- -
    -
  • - -
    -
    -
    -
    -
    -

    Designated initializer for UsergridFileMetaData objects.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(fileMetaDataJSON:[String:AnyObject])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - fileMetaDataJSON - - -
    -

    The file meta data JSON dictionary.

    - -
    -
    -
    -
    -

    Return Value

    -

    A new instance of UsergridFileMetaData.

    - -
    -
    -
    -
  • -
-
-
- -
    -
  • -
    - - - - init(coder:) - -
    -
    -
    -
    -
    -
    -

    NSCoding protocol initializer.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    required public init?(coder aDecoder: NSCoder)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - aDecoder - - -
    -

    The decoder.

    - -
    -
    -
    -
    -

    Return Value

    -

    A decoded UsergridUser object.

    - -
    -
    -
    -
  • -
  • -
    - - - - encodeWithCoder(_:) - -
    -
    -
    -
    -
    -
    -

    NSCoding protocol encoder.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func encodeWithCoder(aCoder: NSCoder)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - aCoder - - -
    -

    The encoder.

    - -
    -
    -
    -
    -
    -
  • -
-
-
-
- -