SwiftagramCrypto Documentation

Structure User

public struct User: Wrapped  

A struct representing a User.

%203 User User Wrapped Wrapped User->Wrapped

Nested Types

User.Access

An enum representing an access status.

User.Counter

A struct representing a profile's Counters.

User.Unit

A struct representing a User single response.

User.Collection

A struct representing a User collection.

Conforms To

Wrapped

Initializers

init(wrapper:​)

public init(wrapper: @escaping () -> Wrapper)  

Init.

Parameters

wrapper @escaping () -> Wrapper

A valid Wrapper.

Properties

wrapper

public var wrapper: () -> Wrapper

The underlying Response.

identifier

public var identifier: String!  

The identifier.

username

public var username: String!  

The username.

name

public var name: String?  

The name.

biography

public var biography: String?  

The biography.

category

public var category: String?  

The category.

thumbnail

public var thumbnail: URL?  

A lower quality avatar.

avatar

public var avatar: URL?  

An higher quality avatar.

access

public var access: Access?  

The current access status.

friendship

public var friendship: Friendship?  

An optional friendship status.

counter

public var counter: Counter?  

The counter.