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/RedditSubreddit.md at main · unifapi-agent/unifapi-sdk-go

Expand file tree

/

RedditSubreddit.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
219 lines (116 loc) · 5.87 KB
/

RedditSubreddit.md

Copy path

File metadata and controls

219 lines (116 loc) · 5.87 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

RedditSubreddit

Properties

Name Type Description Notes
Id string Subreddit slug (URL form without `r/`).
SubredditT5Id string Reddit internal subreddit id (`t5_*` fullname).
Name string
PrefixedName string Display form like `r/pics`.
Title string
Description string
SubscribersCount float32
ActiveCount float32
IsNsfw bool

Methods

NewRedditSubreddit

func NewRedditSubreddit(id string, subredditT5Id string, name string, prefixedName string, title string, description string, subscribersCount float32, activeCount float32, isNsfw bool, ) *RedditSubreddit

NewRedditSubreddit instantiates a new RedditSubreddit 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

NewRedditSubredditWithDefaults

func NewRedditSubredditWithDefaults() *RedditSubreddit

NewRedditSubredditWithDefaults instantiates a new RedditSubreddit 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 *RedditSubreddit) GetId() string

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

GetIdOk

func (o *RedditSubreddit) 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 *RedditSubreddit) SetId(v string)

SetId sets Id field to given value.

GetSubredditT5Id

func (o *RedditSubreddit) GetSubredditT5Id() string

GetSubredditT5Id returns the SubredditT5Id field if non-nil, zero value otherwise.

GetSubredditT5IdOk

func (o *RedditSubreddit) GetSubredditT5IdOk() (*string, bool)

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

SetSubredditT5Id

func (o *RedditSubreddit) SetSubredditT5Id(v string)

SetSubredditT5Id sets SubredditT5Id field to given value.

GetName

func (o *RedditSubreddit) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *RedditSubreddit) GetNameOk() (*string, bool)

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

SetName

func (o *RedditSubreddit) SetName(v string)

SetName sets Name field to given value.

GetPrefixedName

func (o *RedditSubreddit) GetPrefixedName() string

GetPrefixedName returns the PrefixedName field if non-nil, zero value otherwise.

GetPrefixedNameOk

func (o *RedditSubreddit) GetPrefixedNameOk() (*string, bool)

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

SetPrefixedName

func (o *RedditSubreddit) SetPrefixedName(v string)

SetPrefixedName sets PrefixedName field to given value.

GetTitle

func (o *RedditSubreddit) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *RedditSubreddit) GetTitleOk() (*string, bool)

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

SetTitle

func (o *RedditSubreddit) SetTitle(v string)

SetTitle sets Title field to given value.

GetDescription

func (o *RedditSubreddit) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *RedditSubreddit) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *RedditSubreddit) SetDescription(v string)

SetDescription sets Description field to given value.

GetSubscribersCount

func (o *RedditSubreddit) GetSubscribersCount() float32

GetSubscribersCount returns the SubscribersCount field if non-nil, zero value otherwise.

GetSubscribersCountOk

func (o *RedditSubreddit) GetSubscribersCountOk() (*float32, bool)

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

SetSubscribersCount

func (o *RedditSubreddit) SetSubscribersCount(v float32)

SetSubscribersCount sets SubscribersCount field to given value.

GetActiveCount

func (o *RedditSubreddit) GetActiveCount() float32

GetActiveCount returns the ActiveCount field if non-nil, zero value otherwise.

GetActiveCountOk

func (o *RedditSubreddit) GetActiveCountOk() (*float32, bool)

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

SetActiveCount

func (o *RedditSubreddit) SetActiveCount(v float32)

SetActiveCount sets ActiveCount field to given value.

GetIsNsfw

func (o *RedditSubreddit) GetIsNsfw() bool

GetIsNsfw returns the IsNsfw field if non-nil, zero value otherwise.

GetIsNsfwOk

func (o *RedditSubreddit) GetIsNsfwOk() (*bool, bool)

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

SetIsNsfw

func (o *RedditSubreddit) SetIsNsfw(v bool)

SetIsNsfw sets IsNsfw 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.