GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — unifapi-sdk-go/docs/InstagramPost.md at main · unifapi-agent/unifapi-sdk-go

Expand file tree

/

InstagramPost.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
460 lines (243 loc) · 12.9 KB
/

InstagramPost.md

Copy path

File metadata and controls

460 lines (243 loc) · 12.9 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

InstagramPost

Properties

Name Type Description Notes
Id string Instagram URL slug (`shortcode`). Path parameter for /instagram/posts/{id}/... endpoints.
Shortcode string
MediaId string
MediaType float32 Source media_type: 1 = image, 2 = video, 8 = carousel
ProductType string Source product_type: 'feed' (image/photo), 'clips' (reel), 'carousel_container', 'igtv', etc.
TakenAt float32 Unix-seconds timestamp.
Caption string
AccessibilityCaption NullableString
ImageUrl string Largest available preview image (cover, for video/carousel).
VideoUrl string Highest-quality video URL when applicable; empty string otherwise.
LikeCount float32
CommentCount float32
PlayCount float32 Video plays. 0 for non-video media.
ViewCount float32 Reel/video views (separate from plays on IG side). 0 when N/A.
IsPaidPartnership bool
HasAudio bool
CarouselCount float32 Number of carousel items, or 0 if not a carousel.
Carousel []InstagramCarouselItem Carousel items when media_type === 8; empty array otherwise.
User InstagramUserPreview
Location InstagramLocationLite

Methods

NewInstagramPost

func NewInstagramPost(id string, shortcode string, mediaId string, mediaType float32, productType string, takenAt float32, caption string, accessibilityCaption NullableString, imageUrl string, videoUrl string, likeCount float32, commentCount float32, playCount float32, viewCount float32, isPaidPartnership bool, hasAudio bool, carouselCount float32, carousel []InstagramCarouselItem, user InstagramUserPreview, location InstagramLocationLite, ) *InstagramPost

NewInstagramPost instantiates a new InstagramPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewInstagramPostWithDefaults

func NewInstagramPostWithDefaults() *InstagramPost

NewInstagramPostWithDefaults instantiates a new InstagramPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetId

func (o *InstagramPost) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *InstagramPost) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *InstagramPost) SetId(v string)

SetId sets Id field to given value.

GetShortcode

func (o *InstagramPost) GetShortcode() string

GetShortcode returns the Shortcode field if non-nil, zero value otherwise.

GetShortcodeOk

func (o *InstagramPost) GetShortcodeOk() (*string, bool)

GetShortcodeOk returns a tuple with the Shortcode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetShortcode

func (o *InstagramPost) SetShortcode(v string)

SetShortcode sets Shortcode field to given value.

GetMediaId

func (o *InstagramPost) GetMediaId() string

GetMediaId returns the MediaId field if non-nil, zero value otherwise.

GetMediaIdOk

func (o *InstagramPost) GetMediaIdOk() (*string, bool)

GetMediaIdOk returns a tuple with the MediaId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMediaId

func (o *InstagramPost) SetMediaId(v string)

SetMediaId sets MediaId field to given value.

GetMediaType

func (o *InstagramPost) GetMediaType() float32

GetMediaType returns the MediaType field if non-nil, zero value otherwise.

GetMediaTypeOk

func (o *InstagramPost) GetMediaTypeOk() (*float32, bool)

GetMediaTypeOk returns a tuple with the MediaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMediaType

func (o *InstagramPost) SetMediaType(v float32)

SetMediaType sets MediaType field to given value.

GetProductType

func (o *InstagramPost) GetProductType() string

GetProductType returns the ProductType field if non-nil, zero value otherwise.

GetProductTypeOk

func (o *InstagramPost) GetProductTypeOk() (*string, bool)

GetProductTypeOk returns a tuple with the ProductType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProductType

func (o *InstagramPost) SetProductType(v string)

SetProductType sets ProductType field to given value.

GetTakenAt

func (o *InstagramPost) GetTakenAt() float32

GetTakenAt returns the TakenAt field if non-nil, zero value otherwise.

GetTakenAtOk

func (o *InstagramPost) GetTakenAtOk() (*float32, bool)

GetTakenAtOk returns a tuple with the TakenAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTakenAt

func (o *InstagramPost) SetTakenAt(v float32)

SetTakenAt sets TakenAt field to given value.

GetCaption

func (o *InstagramPost) GetCaption() string

GetCaption returns the Caption field if non-nil, zero value otherwise.

GetCaptionOk

func (o *InstagramPost) GetCaptionOk() (*string, bool)

GetCaptionOk returns a tuple with the Caption field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCaption

func (o *InstagramPost) SetCaption(v string)

SetCaption sets Caption field to given value.

GetAccessibilityCaption

func (o *InstagramPost) GetAccessibilityCaption() string

GetAccessibilityCaption returns the AccessibilityCaption field if non-nil, zero value otherwise.

GetAccessibilityCaptionOk

func (o *InstagramPost) GetAccessibilityCaptionOk() (*string, bool)

GetAccessibilityCaptionOk returns a tuple with the AccessibilityCaption field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessibilityCaption

func (o *InstagramPost) SetAccessibilityCaption(v string)

SetAccessibilityCaption sets AccessibilityCaption field to given value.

SetAccessibilityCaptionNil

func (o *InstagramPost) SetAccessibilityCaptionNil(b bool)

SetAccessibilityCaptionNil sets the value for AccessibilityCaption to be an explicit nil

UnsetAccessibilityCaption

func (o *InstagramPost) UnsetAccessibilityCaption()

UnsetAccessibilityCaption ensures that no value is present for AccessibilityCaption, not even an explicit nil

GetImageUrl

func (o *InstagramPost) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

GetImageUrlOk

func (o *InstagramPost) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImageUrl

func (o *InstagramPost) SetImageUrl(v string)

SetImageUrl sets ImageUrl field to given value.

GetVideoUrl

func (o *InstagramPost) GetVideoUrl() string

GetVideoUrl returns the VideoUrl field if non-nil, zero value otherwise.

GetVideoUrlOk

func (o *InstagramPost) GetVideoUrlOk() (*string, bool)

GetVideoUrlOk returns a tuple with the VideoUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVideoUrl

func (o *InstagramPost) SetVideoUrl(v string)

SetVideoUrl sets VideoUrl field to given value.

GetLikeCount

func (o *InstagramPost) GetLikeCount() float32

GetLikeCount returns the LikeCount field if non-nil, zero value otherwise.

GetLikeCountOk

func (o *InstagramPost) GetLikeCountOk() (*float32, bool)

GetLikeCountOk returns a tuple with the LikeCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLikeCount

func (o *InstagramPost) SetLikeCount(v float32)

SetLikeCount sets LikeCount field to given value.

GetCommentCount

func (o *InstagramPost) GetCommentCount() float32

GetCommentCount returns the CommentCount field if non-nil, zero value otherwise.

GetCommentCountOk

func (o *InstagramPost) GetCommentCountOk() (*float32, bool)

GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCommentCount

func (o *InstagramPost) SetCommentCount(v float32)

SetCommentCount sets CommentCount field to given value.

GetPlayCount

func (o *InstagramPost) GetPlayCount() float32

GetPlayCount returns the PlayCount field if non-nil, zero value otherwise.

GetPlayCountOk

func (o *InstagramPost) GetPlayCountOk() (*float32, bool)

GetPlayCountOk returns a tuple with the PlayCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPlayCount

func (o *InstagramPost) SetPlayCount(v float32)

SetPlayCount sets PlayCount field to given value.

GetViewCount

func (o *InstagramPost) GetViewCount() float32

GetViewCount returns the ViewCount field if non-nil, zero value otherwise.

GetViewCountOk

func (o *InstagramPost) GetViewCountOk() (*float32, bool)

GetViewCountOk returns a tuple with the ViewCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetViewCount

func (o *InstagramPost) SetViewCount(v float32)

SetViewCount sets ViewCount field to given value.

GetIsPaidPartnership

func (o *InstagramPost) GetIsPaidPartnership() bool

GetIsPaidPartnership returns the IsPaidPartnership field if non-nil, zero value otherwise.

GetIsPaidPartnershipOk

func (o *InstagramPost) GetIsPaidPartnershipOk() (*bool, bool)

GetIsPaidPartnershipOk returns a tuple with the IsPaidPartnership field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsPaidPartnership

func (o *InstagramPost) SetIsPaidPartnership(v bool)

SetIsPaidPartnership sets IsPaidPartnership field to given value.

GetHasAudio

func (o *InstagramPost) GetHasAudio() bool

GetHasAudio returns the HasAudio field if non-nil, zero value otherwise.

GetHasAudioOk

func (o *InstagramPost) GetHasAudioOk() (*bool, bool)

GetHasAudioOk returns a tuple with the HasAudio field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHasAudio

func (o *InstagramPost) SetHasAudio(v bool)

SetHasAudio sets HasAudio field to given value.

GetCarouselCount

func (o *InstagramPost) GetCarouselCount() float32

GetCarouselCount returns the CarouselCount field if non-nil, zero value otherwise.

GetCarouselCountOk

func (o *InstagramPost) GetCarouselCountOk() (*float32, bool)

GetCarouselCountOk returns a tuple with the CarouselCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCarouselCount

func (o *InstagramPost) SetCarouselCount(v float32)

SetCarouselCount sets CarouselCount field to given value.

GetCarousel

func (o *InstagramPost) GetCarousel() []InstagramCarouselItem

GetCarousel returns the Carousel field if non-nil, zero value otherwise.

GetCarouselOk

func (o *InstagramPost) GetCarouselOk() (*[]InstagramCarouselItem, bool)

GetCarouselOk returns a tuple with the Carousel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCarousel

func (o *InstagramPost) SetCarousel(v []InstagramCarouselItem)

SetCarousel sets Carousel field to given value.

GetUser

func (o *InstagramPost) GetUser() InstagramUserPreview

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *InstagramPost) GetUserOk() (*InstagramUserPreview, bool)

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUser

func (o *InstagramPost) SetUser(v InstagramUserPreview)

SetUser sets User field to given value.

GetLocation

func (o *InstagramPost) GetLocation() InstagramLocationLite

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *InstagramPost) GetLocationOk() (*InstagramLocationLite, bool)

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocation

func (o *InstagramPost) SetLocation(v InstagramLocationLite)

SetLocation sets Location field to given value.

[Back to Model list] [Back to API list] [Back to README]

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.