| 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 |
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
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
func (o *InstagramPost) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetId(v string)
SetId sets Id field to given value.
func (o *InstagramPost) GetShortcode() string
GetShortcode returns the Shortcode field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetShortcode(v string)
SetShortcode sets Shortcode field to given value.
func (o *InstagramPost) GetMediaId() string
GetMediaId returns the MediaId field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetMediaId(v string)
SetMediaId sets MediaId field to given value.
func (o *InstagramPost) GetMediaType() float32
GetMediaType returns the MediaType field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetMediaType(v float32)
SetMediaType sets MediaType field to given value.
func (o *InstagramPost) GetProductType() string
GetProductType returns the ProductType field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetProductType(v string)
SetProductType sets ProductType field to given value.
func (o *InstagramPost) GetTakenAt() float32
GetTakenAt returns the TakenAt field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetTakenAt(v float32)
SetTakenAt sets TakenAt field to given value.
func (o *InstagramPost) GetCaption() string
GetCaption returns the Caption field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetCaption(v string)
SetCaption sets Caption field to given value.
func (o *InstagramPost) GetAccessibilityCaption() string
GetAccessibilityCaption returns the AccessibilityCaption field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetAccessibilityCaption(v string)
SetAccessibilityCaption sets AccessibilityCaption field to given value.
func (o *InstagramPost) SetAccessibilityCaptionNil(b bool)
SetAccessibilityCaptionNil sets the value for AccessibilityCaption to be an explicit nil
func (o *InstagramPost) UnsetAccessibilityCaption()
UnsetAccessibilityCaption ensures that no value is present for AccessibilityCaption, not even an explicit nil
func (o *InstagramPost) GetImageUrl() string
GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetImageUrl(v string)
SetImageUrl sets ImageUrl field to given value.
func (o *InstagramPost) GetVideoUrl() string
GetVideoUrl returns the VideoUrl field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetVideoUrl(v string)
SetVideoUrl sets VideoUrl field to given value.
func (o *InstagramPost) GetLikeCount() float32
GetLikeCount returns the LikeCount field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetLikeCount(v float32)
SetLikeCount sets LikeCount field to given value.
func (o *InstagramPost) GetCommentCount() float32
GetCommentCount returns the CommentCount field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetCommentCount(v float32)
SetCommentCount sets CommentCount field to given value.
func (o *InstagramPost) GetPlayCount() float32
GetPlayCount returns the PlayCount field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetPlayCount(v float32)
SetPlayCount sets PlayCount field to given value.
func (o *InstagramPost) GetViewCount() float32
GetViewCount returns the ViewCount field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetViewCount(v float32)
SetViewCount sets ViewCount field to given value.
func (o *InstagramPost) GetIsPaidPartnership() bool
GetIsPaidPartnership returns the IsPaidPartnership field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetIsPaidPartnership(v bool)
SetIsPaidPartnership sets IsPaidPartnership field to given value.
func (o *InstagramPost) GetHasAudio() bool
GetHasAudio returns the HasAudio field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetHasAudio(v bool)
SetHasAudio sets HasAudio field to given value.
func (o *InstagramPost) GetCarouselCount() float32
GetCarouselCount returns the CarouselCount field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetCarouselCount(v float32)
SetCarouselCount sets CarouselCount field to given value.
func (o *InstagramPost) GetCarousel() []InstagramCarouselItem
GetCarousel returns the Carousel field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetCarousel(v []InstagramCarouselItem)
SetCarousel sets Carousel field to given value.
func (o *InstagramPost) GetUser() InstagramUserPreview
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetUser(v InstagramUserPreview)
SetUser sets User field to given value.
func (o *InstagramPost) GetLocation() InstagramLocationLite
GetLocation returns the Location field if non-nil, zero value otherwise.
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.
func (o *InstagramPost) SetLocation(v InstagramLocationLite)
SetLocation sets Location field to given value.