Class: Google::Apis::MirrorV1::ListTimelineResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MirrorV1::ListTimelineResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mirror_v1/classes.rb,
 generated/google/apis/mirror_v1/representations.rb,
 generated/google/apis/mirror_v1/representations.rb
Overview
A list of timeline items. This is the response from the server to GET requests on the timeline collection.
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::MirrorV1::TimelineItem> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Items in the timeline. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of resource. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The next page token. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListTimelineResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListTimelineResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListTimelineResponse
Returns a new instance of ListTimelineResponse
| 998 999 1000 | # File 'generated/google/apis/mirror_v1/classes.rb', line 998 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::MirrorV1::TimelineItem>
Items in the timeline.
Corresponds to the JSON property items
| 985 986 987 | # File 'generated/google/apis/mirror_v1/classes.rb', line 985 def items @items end | 
#kind ⇒ String
The type of resource. This is always mirror#timeline.
Corresponds to the JSON property kind
| 990 991 992 | # File 'generated/google/apis/mirror_v1/classes.rb', line 990 def kind @kind end | 
#next_page_token ⇒ String
The next page token. Provide this as the pageToken parameter in the request to
retrieve the next page of results.
Corresponds to the JSON property nextPageToken
| 996 997 998 | # File 'generated/google/apis/mirror_v1/classes.rb', line 996 def next_page_token @next_page_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1003 1004 1005 1006 1007 | # File 'generated/google/apis/mirror_v1/classes.rb', line 1003 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |